Show More
@@ -104,7 +104,9 b' if pycompat.ispy3:' | |||
|
104 | 104 | else: |
|
105 | 105 | |
|
106 | 106 | def ismainthread(): |
|
107 | # pytype: disable=module-attr | |
|
107 | 108 | return isinstance(threading.current_thread(), threading._MainThread) |
|
109 | # pytype: enable=module-attr | |
|
108 | 110 | |
|
109 | 111 | def _blockingreader(wrapped): |
|
110 | 112 | return wrapped |
General Comments 0
You need to be logged in to leave comments.
Login now