issue #2243 -- prefer f-strings over %-interpolation
edited docs to prefer f-strings, then str.format(), and remove %-interpolation additional ad-hoc documentation fixes, as opportunities seen: - replace Built-In Function (BIF) "min" variable with "mins" - prefer BIF str(var) over "%s" % var - reformat some code examples to clarify multiple args passed to functions - change some single-quote strings to double-quotes for consistency - fix mismatched parens misc edits: - add .vscode/ to gitignore
This commit is contained in:
parent
71092f17f7
commit
c12ab91555
31 changed files with 210 additions and 193 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -53,3 +53,6 @@ docs/build
|
|||
|
||||
# For users of Atom
|
||||
.remote-sync.json
|
||||
|
||||
# Visual Studio Code (VS-Code)
|
||||
.vscode/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue