Package qm :: Module label
[hide private]
[frames] | no frames]

Module label

source code

Classes [hide private]
  Label
A 'Label' identifies an entity.
Functions [hide private]
 
thunk(label)
Sanitize and convert 'label' to a valid label.
source code
Variables [hide private]
  __thunk_regex = re.compile(r'[^a-z0-9_]')
  __package__ = 'qm'
Function Details [hide private]

thunk(label)

source code 

Sanitize and convert 'label' to a valid label.

Makes a best-effort attempt to keep 'label' recognizable during the conversion.

returns -- A valid label.