diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-16 19:01:10 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-16 19:01:10 (GMT) |
commit | f8316638afb2eff261c3854ee6e02b9bc47d0955 (patch) | |
tree | 8d0271c66820c6c5ea947724b04a89362c9b222d /Doc/lib/libuserdict.tex | |
parent | 0e19e76aba9f470c348e25bb2d550f9a096642bd (diff) | |
download | cpython-f8316638afb2eff261c3854ee6e02b9bc47d0955.zip cpython-f8316638afb2eff261c3854ee6e02b9bc47d0955.tar.gz cpython-f8316638afb2eff261c3854ee6e02b9bc47d0955.tar.bz2 |
Rob W. W. Hooft's spelling fixes for the Library Reference. I hope
SourceForge doesn't choke on this batch :-)
I'm not entirely sure this is 100% correct. The patch changes an
\index{persistency} to \index{presistence}, and I don't know what \index{}
does. But it seems to do so persi--er, consistently, so I hope it isn't a
problem.
Diffstat (limited to 'Doc/lib/libuserdict.tex')
-rw-r--r-- | Doc/lib/libuserdict.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libuserdict.tex b/Doc/lib/libuserdict.tex index f859a27..51b7f55 100644 --- a/Doc/lib/libuserdict.tex +++ b/Doc/lib/libuserdict.tex @@ -8,11 +8,11 @@ This module defines a class that acts as a wrapper around dictionary objects. It is a useful base class for your own dictionary-like classes, which can inherit from them and override existing methods or add new ones. In this way one -can add new behaviours to dictionaries. +can add new behaviors to dictionaries. The \module{UserDict} module defines the \class{UserDict} class: -\begin{classdesc}{UserDict}{\optional{intialdata}} +\begin{classdesc}{UserDict}{\optional{initialdata}} Return a class instance that simulates a dictionary. The instance's contents are kept in a regular dictionary, which is accessible via the \member{data} attribute of \class{UserDict} instances. If @@ -42,7 +42,7 @@ This module defines a class that acts as a wrapper around list objects. It is a useful base class for your own list-like classes, which can inherit from them and override existing methods or add new ones. In this way one -can add new behaviours to lists. +can add new behaviors to lists. The \module{UserList} module defines the \class{UserList} class: @@ -77,7 +77,7 @@ This module defines a class that acts as a wrapper around string objects. It is a useful base class for your own string-like classes, which can inherit from them and override existing methods or add new ones. In this way one -can add new behaviours to strings. +can add new behaviors to strings. The \module{UserString} module defines the \class{UserString} class: @@ -109,5 +109,5 @@ keys. The main intention of this class is to serve as an educational example for inheritance and necessity to remove (override) the \function{__hash__} method in order to trap attempts to use a mutable object as dictionary key, which would be otherwise very -errorprone and hard to track down. +error prone and hard to track down. \end{classdesc} |