summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-10-19 07:32:24 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-10-19 07:32:24 (GMT)
commit95cf84a4f3bd6b679e5c632512d02008b5ff8f46 (patch)
treef93ab403665c2d64621f4a4e12694f75d5b92142 /Doc/ref
parentdd7eb146a8c5509a473b22f15eb91ada790fd0ce (diff)
downloadcpython-95cf84a4f3bd6b679e5c632512d02008b5ff8f46.zip
cpython-95cf84a4f3bd6b679e5c632512d02008b5ff8f46.tar.gz
cpython-95cf84a4f3bd6b679e5c632512d02008b5ff8f46.tar.bz2
Patch #821093: Fix various typos.
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref3.tex2
-rw-r--r--Doc/ref/ref5.tex2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex
index e235963..61d7796 100644
--- a/Doc/ref/ref3.tex
+++ b/Doc/ref/ref3.tex
@@ -1034,7 +1034,7 @@ base class has an \method{__init__()} method, the derived class's
\method{__init__()} method, if any, must explicitly call it to ensure proper
initialization of the base class part of the instance; for example:
\samp{BaseClass.__init__(\var{self}, [\var{args}...])}. As a special
-contraint on constructors, no value may be returned; doing so will
+constraint on constructors, no value may be returned; doing so will
cause a \exception{TypeError} to be raised at runtime.
\end{methoddesc}
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex
index 212dbed..61aec7d 100644
--- a/Doc/ref/ref5.tex
+++ b/Doc/ref/ref5.tex
@@ -1004,7 +1004,7 @@ not \code{''}.)
\section{Lambdas\label{lambdas}}
\indexii{lambda}{expression}
\indexii{lambda}{form}
-\indexii{anonmymous}{function}
+\indexii{anonymous}{function}
Lambda forms (lambda expressions) have the same syntactic position as
expressions. They are a shorthand to create anonymous functions; the