Fred Drake
dd2cc27e67
Fix broken markup; make the ^= representation work properly
...
Closes SF bug #776181 .
2003-07-24 01:46:39 +00:00
Fred Drake
dc39bc64d4
Add a specific mention of the term "operator overloading" and add an
...
index entry. Suggested to python-docs.
2003-05-12 13:50:41 +00:00
Fred Drake
38d0ccfe96
- backport portions of SF patch #700798 : fixes and cleanups for descriptor info
...
- use a TeX "tie" to prevent word-wrapping in "section x.y"-like text
2003-03-20 18:22:50 +00:00
Raymond Hettinger
55e040ed47
Backport SF patch #634866 : Alex Martelli's corrections to the ref manual.
2003-01-19 14:54:08 +00:00
Raymond Hettinger
490561e921
Backport 1.94:
...
Clarified that the footnote applies to versions 1.5 and after instead of
just version 1.5. Closes SF bug 577793.
2002-10-05 06:40:49 +00:00
Fred Drake
31940037d3
Another try at clarifying what goes into and comes out of Unicode objects.
2002-09-24 21:01:07 +00:00
Raymond Hettinger
a18b3cb130
SF 563530 added missing methods for emulating numeric types
2002-06-20 06:18:26 +00:00
Fred Drake
84183683e5
Backport Guido's changes from revision 1.89:
...
Addressed SF bug 421973 (finally).
Rewrote the subsection on coercion rules (and made it a proper
subsection, with a label). The new section is much less precise,
because precise rules would be too hard to give (== I don't know what
they are any more :-). OTOH, the new section gives much more
up-to-date information.
Also noted that __coerce__ may return NotImplemented, with the same
meaning as None.
FLD: My modifications to Guido's markup are included from revision 1.90.
2002-06-04 16:29:24 +00:00
Raymond Hettinger
ac1ceef3ac
Backport ver 1.88 correction noting that lists now support .__getitem__().
...
Closes SF bug 548874 and patch 552468.
2002-05-13 07:55:24 +00:00
Fred Drake
b4e00c416a
Remove repeated index entry; adds nothing different.
...
Closes SF bug #518985 .
2002-04-16 02:03:31 +00:00
Fred Drake
591dd8f620
Update information about __del__() & reference cycles for CPython.
...
This partially fixes SF bug #492619 .
Fix a typo & use the new notice environment instead of (ab)using the \note
and \warning macros.
2001-12-14 22:52:41 +00:00
Fred Drake
e31e9cebc0
Document generators and the yield statement, avoiding implementation details.
2001-12-11 21:10:08 +00:00
Fred Drake
f9d580346b
Add change notes where im_class is discussed, since the exact meaning changes
...
with Python 2.2.
2001-12-07 23:13:53 +00:00
Guido van Rossum
b62f0e1a7b
Correct the description of im_class. (Fred, this is changed in 2.2.
...
Should this be labeled as changed? How?)
2001-12-07 22:03:18 +00:00
Fred Drake
3570551d6f
Remove most references to __members__ and __methods__, leaving only one pair
...
of references that now state that these attributes have been removed,
directing the reader to the dir() function.
This closes SF bug #456420 .
2001-12-03 17:32:27 +00:00
Fred Drake
c37b65ee10
Clean up some markup cruft. A number of the macros that take no
...
parameters (like \UNIX) are commonly entered using an empty group to
separate the markup from a following inter-word space; this is not
needed when the next character is punctuation, or the markup is the
last thing in the enclosing group. These cases were marked
inconsistently; the empty group is now *only* used when needed.
2001-11-28 07:26:15 +00:00
Fred Drake
0aa811c527
Use the \note and \warning macros where appropriate.
2001-10-20 04:24:09 +00:00
Fred Drake
73921b0eec
Refer to the objects which define __len__(), __*item__(), and __iter__()
...
as container objects rather than as mapping objects (in the index entries).
Change the section heading and intro sentence to be a little more general,
since that's how things have actually evolved.
2001-10-01 16:32:13 +00:00
Fred Drake
18d8d5a708
Fix minor usage and consistency nits.
2001-09-18 17:58:20 +00:00
Fred Drake
ed5a7ca5ee
Work around a LaTeX2HTML bug that caused the "m" in "mutable" to be dropped
...
in one place.
2001-09-10 15:16:08 +00:00
Fred Drake
3e2aca48bd
Add information about __floordiv__() and __truediv__() methods for
...
implementing numeric objects in Python.
2001-08-14 20:28:08 +00:00
Fred Drake
8dd6ffd0ec
User-defined methods *can* contain things other than user-defined functions
...
as the callable, so use more flexible language.
2001-08-02 21:34:53 +00:00
Fred Drake
044bb4d22a
Explain that __init__() methods do not get to return values.
2001-08-02 15:53:05 +00:00
Fred Drake
6e5e1d924c
Minor change to match the style guide.
2001-07-14 02:12:27 +00:00
Fred Drake
2829f1cf99
Fix a very minor (but annoying when looking for things!) markup nit.
2001-06-23 05:27:20 +00:00