mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-31 00:24:24 +08:00
Add missing descriptor methods in dataclasses and functools (#7203)
This commit is contained in:
@@ -50,8 +50,6 @@ dataclasses.KW_ONLY
|
||||
enum.Enum._generate_next_value_
|
||||
fractions.Fraction.__new__ # overload is too complicated for stubtest to resolve
|
||||
ftplib.FTP.trust_server_pasv_ipv4_address # Dangerous to use, intentionally undocumented, intentionally missing from typeshed. #6154
|
||||
functools.partialmethod.__get__
|
||||
functools.singledispatchmethod.__call__
|
||||
gettext.install
|
||||
gettext.translation
|
||||
hashlib.sha3_\d+ # Can be a class or a built-in function
|
||||
|
||||
@@ -37,8 +37,6 @@ dummy_threading.local.__new__
|
||||
enum.Enum._generate_next_value_
|
||||
fractions.Fraction.__new__ # overload is too complicated for stubtest to resolve
|
||||
ftplib.FTP.trust_server_pasv_ipv4_address # Dangerous to use, intentionally undocumented, intentionally missing from typeshed. #6154
|
||||
functools.partialmethod.__get__
|
||||
functools.singledispatchmethod.__call__ # A lie to reflect that the descriptor get returns a callable
|
||||
gettext.install # codeset default value is ['unspecified'] so can't be specified
|
||||
gettext.translation # codeset default value is ['unspecified'] so can't be specified
|
||||
hmac.new # Stub is a white lie; see comments in the stub
|
||||
|
||||
@@ -36,8 +36,6 @@ dataclasses.field
|
||||
enum.Enum._generate_next_value_
|
||||
fractions.Fraction.__new__ # overload is too complicated for stubtest to resolve
|
||||
ftplib.FTP.trust_server_pasv_ipv4_address # Dangerous to use, intentionally undocumented, intentionally missing from typeshed. #6154
|
||||
functools.partialmethod.__get__
|
||||
functools.singledispatchmethod.__call__
|
||||
gettext.install
|
||||
gettext.translation
|
||||
hashlib.sha3_\d+
|
||||
|
||||
Reference in New Issue
Block a user