195 Commits

Author SHA1 Message Date
Georg Brandl
375aec2315 Fix a few doc errors, mostly undefined keywords. 2011-01-15 17:03:02 +00:00
Brett Cannon
7603fa07a8 Undo an accidental commit in r87812. 2011-01-06 23:08:16 +00:00
Brett Cannon
63eef1e0dd Get --coverage to be an acceptable flag for test.regrtest again. 2011-01-06 22:32:41 +00:00
Georg Brandl
b30f3303f7 Fix various issues (mostly Python 2 relics) found by Jacques Ducasse. 2011-01-06 09:23:56 +00:00
Martin v. Löwis
0dbebc02ed Issue #10542: Document that identifiers use XID_Start XID_Continue*. 2010-12-30 08:36:37 +00:00
Éric Araujo
c9562f3cbe Fix typo spotted by Rodrigo Bernardo Pimentel (#9891) 2010-12-26 02:18:49 +00:00
Alexander Belopolsky
1a7a2e03b2 Both PEP 3131 and the current implementation use NFKC normalization
for identifiers.  Fixed the documentation to agree.
2010-12-22 01:37:36 +00:00
Alexander Belopolsky
50ba19ee45 Use sentence case in section titles consistently 2010-12-15 19:47:37 +00:00
Georg Brandl
063f237812 Add missing word, and add a better reference to the actual function. 2010-12-01 15:32:43 +00:00
Éric Araujo
28053fb174 Remove unnecessary object base class in docs (#10366).
Also add a note about inheritance from `object` being default.
2010-11-22 03:09:19 +00:00
Brett Cannon
925914f950 Add sets to the precedence table. 2010-11-21 19:58:24 +00:00
Michael Foord
bcc4810002 Remove duplicate period from reference doc 2010-11-18 11:02:50 +00:00
Fred Drake
11c49a5213 use appropriate markup 2010-11-13 04:24:26 +00:00
Georg Brandl
f41427263c #9117: fix syntax for class definition. 2010-10-17 10:38:20 +00:00
Benjamin Peterson
5c4bfc4af0 prefer clearing global objects to obscure module.__dict__ bugs #10068 2010-10-12 22:57:59 +00:00
Georg Brandl
682d7e0e07 Fix errors found by "make suspicious". 2010-10-06 10:26:05 +00:00
Georg Brandl
60203b41b0 Migrate to Sphinx 1.0 C language constructs. 2010-10-06 10:11:56 +00:00
Senthil Kumaran
7cafd2644a Fix - issue10010 .. index:: position in the docs. 2010-10-02 03:16:04 +00:00
Georg Brandl
6faee4e2ce #9911: doc copyedits. 2010-09-21 14:48:28 +00:00
Georg Brandl
f1d633c386 Mention % as string formatting. 2010-09-20 06:29:01 +00:00
Antoine Pitrou
0b65b0fc83 Add a glossary entry for file objects. 2010-09-15 09:58:26 +00:00
Raymond Hettinger
f77c1d6adb Clarify where support for negative indices fall in the language hierarchy. 2010-09-15 00:09:26 +00:00
Benjamin Peterson
d032532bb9 add newline 2010-09-10 21:59:21 +00:00
Amaury Forgeot d'Arc
ba117ef7e9 #4617: Previously it was illegal to delete a name from the local
namespace if it occurs as a free variable in a nested block.  This limitation
of the compiler has been lifted, and a new opcode introduced (DELETE_DEREF).

This sample was valid in 2.6, but fails to compile in 3.x without this change::

   >>> def f():
   ...     def print_error():
   ...        print(e)
   ...     try:
   ...        something
   ...     except Exception as e:
   ...        print_error()
   ...        # implicit "del e" here


This sample has always been invalid in Python, and now works::

   >>> def outer(x):
   ...     def inner():
   ...        return x
   ...     inner()
   ...     del x

There is no need to bump the PYC magic number: the new opcode is used
for code that did not compile before.
2010-09-10 21:39:53 +00:00
Georg Brandl
3387f4887f #9760: clarify what context expression is. 2010-09-03 22:40:02 +00:00