File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -371,13 +371,14 @@ The :mod:`locale` module defines the following exception and functions:
371371
372372.. function :: format(format, val, grouping=False, monetary=False)
373373
374- Please note that this function works like format_string but will only work
375- for exactly one %char specifier.
374+ Please note that this function works like :meth: `format_string ` but will
375+ only work for exactly one ``%char `` specifier. For example, ``'%f' `` and
376+ ``'%.0f' `` are both valid specifiers, but ``'%f kB' `` is not.
376377
377378 For whole format strings, use :func: `format_string `.
378379
379380 .. deprecated :: 3.7
380- Use :meth: `format_string ` instead
381+ Use :meth: `format_string ` instead.
381382
382383
383384.. function :: currency(val, symbol=True, grouping=False, international=False)
You can’t perform that action at this time.
0 commit comments