On Thu, 2014-10-09 at 09:06 -0700, Brian C. Lane wrote:
On Thu, Oct 09, 2014 at 11:41:37AM +0200, Vratislav Podzimek wrote:
> + :returns: a pair where the first field contains a tuple with the year, month
> + and day objects/values put in the right order and where the second
> + field contains a tuple with three :class:`_DateFieldSpec` objects
> + specifying formats respectively to the first (year, month, day)
> + field
> + :rtype: tuple
> + :raise ValueError: in case currently set locale has unsupported date
> + format and fail_safe is set to False
Maybe include an example of a return value? I had to look at the code to
be sure it was a tuple of 2 tuples.
Good point, added.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic