LangTag.GrandfatheredDb¶
Fields¶
None
Methods¶
class  | 
  | 
  | 
|
  | 
|
  | 
Details¶
- class LangTag.GrandfatheredDb¶
 All the fields in the
LangTag.GrandfatheredDbstructure are private to theLangTag.GrandfatheredDbimplementation.- classmethod new()¶
 - Returns:
 a new instance of
LangTag.GrandfatheredDb.- Return type:
 
Create a new instance of a
LangTag.GrandfatheredDb.
- lookup(tag)¶
 - Parameters:
 tag (
str) – a tag name to lookup.- Returns:
 a
LangTag.Grandfatheredthat meets with tag. otherwiseNone.- Return type:
 
Lookup LtGrandfathered if tag is valid and registered into the database.
- ref()¶
 - Returns:
 the same self object.
- Return type:
 
Increases the reference count of self.
- unref()¶
 Decreases the reference count of self. when its reference count drops to 0, the object is finalized (i.e. its memory is freed).