Show More
@@ -607,9 +607,7 b' def display_by_method(data, fp):' | |||
|
607 | 607 | # only show line numbers for significant locations (>1% time spent) |
|
608 | 608 | if stat.selfpercent() > 1: |
|
609 | 609 | source = stat.site.getsource(25) |
|
610 | if sys.version_info.major >= 3 and not isinstance( | |
|
611 | source, bytes | |
|
612 | ): | |
|
610 | if not isinstance(source, bytes): | |
|
613 | 611 | source = pycompat.bytestr(source) |
|
614 | 612 | |
|
615 | 613 | stattuple = ( |
General Comments 0
You need to be logged in to leave comments.
Login now