[docs] tuple or struct_time

Alexander Belopolsky alexander.belopolsky at gmail.com
Mon Jan 3 19:35:42 CET 2011


Functions in the time module that expect broken down time are
currently documented as accepting "tuple or struct_time".  For
example,

http://docs.python.org/py3k/library/time.html#time.strftime

However, in recent versions, ".. or struct_time" is redundant because

>>> issubclass(time.struct_time, tuple)
True

I think it would be more informative for a reader to change "tuple or
struct_time" to "9-tuple".


More information about the docs mailing list