On this page
  1. types.MethodDescriptorType
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

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

REPL Inspect

from types import MethodDescriptorType
help(MethodDescriptorType)

Linked from

Related notes