OpenQuizz
Une application de gestion des contenus pédagogiques
_Cache Class Reference
Inheritance diagram for _Cache:
Collaboration diagram for _Cache:

Public Member Functions

def __init__ (self)
 
def clear (self)
 
def add (self, dist)
 

Data Fields

 name
 
 path
 
 generated
 

Detailed Description

A simple cache mapping names and .dist-info paths to distributions

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)
Initialise an instance. There is normally one for each DistributionPath.

Member Function Documentation

◆ add()

def add (   self,
  dist 
)
Add a distribution to the cache.
:param dist: The distribution to add.

◆ clear()

def clear (   self)
Clear the cache, setting it to its initial state.

Field Documentation

◆ generated

generated

◆ name

name

◆ path

path

The documentation for this class was generated from the following file: