Fred Drake
7fabaf8375
clarify discussion of iteration in the section on the "for" statement
...
(SF bug #829073 )
2004-11-02 19:18:20 +00:00
Fred Drake
9a40851569
clarify trailing comma in function argument list
...
(SF bug #798652 )
2004-11-02 18:57:33 +00:00
Johannes Gijsbers
7126976ee8
Patch #1042969 : add closing brace for \token {generator_expression}. Thanks
...
George Yoshida!
2004-10-09 15:52:04 +00:00
Martin v. Löwis
266a436fe2
Remove claims that Python source code is ASCII. Fixes #1026038 .
2004-09-14 07:52:22 +00:00
Anthony Baxter
1a4ddaecc7
SF patch #1007189 , multi-line imports, for instance:
...
"from blah import (foo, bar
baz, bongo)"
2004-08-31 10:07:13 +00:00
Martin v. Löwis
ae075b6cb7
Patch #1011144 : Correct regex for coding decls.
2004-08-18 13:25:05 +00:00
Michael W. Hudson
0ccff074cd
This is Mark Russell's patch:
...
[ 1009560 ] Fix @decorator evaluation order
From the description:
Changes in this patch:
- Change Grammar/Grammar to require
newlines between adjacent decorators.
- Fix order of evaluation of decorators
in the C (compile.c) and python
(Lib/compiler/pycodegen.py) compilers
- Add better order of evaluation check
to test_decorators.py (test_eval_order)
- Update the decorator documentation in
the reference manual (improve description
of evaluation order and update syntax
description)
and the comment:
Used Brett's evaluation order (see
http://mail.python.org/pipermail/python-dev/2004-August/047835.html )
(I'm checking this in for Anthony who was having problems getting SF to
talk to him)
2004-08-17 17:29:16 +00:00
Raymond Hettinger
5c8d29cb13
SF patch #872326 : generator expression implementation
...
(Contributed by Jiwon Seo.)
Add genexps to the reference manual.
2004-08-15 23:28:10 +00:00
Michael W. Hudson
5e897959db
This is my patch
...
[ 1004703 ] Make func_name writable
plus fixing a couple of nits in the documentation changes spotted by MvL
and a Misc/NEWS entry.
2004-08-12 18:12:44 +00:00
Andrew M. Kuchling
cbd81556bb
[Bug #827209 ] Add footnote from Alex M. about listcomps leaking their index variables
2004-08-07 19:16:32 +00:00
Fred Drake
6bd8e842e4
update to reflect the new significance of the "@" character
2004-08-05 21:11:27 +00:00
Raymond Hettinger
70fcdb8be0
Document general mappings for the locals argument for exec and execfile().
2004-08-03 05:17:58 +00:00
Anthony Baxter
c2a5a63654
PEP-0318, @decorator-style. In Guido's words:
...
"@ seems the syntax that everybody can hate equally"
Implementation by Mark Russell, from SF #979728 .
2004-08-02 06:10:11 +00:00
Tim Peters
3d7d372ce3
Whitespace normalization, via reindent.py.
2004-07-18 06:25:50 +00:00
Brett Cannon
a031a0870d
Add a missing space.
2004-06-29 04:14:02 +00:00
Martin v. Löwis
9c322fbe36
The expression list in inheritance is not optional. Fixes #960448 .
...
Will backport to 2.3.
2004-06-02 12:59:59 +00:00
Martin v. Löwis
477c85631a
Move grammar rule for lambda_form into section on lambdas. Fixes #964525 .
2004-06-02 12:54:33 +00:00
Martin v. Löwis
13ff116ac7
Fix typo reported in #964592 . Will backport to 2.3.
2004-06-02 12:48:20 +00:00
Fred Drake
67a521ef69
note that descriptor objects must be instances of new-style types
...
(closes SF bug #817742 )
2004-05-06 12:44:29 +00:00
Raymond Hettinger
46a16f297f
SF bug #940579 : section 5.10: 'not' returns boolean, not int
2004-04-23 17:11:47 +00:00
Raymond Hettinger
3fd977964a
Fix misspelled name.
2004-02-08 20:18:26 +00:00
Fred Drake
7a700b873b
clean up indexing for None, NotImplemented
...
closes SF bug #820344
2004-01-01 05:43:53 +00:00
Fred Drake
1f84ed0d8a
fix typo and join two paragraphs
2003-12-11 19:45:53 +00:00
Guido van Rossum
6c9e130524
- Removed FutureWarnings related to hex/oct literals and conversions
...
and left shifts. (Thanks to Kalle Svensson for SF patch 849227.)
This addresses most of the remaining semantic changes promised by
PEP 237, except for repr() of a long, which still shows the trailing
'L'. The PEP appears to promise warnings for operations that
changed semantics compared to Python 2.3, but this is not
implemented; we've suffered through enough warnings related to
hex/oct literals and I think it's best to be silent now.
2003-11-29 23:52:13 +00:00
Alex Martelli
c516b0e47c
clarified (in the 5.14 summary) that tests and comparisons all chain,
...
added a specific \ref to 5.9 in lieu of previous vague "see above".
(same as commit of Sun Nov 2 to the release23-maint branch)
2003-11-09 16:33:56 +00:00
Walter Dörwald
f0dfc7ac5c
Fix a bunch of typos in documentation, docstrings and comments.
...
(From SF patch #810751 )
2003-10-20 14:01:56 +00:00
Martin v. Löwis
95cf84a4f3
Patch #821093 : Fix various typos.
2003-10-19 07:32:24 +00:00
Fred Drake
2348afd3f8
- update to reflect that base classes can be class types as well as
...
"classic" class objects
[partially fixes SF bug #453684 ]
- add note that new-style classes can use descriptors to implement
instance variables in different ways
2003-09-24 04:11:47 +00:00
Raymond Hettinger
92016dcc91
SF 810242. Fix doubled word errors.
2003-09-22 15:27:11 +00:00
Fred Drake
38f6b8845b
Elaborate the explanation of different flavors of _* identifiers.
...
Fixes SF bug #520325 .
2003-09-06 03:50:07 +00:00
Fred Drake
c0678ffc60
- create a hyperlink for a section reference (also more robust in the
...
face of section re-ordering)
- fix minor markup nits for better presentation
2003-09-06 03:33:32 +00:00
Raymond Hettinger
e41d4c8ec9
Added doubled word warnings.
2003-08-25 04:39:55 +00:00
Raymond Hettinger
c7a26562f9
SF patch#786531 'the the' typo. Contributed by George Yoshida
2003-08-12 00:01:17 +00:00
Fred Drake
a3788642a3
Fix representation of ^= operator in __ixor__() documentation.
...
Closes SF bug #776181 . Should be backported.
2003-07-23 15:18:03 +00:00
Raymond Hettinger
943277ecd3
Minor corrections.
2003-07-17 14:47:12 +00:00
Fred Drake
ea690c4b25
- improve the description of how user-defined method
...
objects get made
- improve the description of attribute retrieval from
classes and class instances
- add brief documentation of static method and
class method objects.
2003-07-17 05:26:53 +00:00
Raymond Hettinger
4d6e8fe5d1
Clarify the lack of relationship between rich comparison operators.
...
Prompted by a discussion on comp.lang.python.
2003-07-16 19:40:23 +00:00
Fred Drake
d51ce7de97
Indexing is a mess; try to get the link targets closer to the relevant
...
text. There needs to be a better way.
2003-07-15 22:03:00 +00:00
Fred Drake
b3be52eaf4
Try to clean up some indexing relevant to the import statement.
...
Pertains to SF bug #518989 .
2003-07-15 21:37:58 +00:00
Fred Drake
e37b4ed24e
Discuss calling new-style types.
...
Closes SF bug #453683 .
2003-07-15 20:45:16 +00:00
Raymond Hettinger
5918f8de67
Minor fixes to punctuation and grammar.
2003-06-29 04:53:23 +00:00
Fred Drake
25b5358cf2
Add definitions of the test and testlist symbols in the grammar so
...
there are no gaps in the definitions.
Closes SF bug #726150 .
2003-06-27 17:12:43 +00:00
Raymond Hettinger
df9eff061e
* Markup nits for the Invoking Descriptors section
...
* Documented __slots__
* Documented __metaclass__
Shamelessly plagarized from Guido's tutorial.
2003-06-27 06:57:56 +00:00
Raymond Hettinger
d0cda1dc9f
SF patch #760792 : "wo" in "word" now valid but not documented as such
...
Revised version of a contribution from Gerrit Holl.
Update the docs for the extended behavior of __contains__
2003-06-26 19:32:10 +00:00
Raymond Hettinger
daa340418b
* Fixed an unmatched parenthesis early in the text.
...
* Clarified the meaning of lexicographic sequence ordering as discussed on
comp.lang.python: http://groups.google.com/groups?th=e163c9f9ba114493
2003-06-26 17:41:40 +00:00
Fred Drake
4db3661e24
remove _ from label: LaTeX rejects this due to all the magic we use to
...
get the _ character to format like a normal character
2003-06-26 03:11:20 +00:00
Raymond Hettinger
03ec6d538a
* Document how descriptors are invoked.
...
* Fix minor parenthesis matching errors in ref3.tex.
2003-06-25 18:29:36 +00:00
Martin v. Löwis
171be76bdd
Patch #755683 : Document that there might be a maximum indentation limit.
...
Fixes #700827
2003-06-21 13:40:02 +00:00
Raymond Hettinger
96a8233b64
SF patch #751038 fixing SF bug#750092: exec doesn't need newline
...
Patch contributed by Steven Taschuk.
2003-06-18 01:32:24 +00:00
Brett Cannon
9e6fedd2ec
Add explicit text for where an obindex call for generators was since obindex does not cause output of its argument.
2003-06-15 22:57:44 +00:00