|
18 | 18 |
|
19 | 19 | bool isCanonicalName(std::string name) { |
20 | 20 | // this is the list of standard library modules in python 3.8 |
21 | | - static std::set<string> canonicalPythonModuleNames({ |
| 21 | + static std::set<std::string> canonicalPythonModuleNames({ |
22 | 22 | "abc", "aifc", "antigravity", "argparse", "ast", "asynchat", "asyncio", "asyncore", |
23 | 23 | "base64", "bdb", "binhex", "bisect", "_bootlocale", "bz2", "calendar", "cgi", "cgitb", |
24 | 24 | "chunk", "cmd", "codecs", "codeop", "code", "collections", "_collections_abc", |
@@ -71,7 +71,7 @@ bool isCanonicalName(std::string name) { |
71 | 71 | // is this a special name in a dict, module, or class that we shouldn't hash? |
72 | 72 | // we do want to hash methods like __init__ |
73 | 73 | bool isSpecialIgnorableName(const std::string& name) { |
74 | | - static std::set<string> canonicalMagicMethods({ |
| 74 | + static std::set<std::string> canonicalMagicMethods({ |
75 | 75 | "__abs__", "__add__", "__and__", "__bool__", |
76 | 76 | "__bytes__", "__call__", "__contains__", "__del__", |
77 | 77 | "__delattr__", "__eq__", "__float__", "__floordiv__", |
|
0 commit comments