types.MethodDescriptorType
Prev: types.MemberDescriptorType | Up: types | Next: types.MethodType
Rel: types.AsyncGeneratorType, types.BuiltinFunctionType, types.BuiltinMethodType, types.CapsuleType
Ref: docs.python.org — types.MethodDescriptorType
Tags: #public #python3 #stdlib #types
Import
import types
from types import MethodDescriptorType
Signature & Overview
types.MethodDescriptorType()
types.MethodDescriptorType class.
Usage
import types
assert isinstance(str.upper, types.MethodDescriptorType)
Gotchas
- Type of unbound C methods (like
list.appendorstr.upper).
REPL Inspect
from types import MethodDescriptorType
help(MethodDescriptorType)
Linked from
Related notes
- tuts/python3/stdlib_module/types/MemberDescriptorType Linked here; links to this page; shared tags: #stdlib, #types
- tuts/python3/stdlib_module/types/MethodType Linked here; links to this page; shared tags: #stdlib, #types
- tuts/python3/stdlib_module/types Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/types/AsyncGeneratorType Linked here; shared tags: #stdlib, #types
- tuts/python3/stdlib_module/types/BuiltinFunctionType Linked here; shared tags: #stdlib, #types
- tuts/python3/stdlib_module/types/BuiltinMethodType Linked here; shared tags: #stdlib, #types
- tuts/python3/stdlib_module/types/CapsuleType Linked here; shared tags: #stdlib, #types
- tuts/c/stdlib/stdint_stdbool_and_limits shared tags: #stdlib, #types
- tuts/python3/stdlib_module/types/CellType shared tags: #stdlib, #types
- tuts/python3/stdlib_module/types/ClassMethodDescriptorType shared tags: #stdlib, #types