Skip to content

Commit

Permalink
address Alex's review
Browse files Browse the repository at this point in the history
  • Loading branch information
picnixz committed Dec 2, 2024
1 parent 549ba49 commit c708a4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tools/refcounts/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

from __future__ import annotations

import enum
import itertools
import re
import sys
import tomllib
from argparse import ArgumentParser, RawDescriptionHelpFormatter
from dataclasses import dataclass, field
from enum import Enum
from pathlib import Path
from typing import TYPE_CHECKING

Expand Down Expand Up @@ -74,10 +74,10 @@ def is_c_parameter_name(name: str) -> bool:
return name == C_ELLIPSIS or name.isidentifier()


class Effect(enum.Enum):
class Effect(Enum):
"""The reference count effect of a parameter or a return value."""

UNKNOWN = enum.auto()
UNKNOWN = None
"""Indicate an unparsable reference count effect.
Such annotated entities are reported during the checking phase.
Expand Down

0 comments on commit c708a4c

Please sign in to comment.