Skip to content

Commit

Permalink
Updated documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
austinhartzheim committed Aug 13, 2015
1 parent 191bb04 commit cd86dd1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions rigidity/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ class Rigidity():
'''
A wrapper for CSV readers and writers that allows
'''
# TODO: Investigate of DictReaders and DictWriters can be handled in
# the same class or if another class is required.

csvobj = None # Declare here to prevent getattr/setattr recursion

Expand Down Expand Up @@ -124,7 +122,7 @@ def validate_write(self, row):
method will raise an exception.
:param row: a row object that can be passed to a CSVWriter's
writerow() method.
__next__() method.
'''
# Ensure mutability - I'm looking at you, tuples!
if not isinstance(row, (list, dict)):
Expand All @@ -150,8 +148,8 @@ def validate_read(self, row):
file. If the row is invalid and cannot be corrected, then this
method will raise an exception.
:param row: a row object that can be passed to a CSVWriter's
writerow() method.
:param row: a row object that can be returned from CSVReader's
readrow() method.
'''
# Ensure mutability - I'm looking at you, tuples!
if not isinstance(row, (list, dict)):
Expand Down

0 comments on commit cd86dd1

Please sign in to comment.