Skip to content

Commit fe68d1a

Browse files
committed
Keep arg name flexible.
1 parent eed6015 commit fe68d1a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stdlib/logging/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ _FormatStyle: TypeAlias = Literal["%", "{", "$"]
7171

7272
if sys.version_info >= (3, 12):
7373
class _SupportsFilter(Protocol):
74-
def filter(self, record: LogRecord) -> bool | LogRecord: ...
74+
def filter(self, __record: LogRecord) -> bool | LogRecord: ...
7575

7676
_FilterType: TypeAlias = Filter | Callable[[LogRecord], bool | LogRecord] | _SupportsFilter
7777
else:
7878
class _SupportsFilter(Protocol):
79-
def filter(self, record: LogRecord) -> bool: ...
79+
def filter(self, __record: LogRecord) -> bool: ...
8080

8181
_FilterType: TypeAlias = Filter | Callable[[LogRecord], bool] | _SupportsFilter
8282

0 commit comments

Comments
 (0)