Skip to content

Commit 76b7cbd

Browse files
authored
PEP 8: Fix indentation of two paragraphs in list (#2041)
1 parent beb22ee commit 76b7cbd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pep-0008.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,15 +1357,15 @@ Programming Recommendations
13571357
# Wrong:
13581358
if type(obj) is type(1):
13591359

1360-
When checking if an object is a string, keep in mind that it might
1361-
be a unicode string too! In Python 2, str and unicode have a
1362-
common base class, basestring, so you can do::
1360+
When checking if an object is a string, keep in mind that it might
1361+
be a unicode string too! In Python 2, str and unicode have a
1362+
common base class, basestring, so you can do::
13631363

13641364
if isinstance(obj, basestring):
13651365

1366-
Note that in Python 3, ``unicode`` and ``basestring`` no longer exist
1367-
(there is only ``str``) and a bytes object is no longer a kind of
1368-
string (it is a sequence of integers instead).
1366+
Note that in Python 3, ``unicode`` and ``basestring`` no longer exist
1367+
(there is only ``str``) and a bytes object is no longer a kind of
1368+
string (it is a sequence of integers instead).
13691369

13701370
- For sequences, (strings, lists, tuples), use the fact that empty
13711371
sequences are false::

0 commit comments

Comments
 (0)