summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Document filter.Martin v. Löwis2001-06-071-0/+5
|
* Typo: "descrition" --> "description"Fred Drake2001-06-061-3/+10
| | | | | | | | Add reference to the documentation for the Python documentation markup. Fixed up a couple of descriptions. This closes SF bug #430627.
* Add references to the documentation for the Python documentation markup.Fred Drake2001-06-062-0/+14
| | | | Suggested by the comments in SF bug #430627.
* Fix bug #422702: Make flag argument to open optional, and document it that way.Martin v. Löwis2001-06-051-1/+1
|
* Update a "Programmer's note" about lambda forms and scoping to reflectFred Drake2001-06-051-5/+19
| | | | the availability of nested scoping in Python 2.1 and 2.2.
* is -> if in rename descriptionSkip Montanaro2001-06-041-1/+1
|
* Explained more differences between PyList_SetItem() and PyList_SET_ITEM().Fred Drake2001-06-031-2/+7
| | | | | | | In particular, the affect on existing list content was not sufficiently explained. This closes SF bug #429554.
* Document os.getenv().Fred Drake2001-05-311-0/+7
| | | | This closes SF bug #429059.
* Some general cleanup of the threading module documentation, includingFred Drake2001-05-311-25/+15
| | | | | | fixing the reference to Thread.getDeamon() (should be isDaemon()). This closes SF bug #429070.
* Added entry for HTMLParser documentation.Fred Drake2001-05-302-0/+2
|
* Michel Pelletier <michel@digicool.com>:Fred Drake2001-05-301-0/+136
| | | | Documentation for the HTMLParser module, with small changes by FLD.
* New solution to the "Someone stuck a colon in that filename!" problem:Fred Drake2001-05-291-3/+10
| | | | | Allow colons in the labels used for internal references, but do not expose them when generating filename.
* Users of PySequence_GET_FAST() should get the length of the sequence usingFred Drake2001-05-291-1/+1
| | | | | | | PySequence_Size(), not PyObject_Size(): the later considers the mapping methods as well as the sequence methods, which is not needed here. Either should be equally fast in this case, but PySequence_Size() offers a better conceptual match.
* readlink() description: Added note that the return value may be eitherFred Drake2001-05-291-5/+20
| | | | | | | | | | absolute or relative. remove(), rename() descriptions: Give more information about the cross- platform behavior of these functions, so single-platform developers can be aware of the potential issues when writing portable code. This closes SF patch #426598.
* Hack to make this play nicer with *old* versions of Python: os.path.abspath()Fred Drake2001-05-291-0/+10
| | | | | was not available in Python 1.5.1. (Yes, a user actually tried to use this with that version of Python!)
* 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.
* Fix typo reported in SF bug #427783.Fred Drake2001-05-291-1/+1
|
* The parameter to the listen() method is not optional, but was marked asFred Drake2001-05-291-1/+1
| | | | | | optional in the documentation. This closes SF bug #427985.
* Removed information on the old third parameter to _PyTuple_Resize().Fred Drake2001-05-291-1/+20
| | | | | | Added information on PyIter_Check(), PyIter_Next(), PyObject_Unicode(), PyString_AsDecodedObject(), PyString_AsEncodedObject(), and PyThreadState_GetDict().
* If the input line does not contain enough fields, raise a meaningfulFred Drake2001-05-291-0/+2
| | | | error.
* Do not start API descriptions with "Does the same, but ..." -- actuallyFred Drake2001-05-291-10/+13
| | | | | | | | state *which* other function the current one is like, even if the descriptions are adjacent. Revise the _PyTuple_Resize() description to reflect the removal of the third parameter.
* Add a version annotation for splitdrive(); old, but as long as I managedFred Drake2001-05-251-0/+1
| | | | to end up with the information, it is better recorded than lost.
* Add descriptions of {}.iteritems(), {}.iterkeys(), and {}.itervalues()Fred Drake2001-05-251-12/+23
| | | | | | in the table of mapping object operations. Re-numbered the list of notes to reflect the move of the "Added in version 2.2." note to the list of notes instead of being inserted into the last column of the table.
* One more update related to the new get() and setdefault() methods on theFred Drake2001-05-221-5/+6
| | | | Message object.
* Update to add get() and setdefault() as supported mapping operations, andFred Drake2001-05-221-2/+8
| | | | | add a list of the mapping methods which are not supported (per Barry's comments).
* Add some clarifications about the mapping interface presented byFred Drake2001-05-221-2/+4
| | | | rfc822.Message objects, based on comments from Barry.
* Changed all the examples with ugly platform-dependent float output to useTim Peters2001-05-221-16/+20
| | | | | | | | numbers that display nicely after repr(). From much doctest experience with the same trick, I believe people find examples with simple fractions easier to understand too: they can usually check the results in their head, and so feel confident about what they're seeing. Not even I get a warm feeling from a result that looks like 70330.345024097141 ...
* Add a "See also" section with useful links. More should be added givingFred Drake2001-05-211-0/+15
| | | | | pointers to information about the other mailbox formats; if anyone can provide the information needed, please let me know!
* Update output to reflect additional precision produced by the repr() ofFred Drake2001-05-211-2/+3
| | | | | | | | | | floating point numbers in an interactive example. Added comment to help explain control flow in the example code showing how to check if a number is prime. This closes SF bugs 419434 and 424552.
* Add documentation for Py_Main() and PyThreadState_GetDict().Fred Drake2001-05-211-0/+21
|
* Typo: "that" --> "than"Fred Drake2001-05-211-1/+1
| | | | This closes SF bug #425320.
* Fix bug in smtplib example: the prompt said to end the message with ^D,Fred Drake2001-05-201-3/+6
| | | | | | | but doing so raised EOFError. This makes it work as advertised and converts to string methods where reasonable. This closes SF bug #424776.
* Get Aahz listed correctly using his legal/professional name.Fred Drake2001-05-201-1/+1
|
* Add another itemAndrew M. Kuchling2001-05-191-0/+3
|
* Beef up the unicode() description a bit, based on material from AMK'sFred Drake2001-05-151-4/+12
| | | | "What's New in Python ..." documents.
* This patch changes the way the string .encode() method works slightlyMarc-André Lemburg2001-05-151-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | and introduces a new method .decode(). The major change is that strg.encode() will no longer try to convert Unicode returns from the codec into a string, but instead pass along the Unicode object as-is. The same is now true for all other codec return types. The underlying C APIs were changed accordingly. Note that even though this does have the potential of breaking existing code, the chances are low since conversion from Unicode previously took place using the default encoding which is normally set to ASCII rendering this auto-conversion mechanism useless for most Unicode encodings. The good news is that you can now use .encode() and .decode() with much greater ease and that the door was opened for better accessibility of the builtin codecs. As demonstration of the new feature, the patch includes a few new codecs which allow string to string encoding and decoding (rot13, hex, zip, uu, base64). Written by Marc-Andre Lemburg. Copyright assigned to the PSF.
* Make sure we include all of Python's numeric types in the data modelFred Drake2001-05-141-1/+2
| | | | | | description, so that the introduction of complex is not a surprise. This closes SF bug #423429.
* Add some text to make the dircmp object section more readable, and moveFred Drake2001-05-111-7/+16
| | | | some stuff around.
* --sigh--Fred Drake2001-05-112-3/+3
| | | | | Finish the last set of changes to these files so the conversion does not break.
* Markup adjustments to avoid getting junk in the index.Fred Drake2001-05-111-5/+5
|
* Replace "\begin{classdesc}{SomeClass}{\unspecified}" withFred Drake2001-05-112-3/+5
| | | | | "\begin{classdesc*}{SomeClass}" -- the rendering of \unspecified was identical to \moreargs, so this helps clarify things just a little.
* Document the new classdesc* environment, and the previously undocumentedFred Drake2001-05-111-1/+18
| | | | excclassdesc environment.
* Define a new environment, classdesc*, which can be used to document aFred Drake2001-05-112-0/+23
| | | | | | class without providing any information about the constructor. This should be used for classes which only exist to act as containers rather than as factories for instances.
* Write a better synopsis for the Scrap module, and provide a link toFred Drake2001-05-101-1/+9
| | | | useful documentation on the Scrap Manager.
* Actually include a synopsis line for the ColorPicker module.Fred Drake2001-05-101-1/+1
|
* Fix typo in weakref.proxy() documentation.Fred Drake2001-05-101-1/+1
| | | | This closes SF bug #423087.
* Update example to no longer use the FCNTL module.Fred Drake2001-05-101-2/+2
|
* Fix typo reported by David Goodger. This closes SF patch #422383.Fred Drake2001-05-101-1/+1
|
* Remove all mentions of the strop module -- it has been pronounced Evil.Fred Drake2001-05-102-18/+7
| | | | | | (The string "strop" is found in the rexec documentation, but that should not be changed until strop is actually removed or rexec no longer allows it.)
* Update the fcntl module documentation.Fred Drake2001-05-091-30/+26
|