494 Commits

Author SHA1 Message Date
Georg Brandl
7bf216b034 Backport: #1889 - fixup \xhh specs. 2008-01-22 07:54:07 +00:00
Facundo Batista
c5bb868414 Link to external documentation about new style classes was
wrong. Fix issue 1774.
2008-01-09 16:37:02 +00:00
Žiga Seilnacht
6524573995 Patch #1489771: update syntax rules in Python Reference Manual.
Python 2.5 added support for explicit relative import statements and
yield expressions, which were missing in the manual.
Also fix grammar productions that used the names from the Grammar file,
markup that broke the generated grammar.txt, and wrap some lines that
broke the pdf output.
 (backport from rev. 54559)
2007-03-24 14:27:21 +00:00
Georg Brandl
8c9b3d6a13 Patch #1602128: clarify that richcmp methods can return NotImplemented
and should return True or False otherwise.
 (backport from rev. 54171)
2007-03-06 18:30:12 +00:00
Georg Brandl
c3df1b1392 Bug #1637967: missing //= operator in list.
(backport from rev. 53475)
2007-01-17 21:09:07 +00:00
Georg Brandl
8984370c06 Bug #1565919: document set types in the Language Reference.
(backport from rev. 52297)
2006-10-12 08:22:57 +00:00
Neal Norwitz
38b9460b4a SF #1547931, fix typo (missing and). Backport candidate for 2.3/2.4 too 2006-09-02 02:45:43 +00:00
Martin v. Löwis
ab2f8f7bd5 __hash__ may now return long int; the final hash
value is obtained by invoking hash on the long int.
Fixes #1536021.
2006-08-09 07:57:39 +00:00
Georg Brandl
7f719c5edf Bug #1536660: separate two words. 2006-08-08 20:13:13 +00:00
Georg Brandl
5b654ea774 Bug #1531349: right <-> left glitch in __rop__ description. 2006-07-30 20:18:51 +00:00
Georg Brandl
ad6911bd62 Clarify that __op__ methods must return NotImplemented if they don't support the operation. 2006-07-30 10:53:32 +00:00
Fred Drake
f5da071ec8 remove unnecessary markup 2006-06-18 02:57:35 +00:00
George Yoshida
b8d2607692 markup fix 2006-06-17 16:31:52 +00:00
Georg Brandl
c54173c234 Bug #1153163: describe __add__ vs __radd__ behavior when adding
objects of same type/of subclasses of the other.
2006-06-14 08:31:39 +00:00
Georg Brandl
772beaafae Bug #1501122: mention __gt__ &co in description of comparison order. 2006-06-14 06:29:07 +00:00
Fred Drake
5e30626f7f SF patch #1303595: improve description of __builtins__, explaining how it
varies between __main__ and other modules, and strongly suggest not touching
it but using __builtin__ if absolutely necessary
2006-06-10 20:01:34 +00:00
George Yoshida
3689571425 End of Ch.3 is now about "with statement".
Avoid obsolescence by directly referring to the section.
2006-05-27 16:51:43 +00:00
George Yoshida
5e0b88200e minor markup nits 2006-05-27 16:32:44 +00:00
Georg Brandl
a89dbec257 Patch #1492218: document None being a constant. 2006-05-26 20:14:47 +00:00
George Yoshida
c120a6d897 Fix the TeX compile error. 2006-05-21 04:22:59 +00:00
George Yoshida
5c6a5ecddf - Add 'as' and 'with' as new keywords in 2.5.
- Regenerate keyword lists with reswords.py.
2006-05-20 16:29:14 +00:00
George Yoshida
6fffa5e865 - markup fix
- add clarifying words
2006-05-20 15:36:19 +00:00
George Yoshida
8f505aed46 Duplicated description about the illegal continue usage can be found in nearly the same place.
They are same, so keep the original one and remove the later-added one.
2006-05-12 17:25:26 +00:00
George Yoshida
159a1160c1 At first there were 6 steps, but one was removed after that. 2006-05-12 16:40:11 +00:00
Nick Coghlan
afd5e63e24 Finish bringing SVN into line with latest version of PEP 343 by getting rid of all remaining references to context objects that I could find. Without a __context__() method context objects no longer exist. Also get test_with working again, and adopt a suggestion from Neal for decimal.Context.get_manager() 2006-05-03 13:02:47 +00:00