mirror of https://github.com/python/cpython
remove 3.0 conditional
This commit is contained in:
parent
ac623cde2d
commit
2bc91df2a3
|
@ -30,11 +30,8 @@ from multiprocessing import util
|
|||
#
|
||||
#
|
||||
|
||||
if sys.version_info >= (3, 0):
|
||||
def latin(s):
|
||||
return s.encode('latin')
|
||||
else:
|
||||
latin = str
|
||||
def latin(s):
|
||||
return s.encode('latin')
|
||||
|
||||
#
|
||||
# Constants
|
||||
|
|
Loading…
Reference in New Issue