mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 13:32:26 +08:00
Update importlib to reflect recent changes (#6557)
This commit is contained in:
@@ -43,6 +43,9 @@ gettext.translation
|
||||
hmac.new # Stub is a white lie; see comments in the stub
|
||||
http.server.SimpleHTTPRequestHandler.__init__ # *args is expanded
|
||||
importlib.abc.Traversable.__init__ # Inherits __init__ from typing.Protocol
|
||||
importlib.metadata.PackageMetadata.__init__ # Inherits __init__ from typing.Protocol
|
||||
importlib.metadata._meta.PackageMetadata.__init__ # Inherits __init__ from typing.Protocol
|
||||
importlib.metadata._meta.SimplePath.__init__ # Inherits __init__ from typing.Protocol
|
||||
ipaddress.IPv4Interface.hostmask
|
||||
ipaddress.IPv6Interface.hostmask
|
||||
ipaddress._BaseNetwork.broadcast_address
|
||||
@@ -150,17 +153,6 @@ distutils.dist.DistributionMetadata.set_keywords
|
||||
distutils.dist.DistributionMetadata.set_platforms
|
||||
distutils.util.get_host_platform
|
||||
email.headerregistry.MessageIDHeader.max_count
|
||||
importlib.abc.TraversableResources
|
||||
importlib.machinery.PathFinder.find_distributions
|
||||
importlib.metadata.Distribution.name
|
||||
importlib.metadata.EntryPoint.attr
|
||||
importlib.metadata.EntryPoint.dist
|
||||
importlib.metadata.EntryPoint.matches
|
||||
importlib.metadata.EntryPoint.module
|
||||
importlib.metadata.EntryPoint.pattern
|
||||
importlib.metadata.PackageMetadata
|
||||
importlib.resources.ResourceReader
|
||||
importlib.util.source_hash
|
||||
lib2to3.pgen2.tokenize.COLONEQUAL
|
||||
multiprocessing.managers.SharedMemoryServer.create
|
||||
multiprocessing.managers.SharedMemoryServer.list_segments
|
||||
|
||||
@@ -25,6 +25,7 @@ enum.Enum._generate_next_value_
|
||||
fractions.Fraction.__new__ # overload is too complicated for stubtest to resolve
|
||||
hmac.HMAC.__init__
|
||||
importlib.metadata # Added in 3.8
|
||||
importlib.metadata._meta # Added in 3.10
|
||||
importlib.resources # Added in 3.7
|
||||
io.StringIO.readline
|
||||
ipaddress._BaseNetwork.__init__
|
||||
|
||||
@@ -29,6 +29,7 @@ fractions.Fraction.__new__ # overload is too complicated for stubtest to resolv
|
||||
hmac.HMAC.__init__
|
||||
http.server.SimpleHTTPRequestHandler.__init__ # *args is expanded
|
||||
importlib.metadata # Added in 3.8
|
||||
importlib.metadata._meta # Added in 3.10
|
||||
ipaddress._BaseNetwork.__init__
|
||||
json.loads
|
||||
multiprocessing.shared_memory
|
||||
@@ -110,7 +111,6 @@ dummy_threading.setprofile
|
||||
dummy_threading.settrace
|
||||
dummy_threading.stack_size
|
||||
html.parser.HTMLParser.unescape
|
||||
importlib.util.source_hash
|
||||
lib2to3.pgen2.tokenize.COLONEQUAL
|
||||
platform.popen
|
||||
plistlib.Data.asBase64
|
||||
|
||||
@@ -37,6 +37,7 @@ gettext.install # codeset default value is ['unspecified'] so can't be specifie
|
||||
gettext.translation # codeset default value is ['unspecified'] so can't be specified
|
||||
hmac.new # Stub is a white lie; see comments in the stub
|
||||
http.server.SimpleHTTPRequestHandler.__init__ # *args is expanded
|
||||
importlib.metadata._meta # Added in 3.10
|
||||
ipaddress.IPv4Interface.hostmask
|
||||
ipaddress.IPv6Interface.hostmask
|
||||
ipaddress._BaseNetwork.broadcast_address
|
||||
@@ -134,9 +135,6 @@ dummy_threading.settrace
|
||||
dummy_threading.stack_size
|
||||
email.headerregistry.MessageIDHeader.max_count
|
||||
html.parser.HTMLParser.unescape
|
||||
importlib.machinery.PathFinder.find_distributions
|
||||
importlib.metadata.EntryPoint.pattern
|
||||
importlib.util.source_hash
|
||||
lib2to3.pgen2.tokenize.COLONEQUAL
|
||||
multiprocessing.managers.SharedMemoryServer.create
|
||||
multiprocessing.managers.SharedMemoryServer.list_segments
|
||||
|
||||
@@ -40,6 +40,7 @@ gettext.translation
|
||||
hmac.new # Stub is a white lie; see comments in the stub
|
||||
http.server.SimpleHTTPRequestHandler.__init__ # *args is expanded
|
||||
importlib.abc.Traversable.__init__ # Inherits __init__ from typing.Protocol
|
||||
importlib.metadata._meta # Added in 3.10
|
||||
ipaddress.IPv4Interface.hostmask
|
||||
ipaddress.IPv6Interface.hostmask
|
||||
ipaddress._BaseNetwork.broadcast_address
|
||||
@@ -135,12 +136,6 @@ email.headerregistry.MessageIDHeader.max_count
|
||||
hmac.HMAC.digest_cons
|
||||
hmac.HMAC.inner
|
||||
hmac.HMAC.outer
|
||||
importlib.abc.TraversableResources
|
||||
importlib.machinery.PathFinder.find_distributions
|
||||
importlib.metadata.EntryPoint.attr
|
||||
importlib.metadata.EntryPoint.module
|
||||
importlib.metadata.EntryPoint.pattern
|
||||
importlib.util.source_hash
|
||||
lib2to3.pgen2.tokenize.COLONEQUAL
|
||||
multiprocessing.managers.SharedMemoryServer.create
|
||||
multiprocessing.managers.SharedMemoryServer.list_segments
|
||||
|
||||
Reference in New Issue
Block a user