diff --git a/README.md b/README.md index cec86db..78443f2 100644 --- a/README.md +++ b/README.md @@ -390,8 +390,8 @@ import re Format ------ ```python - = f'{}, {}' # Or: '%s, %s' % (, ) - = '{}, {}'.format(, ) # Or: '{0}, {1}'.format(, ) + = f'{}, {}' + = '{}, {}'.format(, ) ``` ### Attributes diff --git a/index.html b/index.html index 2ecdbd4..3aee3cc 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@
- +
@@ -364,8 +364,8 @@ to_exclusive = <range>.stop -

#Format

<str> = f'{<el_1>}, {<el_2>}'                  # Or: '%s, %s' % (<el_1>, <el_2>)
-<str> = '{}, {}'.format(<el_1>, <el_2>)        # Or: '{0}, {1}'.format(<el_1>, <el_2>)
+

#Format

<str> = f'{<el_1>}, {<el_2>}'
+<str> = '{}, {}'.format(<el_1>, <el_2>)
 

Attributes

>>> from collections import namedtuple
@@ -2881,7 +2881,7 @@ $ pyinstaller script.py --add-data '<path>:.'