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

Public Member Functions

def parse (self, s)
 
def is_prerelease (self)
 
- Public Member Functions inherited from Version
def __init__ (self, s)
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 
def __lt__ (self, other)
 
def __gt__ (self, other)
 
def __le__ (self, other)
 
def __ge__ (self, other)
 
def __hash__ (self)
 
def __repr__ (self)
 
def __str__ (self)
 

Static Public Attributes

 PREREL_TAGS
 

Detailed Description

A rational version.

Good:
    1.2         # equivalent to "1.2.0"
    1.2.0
    1.2a1
    1.2.3a2
    1.2.3b1
    1.2.3c1
    1.2.3.4
    TODO: fill this out

Bad:
    1           # minimum two numbers
    1.2a        # release level must have a release serial
    1.2.3b

Member Function Documentation

◆ is_prerelease()

def is_prerelease (   self)

Reimplemented from Version.

◆ parse()

def parse (   self,
  s 
)

Reimplemented from Version.

Field Documentation

◆ PREREL_TAGS

PREREL_TAGS
static

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