summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
Commit message (Collapse)AuthorAgeFilesLines
* Modernize unittest exampleRaymond Hettinger2013-03-221-2/+4
|
* Issue #8890: Stop advertising an insecure use of /tmp in docsPetri Lehtinen2013-02-231-4/+4
|
* Drop double newlines printed in some file iteration examples.Andrew Svetlov2012-12-082-3/+3
| | | | Patch by Steven Kryskalla.
* Update section about dir() in the tutorial.Ezio Melotti2012-11-171-26/+33
|
* #16470: mention set and dict comprehension in the tutorial. Patch by ↵Ezio Melotti2012-11-171-8/+19
| | | | Yongzhi Pan.
* Remove versionadded from the tutorial, at a location where it produces more ↵Georg Brandl2012-11-151-2/+0
| | | | questions than it answers.
* Use 2.x "print" syntax for this example.Georg Brandl2012-11-121-2/+3
|
* Backport from 3.2: improve FAQ link in documentation (for issue #16435).Chris Jerdonek2012-11-101-3/+2
|
* Backport from 3.2: remove "Release" and "Date" markers from index pages.Chris Jerdonek2012-10-281-3/+0
|
* Closes #16294: 8 space indent in tutorialJesus Cea2012-10-221-2/+2
|
* Issue #16225: Backport from 3.2: Add additional note to tutorial about looping.Chris Jerdonek2012-10-162-11/+24
|
* Issue #16015: Fix NameError doctest example in tutorial introduction.Chris Jerdonek2012-09-251-2/+1
|
* #16019, #16020: fix syntax highlight.Ezio Melotti2012-09-241-2/+6
|
* #16017: capitalize URLs.Ezio Melotti2012-09-241-1/+1
|
* Fix typo in tutorialEli Bendersky2012-08-181-1/+1
|
* fix typoSandro Tosi2012-08-141-1/+1
|
* Issue #15630: Add an example for "continue" statement in the tutorial. Patch bySenthil Kumaran2012-08-121-3/+16
| | | | Daniel Ellis.
* add missing period; thanks to Gaston Fiore from docs@Sandro Tosi2012-08-041-1/+1
|
* #14840: Add a bit on the difference between tuples and lists. Initial patch ↵Ezio Melotti2012-06-171-9/+21
| | | | by Zachary Ware.
* #8652: update errors tutorial.R David Murray2012-06-081-3/+11
| | | | | | | The tutorial had some outdated examples. The patch also adds a caution about the meaning of parens in the except statement. Patch by Marien Zwart.
* Nudge readers towards a more accurate mental model for loop else clauses ↵Nick Coghlan2012-06-071-0/+7
| | | | (Backport from 3.x)
* Improve section heading for better discoverability.Raymond Hettinger2012-04-241-2/+2
|
* Reorder the entries to put the type specific technique last.Raymond Hettinger2012-04-241-10/+10
|
* Issue #11948: clarify modules search pathSandro Tosi2012-01-191-18/+16
|
* update to new C roles and directivesSandro Tosi2012-01-141-1/+1
|
* Minor correction. Closes #11418Terry Jan Reedy2012-01-111-2/+2
|
* I do not think we will ever have auto-indent at the prompt, that is for ↵Georg Brandl2011-12-251-7/+7
| | | | IPython and the like.
* #6570: clarify tutorial section about keyword arguments.Ezio Melotti2011-12-131-18/+23
|
* #13549: improve tutorial section about listcomps.Ezio Melotti2011-12-131-62/+112
|
* remove duplicated paragraph in the tutorialEli Bendersky2011-11-161-7/+0
|
* remove confusing paragraph (as part of r87523); thanks to AJ Hill from docs@Sandro Tosi2011-10-311-2/+1
|
* Doc fix. Mathematically correct sentence.Senthil Kumaran2011-09-281-2/+2
|
* Improve documentation for PEP 370 support in site module (#8617).Éric Araujo2011-08-192-4/+27
| | | | | | | | | | | | | | | | | | | | | | | | site.USER_BASE and site.USER_SITE are now fully documented. PEP 370 is outdated with respects to the Mac framework situation, but the code in sysconfig and the example in the 3.2 What’s New document helped me find the right values to document for Mac OS X. The command-line interface of the site module is also described in the module docs. The purpose of the usercustomize module is explained in the site docs, with a gentle introduction in the tutorial (right after the section that talks about PYTHONSTARTUP; a comment mentions it should be moved from the tutorial to another file, but that will be another bug). Various markup and wording improvements were made along the way in the site module docs. Duplicate and incomplete declarations of environment variables have also been removed (the original bug report was actually about these entries :). The site module docs are still a bit messy; I’ll see about improving them for #11553. All these sections are copiously interlinked and findable from the doc indexes.
* Confirm that the prime example is actually correct. We get so many ↵Georg Brandl2011-08-081-0/+3
| | | | complaints about a "buggy example" on docs@python, let us hope this cuts them in half at least.
* Backout duplicate changeset ed34ca4e639cÉric Araujo2011-07-291-2/+0
|
* Add missing reST target to one heading in the tutorialÉric Araujo2011-06-111-0/+2
|
* Make indentation comply with our style guide and the rest of the fileÉric Araujo2011-07-261-14/+14
|
* Add missing reST target to one heading in the tutorialÉric Araujo2011-07-291-0/+2
|
* Issue 12086: add example showing how to use name mangling.Raymond Hettinger2011-06-251-0/+22
|
* merge 3.2 - Fix closes Issue12359 - Removing a confusing sentence from the ↵Senthil Kumaran2011-06-201-7/+7
| | | | previous change.
* Fix issue12359. Minor doc update on import module description.Senthil Kumaran2011-06-201-7/+8
|
* #12092: backport rephrasing of a paragraph in the tutorial.Ezio Melotti2011-05-171-4/+3
|
* Split combined code/doctest code blocks in two blocks, to enable proper ↵Georg Brandl2011-05-011-2/+5
| | | | highlighting.
* Remove untrue statement from tutorialÉric Araujo2011-03-261-4/+1
|
* Fix typo spotted by Sandro TosiÉric Araujo2011-03-221-1/+1
|
* Fix markup in inputoutput.rst.Ezio Melotti2011-03-131-16/+17
|
* #11405: do not reference the string module again for its deprecated ↵Georg Brandl2011-03-061-3/+4
| | | | functions, only for Template class.
* Merged revisions ↵Georg Brandl2011-02-251-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87050,87101,87146,87156,87172,87175,87371,87378,87522-87524,87526,87530-87535 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87050 | georg.brandl | 2010-12-04 18:09:30 +0100 (Sa, 04 Dez 2010) | 1 line Fix typo. ........ r87101 | georg.brandl | 2010-12-06 23:02:48 +0100 (Mo, 06 Dez 2010) | 1 line Remove visible XXX comments. ........ r87146 | georg.brandl | 2010-12-09 19:08:43 +0100 (Do, 09 Dez 2010) | 1 line Fix "seperate". ........ r87156 | georg.brandl | 2010-12-10 11:01:44 +0100 (Fr, 10 Dez 2010) | 1 line #10668: fix wrong call of __init__. ........ r87172 | georg.brandl | 2010-12-11 20:10:30 +0100 (Sa, 11 Dez 2010) | 1 line Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed. ........ r87175 | georg.brandl | 2010-12-11 23:19:34 +0100 (Sa, 11 Dez 2010) | 1 line Fix markup. ........ r87371 | georg.brandl | 2010-12-18 17:21:58 +0100 (Sa, 18 Dez 2010) | 1 line Fix typo. ........ r87378 | georg.brandl | 2010-12-18 18:51:28 +0100 (Sa, 18 Dez 2010) | 1 line #10723: add missing builtin exceptions. ........ r87522 | georg.brandl | 2010-12-28 10:16:12 +0100 (Di, 28 Dez 2010) | 1 line Replace sys.maxint mention by sys.maxsize. ........ r87523 | georg.brandl | 2010-12-28 10:18:24 +0100 (Di, 28 Dez 2010) | 1 line Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial. ........ r87524 | georg.brandl | 2010-12-28 10:29:19 +0100 (Di, 28 Dez 2010) | 1 line Fix advice: call PyType_Ready to fill in ob_type of custom types. ........ r87526 | georg.brandl | 2010-12-28 11:38:33 +0100 (Di, 28 Dez 2010) | 1 line #10777: fix iteration over dict keys while mutating the dict. ........ r87530 | georg.brandl | 2010-12-28 12:06:07 +0100 (Di, 28 Dez 2010) | 1 line #10767: update README in crashers; not all may have a bug entry and/or be fixed. ........ r87531 | georg.brandl | 2010-12-28 12:08:17 +0100 (Di, 28 Dez 2010) | 1 line #10742: document readonly attribute of memoryviews. ........ r87532 | georg.brandl | 2010-12-28 12:15:49 +0100 (Di, 28 Dez 2010) | 1 line #10781: clarify that *encoding* is not a parameter for Node objects in general. ........ r87533 | georg.brandl | 2010-12-28 12:38:12 +0100 (Di, 28 Dez 2010) | 1 line Remove history; adapt a bit more to reST, since this will once be part of the dev guide. ........ r87534 | georg.brandl | 2010-12-28 12:48:53 +0100 (Di, 28 Dez 2010) | 1 line Rewrap. ........ r87535 | georg.brandl | 2010-12-28 12:49:41 +0100 (Di, 28 Dez 2010) | 1 line #10739: document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected. ........
* Issue #11304: Input/output tutorial - PI is rounded not truncated.Raymond Hettinger2011-02-241-1/+1
|
* Merged revisions ↵R. David Murray2011-02-111-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 86542,87136,87216,87221,87228,87256,87337-87338,87372,87516,87571,88164 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86542 | r.david.murray | 2010-11-19 22:48:58 -0500 (Fri, 19 Nov 2010) | 2 lines Make test class name unique so that both test classes run. ........ r87136 | r.david.murray | 2010-12-08 17:53:00 -0500 (Wed, 08 Dec 2010) | 6 lines Have script_helper._assert_python strip refcount strings from stderr. This makes the output of the function and those that depend on it independent of whether or not they are being run under a debug build. ........ r87216 | r.david.murray | 2010-12-13 17:50:30 -0500 (Mon, 13 Dec 2010) | 2 lines #10698: fix typo in example. ........ r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines #10699: fix docstring for tzset: it does not take a parameter Thanks to Garrett Cooper for the fix. ........ r87228 | r.david.murray | 2010-12-13 21:25:43 -0500 (Mon, 13 Dec 2010) | 2 lines Turn on regrtest -W (rerun immediately) option for Windows, too. ........ r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines #10705: document what the values of debuglevel are and mean. ........ r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines #10559: provide instructions for accessing sys.argv when first mentioned. ........ r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines #10454: clarify the compileall docs and help messages. [changes to compileall.py were not backported, only the doc changes] ........ r87372 | r.david.murray | 2010-12-18 11:39:06 -0500 (Sat, 18 Dec 2010) | 2 lines #10728: the default for printing help is sys.stdout, not stderr. ........ r87516 | r.david.murray | 2010-12-27 15:09:32 -0500 (Mon, 27 Dec 2010) | 5 lines #7056: runtest and runtest_inner don't use testdir, so drop it from their sigs I've only tested regular runs and -j runs. If I've broken anything else I'm sure I'll hear about it sooner or later. ........ r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines Fix same typo in docs. ........ r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines #10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc. Original patch by Michal Nowikowski, with some additions and wording fixes by me. I changed the wording from 'Performs a stat system call' to 'Performs the equivalent of a stat system call', since on Windows there are no stat/lstat system calls involved. I also extended Michal's breakout of the attributes into a list to the other paragraphs, and rearranged the order of the paragraphs in the 'stat' docs to make it flow better and put it in what I think is a more logical/useful order. ........