mirror of https://github.com/python/cpython
fix incorrect example
This commit is contained in:
parent
3b02742f7d
commit
9f35070a6b
|
@ -734,7 +734,7 @@ The formatting template uses curly brackets (`{`, `}`) as special characters::
|
|||
|
||||
Curly brackets can be escaped by doubling them::
|
||||
|
||||
>>> format("Empty dict: {{}}")
|
||||
>>> "Empty dict: {{}}".format()
|
||||
"Empty dict: {}"
|
||||
|
||||
Field names can be integers indicating positional arguments, such as
|
||||
|
|
Loading…
Reference in New Issue