astroid_manager.py 493 B

123456789101112131415
  1. """
  2. This file contain the global astroid MANAGER, to prevent circular import that happened
  3. when the only possibility to import it was from astroid.__init__.py.
  4. This AstroidManager is a singleton/borg so it's possible to instantiate an
  5. AstroidManager() directly.
  6. """
  7. # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
  8. # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
  9. from astroid.manager import AstroidManager
  10. MANAGER = AstroidManager()