Permalink
Browse files

Added a missing docstring.

  • Loading branch information...
1 parent 1ea9e60 commit f852b1f188a5e41cc78466ba8b8ce8ed6e72abac @VSTeam VSTeam committed Aug 19, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 la/io.py
View
@@ -708,9 +708,10 @@ def tuple2datetime(i):
return datetime.datetime(*i)
def time2tuple(t):
- "Convert datetime.time to tuple; tzinfo, if any, is lost,"
+ "Convert datetime.time to tuple; tzinfo, if any, is lost."
return (t.hour, t.minute, t.second, t.microsecond)
def tuple2time(i):
+ "Convert tuple to a datetime.time object."
return datetime.time(*i)

0 comments on commit f852b1f

Please sign in to comment.