From 37ed7cf07d853a886ad6a9c59789a24abf4acf78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 26 Jan 2022 08:14:45 +0100 Subject: [PATCH] Format --- README.md | 4 ++-- index.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) 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>:.'