mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-06 04:08:49 +08:00
Add __code__ to types.MethodType (#12749)
This commit is contained in:
1 parent
8bc20e7415
commit
1f4031cc96
2 files changed
+3
No files matched your search
@@ -494,6 +494,7 @@ typing(_extensions)?\.TextIO\.newlines
|
||||
typing(_extensions)?\.(Async)?ContextManager
|
||||
|
||||
types.MethodType.__closure__ # read-only but not actually a property; stubtest thinks it doesn't exist.
|
||||
types.MethodType.__code__ # read-only but not actually a property; stubtest thinks it doesn't exist.
|
||||
types.MethodType.__defaults__ # read-only but not actually a property; stubtest thinks it doesn't exist.
|
||||
types.ModuleType.__dict__ # read-only but not actually a property; stubtest thinks it's a mutable attribute.
|
||||
types.ModuleType.__getattr__ # this doesn't exist at runtime
|
||||
|
||||
Reference in new issue
Block a user