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

function libtmux

_format_arg

Render a name or title: a str stays literal, a Format expands.

Source and package
Qualified name
libtmux.common._format_arg
Module
libtmux.common
Package
libtmux
Source
src/libtmux/common.py
_format_arg (value: str | Format) → str

Description

>>> _format_arg("a#b")
'a#{a:35}b'
>>> _format_arg(Format("#{session_name}"))
'#{session_name}'
Parameters

Recorded calls

source calls
No call edges in the Python model.

The Python reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls libtmux.common._format_arg.

Esc
Search in

Type to search.

Reference previewOpen reference