Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libuserdict.tex @ 13625:fdfd1049f36e legacy-trunk
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.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Sun, 16 Jul 2000 19:01:10 +0000 |
| parents | 5a6200ff77aa |
| children | 5004349ede4d |
line wrap: on
line diff
--- a/Doc/lib/libuserdict.tex Sun Jul 16 18:47:43 2000 +0000 +++ b/Doc/lib/libuserdict.tex Sun Jul 16 19:01:10 2000 +0000 @@ -8,11 +8,11 @@ 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 @@ 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 @@ 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 @@ 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}
