EBookContacts.NameWestern

Fields

Name Type Access Description
first str r/w  
full str r/w  
last str r/w  
middle str r/w  
nick str r/w  
prefix str r/w  
suffix str r/w  

Methods

class parse (full_name)
  copy ()
  free ()

Details

class EBookContacts.NameWestern
classmethod parse(full_name)
Parameters:full_name (str) – A string containing a western name.
Returns:A new EBookContacts.NameWestern struct.
Return type:EBookContacts.NameWestern

Parses full_name and returns an EBookContacts.NameWestern struct filled with the component parts of the name.

copy()
Returns:A new EBookContacts.NameWestern struct identical to self.
Return type:EBookContacts.NameWestern

Creates a copy of self.

New in version 3.24.

free()

Frees the self struct and its contents.