mirror of https://github.com/python/cpython.git
Patch #487455: make types.StringTypes a tuple.
This commit is contained in:
parent
44ddbde3ab
commit
8b6bd42e08
|
@ -26,9 +26,9 @@
|
|||
StringType = str
|
||||
try:
|
||||
UnicodeType = unicode
|
||||
StringTypes = [StringType, UnicodeType]
|
||||
StringTypes = (StringType, UnicodeType)
|
||||
except NameError:
|
||||
StringTypes = [StringType]
|
||||
StringTypes = (StringType,)
|
||||
|
||||
BufferType = type(buffer(''))
|
||||
|
||||
|
|
Loading…
Reference in New Issue