EBookContacts.AddressWestern¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
country |
r/w |
Country |
|
extended |
r/w |
TODO, we’re not sure what this is. |
|
locality |
r/w |
City or town |
|
po_box |
r/w |
PO Box. |
|
postal_code |
r/w |
Postal Code |
|
region |
r/w |
State or province |
|
street |
r/w |
Street name |
Methods¶
class |
|
|
|
|
Details¶
- class EBookContacts.AddressWestern¶
Western address structure.
- classmethod parse(in_address)¶
- Parameters:
in_address (
str
orNone
) – a string representing a mailing address- Returns:
A new
EBookContacts.AddressWestern
structure, orNone
if the parsing failed or when the in_address wasNone
.- Return type:
Parses a string representing a mailing address into a structure of type
EBookContacts.AddressWestern
.
- copy()¶
- Returns:
A new
EBookContacts.AddressWestern
struct identical to self.- Return type:
Creates a copy of self.
New in version 3.24.
- free()¶
Frees self and its contents.