Commits

Anonymous committed 4be72d7

[svn] a couple more doctest fixes

  • Participants
  • Parent commits c7cb340

Comments (0)

Files changed (2)

File webhelpers/hinclude.py

 
 def include(url, default=''):
     """Do a client-side include of ``url``, defaulting to ``default```
-        >>> hinclude.include("/foo","hello")
+        >>> include("/foo","hello")
         '<hx:include src="/foo">hello</hx:include>'
     """
     

File webhelpers/rails/date.py

 
     Examples:
 
+        >>> from datetime import datetime, timedelta
         >>> from_time = datetime.now()
         >>> distance_of_time_in_words(from_time, from_time + timedelta(minutes=50))
         'about 1 hour'