We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9193f2d + dccf2eb commit 1fd4f27Copy full SHA for 1fd4f27
README.rst
@@ -94,15 +94,8 @@ As a standalone library
94
95
>>> import os
96
>>> import sys
97
- >>> if sys.version_info[0] < 3:
98
- ... from StringIO import StringIO
99
- ... else:
100
- ... from io import BytesIO as StringIO
101
- >>> PY2 = sys.version_info[0] == 2
102
- >>> if PY2 and sys.version_info[1] < 7:
103
- ... from ordereddict import OrderedDict
104
105
- ... from collections import OrderedDict
+ >>> from io import BytesIO as StringIO
+ >>> from collections import OrderedDict
106
107
108
.. testcode::
0 commit comments