summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref3.tex
Commit message (Collapse)AuthorAgeFilesLines
* SF 810242. Fix doubled word errors.Raymond Hettinger2003-09-221-1/+1
|
* Added doubled word warnings.Raymond Hettinger2003-08-251-1/+1
|
* Fix representation of ^= operator in __ixor__() documentation.Fred Drake2003-07-231-1/+1
| | | | Closes SF bug #776181. Should be backported.
* Minor corrections.Raymond Hettinger2003-07-171-1/+1
|
* - improve the description of how user-defined methodFred Drake2003-07-171-25/+85
| | | | | | | | objects get made - improve the description of attribute retrieval from classes and class instances - add brief documentation of static method and class method objects.
* Clarify the lack of relationship between rich comparison operators.Raymond Hettinger2003-07-161-0/+5
| | | | Prompted by a discussion on comp.lang.python.
* Indexing is a mess; try to get the link targets closer to the relevantFred Drake2003-07-151-3/+2
| | | | text. There needs to be a better way.
* Discuss calling new-style types.Fred Drake2003-07-151-1/+9
| | | | Closes SF bug #453683.
* Minor fixes to punctuation and grammar.Raymond Hettinger2003-06-291-5/+5
|
* * Markup nits for the Invoking Descriptors sectionRaymond Hettinger2003-06-271-7/+121
| | | | | | | * Documented __slots__ * Documented __metaclass__ Shamelessly plagarized from Guido's tutorial.
* remove _ from label: LaTeX rejects this due to all the magic we use toFred Drake2003-06-261-1/+1
| | | | get the _ character to format like a normal character
* * Document how descriptors are invoked.Raymond Hettinger2003-06-251-3/+63
| | | | * Fix minor parenthesis matching errors in ref3.tex.
* Add explicit text for where an obindex call for generators was since obindex ↵Brett Cannon2003-06-151-1/+2
| | | | does not cause output of its argument.
* Add a specific mention of the term "operator overloading" and add anFred Drake2003-05-121-1/+4
| | | | index entry. Suggested to python-docs.
* - apply SF patch #700798: fixes and cleanups for descriptor infoFred Drake2003-03-201-13/+13
| | | | - use a TeX "tie" to prevent word-wrapping in "section x.y"-like text
* I thought it was common practice to check things compiled beforeMichael W. Hudson2003-03-051-5/+5
| | | | | | | checking them in? Oh well, this fixes various obvious mistakes and changes a subsubsubsection (which doesn't exist) into a subsubsection (which does). I'm not sure this matches the intent, but it seems to read OK on a quick skim.
* SF doc patch #692001, properties and __getattribute__. I added someGuido van Rossum2003-02-281-8/+54
| | | | stuff, and changed 'property' to 'descriptor'.
* Document __module__.Jeremy Hylton2003-01-311-3/+11
|
* Fix typoRaymond Hettinger2003-01-191-1/+1
|
* SF patch #634866: Alex Martelli's corrections to the ref manual.Raymond Hettinger2003-01-191-37/+75
| | | | | Backport candidate. All but one or two of these changes are applicable to 2.2.2.
* This is Richie Hindle's patchMichael W. Hudson2002-12-171-5/+7
| | | | | | | | [ 643835 ] Set Next Statement for Python debuggers with a few tweaks by me: adding an unsigned or two, mentioning that not all jumps are allowed in the doc for pdb, adding a NEWS item and a note to whatsnew, and AuCTeX doing something cosmetic to libpdb.tex.
* Another try at clarifying what goes into and comes out of Unicode objects.Fred Drake2002-09-241-12/+20
| | | | Document the indices() method of slice objects.
* Clarified that the footnote applies to versions 1.5 and after instead ofRaymond Hettinger2002-09-081-4/+4
| | | | just version 1.5. Closes SF bug 577793.
* A few days ago, Guido said (in the thread "[Python-Dev] PythonMichael W. Hudson2002-07-191-0/+9
| | | | | | | | version of PySlice_GetIndicesEx"): > OK. Michael, if you want to check in indices(), go ahead. Then I did what was needed, but didn't check it in. Here it is.
* SF 563530 added missing methods for emulating numeric typesRaymond Hettinger2002-06-201-1/+5
|
* This is my nearly two year old patchMichael W. Hudson2002-06-111-0/+7
| | | | | | | | | [ 400998 ] experimental support for extended slicing on lists somewhat spruced up and better tested than it was when I wrote it. Includes docs & tests. The whatsnew section needs expanding, and arrays should support extended slices -- later.
* Fix up Guido's markup.Fred Drake2002-06-041-24/+24
|
* Addressed SF bug 421973 (finally).Guido van Rossum2002-06-031-46/+88
| | | | | | | | | | | | | | | | | 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. I beg Fred forgiveness: my use of \code{} is probably naive. Please fix this and other markup nits. An index entry would be nice. This could be a 2.2 bugfix candidate, if we bother about old docs (Fred?)
* Closes SF patch: 552468.Raymond Hettinger2002-05-121-4/+2
| | | | Type class unification invalidated the statement: x.__getitem__[i] is not equivalent to x[i].
* Remove repeated index entry; adds nothing different.Fred Drake2002-04-161-2/+1
| | | | Closes SF bug #518985.
* Document __unicode__. Fixes #541245.Martin v. Löwis2002-04-111-0/+7
|
* Add the 'bool' type and its values 'False' and 'True', as described inGuido van Rossum2002-04-031-3/+17
| | | | | | | | | | | | | PEP 285. Everything described in the PEP is here, and there is even some documentation. I had to fix 12 unit tests; all but one of these were printing Boolean outcomes that changed from 0/1 to False/True. (The exception is test_unicode.py, which did a type(x) == type(y) style comparison. I could've fixed that with a single line using issubtype(x, type(y)), but instead chose to be explicit about those places where a bool is expected. Still to do: perhaps more documentation; change standard library modules to return False/True from predicates.
* Update documentation of code objects.Jeremy Hylton2002-04-011-10/+15
| | | | | | | | Split the description of co_flags into two paragraphs. The first describes the flags that are used for non-future purposes, where CO_GENERATOR was added. The second describes __future__'s use of co_flags and mentions the only one currently meaningful, CO_FUTURE_DIVISION.
* Small fixes for description of function attributes.Jeremy Hylton2002-04-011-5/+3
| | | | | | func_closure is a readonly attribute. Add \ttindex{} for func_closure. Remove discussion of func_closure specific to 2.1.
* Update information about __del__() & reference cycles for CPython.Fred Drake2001-12-141-7/+18
| | | | | | | This partially fixes SF bug #492619. Fix a typo & use the new notice environment instead of (ab)using the \note and \warning macros.
* Document generators and the yield statement, avoiding implementation details.Fred Drake2001-12-111-1/+13
|
* Add change notes where im_class is discussed, since the exact meaning changesFred Drake2001-12-071-0/+2
| | | | with Python 2.2.
* Correct the description of im_class. (Fred, this is changed in 2.2.Guido van Rossum2001-12-071-6/+5
| | | | Should this be labeled as changed? How?)
* Remove most references to __members__ and __methods__, leaving only one pairFred Drake2001-12-031-8/+1
| | | | | | of references that now state that these attributes have been removed, directing the reader to the dir() function. This closes SF bug #456420.
* Clean up some markup cruft. A number of the macros that take noFred Drake2001-11-281-3/+3
| | | | | | | | 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.
* Use the \note and \warning macros where appropriate.Fred Drake2001-10-201-4/+4
|
* Refer to the objects which define __len__(), __*item__(), and __iter__()Fred Drake2001-10-011-17/+35
| | | | | | 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.
* Fix minor usage and consistency nits.Fred Drake2001-09-181-4/+5
|
* Work around a LaTeX2HTML bug that caused the "m" in "mutable" to be droppedFred Drake2001-09-101-1/+1
| | | | in one place.
* Add information about __floordiv__() and __truediv__() methods forFred Drake2001-08-141-5/+17
| | | | implementing numeric objects in Python.
* User-defined methods *can* contain things other than user-defined functionsFred Drake2001-08-021-1/+2
| | | | as the callable, so use more flexible language.
* Explain that __init__() methods do not get to return values.Fred Drake2001-08-021-8/+9
|
* Minor change to match the style guide.Fred Drake2001-07-141-1/+1
|
* Fix a very minor (but annoying when looking for things!) markup nit.Fred Drake2001-06-231-0/+2
|
* Bring the notes on the relationship between __cmp__(), __eq__(), andFred Drake2001-05-291-10/+15
| | | | | | | __hash__() up to date (re: use of objects which define these methods as dictionary keys). This closes SF bug #427698.