lib/__builtins__/types.py | raw changeset files shortlog |
1.1 --- a/lib/__builtins__/types.py Mon Dec 12 22:30:09 2016 +0100 1.2 +++ b/lib/__builtins__/types.py Mon Dec 12 22:33:15 2016 +0100 1.3 @@ -32,7 +32,7 @@ 1.4 1.5 "Check the given string 's'." 1.6 1.7 - if not _isinstance(s, string): 1.8 + if not _isinstance(s, basestring): 1.9 raise ValueError(s) 1.10 1.11 # vim: tabstop=4 expandtab shiftwidth=4