(x, y)
| 547 | raise TypeError("tzinfo argument must be None or of a tzinfo subclass") |
| 548 | |
| 549 | def _cmperror(x, y): |
| 550 | raise TypeError("can't compare '%s' to '%s'" % ( |
| 551 | type(x).__name__, type(y).__name__)) |
| 552 | |
| 553 | def _divide_and_round(a, b): |
| 554 | """divide a by b and round result to the nearest integer |