Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Like ``fmt()``, but iterpolating strings not from the caller's context, but
the caller's caller's context. It sounds uber meta, but it helps easily make
other routines be able to do what ``fmt()`` can do.

        def caller_fmt(*args, **kwargs):
    """
    Like ``fmt()``, but iterpolating strings not from the caller's context, but
    the caller's caller's context. It sounds uber meta, but it helps easily make
    other routines be able to do what ``fmt()`` can do.
    """
    kwargs.setdefault('_callframe', inspect.currentframe().f_back.f_back)
    return fmt(*args, **kwargs)
        


src/s/a/say-1.2.3/say/__init__.py   say(Download)
from say.core import say, Say, fmt, Fmt, caller_fmt, FmtException, numberer
from say.styling import color, COLORS, STYLES, autostyle, styled, Relative
from say.vertical import Vertical
from say.text import Text
from say.version import __version__