Show More
@@ -454,7 +454,8 b' class DisplayFormats:' | |||||
454 |
|
454 | |||
455 | def display(fp=None, format=3, data=None, **kwargs): |
|
455 | def display(fp=None, format=3, data=None, **kwargs): | |
456 | '''Print statistics, either to stdout or the given file object.''' |
|
456 | '''Print statistics, either to stdout or the given file object.''' | |
457 | data = data or state |
|
457 | if data is None: | |
|
458 | data = state | |||
458 |
|
459 | |||
459 | if fp is None: |
|
460 | if fp is None: | |
460 | import sys |
|
461 | import sys |
General Comments 0
You need to be logged in to leave comments.
Login now