Fix type after argument removal.

This commit is contained in:
Andris Raugulis 2016-10-20 17:19:37 +03:00
parent cbe7ad4ac3
commit cdfe06e75d

View File

@ -1812,7 +1812,7 @@ class Utils(object):
@classmethod
def is_ascii(cls, v):
# type: (Union[text_type, str], str) -> bool
# type: (Union[text_type, str]) -> bool
try:
if isinstance(v, (text_type, str)):
v.encode('ascii')