LangTag.GrandfatheredDb¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
Details¶
- class LangTag.GrandfatheredDb¶
All the fields in the
LangTag.GrandfatheredDb
structure are private to theLangTag.GrandfatheredDb
implementation.- 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.Grandfathered
that 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).