Runtime Types

types.MethodDescriptorType — runtime type

Identifies native method descriptors such as str.join before binding. Passing an explicit compatible receiver invokes the operation; instance lookup instead produces a bound built-in method. Python-defined functions and wrapper descriptors are distinct categories.

Formal Syntax & Structure

python syntaxpython
types.MethodDescriptorType

Return Value

type

The class object types.MethodDescriptorType; this reference documents the class identity, not a universal constructor signature.

Working Example

Example Snippetpython
import typesvalue = str.joinprint(isinstance(value, types.MethodDescriptorType))
Python Reference