csv, ctypes, configparser explanations (#5204)

This commit is contained in:
hatal175
2021-04-11 05:18:22 +03:00
committed by GitHub
parent 4dd10fe31d
commit 25bac1d716
5 changed files with 34 additions and 24 deletions

View File

@@ -20,7 +20,6 @@ collections.AsyncGenerator.ag_running
collections.UserString.maketrans
contextlib._GeneratorContextManager.__init__
copy.PyStringMap
ctypes.CDLL.__init__
email.message.MIMEPart.as_string
enum.Enum._generate_next_value_
fractions.Fraction.__new__ # overload is too complicated for stubtest to resolve

View File

@@ -29,7 +29,6 @@ contextvars.Context.get
contextvars.ContextVar.get
contextlib.nullcontext # not a function at runtime
copy.PyStringMap
ctypes.CDLL.__init__
dataclasses.field
email.message.MIMEPart.as_string
enum.Enum._generate_next_value_

View File

@@ -120,24 +120,24 @@ collections.abc.Generator.gi_yieldfrom
collections.abc.Mapping.get
collections.abc.Sequence.index
collections.deque.__hash__
configparser.LegacyInterpolation.before_get
configparser.SectionProxy.__getattr__
configparser.SectionProxy.__getattr__ # SectionProxy can have arbitrary attributes when custom converters are used
# SectionProxy get functions are set in __init__
configparser.SectionProxy.getboolean
configparser.SectionProxy.getfloat
configparser.SectionProxy.getint
# The Dialect properties are initialized as None in Dialect but their values are enforced in _Dialect
csv.Dialect.delimiter
csv.Dialect.doublequote
csv.Dialect.lineterminator
csv.Dialect.quoting
csv.Dialect.skipinitialspace
ctypes.Array.__iter__
ctypes.CDLL._FuncPtr
ctypes.cast
ctypes.memmove
ctypes.memset
ctypes.pointer
ctypes.string_at
ctypes.wstring_at
ctypes.Array.__iter__ # mypy doesn't support using __getitem__ instead of __iter__ so this is here https://github.com/python/mypy/issues/2220
ctypes.CDLL._FuncPtr # None at class level but initialized in __init__ to this value
ctypes.memmove # CFunctionType
ctypes.memset # CFunctionType
ctypes.pointer # imported C function
ctypes.string_at # docstring argument name is wrong
ctypes.wstring_at # docstring argument name is wrong
dbm.error
difflib.SequenceMatcher.__init__ # mypy default value for generic parameter issues. See https://github.com/python/mypy/issues/3737
distutils.command.bdist_packager # It exists in docs as package name but not in code except as a mention in a comment.