Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Don't use parser module if symbol doesn't exist as well. #2680

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion third-party/py/setuptools/pkg_resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import functools
import pkgutil
import token
import symbol
import operator
import platform
import collections
Expand Down Expand Up @@ -80,6 +79,7 @@
importlib_machinery = None

try:
import symbol
import parser
except ImportError:
pass
Expand Down