A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-May/064655.html below:

[Python-Dev] PEP 3101: Advanced String Formatting

[Python-Dev] PEP 3101: Advanced String Formatting [Python-Dev] PEP 3101: Advanced String FormattingTerry Reedy tjreedy at udel.edu
Mon May 1 02:45:24 CEST 2006
"Talin" <talin at acm.org> wrote in message news:4453AF51.6050605 at acm.org...

>     Compound names are a sequence of simple names seperated by

separated

>     The string and unicode classes will have a class method called
>     'cformat' that does all the actual work of formatting; The
>     format() method is just a wrapper that calls cformat.
>
>     The parameters to the cformat function are:
>
>         -- The format string (or unicode; the same function handles
>            both.)

A class method gets the class as its first argument.  If the format string 
in the first argument, then it is a normal instance method.

tjr



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4