summaryrefslogtreecommitdiffstats
path: root/Doc/tut
Commit message (Collapse)AuthorAgeFilesLines
* Update to include the license information in a less annoying place.Fred Drake2001-06-201-0/+3
|
* Clarification in the fp appendix suggested on c.l.py by Michael Chermside.Tim Peters2001-06-171-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 Drake2001-06-081-2/+1
|
* Added credits in the right places.Fred Drake2001-06-081-0/+2
|
* Text from Tim & Guido discussing floating point arithmetic and what usersFred Drake2001-06-081-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 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 ...
* 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.
* Correct two floating-point representations printed by the interpreter inFred Drake2001-04-251-2/+2
| | | | interactive examples. Error noted by Dinu Gherman.
* Update to reflect the new string repr -- \n instead of \012. This is theFred Drake2001-04-121-5/+5
| | | | only documentation file that appears to be affected by the change!
* Based on a comment by Konrad Hinsen on python-list:Fred Drake2001-04-111-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 aFred Drake2001-04-031-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 badlyFred Drake2001-03-131-0/+1
| | | | trashed.
* Correct typos in Ping's email address.Fred Drake2001-03-061-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 Drake2001-02-141-12/+12
| | | | "innermost last" --> "most recent call last"
* Update to properly explain that the default Unicode encoding is ASCII, &c.Ka-Ping Yee2001-02-131-22/+40
|
* Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.Ka-Ping Yee2001-01-241-14/+6
| | | | Switch from octal escapes to hex escapes for other nonprintable characters.
* Clarify comments about returning None using a return without an expression;Fred Drake2001-01-191-3/+2
| | | | | | this is not hard to explain! Closes SF bug #129345.
* Fix up an awkward sentence, pointed out by Chris Ryland <cpr@emsoftware.com>.Fred Drake2001-01-011-1/+1
|
* Fix broken backslashes in Unicode strings section.Fred Drake2000-11-291-2/+2
| | | | This closes bug #123730.
* Partial fix for SF bug 123730: extra backslash in tutorial.Tim Peters2000-11-291-1/+1
|
* SF non-bug 123520: fleshed out the tutorial's lambda example a little more.Tim Peters2000-11-271-2/+9
|
* Updates to reflect pending changes to the XML conversion process.Fred Drake2000-11-221-1/+1
|
* Typo: shorted --> shorterFred Drake2000-10-251-1/+1
| | | | This closes bug #117706.
* Update the display of some floating point values at the interactive promptFred Drake2000-10-201-6/+6
| | | | | | | | | to reflect current behavior. This closes SourceForge bug #117305. Made a reference to the library reference a hyperlink. Fixed some minor markup nits.
* Spelling: internalization --> internationalizationFred Drake2000-09-291-56/+48
| | | | | | | | | | | | | | | | | | | | | Fixed displays of the interactive prompt in running text. These close SourceForge bug #115658. Also: Updated discussion of tuple unpacking to reflect the general ability to unpack any sequence type. Explained that it is possible to create tuples which contain mutable values, and noted in the dictionary section that such tuples cannot be used as keys. Noted that .pyc and .pyo files can be run directly when provided as the script parameter to the interpreter, and slightly clarified comments about using modules with only the byte compiled code. Removed some XXX comments that are no longer relevant. Removed commented-out paragraph about __private names being experimental. Adjusted markup for consistency in some places.
* Correct some bitrot; some things have become inaccurate in the tutorial.Fred Drake2000-09-221-5/+9
| | | | | | | | | | <file>.readlines() does not call <file>.readline() internally anymore, and the sizehint parameter should be mentioned briefly. Some displays of floating point numbers needed to be updated due to the change in the repr() of floats (from 1.6). Both issues were noted by Aahz <aahz@panix.com>.
* When referring to namespaces, always say "namespaces" instead ofFred Drake2000-09-121-49/+50
| | | | | | "name spaces". Inconsistency noted by Keith Briggs <keith.briggs@bt.com>.
* require list comprehensions to start with a for clauseSkip Montanaro2000-08-221-4/+20
|
* Ka-Ping Yee <ping@lfw.org>:Fred Drake2000-08-161-6/+10
| | | | Further examples of list comprehensions.
* Fix some markup errors that prevented formatting, and one that didn't.Fred Drake2000-08-121-4/+5
|
* list comprehensions. seeSkip Montanaro2000-08-121-0/+21
| | | | | | http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470 for details.
* Rip out the information about the PSA, since the fate of that is notFred Drake2000-07-271-13/+9
| | | | | | | | | | certain. Update the information about the mailing list, using the python.org address instead of cwi.nl, and point to the pipermail archives. Also update the daily average message count (at the risk of scaring people off), using the mail archive at http://www.egroups.com/group/python-list for the first half of 2000 for statistical information.
* More of Rob W. W. Hooft's spelling fixes. The only ones left now are theThomas Wouters2000-07-161-4/+4
| | | | | | | | | | | distutils patches, which I'll leave to the distutils maintainers. Tip: review the patch like this: grep "^[\!+-] " <patchfile> To get a quick and easy way to review the actual changes. Most of the changes are single-line ones, anyway.
* Markup improvements in sections relating to interactive behavior.Fred Drake2000-07-081-45/+51
| | | | Clarify some of the details of readline-related configuration.
* Update version numbering from 1.6 to 2.0.Fred Drake2000-06-301-1/+1
|
* Clarify the description of the else clause for try/except, and add anFred Drake2000-04-171-3/+8
| | | | | | explanation of why you'd want to use it. Based on a question from Michael Simcich <msimcich@accesstools.com>.
* Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-04-061-0/+101
| | | | | Tutorial information about Unicode strings in Python, with some markup adjustments from FLD.
* Fixed typo in example code; spotted by Everett LipmanFred Drake2000-04-041-1/+1
| | | | <lipman@sphere.niddk.nih.gov>.
* Merge in changes from the 1.5.2p2 release.Fred Drake2000-04-031-267/+410
|
* Use \citetitle and \programopt as appropriate.Fred Drake1999-11-101-44/+44
|
* Added "import string" to a couple of examples that describe stringFred Drake1999-09-141-0/+2
| | | | | module functions, to clarify that the import is not automatic. Suggested by Koray Oner <Koray.Oner@Eng.Sun.COM>.
* Added paragraph explaining that except clauses can't be empty; thatFred Drake1999-08-241-0/+4
| | | | pass can be used if needed. By Dan Wolfe <wolfeman@apple.com>.
* Made several grammatical corrections based on comments from DanielFred Drake1999-06-301-10/+20
| | | | | | | | Barcla <danielb@digitalfocus.com>. Also added example of what happens when a parameter is set both positionally and by a keyword (one of Daniels suggestions related to that paragraph).
* Fixed typo reported by Bennett BensonFred Drake1999-06-101-1/+1
| | | | <BennettBenson@mn.mediaone.net>.
* Explain comments at the start of chapter 3. This is needed since theyFred Drake1999-04-291-2/+21
| | | | | | appear in the examples without any further explanation, and the tutorial doesn't have this information explicit anywhere else. Omission reported by Jon Black <jblack@Ridgeway-Sys.com>.
* Update starship URLs.Fred Drake1999-04-291-2/+2
|
* In list of sequence comparison examples, "=" should be "==". ReportedFred Drake1999-04-161-1/+1
| | | | by Mirko Liss <n89553@hrz.uni-paderborn.de>.
* Fixed latex2html weirdness with footnotes.Fred Drake1999-04-051-10/+6
|
* Fixed grammatical error reported by Donald Wallace Rouse IIFred Drake1999-03-121-2/+2
| | | | <dwr2@ix.netcom.com>.
* Lots of nits to respond to various comments from users.Fred Drake1999-03-101-57/+56
|