summaryrefslogtreecommitdiffstats
path: root/Doc/reference
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] Fix a trivial typo in global section (GH-1497) (GH-1882)Mariatta2017-05-311-1/+1
| | | (cherry picked from commit f34c6850203a2406c4950af7a9c8a134145df4ea)
* [2.7] bpo-28315: Improve code examples in docs (GH-1372) (#1447)Mariatta2017-05-041-1/+1
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>. (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
* [2.7] bpo-15718: Document the upper bound constrain on the __len__ return ↵Serhiy Storchaka2017-04-231-0/+8
| | | | | value. (GH-1256). (#1261) (cherry picked from commit 85157cd89a6edac347a5b6871fcf20c500c6fbbf)
* bpo-29952: Use usual terminology of dict (GH-924)INADA Naoki2017-03-311-1/+1
| | | | s/keys and elements/keys and values/ (cherry picked from commit cdcac039fb447f2ab04efcacbe663751bb2cb4ec)
* bpo-16011: clarify that 'in' always returns a boolean value (GH-152) (GH-883)Mariatta2017-03-291-23/+16
| | | (cherry picked from commit 0ae7c8bd614d3aa1fcaf2d71a10ff1148c80d9b5)
* Issue #12067: Rewrite Comparisons section in the language referenceMartin Panter2017-01-211-39/+161
| | | | | | Some of the details of comparing mixed types were incorrect or ambiguous. Added default behaviour and consistency suggestions for user-defined classes. Based on patch from Andy Maier.
* doc: Suggest to hash(tuple of attr) rather than XORVictor Stinner2016-12-191-2/+6
| | | | | | Issue #28383: __hash__ documentation recommends naive XOR to combine but this is suboptimal. Update the doc to suggest to reuse the hash() method using a tuple, with an example.
* Issue #28763: Use double hyphens (rendered as en-dashes) in numerical rangesSerhiy Storchaka2016-11-261-1/+1
| | | | in the documentation.
* Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-2/+2
|
* Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.Martin Panter2016-07-261-4/+13
| | | | Patch by Julien Palard.
* Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed to fix the grammar.
* Issue #24314: Add links for general attributes like __name__, __dict__Martin Panter2016-06-181-30/+31
|
* [Issue 15476] Make "code object" its own entry in the indexTommy Beadle2016-06-021-4/+2
|
* Issue #23275: Backport empty square bracket assignment documentation fixMartin Panter2016-06-081-1/+1
|
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-102-3/+3
| | | | Original patch by James Edwards.
* Issue #23986: Note that the in-operator for lists and tuples check identity ↵Raymond Hettinger2016-04-261-1/+1
| | | | before equality.
* Remove redundant leading zeroes in PEP references.Serhiy Storchaka2016-03-314-5/+5
|
* Python for .NET has moved to Github.Zachary Ware2016-02-041-1/+1
| | | | Reported by Denis Akhiyarov on docs@
* Issue #24531: Document that encoding lines cannot follow non-comment lines.Robert Collins2015-08-061-3/+4
| | | | Patch from Terry Reedy
* the default is sys.maxsize not sys.maxint (closes #23645)Benjamin Peterson2015-03-131-9/+9
|
* Issue20467: clarify __init__'s roleEthan Furman2015-01-151-4/+8
|
* Issue #23006: Improve the documentation and indexing of dict.__missing__.Terry Jan Reedy2014-12-101-0/+6
| | | | | | Add an entry in the language datamodel special methods section. Revise and index its discussion in the stdtypes mapping/dict section. Backport the code example from 3.4.
* Fixing broken links in doc, part 3: the restGeorg Brandl2014-10-291-1/+1
|
* Use https:// URLs when referring to python.org hosts.Georg Brandl2014-10-291-2/+2
|
* remove link to the 'original package specification'; I doubt it's useful ↵Benjamin Peterson2014-10-171-3/+1
| | | | anymore (closes #22657)
* Closes #17057: fix grammar in old-style vs new-style class docs.Georg Brandl2014-10-061-14/+14
|
* Issue 22465: grammar, number agreement.Terry Jan Reedy2014-09-301-1/+1
|
* Issue #20643: Fixed references to the next() method (distinguish from theSerhiy Storchaka2014-09-052-13/+12
| | | | next() function).
* correct call grammar error (#3473)Benjamin Peterson2014-08-281-1/+1
|
* Issue #22243: fix except grammar in reference.Terry Jan Reedy2014-08-231-1/+1
|
* remove confusing delete indexing (closes #21466)Benjamin Peterson2014-05-111-2/+0
|
* Add prompts to interactive example.Zachary Ware2014-05-061-8/+8
| | | | | This makes it match the new example below, and allows Sphinx's "hide the prompts and output" feature to work.
* Issue #21366: Document the fact that ``return`` in a ``finally`` clauseZachary Ware2014-05-061-0/+14
| | | | overrides a ``return`` in the ``try`` suite.
* Closes #21055: Index (augmented) assignment symbols.Terry Jan Reedy2014-04-291-0/+13
|
* Closes 21048: Index 'as' in import and with statements.Terry Jan Reedy2014-04-292-1/+4
|
* #18628: clarify index entry for source file encoding declaration.R David Murray2014-04-171-3/+1
|
* note that the hash of an arbitrary object is only derived from its address ↵Benjamin Peterson2014-04-041-1/+1
| | | | | | (closes #21154) Patch from Armin Rigo.
* Issue #19683: Add __closure__ and other missing attributes to function docs.Mark Dickinson2014-02-011-24/+30
|
* Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-1/+1
|
* Issue #19190: Improve cross-references in builtin types and functions ↵Serhiy Storchaka2013-10-092-21/+25
| | | | documentation.
* Use "lambda expression" as preferred to "lambda form".Georg Brandl2013-10-062-11/+10
|
* document that various functions that parse from source will interpret things ↵Benjamin Peterson2013-09-011-9/+10
| | | | as latin-1 (closes #18870)
* Remove repetition of string escapes note 1 at end of note 2.Terry Jan Reedy2013-07-271-2/+1
|
* #14878: add cross-reference to the yield statement.Andrew Kuchling2013-05-101-0/+3
| | | | (Backported from 3.x by Jan Duzinkiewicz.)
* The im_class of unbound class methods is actually not the same as im_self.Georg Brandl2013-04-141-5/+4
|
* Clarify point in name mangling doc.Georg Brandl2013-04-141-8/+7
|
* Backport rev. 3ae74b361f53 to 2.7 branch.Georg Brandl2013-03-282-1/+3
|\
| * Closes #4159: add LaTeX tabular column specifications to tables that ↵Georg Brandl2013-03-283-3/+4
| | | | | | | | otherwise are cut off or have overlapping text.
| * Merge from 3.2: add links and index entries for "argument" and "parameter."Chris Jerdonek2012-12-252-11/+21
| |\ | | | | | | | | | | | | This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the commits referenced there).
| | * Add additional links and index entries for "argument" and "parameter".Chris Jerdonek2012-12-252-11/+21
| | | | | | | | | | | | | | | This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the commits referenced there).