There was an error while loading. Please reload this page.
1 parent 1b02da9 commit 6f055e7Copy full SHA for 6f055e7
1 file changed
Lib/asyncio/transports.py
@@ -2,7 +2,7 @@
2
3
import sys
4
5
-PY34 = sys.version_info >= (3, 4)
+_PY34 = sys.version_info >= (3, 4)
6
7
__all__ = ['BaseTransport', 'ReadTransport', 'WriteTransport',
8
'Transport', 'DatagramTransport', 'SubprocessTransport',
@@ -94,7 +94,7 @@ def writelines(self, list_of_data):
94
The default implementation concatenates the arguments and
95
calls write() on the result.
96
"""
97
- if not PY34:
+ if not _PY34:
98
# In Python 3.3, bytes.join() doesn't handle memoryview.
99
list_of_data = (
100
bytes(data) if isinstance(data, memoryview) else data
0 commit comments