← Back
Editing: extension.cpython-311.pyc
� ��Ocg9 � � � d Z ddlZddlZddlmZ ddlmZ ej e� � Z G d� de � � Z G d� d e � � ZdS ) zExtensionManager � N� )�_cache)� NoMatchesc �p � e Zd ZdZd� Zed� � � Zed� � � Zed� � � Zed� � � Z dS )� Extensiona� Book-keeping object for tracking extensions. The arguments passed to the constructor are saved as attributes of the instance using the same names, and can be accessed by the callables passed to :meth:`map` or when iterating over an :class:`ExtensionManager` directly. :param name: The entry point name. :type name: str :param entry_point: The EntryPoint instance returned by :mod:`entrypoints`. :type entry_point: EntryPoint :param plugin: The value returned by entry_point.load() :param obj: The object returned by ``plugin(*args, **kwds)`` if the manager invoked the extension on load. c �>