Remove unnecessary argument.

This commit is contained in:
Andris Raugulis 2016-10-20 16:41:44 +03:00
parent 5be64a8ad2
commit 4120377c0b

View File

@ -1807,7 +1807,7 @@ class Utils(object):
raise cls._type_err(v, 'native text')
@classmethod
def is_ascii(cls, v, enc='utf-8'):
def is_ascii(cls, v):
# type: (Union[text_type, str], str) -> bool
try:
if isinstance(v, (text_type, str)):