mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
adjust allowlist for urllib.response.addbase (#13219)
I don't think we need a regex for just two items
This commit is contained in:
@@ -548,11 +548,8 @@ types.ModuleType.__dict__ # read-only but not actually a property; stubtest thi
|
||||
types.ModuleType.__getattr__ # this doesn't exist at runtime
|
||||
unittest.runner._WritelnDecorator.flush # Methods that come from __getattr__() at runtime
|
||||
unittest.runner._WritelnDecorator.write # Methods that come from __getattr__() at runtime
|
||||
|
||||
# See comments in file. List out methods that are delegated by __getattr__ at runtime.
|
||||
# Used to make the relevant class satisfy BinaryIO interface.
|
||||
urllib.response.addbase.\w+
|
||||
|
||||
urllib.response.addbase.write # Methods that come from __getattr__() at runtime
|
||||
urllib.response.addbase.writelines # Methods that come from __getattr__() at runtime
|
||||
urllib.request.HTTPPasswordMgrWithPriorAuth.__init__ # Args are passed as is to super, so super args are specified
|
||||
uuid.bytes_ # Attributes that are intended to be private
|
||||
uuid.int_ # Attributes that are intended to be private
|
||||
|
||||
Reference in New Issue
Block a user