Show More
@@ -39,6 +39,8 b' if ispy3:' | |||||
39 | fsdecode = os.fsdecode |
|
39 | fsdecode = os.fsdecode | |
40 | # A bytes version of os.name. |
|
40 | # A bytes version of os.name. | |
41 | osname = os.name.encode('ascii') |
|
41 | osname = os.name.encode('ascii') | |
|
42 | ospathsep = os.pathsep.encode('ascii') | |||
|
43 | ossep = os.sep.encode('ascii') | |||
42 |
|
44 | |||
43 | def sysstr(s): |
|
45 | def sysstr(s): | |
44 | """Return a keyword str to be passed to Python functions such as |
|
46 | """Return a keyword str to be passed to Python functions such as | |
@@ -85,6 +87,8 b' else:' | |||||
85 | return filename |
|
87 | return filename | |
86 |
|
88 | |||
87 | osname = os.name |
|
89 | osname = os.name | |
|
90 | ospathsep = os.pathsep | |||
|
91 | ossep = os.sep | |||
88 |
|
92 | |||
89 | stringio = io.StringIO |
|
93 | stringio = io.StringIO | |
90 | empty = _queue.Empty |
|
94 | empty = _queue.Empty |
General Comments 0
You need to be logged in to leave comments.
Login now