Logo Search packages:      
Sourcecode: distribute version File versions  Download package

def pkg_resources::safe_extra (   extra  ) 

Convert an arbitrary string to a standard 'extra' name

Any runs of non-alphanumeric characters are replaced with a single '_',
and the result is always lowercased.

Definition at line 1107 of file pkg_resources.py.

01107                      :
    """Convert an arbitrary string to a standard 'extra' name

    Any runs of non-alphanumeric characters are replaced with a single '_',
    and the result is always lowercased.
    """
    return re.sub('[^A-Za-z0-9.]+', '_', extra).lower()


def to_filename(name):


Generated by  Doxygen 1.6.0   Back to index