Closed Yamahari closed 2 weeks ago
# pylint: disable=C0304,C0114,C0115,R0903 class GenericClass[T]: def __init__(self, x: T) -> None: pass
No response
pylint src\testtyping\typing.py
************* Module testtyping.typing src\testtyping\typing.py:3:26: E0602: Undefined variable 'T' (undefined-variable)
No Error
pylint 3.2.3 astroid 3.2.2 Python 3.12.4 (tags/v3.12.4:8e8a4ba, Jun 6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)]
Windows 10 Enterprise 22H2
Thanks. Looks like a duplicate of https://github.com/pylint-dev/pylint/issues/9335
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
No Error
Pylint version
OS / Environment
Windows 10 Enterprise 22H2
Additional dependencies
No response