mirror of
https://github.com/python/cpython.git
synced 2025-09-17 06:06:25 +00:00
remove bytes alias
This commit is contained in:
parent
b028f50911
commit
2a6087966c
1 changed files with 0 additions and 7 deletions
|
@ -38,13 +38,6 @@ if sys.version_info >= (3, 0):
|
||||||
else:
|
else:
|
||||||
latin = str
|
latin = str
|
||||||
|
|
||||||
try:
|
|
||||||
bytes
|
|
||||||
except NameError:
|
|
||||||
bytes = str
|
|
||||||
def bytearray(seq):
|
|
||||||
return array.array('c', seq)
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Constants
|
# Constants
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue