summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/classes.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-1/+8
| | | | Original patch by James Edwards.
* minor grammar fixes (from docs@python.org)Georg Brandl2014-10-311-2/+2
|
* Use https:// URLs when referring to python.org hosts.Georg Brandl2014-10-291-1/+1
|
* Issue #20643: Fixed references to the next() method (distinguish from theSerhiy Storchaka2014-09-051-5/+5
| | | | next() function).
* Issue #11974: Add tutorial section on class and instance variablesRaymond Hettinger2014-06-241-0/+71
| | | | (Based on a patch from Renee Chu.)
* Issue #19193: Improved cross-references in the tutorial.Serhiy Storchaka2013-10-091-4/+5
|
* Drop double newlines printed in some file iteration examples.Andrew Svetlov2012-12-081-1/+1
| | | | Patch by Steven Kryskalla.
* Improve section heading for better discoverability.Raymond Hettinger2012-04-241-2/+2
|
* Minor correction. Closes #11418Terry Jan Reedy2012-01-111-2/+2
|
* Make indentation comply with our style guide and the rest of the fileÉric Araujo2011-07-261-14/+14
|
* Issue 12086: add example showing how to use name mangling.Raymond Hettinger2011-06-251-0/+22
|
* Split combined code/doctest code blocks in two blocks, to enable proper ↵Georg Brandl2011-05-011-2/+5
| | | | highlighting.
* Fix typo spotted by Sandro TosiÉric Araujo2011-03-221-1/+1
|
* Merged revisions ↵Georg Brandl2010-11-261-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85617-85622,85624,85626-85627,85629,85631,85635-85636,85638-85639,85641-85642 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85617 | georg.brandl | 2010-10-17 12:09:06 +0200 (So, 17 Okt 2010) | 1 line #5212: md5 weaknesses do not affect hmac, so remove the note about that. ........ r85618 | georg.brandl | 2010-10-17 12:14:38 +0200 (So, 17 Okt 2010) | 1 line #9086: correct wrong terminology about linking with pythonXY.dll. ........ r85619 | georg.brandl | 2010-10-17 12:15:50 +0200 (So, 17 Okt 2010) | 1 line Make file names consistent. ........ r85620 | georg.brandl | 2010-10-17 12:22:28 +0200 (So, 17 Okt 2010) | 1 line Remove second parser module example; it referred to non-readily-available example files, and this kind of discovery is much better done with the AST nowadays anyway. ........ r85621 | georg.brandl | 2010-10-17 12:24:54 +0200 (So, 17 Okt 2010) | 1 line #9105: move pickle warning to a bit more prominent location. ........ r85622 | georg.brandl | 2010-10-17 12:28:04 +0200 (So, 17 Okt 2010) | 1 line #9112: document error() and exit() methods of ArgumentParser. ........ r85624 | georg.brandl | 2010-10-17 12:34:28 +0200 (So, 17 Okt 2010) | 1 line Some markup and style fixes in argparse docs. ........ r85626 | georg.brandl | 2010-10-17 12:38:20 +0200 (So, 17 Okt 2010) | 1 line #9117: fix syntax for class definition. ........ r85627 | georg.brandl | 2010-10-17 12:44:11 +0200 (So, 17 Okt 2010) | 1 line #9138: reword introduction to classes in Python. ........ r85629 | georg.brandl | 2010-10-17 12:51:45 +0200 (So, 17 Okt 2010) | 1 line #5962: clarify sys.exit() vs. threads. ........ r85631 | georg.brandl | 2010-10-17 12:53:54 +0200 (So, 17 Okt 2010) | 1 line Fix capitalization. ........ r85635 | georg.brandl | 2010-10-17 13:03:22 +0200 (So, 17 Okt 2010) | 1 line #5121: fix claims about default values leading to segfaults. ........ r85636 | georg.brandl | 2010-10-17 13:06:14 +0200 (So, 17 Okt 2010) | 1 line #9237: document sys.call_tracing(). ........ r85638 | georg.brandl | 2010-10-17 13:13:37 +0200 (So, 17 Okt 2010) | 1 line Port changes to pickle docs apparently lost in py3k. ........ r85639 | georg.brandl | 2010-10-17 13:23:56 +0200 (So, 17 Okt 2010) | 1 line Make twisted example a bit more logical. ........ r85641 | georg.brandl | 2010-10-17 13:29:07 +0200 (So, 17 Okt 2010) | 1 line Fix documentation of dis.opmap direction. ........ r85642 | georg.brandl | 2010-10-17 13:36:28 +0200 (So, 17 Okt 2010) | 1 line #9730: fix example. ........
* Merged revisions ↵Georg Brandl2010-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 83536,83546-83548,83550,83554-83555,83558,83563,83565,83571,83574-83575 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83536 | georg.brandl | 2010-08-02 19:49:25 +0200 (Mo, 02 Aug 2010) | 1 line #8578: mention danger of not incref'ing weak referenced object. ........ r83546 | georg.brandl | 2010-08-02 21:16:34 +0200 (Mo, 02 Aug 2010) | 1 line #7973: Fix distutils options spelling. ........ r83547 | georg.brandl | 2010-08-02 21:19:26 +0200 (Mo, 02 Aug 2010) | 1 line #7386: add example that shows that trailing path separators are stripped. ........ r83548 | georg.brandl | 2010-08-02 21:23:34 +0200 (Mo, 02 Aug 2010) | 1 line #8172: how does one use a property? ........ r83550 | georg.brandl | 2010-08-02 21:32:43 +0200 (Mo, 02 Aug 2010) | 1 line #9451: strengthen warning about __*__ special name usage. ........ r83554 | georg.brandl | 2010-08-02 21:43:05 +0200 (Mo, 02 Aug 2010) | 1 line #7280: note about nasmw.exe. ........ r83555 | georg.brandl | 2010-08-02 21:44:48 +0200 (Mo, 02 Aug 2010) | 1 line #8861: remove unused variable. ........ r83558 | georg.brandl | 2010-08-02 22:05:19 +0200 (Mo, 02 Aug 2010) | 1 line #8648: document UTF-7 codec functions. ........ r83563 | georg.brandl | 2010-08-02 22:21:21 +0200 (Mo, 02 Aug 2010) | 1 line #9037: add example how to raise custom exceptions from C code. ........ r83565 | georg.brandl | 2010-08-02 22:27:20 +0200 (Mo, 02 Aug 2010) | 1 line #9111: document that do_help() looks at docstrings. ........ r83571 | georg.brandl | 2010-08-02 22:44:34 +0200 (Mo, 02 Aug 2010) | 1 line Clarify that abs() is not a namespace. ........ r83574 | georg.brandl | 2010-08-02 22:47:56 +0200 (Mo, 02 Aug 2010) | 1 line #6867: epoll.register() returns None. ........ r83575 | georg.brandl | 2010-08-02 22:52:10 +0200 (Mo, 02 Aug 2010) | 1 line #9238: zipfile does handle archive comments. ........
* Merged revisions 82965 via svnmerge fromGeorg Brandl2010-08-011-2/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82965 | georg.brandl | 2010-07-19 13:28:05 +0200 (Mo, 19 Jul 2010) | 1 line Clarification. Yay importlib! ........
* Fix punctuation.Georg Brandl2010-06-121-1/+1
|
* #6808: clarification.Georg Brandl2009-09-011-3/+3
|
* #6725: spell "namespace" consistently.Georg Brandl2009-08-241-3/+3
|
* Remove potentially confusing sentence in __mangling description.Georg Brandl2009-08-131-5/+2
|
* Rewrite the section about classes a bit; mostly tidbits, and a larger update ↵Georg Brandl2009-07-291-71/+72
| | | | to the section about "private" variables to reflect the Pythonic consensus better.
* Issue #5341: Fix a variety of spelling errors.Mark Dickinson2009-02-211-1/+1
|
* Remove trailing whitespace.Georg Brandl2009-01-031-3/+3
|
* Incorporate some suggestions by Tait Stevens.Georg Brandl2008-09-131-1/+1
|
* nonlocal is not in 2.6.Georg Brandl2008-07-211-4/+2
|
* Add isinstance/issubclass to tutorial.Georg Brandl2008-03-061-0/+16
|
* Little clarification of assignments.Georg Brandl2008-03-061-8/+11
|
* Some cleanup in the docs.Georg Brandl2007-12-291-8/+6
|
* Add :term:s for "new-style class".Georg Brandl2007-10-211-2/+2
|
* Add :term: for generators.Georg Brandl2007-10-211-6/+6
|
* Move the 2.6 reST doc tree in place.Georg Brandl2007-08-151-0/+791