Commits

Brandon Nielsen  committed 5f78e9a

More accurate comment.

  • Participants
  • Parent commits 21a0210

Comments (0)

Files changed (1)

File aniso8601/__init__.py

 import datetime
 
 def parse_year(yearstr):
-    #yearstr is of the format YYYY
+    #yearstr is of the format Y[YYY]
     #
-    #0000 (0 BC) is not representible as a datetime so a ValueError is raised
+    #0000 (0 BC) is not representible as a Python date so a ValueError is
+    #raised
     #
     #Truncated dates, like '19', refer to 1900-1999 inclusive, we simply parse
     #to 1900-01-01