Lines Matching refs:raises
267 Division by 0 raises :exc:`ZeroDivisionError`.
461 default scheme of comparing object addresses, date comparison normally raises
864 object addresses, datetime comparison normally raises :exc:`TypeError` if the
944 ``self.tzinfo.utcoffset(self)``, and raises an exception if the latter doesn't
952 ``self.tzinfo.dst(self)``, and raises an exception if the latter doesn't return
960 ``self.tzinfo.tzname(self)``, raises an exception if the latter doesn't return
1304 ``self.tzinfo.utcoffset(None)``, and raises an exception if the latter doesn't
1312 ``self.tzinfo.dst(None)``, and raises an exception if the latter doesn't return
1320 ``self.tzinfo.tzname(None)``, or raises an exception if the latter doesn't
1398 The default implementation of :meth:`utcoffset` raises
1447 The default implementation of :meth:`dst` raises :exc:`NotImplementedError`.
1462 The default implementation of :meth:`tzname` raises :exc:`NotImplementedError`.