mirror of
https://github.com/python/cpython
synced 2026-09-28 06:38:16 +03:00
Patch #487455: make types.StringTypes a tuple.
This commit is contained in:
parent
44ddbde3ab
commit
8b6bd42e08
1 changed files with 2 additions and 2 deletions
|
|
@ -26,9 +26,9 @@ except NameError:
|
|||
StringType = str
|
||||
try:
|
||||
UnicodeType = unicode
|
||||
StringTypes = [StringType, UnicodeType]
|
||||
StringTypes = (StringType, UnicodeType)
|
||||
except NameError:
|
||||
StringTypes = [StringType]
|
||||
StringTypes = (StringType,)
|
||||
|
||||
BufferType = type(buffer(''))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue