diff options
author | kasium <15907922+kasium@users.noreply.github.com> | 2022-02-28 23:55:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 23:55:08 +0100 |
commit | c0d2e5c89a1525e9f500c43b04529628a70e070f (patch) | |
tree | abd7166dba159ba8beb6fbb4d47f6fc189ef2ead /astroid/const.py | |
parent | 841401d48be94c1bec179864f36ac11beea61f97 (diff) | |
download | astroid-git-c0d2e5c89a1525e9f500c43b04529628a70e070f.tar.gz |
Add doc_node attribute (#1276)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'astroid/const.py')
-rw-r--r-- | astroid/const.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/astroid/const.py b/astroid/const.py index 93bf19e1..74b97cfb 100644 --- a/astroid/const.py +++ b/astroid/const.py @@ -1,4 +1,5 @@ import enum +import platform import sys PY36 = sys.version_info[:2] == (3, 6) @@ -11,6 +12,8 @@ BUILTINS = "builtins" # TODO Remove in 2.8 WIN32 = sys.platform == "win32" +IMPLEMENTATION_PYPY = platform.python_implementation() == "PyPy" + class Context(enum.Enum): Load = 1 |