PEP 495: Added a fitting epigtaph to the "Temporal Arithmetic" section.

This commit is contained in:
Alexander Belopolsky 2015-09-15 16:11:37 -04:00
parent 4634a8bad8
commit 2702cd15b3
1 changed files with 13 additions and 0 deletions

View File

@ -400,6 +400,19 @@ where ``delta`` is the size of the fold or the gap.
Temporal Arithmetic and Comparison Operators
============================================
.. epigraph::
| In *mathematicks* he was greater
| Than Tycho Brahe, or Erra Pater:
| For he, by geometric scale,
| Could take the size of pots of ale;
| Resolve, by sines and tangents straight,
| If bread or butter wanted weight,
| And wisely tell what hour o' th' day
| The clock does strike by algebra.
-- "Hudibras" by Samuel Butler
The value of the ``fold`` attribute will be ignored in all operations
with naive datetime instances. As a consequence, naive
``datetime.datetime`` or ``datetime.time`` instances that differ only