243 Commits

Author SHA1 Message Date
Fred Drake
4a848705de Add a note about "as" not being a keyword, though it has special meaning
when used as part of the import statement.

Note that both "as" and "None" becoming keywords in the future.

Closes SF bug #553262.
2002-06-18 19:18:21 +00:00
Fred Drake
817442f720 Adjust markup to worm around tool limitations; the "m" in "model" was being
dropped in the HTML formatted version.
Reported by Mike Coleman.
2002-04-17 03:42:26 +00:00
Fred Drake
3acdd8b363 Remove repeated index entry; adds nothing different.
Closes SF bug #518985.
2002-04-16 02:04:20 +00:00
Fred Drake
205da048f0 Typo: thsi -> this. Closes SF bug #521450. 2002-02-22 15:41:13 +00:00
Fred Drake
ddc9bb9595 Fix typos reported by François Pinard. 2002-01-21 16:10:06 +00:00
Fred Drake
05e4d4b775 Added some missing index entries, noted by L. Peter Deutsch. 2001-12-27 18:38:47 +00:00
Fred Drake
53237e24cc \ulink is not available on the maintenance branch, so we can't use it. 2001-11-02 19:34:49 +00:00
Fred Drake
c870cec029 When describing "import *", add a level of indirection between "*" and the
set of names imported (the "public names"), adding a definition of "public
names" that describes the use of __all__.
This closes SF bug #473986.

Flesh out the vague reference to __import__().
2001-10-24 19:52:14 +00:00
Fred Drake
257f7d0706 Adjust the documents so that the copyright is at the front of the documents
and the license statements are at the end.  This is less annoying to readers.
2001-06-21 18:52:50 +00:00
Fred Drake
05f29200de Update a "Programmer's note" about lambda forms and scoping to reflect
the availability of nested scoping in Python 2.1.

Note that this is a slightly different patch than was applied to the trunk
of the development for Python 2.2.
2001-06-05 02:24:26 +00:00
Fred Drake
b8071808bd Bring the notes on the relationship between __cmp__(), __eq__(), and
__hash__() up to date (re: use of objects which define these methods
as dictionary keys).

This closes SF bug #427698.

Migrated comments about supporting __contains__() and the use of the "in"
operator from the development branch.
2001-05-29 16:06:21 +00:00
Fred Drake
7d92f45684 Fix typo reported in SF bug #427783. 2001-05-29 15:45:01 +00:00
Fred Drake
964aa1d5e6 Make sure we include all of Python's numeric types in the data model
description, so that the introduction of complex is not a surprise.

This closes SF bug #423429.
2001-05-14 16:04:57 +00:00
Fred Drake
879040a0d3 Fix typo reported by David Goodger. This closes SF patch #422383. 2001-05-10 15:10:17 +00:00
Fred Drake
4a64db94ce Fix the operator precedence table: exponentiation binds tighter than
negation.

This closes SF bug #421999.
2001-05-09 16:53:19 +00:00
Fred Drake
62effc1127 Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping. 2001-04-13 15:55:25 +00:00
Fred Drake
fb8ffe6b5e Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.
Wrap some long lines and fix some markup nits.
2001-04-13 15:54:41 +00:00
Fred Drake
24e7a29292 Work around the conversion of ">>" and "<<" to guillemets. Reported by
Ping on the Doc-SIG mailing list.
2001-04-12 12:37:03 +00:00
Fred Drake
e2645775d1 Typo: "ariables" --> "variables"
This fixes SF bug #411118.
2001-03-28 16:55:53 +00:00
Jeremy Hylton
aa90adcfb9 Add nested scopes spec to appendix.
Add new opcodes LOAD_CLOSURE, LOAD_DEREF, STORE_DEREF, MAKE_CLOSURE to
docs for dis module.

Add docs for new function and code members in Sec. 3 of ref manual.
They're present regardless of whether nested scopes are used.

Remove description of default argument hack from Sec. 7 of the ref
manual and refer the reader to the appendix.
2001-03-23 17:23:50 +00:00
Fred Drake
a9d0450f72 No quotes around the "future" in the first use of the term "future
statement".
2001-03-23 16:47:11 +00:00
Fred Drake
557c1ae150 Include the futures appendix. 2001-03-23 16:21:15 +00:00
Fred Drake
39778b705d Revise the markup so that this formats and uses markup consistently with
the rest of the documentation.
2001-03-23 16:20:46 +00:00
Jeremy Hylton
324cc6ee0e Add some initial text for the appendix on future statements and nested scopes. 2001-03-23 15:29:54 +00:00
Jeremy Hylton
2c84fc8a7d Note that assignments to __debug__ are illegal 2001-03-23 14:34:06 +00:00