class documentation
class GenderedLanguage: (source)
A combination of Language and Gender.
This type is needed for various file formats, where the Language and Gender types are combined into a single integer.
| Class Method | from |
Create a new GenderedLanguage instance from a combined ID. |
| Method | __str__ |
Undocumented |
| Method | to |
Convert the Language instance to a combined ID. |
| Class Variable | gender |
Undocumented |
| Class Variable | lang |
Undocumented |
Create a new GenderedLanguage instance from a combined ID.
| Parameters | |
combinedint | The combined ID, which is 2 times the Language ID plus the Gender. |
| Returns | |
| A new GenderedLanguage instance. |