File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1256,8 +1256,8 @@ def makename(c, m=object.__module__):
1256
1256
1257
1257
# List the built-in subclasses, if any:
1258
1258
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" ),
1261
1261
key = str .lower
1262
1262
)
1263
1263
no_of_subclasses = len (subclasses )
@@ -1268,8 +1268,8 @@ def makename(c, m=object.__module__):
1268
1268
push (' ' + subclassname )
1269
1269
if no_of_subclasses > MAX_SUBCLASSES_TO_DISPLAY :
1270
1270
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' )
1273
1273
push ('' )
1274
1274
1275
1275
# Cute little class to pump out a horizontal rule between sections.
You can’t perform that action at this time.
0 commit comments