Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Chapter titles that get split over multiple lines in the typeset | Fred Drake | 2002-10-28 | 1 | -5/+3 |
| | | | | | | | formats can't have whitespace after the last non-blank character (bug in LaTeX?); fix up a couple of instances of this. Update an email address. | ||||
* | Clarify packages in tutorial. Closes SF bug #616211. | Raymond Hettinger | 2002-10-26 | 1 | -0/+3 |
| | |||||
* | Describe __path__ along with the rest of the package description. | Fred Drake | 2002-10-22 | 1 | -1/+12 |
| | | | | Closes SF bug #626554. | ||||
* | Remove mentionings of DOS. | Martin v. Löwis | 2002-10-10 | 1 | -1/+1 |
| | |||||
* | Added a tutorial note and example regarding the scope of loop variables | Raymond Hettinger | 2002-09-06 | 1 | -0/+13 |
| | | | | | | | in a list comprehension. Includes a justification and a comparision to regular for-loops. Closes SF bug 605047. | ||||
* | Replace all cases of "while 1" with "while True". | Raymond Hettinger | 2002-08-21 | 1 | -7/+7 |
| | | | | Though slightly slower, has better clarity and teaching value. | ||||
* | This is my patch | Michael W. Hudson | 2002-08-15 | 1 | -6/+5 |
| | | | | | | | | [ 587993 ] SET_LINENO killer Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab. Many sundry changes to document and adapt to this change. | ||||
* | Remove a broken example of extreme backward compatibility; it is | Fred Drake | 2002-08-14 | 1 | -21/+0 |
| | | | | | simply not relevant any more. Closes SF bug #595032. | ||||
* | GvR pointed out that only enclosing function bodies are part of nested scopes. | Raymond Hettinger | 2002-08-07 | 1 | -5/+5 |
| | |||||
* | Describe nested scopes in the tutorial. Closes SF bug 500704. | Raymond Hettinger | 2002-08-07 | 1 | -6/+11 |
| | |||||
* | Fix typo reported to python-docs. | Fred Drake | 2002-06-26 | 1 | -1/+1 |
| | |||||
* | Close bug 480337: Dict used before dicts explained. Added explanation | Raymond Hettinger | 2002-06-25 | 1 | -2/+11 |
| | | | | and examples of the dict() constructor. | ||||
* | Fix spacing in loop example | Raymond Hettinger | 2002-06-25 | 1 | -3/+3 |
| | |||||
* | Completely revise markup for the list of list methods; the new markup matches | Fred Drake | 2002-06-11 | 1 | -26/+35 |
| | | | | | | | the semantics and presentation used in the library reference. Added an explanation of the use of [...] to denote optional arguments, since this is the only use of this in a signature line. Closes SF bug #567127. | ||||
* | As discussed on python-dev, add a mechanism to indicate features | Neal Norwitz | 2002-05-29 | 1 | -16/+17 |
| | | | | | that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved. | ||||
* | Message for NameError has changed | Andrew M. Kuchling | 2002-05-02 | 1 | -1/+1 |
| | |||||
* | Documentation for the enumerate() function/type. | Fred Drake | 2002-04-26 | 1 | -0/+43 |
| | | | | This closes SF patch #547162. | ||||
* | "Shortcut" should be "short-circuit". | Fred Drake | 2002-03-08 | 1 | -6/+7 |
| | | | | This closes SF bug #526277. | ||||
* | Revise cheeseshop example so that the order of the keyword output is | Fred Drake | 2002-01-29 | 1 | -1/+8 |
| | | | | | | completely determined by the example; dict insertion order and the string hash algorithm no longer affect the output. This fixes SF bug #509281. | ||||
* | Fix up some examples in the tutorial so we don't contradict our own | Fred Drake | 2001-12-20 | 1 | -2/+2 |
| | | | | | advice on docstrings. This fixes SF bug #495601. | ||||
* | Include a warning that scripts should not have the same name as standard | Fred Drake | 2001-12-04 | 1 | -13/+37 |
| | | | | | | | modules, or the module cannot be properly imported. (Based on a suggestion sent to python-docs.) Update the displayed dir() of the sys and __builtin__ module with Python 2.2. | ||||
* | Talk about str() in the discussion of string representations of values, and | Fred Drake | 2001-12-04 | 1 | -3/+26 |
| | | | | | give examples for which str() and repr() yield different results. This closes SF bug #485446. | ||||
* | Update lambda description to reflect nested scopes. This was noted by | Fred Drake | 2001-12-03 | 1 | -4/+2 |
| | | | | Andrew Koenig. | ||||
* | Add a scalar product to the example list comprehensions based on a suggestion | Fred Drake | 2001-12-03 | 1 | -0/+2 |
| | | | | sent to python-docs. | ||||
* | Clean up some markup cruft. A number of the macros that take no | Fred Drake | 2001-11-28 | 1 | -6/+6 |
| | | | | | | | | 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. | ||||
* | Fix thinko in a comment about seeking with a file object. | Fred Drake | 2001-10-16 | 1 | -1/+1 |
| | | | | Reported by Francesco Trentini. | ||||
* | Exceptions in interactive examlpes did not always include the indication of | Fred Drake | 2001-09-21 | 1 | -19/+85 |
| | | | | | | | | | the source file using "in ?". Added a description of the bare "raise" statement. Added more description and examples for user-defined exceptions; this is part of a response to SF bug #443559. | ||||
* | Clarified the interaction between string literals and continuation lines. | Fred Drake | 2001-09-06 | 1 | -5/+28 |
| | | | | Fixes bug reported as SF bug #453728. | ||||
* | Make the examples for "Default Argument Values" more presentable and | Fred Drake | 2001-09-06 | 1 | -9/+13 |
| | | | | | less hostile to newbie use at the interactive prompt. This is in response to SF bug #458654. | ||||
* | Clarify the prompt in an example. | Fred Drake | 2001-08-14 | 1 | -1/+1 |
| | | | | This closes SF bug #450633. | ||||
* | Minor re-wording in the exaplantion of sequence comparisons. | Fred Drake | 2001-08-01 | 1 | -3/+4 |
| | | | | This closes SF bug #445749. | ||||
* | Add a more substantial example startup file for the interactive shell; | Fred Drake | 2001-07-18 | 1 | -7/+44 |
| | | | | | | | | sample startup script provided by Itamar Shtull-Trauring. This closes SF patch #410890. Add some logical markup where it was missing. | ||||
* | Minor changes to match the style guide. | Fred Drake | 2001-07-14 | 1 | -4/+4 |
| | |||||
* | Fix up a few style nits -- avoid "e.g." and "i.e." -- these make | Fred Drake | 2001-07-06 | 1 | -58/+62 |
| | | | | | translation more difficult, as well as reading the English more difficult for non-native speakers. | ||||
* | Use the more conventional "self" as the name of the self parameter in an | Fred Drake | 2001-06-29 | 1 | -1/+1 |
| | | | | example. It actually confused a reader. | ||||
* | Update to include the license information in a less annoying place. | Fred Drake | 2001-06-20 | 1 | -0/+3 |
| | |||||
* | Clarification in the fp appendix suggested on c.l.py by Michael Chermside. | Tim Peters | 2001-06-17 | 1 | -2/+3 |
| | | | | | Also replaced a *star* style emphasis in the Representation Error section with an \emph{} thingie. | ||||
* | Fix the attributions for the new floating point text. | Fred Drake | 2001-06-08 | 1 | -2/+1 |
| | |||||
* | Added credits in the right places. | Fred Drake | 2001-06-08 | 1 | -0/+2 |
| | |||||
* | Text from Tim & Guido discussing floating point arithmetic and what users | Fred Drake | 2001-06-08 | 1 | -0/+265 |
| | | | | | | | | need to understand about the binary & decimal fp, so that representation weirdness is documented somewhere. This makes it easier to repond to "bug" reports caused by user confusion & ignorance of the issues. This closes SF patch #426208. | ||||
* | Changed all the examples with ugly platform-dependent float output to use | Tim Peters | 2001-05-22 | 1 | -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 ... | ||||
* | Update output to reflect additional precision produced by the repr() of | Fred Drake | 2001-05-21 | 1 | -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. | ||||
* | Correct two floating-point representations printed by the interpreter in | Fred Drake | 2001-04-25 | 1 | -2/+2 |
| | | | | interactive examples. Error noted by Dinu Gherman. | ||||
* | Update to reflect the new string repr -- \n instead of \012. This is the | Fred Drake | 2001-04-12 | 1 | -5/+5 |
| | | | | only documentation file that appears to be affected by the change! | ||||
* | Based on a comment by Konrad Hinsen on python-list: | Fred Drake | 2001-04-11 | 1 | -4/+4 |
| | | | | | | | | Change "EOF" to "end-of-file", on the premise that it is easier for new programmers to understand (at least a little). This does not attempt to explain "file or device attached to standard input." | ||||
* | Make reference to the Library Reference in the "What Now?" chapter a | Fred Drake | 2001-04-03 | 1 | -5/+7 |
| | | | | | | | | hyperlink. Fix two English usage errors caught by Jan Wells: Changed "subsequence" to "sub-sequence" in two places, and avoid improper use of "hopefully" in the first paragraph of the "What Now?" chapter. | ||||
* | Add some LaTeX magic so that Latin-1 characters do not get so badly | Fred Drake | 2001-03-13 | 1 | -0/+1 |
| | | | | trashed. | ||||
* | Correct typos in Ping's email address. | Fred Drake | 2001-03-06 | 1 | -4/+4 |
| | | | | | | Remove premature use of negative indexes in string operation examples; negative indexes have not been explained at that point, and the use of negative indexes are not necessary for the examples. | ||||
* | Reflect change in traceback format: | Fred Drake | 2001-02-14 | 1 | -12/+12 |
| | | | | "innermost last" --> "most recent call last" | ||||
* | Update to properly explain that the default Unicode encoding is ASCII, &c. | Ka-Ping Yee | 2001-02-13 | 1 | -22/+40 |
| |