LangTag.RedundantDb¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
Details¶
- class LangTag.RedundantDb¶
All the fields in the
LangTag.RedundantDb
structure are private to theLangTag.RedundantDb
implementation.- classmethod new()¶
- Returns:
a new instance of
LangTag.RedundantDb
.- Return type:
Create a new instance of a
LangTag.RedundantDb
.
- lookup(tag)¶
- Parameters:
tag (
str
) – a tag name to lookup.- Returns:
a
LangTag.Redundant
that meets with tag. otherwiseNone
.- Return type:
Lookup LtRedundant 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).