We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ef4e56 commit 9aa1a87Copy full SHA for 9aa1a87
Lib/string/__init__.py
@@ -293,10 +293,10 @@ def parse(self, format_string):
293
Return an iterable that contains tuples of the form
294
(literal_text, field_name, format_spec, conversion).
295
296
- *literal_text* can be zero length and *field_name*
297
- can be None, in which case nothing is formatted.
298
-
299
- If *field_name* is not None, it is looked up and
+ *literal_text* can be zero length;
+
+ *field_name* can be None, in which case there's no object
+ to format and output; otherwise, it is looked up and
300
formatted with *format_spec* and *conversion*.
301
"""
302
return _string.formatter_parser(format_string)
0 commit comments