Module Expr Str Import alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return Num Return Num decorator_list decorator_list Assign NameStore Call NameLoad ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body AugAssignAdd NameStore BinOpAdd Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Str orelse Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpAdd Str NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Str orelse Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore AttributeLoad Call NameLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad BinOpAdd Str NameLoad NameLoad orelse Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad NameLoad TryExcept body TryFinally body Return Call NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Return Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return Str Return BinOpMod Str TupleLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A N/A 
Versions for Python packages.

See L{Version}.
 N/A sys os _inf N/A object N/A N/A 
    An object that is bigger than all other objects.
     __cmp__ N/A N/A self other N/A N/A N/A 
        @param other: Another object.
        @type other: any

        @return: 0 if other is inf, 1 otherwise.
        @rtype: C{int}
         N/A N/A other _inf N/A N/A 0 N/A 1 N/A N/A N/A _inf N/A _inf IncomparableVersions N/A TypeError N/A N/A 
    Two versions could not be compared.
     N/A Version N/A object N/A N/A 
    An object that represents a three-part version number.

    If running from an svn checkout, include the revision number in
    the version string.
     __init__ N/A N/A self package major minor micro prerelease N/A None N/A N/A 
        @param package: Name of the package that this is a version of.
        @type package: C{str}
        @param major: The major version number.
        @type major: C{int}
        @param minor: The minor version number.
        @type minor: C{int}
        @param micro: The micro version number.
        @type micro: C{int}
        @param prerelease: The prerelease number.
        @type prerelease: C{int}
         N/A N/A self package package N/A N/A self major major N/A N/A self minor minor N/A N/A self micro micro N/A N/A self prerelease prerelease N/A short N/A N/A self N/A N/A N/A 
        Return a string in canonical short version format,
        <major>.<minor>.<micro>[+rSVNVer].
         N/A s N/A N/A self base N/A svnver N/A N/A self _getSVNVersion N/A svnver N/A N/A s N/A +r N/A str svnver N/A s N/A base N/A N/A self N/A N/A N/A 
        Like L{short}, but without the +rSVNVer.
         N/A N/A N/A self prerelease None N/A N/A pre N/A N/A pre N/A pre%s N/A N/A self prerelease N/A N/A %d.%d.%d%s N/A N/A self major N/A self minor N/A self micro pre N/A __repr__ N/A N/A self N/A N/A N/A svnver N/A N/A self _formatSVNVersion N/A svnver N/A N/A svnver N/A   # svnver N/A N/A N/A self prerelease None N/A N/A prerelease N/A N/A prerelease N/A , prerelease=%r N/A N/A self prerelease N/A N/A %s(%r, %d, %d, %d%s)%s N/A N/A N/A self __class__ __name__ N/A self package N/A self major N/A self minor N/A self micro prerelease svnver N/A __str__ N/A N/A self N/A N/A N/A N/A [%s, version %s] N/A N/A self package N/A N/A self short N/A __cmp__ N/A N/A self other N/A N/A N/A 
        Compare two versions, considering major versions, minor versions, micro
        versions, then prereleases.

        A version with a prerelease is always less than a version without a
        prerelease. If both versions have prereleases, they will be included in
        the comparison.

        @param other: Another version.
        @type other: L{Version}

        @return: NotImplemented when the other object is not a Version, or one
            of -1, 0, or 1.

        @raise IncomparableVersions: when the package names of the versions
            differ.
         N/A N/A N/A isinstance other N/A self __class__ N/A N/A NotImplemented N/A N/A N/A self package N/A other package N/A N/A N/A IncomparableVersions N/A %r != %r N/A N/A self package N/A other package N/A N/A N/A self prerelease None N/A N/A prerelease _inf N/A N/A prerelease N/A self prerelease N/A N/A N/A other prerelease None N/A N/A otherpre _inf N/A N/A otherpre N/A other prerelease N/A x N/A cmp N/A N/A self major N/A self minor N/A self micro prerelease N/A N/A other major N/A other minor N/A other micro otherpre N/A x N/A _parseSVNEntries_4 N/A N/A self entriesFile N/A N/A N/A 
        Given a readable file object which represents a .svn/entries file in
        format version 4, return the revision as a string.  We do this by
        reading first XML element in the document that has a 'revision'
        attribute.
         xml.dom.minidom parse N/A doc N/A N/A parse entriesFile documentElement N/A node N/A doc childNodes N/A N/A N/A hasattr node getAttribute N/A N/A rev N/A N/A node getAttribute revision N/A N/A rev None N/A N/A N/A N/A rev encode ascii N/A _parseSVNEntries_8 N/A N/A self entriesFile N/A N/A N/A 
        Given a readable file object which represents a .svn/entries file in
        format version 8, return the revision as a string.
         N/A N/A N/A entriesFile readline N/A N/A N/A entriesFile readline N/A N/A N/A entriesFile readline N/A N/A N/A N/A N/A entriesFile readline strip N/A N/A _parseSVNEntries_9 _parseSVNEntries_8 N/A _parseSVNEntriesTenPlus _parseSVNEntries_8 _getSVNVersion N/A N/A self N/A N/A N/A 
        Figure out the SVN revision number based on the existance of
        <package>/.svn/entries, and its contents. This requires discovering the
        format version from the 'format' file and parsing the entries file
        accordingly.

        @return: None or string containing SVN Revision number.
         N/A mod N/A N/A N/A sys modules get N/A self package N/A mod N/A N/A svn N/A N/A N/A os path join N/A N/A N/A os path dirname N/A mod __file__ .svn N/A N/A N/A N/A N/A os path exists svn N/A N/A None N/A formatFile N/A N/A N/A os path join svn format N/A N/A N/A N/A os path exists formatFile N/A N/A format N/A N/A N/A N/A N/A file formatFile read strip N/A parser N/A getattr self N/A _parseSVNEntries_ format None N/A N/A parser N/A self _parseSVNEntriesTenPlus N/A N/A parser None N/A N/A Unknown N/A entriesFile N/A N/A N/A os path join svn entries N/A entries N/A file entriesFile N/A N/A N/A N/A N/A N/A parser entries N/A N/A N/A N/A entries close N/A N/A N/A N/A Unknown N/A _formatSVNVersion N/A N/A self N/A N/A N/A ver N/A N/A self _getSVNVersion N/A N/A ver None N/A N/A N/A N/A  (SVN r%s) N/A ver N/A N/A getVersionString N/A N/A version N/A N/A N/A 
    Get a friendly string for the given version object.

    @param version: A L{Version} object.
    @return: A string containing the package and short version number.
     N/A result N/A %s %s N/A N/A version package N/A N/A version short N/A result N/A