summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libdatetime.tex
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-12-24 16:34:13 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-12-24 16:34:13 (GMT)
commit52d134874f1044d004df77ff4a1b3899abaafa11 (patch)
treed926d6807992a415da81c3571975d9f768bd7ed2 /Doc/lib/libdatetime.tex
parent2483b61e03ccc29c736d66c53a6e9652a9edc9a1 (diff)
downloadcpython-52d134874f1044d004df77ff4a1b3899abaafa11.zip
cpython-52d134874f1044d004df77ff4a1b3899abaafa11.tar.gz
cpython-52d134874f1044d004df77ff4a1b3899abaafa11.tar.bz2
Removed blurb admonishing users to raise an exception if the datetime
argument to a tzinfo method doesn't have a matching tzinfo member.
Diffstat (limited to 'Doc/lib/libdatetime.tex')
-rw-r--r--Doc/lib/libdatetime.tex3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/lib/libdatetime.tex b/Doc/lib/libdatetime.tex
index b061d90..f29db5b 100644
--- a/Doc/lib/libdatetime.tex
+++ b/Doc/lib/libdatetime.tex
@@ -767,8 +767,7 @@ implement all of them. The methods are called by a \class{datetimetz}
or \class{timetz} object, passing itself as the argument. A
\class{tzinfo} subclass's methods should be prepared to accept a dt
argument of \code{None} or of type \class{timetz} or
-\class{datetimetz}. If is not \code{None}, and dt.tzinfo is not
-\code{None} and not equal to self, an exception should be raised.
+\class{datetimetz}.
- utcoffset(dt)
Return offset of local time from UTC, in minutes east of UTC. If