Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

Python API

API glossary

On this page

Kinds, modifiers and package labels in the Python API reference. Select an annotation or full API badge to open its definition here.

The signature and entry documentation describe the API’s behavior, including its calling conventions, storage and runtime checks.

Symbol kinds

Kinds identify declarations in the Python API reference.

class

A Python type defining attributes and behavior for its instances.

References: Python classes .

function

A Python callable defined with def or a lambda expression.

References: Python function definitions .

method

A Python callable obtained through a class or instance. An ordinary bound method supplies its instance as the first argument.

References: Python instance methods .

property

A Python descriptor whose getter, setter or deleter runs during attribute access.

A property need not correspond to a stored field, and reading it may execute code.

References: Python properties .

attribute

A named Python value accessed on an object or class, potentially through a descriptor or dynamic lookup.

References: Python attribute access .

constant

A named Python API value conventionally treated as constant. Uppercase naming does not prevent reassignment at runtime.

References: Python constant naming .

exception

A Python exception class whose instances can be raised and handled with except.

References: Python errors and exceptions .

Modifiers

Modifiers add information about calling, implementing, or accessing a declaration. Their precise effect follows the language and the signature.

classmethod

A Python method that receives the class as its implicit first argument, including when called through an instance.

References: Python class methods .

async

A Python coroutine function declared with async def. Calling it creates a coroutine to await or schedule.

References: Python coroutine functions .

inherited

A Python member resolved from a base class through the method resolution order.

The reference names the declaring class so its original definition remains navigable.

References: Python inheritance .

Package context

Package labels identify where an API is supplied.

package

The Python distribution supplying this API. Its installation name can differ from the package name used in imports.

References: Python distributions and import packages .

Glossary JSON

Esc
Search in

Type to search.

Reference previewOpen reference