Skip to content

Commit 9199480

Browse files
Address review comments
1 parent 3d551f0 commit 9199480

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Lib/pydoc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,8 +1256,8 @@ def makename(c, m=object.__module__):
12561256

12571257
# List the built-in subclasses, if any:
12581258
subclasses = sorted(
1259-
(str(cls.__name__) for cls in object.__subclasses__() \
1260-
if not cls.__name__.startswith("_") and cls.__module__ == "builtins"),
1259+
(str(cls.__name__) for cls in object.__subclasses__()
1260+
if not cls.__name__.startswith("_") and cls.__module__ == "builtins"),
12611261
key=str.lower
12621262
)
12631263
no_of_subclasses = len(subclasses)
@@ -1268,8 +1268,8 @@ def makename(c, m=object.__module__):
12681268
push(' ' + subclassname)
12691269
if no_of_subclasses > MAX_SUBCLASSES_TO_DISPLAY:
12701270
push(' ... and ' +
1271-
str(no_of_subclasses - MAX_SUBCLASSES_TO_DISPLAY) +
1272-
' other subclasses')
1271+
str(no_of_subclasses - MAX_SUBCLASSES_TO_DISPLAY) +
1272+
' other subclasses')
12731273
push('')
12741274

12751275
# Cute little class to pump out a horizontal rule between sections.

0 commit comments

Comments
 (0)