LangTag.ExtlangDb¶
Fields¶
None
Methods¶
class  | 
  | 
  | 
|
  | 
|
  | 
Details¶
- class LangTag.ExtlangDb¶
 All the fields in the
LangTag.ExtlangDbstructure are private to theLangTag.ExtlangDbimplementation.- classmethod new()¶
 - Returns:
 a new instance of
LangTag.ExtlangDb.- Return type:
 
Create a new instance of a
LangTag.ExtlangDb.
- lookup(subtag)¶
 - Parameters:
 subtag (
str) – a subtag name to lookup.- Returns:
 a
LangTag.Extlangthat meets with subtag. otherwiseNone.- Return type:
 
Lookup LtExtlang if subtag 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).