Permalink
Browse files

Fixing README

  • Loading branch information...
1 parent 22725c7 commit 43c6d7861def209893b035a295dc23ad04f62f6a @polera committed Feb 14, 2012
Showing with 15 additions and 15 deletions.
  1. +15 −15 README.md
View
30 README.md
@@ -5,21 +5,21 @@ nameparts is a Python module that I wrote to address a problem splitting full na
parts (first, middle, last, etc.)
You can use it like this:
- >>> from nameparts import Name
- >>> n = Name("Thurston Howel III")
- >>> n.first_name
- 'Thurston'
- >>> n.last_name
- 'Howel'
- >>> n.as_dict
- {'first_name': 'Thurston', 'last_name': 'Howel', 'middle_name': None, 'suffix': None, 'generation': 'III', 'salutation': None}
- >>> n = Name("Smith, John Paul")
- >>> n.first_name
- 'John'
- >>> n.last_name
- 'Smith'
- >>> n.middle_name
- 'Paul'
+ >>> from nameparts import Name
+ >>> n = Name("Thurston Howel III")
+ >>> n.first_name
+ 'Thurston'
+ >>> n.last_name
+ 'Howel'
+ >>> n.as_dict
+ {'first_name': 'Thurston', 'last_name': 'Howel', 'middle_name': None, 'suffix': None, 'generation': 'III', 'salutation': None}
+ >>> n = Name("Smith, John Paul")
+ >>> n.first_name
+ 'John'
+ >>> n.last_name
+ 'Smith'
+ >>> n.middle_name
+ 'Paul'
Comments/Questions/Improvements
-------------------------------

0 comments on commit 43c6d78

Please sign in to comment.