Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-134082: Modernize docstrings instring.Formatter#134083

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
picnixz merged 6 commits intopython:mainfrompicnixz:feat/string/reST-docs-134082
May 16, 2025
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
clarify docstring
  • Loading branch information
@picnixz
picnixz authoredMay 16, 2025
commit9aa1a8749b4c30cafbdee35b64185b035008e6a0
8 changes: 4 additions & 4 deletionsLib/string/__init__.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -293,10 +293,10 @@ def parse(self, format_string):
Return an iterable that contains tuples of the form
(literal_text, field_name, format_spec, conversion).

*literal_text* can be zero length and *field_name*
can be None, in which case nothing is formatted.

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
formatted with *format_spec* and *conversion*.
"""
return _string.formatter_parser(format_string)
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp