Commit Graph

92 Commits

Author SHA1 Message Date
Georg Brandl 16a57f6a34 Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
should clutter the docs as possible.  Part 1: stuff that gets merged to Py3k.
2009-04-27 15:29:09 +00:00
Georg Brandl 508c423fe1 Add link to PEP 236. 2009-04-23 08:52:03 +00:00
Georg Brandl 456cb1e694 Simplify markup. 2009-04-13 12:36:18 +00:00
Georg Brandl 5623e50d1a Let "lambda" point to the correct heading. 2009-04-10 08:16:47 +00:00
Georg Brandl 2ce1c61ca6 Fix-up unwanted change. 2009-03-31 19:14:42 +00:00
Georg Brandl 268d85d1e8 #992207: document that the parser only accepts \\n newlines. 2009-03-31 16:54:38 +00:00
Georg Brandl 624f3372e2 #5529: backport new docs of import semantics written by Brett to 2.x. 2009-03-31 16:11:45 +00:00
Georg Brandl dc340eedaa #5039: make it clear that the impl. note refers to CPython. 2009-03-30 22:43:00 +00:00
Georg Brandl a0eea590c7 Add section numbering to some of the larger subdocuments. 2009-03-28 19:57:36 +00:00
Georg Brandl 173c1f1a01 #5469: add with statement to list of name-binding constructs. 2009-03-15 21:53:56 +00:00
Georg Brandl 3259ef3dff #5493: clarify __nonzero__ docs. 2009-03-15 21:37:16 +00:00
Raymond Hettinger 351de8017c Add reference to solution for a commonly asked question. 2009-03-12 00:25:03 +00:00
Georg Brandl a630735b31 #5317: update IronPython URL. 2009-02-19 16:34:51 +00:00
Georg Brandl e7cb1ce895 #5310, #3558: fix operator precedence table. 2009-02-19 08:30:06 +00:00
Georg Brandl 0ac63f1c50 #5296: sequence -> iterable. 2009-02-18 00:25:13 +00:00
Georg Brandl 9834dd72bc #3734: document complex coercing behavior better. 2009-02-13 10:44:17 +00:00
Brett Cannon 5b0d5531f2 Clarify some __del__ stuff. 2009-01-29 00:54:11 +00:00
Georg Brandl fe11f4d524 #4986: augassigns are not expressions. 2009-01-18 18:25:30 +00:00
Georg Brandl 4a565cc41d #4857: fix augmented assignment target spec. 2009-01-18 13:47:26 +00:00
Benjamin Peterson b746448f46 fix grammar 2009-01-18 01:28:46 +00:00
Benjamin Peterson f1a4069481 bytearrays are mutable sequences 2009-01-18 01:28:09 +00:00
Georg Brandl c62ef8b4d9 Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
Georg Brandl 9a05373145 #4517: add "special method" glossary entry and clarify when __getattribute__ is bypassed. 2008-12-05 15:29:39 +00:00
Georg Brandl 3fc4226057 Add an index entry for "subclassing immutable types". 2008-12-05 08:06:57 +00:00
Benjamin Peterson 233bb00c1c improve __hash__ docs 2008-11-17 22:05:19 +00:00
Benjamin Peterson d79af0fc52 finish backporting binary literals and new octal literals docs 2008-10-30 22:44:18 +00:00
Benjamin Peterson b5f8208b49 backport bin() documentation 2008-10-30 22:39:25 +00:00
Benjamin Peterson c756dcdd60 only nonempty __slots__ don't work 2008-10-23 21:43:48 +00:00
Georg Brandl 865cd640bb #4083: add "as" to except handler grammar as per PEP 3110. 2008-10-16 21:38:48 +00:00
Benjamin Peterson f660a53c9f update paragraph about __future__ for 2.6 2008-10-09 20:54:43 +00:00
Benjamin Peterson fe7c26d942 mention how to override boolean evaluation 2008-09-23 13:32:46 +00:00
Georg Brandl 83463ce8d4 #3914: add //= to the augmented assign operators. 2008-09-21 07:18:28 +00:00
Georg Brandl 9af9498c6e Remove things specific to the old Macintosh, and spell "Mac OS X" consistently. 2008-09-13 17:41:16 +00:00
Andrew M. Kuchling 64fc6aee99 Use title case 2008-09-13 02:08:30 +00:00
Nick Coghlan 82358691f7 Issue 2235: document the ability to block inheritance of __hash__ in the language reference 2008-08-31 13:10:50 +00:00
Georg Brandl c176814d82 #3716: fix typo. 2008-08-30 09:52:44 +00:00
Benjamin Peterson 80f0ed5bb1 allow keyword args to be passed in after *args #3473 2008-08-19 19:52:46 +00:00
Georg Brandl a174a37321 #3558: Attribute reference binds more tightly than subscription and call. 2008-08-15 18:35:09 +00:00
Brett Cannon 9329846f00 Fix markup for various binary operation examples where the operands were bolded
and the operator was made literal, leading to non-valid reST. Changed to have
the entire expression just be a literal bit of text.
2008-08-14 05:55:18 +00:00
Georg Brandl 463f39d9ac #3519: callee is an expression too. 2008-08-08 06:42:20 +00:00
Georg Brandl 03894c5070 Fix longstringitem definition. #3505. 2008-08-06 17:20:41 +00:00
Nick Coghlan a510748085 Issue 643841: better documentation of the special method lookup process, especially for new-style classes. Also removes the warnings about not being authoritative for new-style classes - the language reference actually covers those fairly well now (albeit in a fashion that isn't always particularly easy to follow). 2008-08-04 12:40:59 +00:00
Georg Brandl 290d3d994a This should really be a comment. 2008-08-01 20:13:29 +00:00
Georg Brandl 632f631c48 Add the grammar to the reference manual, since the new docs don't
have the feature of putting all the small EBNF snippets together
into one big file.
2008-08-01 20:04:43 +00:00
Georg Brandl e64f738507 #926501: add info where to put the docstring. 2008-07-20 11:50:29 +00:00
Georg Brandl 3de1e69dc7 #3323: mention that if inheriting from a class without __slots__,
the subclass will have a __dict__ available too.
2008-07-19 13:09:42 +00:00
Georg Brandl 3214a01d27 #1410739: add a footnote about "is" and "unusual" behavior. 2008-07-01 20:50:02 +00:00
Benjamin Peterson b7b8bff532 reinstate the ending backtick. thanks Nick :) 2008-06-29 13:43:07 +00:00
Benjamin Peterson 6e4856a146 rewrap 2008-06-28 23:06:49 +00:00
Georg Brandl d82a9c1618 Fix brackets. 2008-06-06 10:43:43 +00:00