@@ -375,7 +375,7 @@ \section{The standard type hierarchy} \label{types}
375375function, a new class instance (also described below) is created and
376376returned. This implies a call to the class's \verb @__init__ @ method
377377if it has one. Any arguments are passed on to the \verb @__init__ @
378- method --- if there is \verb @__init__ @ method, the class must be called
378+ method --- if there is no \verb @__init__ @ method, the class must be called
379379without arguments.
380380\ttindex {__init__}
381381\obindex {class}
@@ -629,7 +629,7 @@ \subsection{Special methods for any type}
629629
630630Note that \code {del x} doesn't directly call \code {x.__del__} --- the
631631former decrements the reference count for \code {x} by one, but
632- \code {x, __del__} is only called when its reference count reaches zero.
632+ \code {x. __del__} is only called when its reference count reaches zero.
633633
634634\item [{\tt __repr__(self)}]
635635Called by the \verb @repr() @ built-in function and by string conversions
@@ -666,7 +666,7 @@ \subsection{Special methods for any type}
666666\code {hash()}. Should return a 32-bit integer usable as a hash value
667667for dictionary operations. The only required property is that objects
668668which compare equal have the same hash value; it is advised to somehow
669- mix together (e.g. using exclusing or) the hash values for the
669+ mix together (e.g. using exclusive or) the hash values for the
670670components of the object that also play a part in comparison of
671671objects. If a class does not define a \code {__cmp__} method it should
672672not define a \code {__hash__} operation either; if it defines
0 commit comments