Commit Graph

253 Commits

Author SHA1 Message Date
Guido van Rossum 5f574aace9 Added back the description of the exec statement. It appears that I
accidentally cut it out when removing the access statement!  Added a
paragraph on __builtins__ and other possible manipulations of the key
space of the dictionaries.  Added some index entries.
1998-07-06 13:18:39 +00:00
Guido van Rossum 60f2f0cf8e Lots of changes to get this in sync with the Frame version.
Added raw strings, imaginary literals, assert and exec (!) keywords, a
table about Resererved classes of identifiers, and more.
1998-06-15 18:00:50 +00:00
Guido van Rossum 0bd3795d6a Two small additions to make it identical to the obsolete Frame version. 1998-06-15 16:27:37 +00:00
Guido van Rossum dc1dab18a5 NewNew abstract, copied from the obsolete Frame version. 1998-06-15 16:27:09 +00:00
Guido van Rossum c85be6a0ff Fix another oldie (item (b) only):
Date:    Fri, 20 Dec 1996 14:47:50 +0100
From:    Lele Gaifax <lele@nautilus.eclipse.it>
To:      Python List <python-list@cwi.nl>
Subject: Typos in ref manual

Hi all,
browsing the reference manual I noticed what seem two small errors:
  a) in the list of keywords (section 2.3.1) 'exec' is missing
  b) in the Operator Precedence table (5.12) the comparison operators
     include '=', but probably '==' was intended.
Hope this help,
lele.
1998-05-16 02:11:10 +00:00
Fred Drake 5c07d9b028 Updated markup style (got rid of \verb@...@, mostly). 1998-05-14 19:37:06 +00:00
Fred Drake f8e4415578 Markup consistency.
Using \input instead of \include to avoid extra .aux files from being
generated.
1998-05-07 17:27:32 +00:00
Fred Drake dde91f000a Fix a bogus \code@...@ to be \code{...}.
Normalize some other markup.
1998-05-06 20:59:46 +00:00
Fred Drake f666917ab7 The Python Reference Manual. 1998-05-06 19:52:49 +00:00
Guido van Rossum 47e09c43fd Change the date to March 6, 1998.
Migration to Frame 5.5.

Checking in the PDF file.  (This is questionable -- but we check in the
Postscript as well.  Perhaps *both* should be removed from the CVS tree,
now everything is unbundled and we're distributing PS and PDF tarballs?)

Note -- the HTML generation using webmaker is currently broken.  I'll
have to look into generating HTML from Frame...
1998-03-06 21:43:09 +00:00
Guido van Rossum 79a6a9e882 Removed a confusing note about coercions and __r*__ operators. 1998-01-19 23:16:55 +00:00
Guido van Rossum 3884e7edf9 Apply fixps.py to allow A4 paper printing. 1997-12-30 23:49:49 +00:00
Guido van Rossum ccd25d10c4 Final version for 1.5; two tiny corrections. 1997-12-30 18:35:35 +00:00
Guido van Rossum dd79bd3539 Checking in fixed PS, with A4 capability. 1997-12-24 18:32:36 +00:00
Guido van Rossum b9973d9060 Script to edit one line in the PS to allow A4 printing. 1997-12-24 18:31:53 +00:00
Guido van Rossum a0eaa2200c Some manipulations with tags to get the TOC and Index to look better 1997-12-06 00:39:45 +00:00
Guido van Rossum 3e396cf9ff New WML file, this time with working Title and Author tags, and
mapping chapter and section headings to more appropriate nodes so that
the TOC actually works.  Now generates one HTML page per chapter.
1997-12-06 00:38:30 +00:00
Guido van Rossum 628b4085b5 Ignore html files generated by webmaker. 1997-11-25 20:10:40 +00:00
Guido van Rossum 000eb0a138 Augmented the script so that (at CNRI anyway) it also invokes webmaker
to create the HTML.
1997-11-25 20:10:19 +00:00
Guido van Rossum 71ace95e12 Updated to the most pressing 1.5 issues. 1997-11-25 18:20:52 +00:00
Guido van Rossum 7806c16650 generated from latest doc files 1997-05-21 14:48:15 +00:00
Guido van Rossum d0e8436e19 ??? maybe window size 1997-05-08 23:39:55 +00:00
Guido van Rossum 881255223d Added assert statement. 1997-05-08 23:39:31 +00:00
Guido van Rossum d8f038ec0a Added assert resword. 1997-05-08 23:39:12 +00:00
Guido van Rossum 4408ed5dcb Tiny utility prints the latest set of reserved words. 1997-05-08 23:21:48 +00:00
Guido van Rossum 78b21cf47a Checking in old changes -- no idea why (probably window size). 1997-05-08 23:21:09 +00:00
Guido van Rossum 4745a274a5 Added some more turd files we can't avoid: .MIF, .ps, .auto. 1996-11-27 19:52:04 +00:00
Guido van Rossum cd612d5e5c Webmaker instructions 1996-11-27 19:51:35 +00:00
Guido van Rossum 558c09e4c1 Script to write MIF files from ref*.{book,doc} 1996-11-27 19:50:32 +00:00
Guido van Rossum 58e7a1a388 Updated notice. 1996-10-25 14:06:07 +00:00
Guido van Rossum 52cf578382 Touched by FrameMaker :-( 1996-10-24 22:25:46 +00:00
Guido van Rossum fa7bfce0be Include updated title page. 1996-10-24 22:24:30 +00:00
Guido van Rossum 71445570c6 Removed CNRI copyright, changed notice to standard notice.
Added date and version to title.
1996-10-24 18:41:30 +00:00
Guido van Rossum c148cd6cdd Ignore Frame backup and lock files. 1996-10-23 16:25:38 +00:00
Guido van Rossum 1775a517f5 Regenerated to remove hidden text from page 1. 1996-10-23 16:15:26 +00:00
Guido van Rossum db2318580a Frame versions of documents after mangling by Robin. 1996-10-22 22:13:21 +00:00
Guido van Rossum 1f17543ee7 Removed LaTeX version of reference manual. Added ref/ref.ps. 1996-10-22 20:00:02 +00:00
Guido van Rossum 1fd5b21425 Mention warning for exception in __del__. 1996-08-20 18:03:48 +00:00
Guido van Rossum 0a94dfcab8 Erase all memory of the access statement 1996-08-20 17:35:48 +00:00
Guido van Rossum 8823972cea Documented class exceptions. 1996-08-19 23:00:03 +00:00
Guido van Rossum 22277c860f Added footnote about lamda bodies being the same as function bodies. 1996-08-09 21:00:19 +00:00
Guido van Rossum 45687bb976 Add warning about exceptions in __del__ being ignored. 1996-08-09 20:59:25 +00:00
Guido van Rossum 1dead9bd0a Added __doc__ to predefined module attributes. 1996-06-26 19:29:21 +00:00
Guido van Rossum b7c6620e7f typo 1996-06-26 19:27:05 +00:00
Guido van Rossum a95a1405a8 expr_list -> expression_list 1996-06-26 19:26:55 +00:00
Guido van Rossum 7710f1f00c explain global better 1996-06-26 19:26:40 +00:00
Guido van Rossum 00ed6a3279 added '**kw' to parameter list syntax 1996-06-26 19:26:20 +00:00
Guido van Rossum 8476d00060 footnote about keyword args 1995-10-08 01:07:06 +00:00
Guido van Rossum c5d0d79714 make access obsolete 1995-10-08 00:52:14 +00:00
Guido van Rossum 611be707c2 replace vars() with locals() and globals(); 3rd raise arg; typos 1995-07-07 23:06:33 +00:00
Guido van Rossum 8fd02194c5 typos 1995-07-07 23:05:13 +00:00
Guido van Rossum ab330d47d6 add missing definitin of longstringitem 1995-07-07 23:04:17 +00:00
Guido van Rossum ad07f2b656 squeezed some space out of a line that was too long 1995-05-03 13:47:16 +00:00
Guido van Rossum 93dda331ef update list of supported os-es 1995-04-04 11:57:22 +00:00
Guido van Rossum aaec403a75 added index entries for __*__ identifiers 1995-03-21 14:41:57 +00:00
Guido van Rossum 4dd6b84e5f added table of precedences 1995-03-17 15:59:52 +00:00
Guido van Rossum 55dd113bc8 forget about html.sty 1995-03-17 15:59:41 +00:00
Guido van Rossum a54754719d made palatable for latex2html:
removed $math$, added braces to \item[\tt...]
1995-03-16 14:44:07 +00:00
Guido van Rossum 47b4c0fb35 replace ASCII by macro call 1995-03-15 11:25:32 +00:00
Guido van Rossum 3d54de2ab9 clarified code objects 1995-03-07 10:09:55 +00:00
Guido van Rossum 46f2157279 added ref to vars() 1995-03-07 10:09:34 +00:00
Guido van Rossum 8675115e5f a few typographical changes (e.g. -- => ---) and lots of new stuff in the WWW chapter 1995-02-28 17:14:32 +00:00
Guido van Rossum eb8b0d20c1 added classes as exceptions 1995-02-07 14:37:17 +00:00
Guido van Rossum 31cce97374 copyright.tex: Add 1995 to copyright message.
lib.tex: add libimp; remove bogus warning about lineii.
libmath.tex: document hypot().
libmd5.tex: rename md5.md5() to md5.new().
libposix.tex: document chown().
libposixfile.tex: openfile() instead of fileopen().
libsocket.tex: document gethostbyaddr().
libtypes.tex: add footnote explaining why readline() keeps the newline.
ref3.tex: correct typos, add back*quotes to index.
ref4.tex: don't use \verb inside footnote.
ref5.tex: explain repr() and str() and add them + back*quotes to index.
ref6.tex: correct typo, don't use \verb in footnote.
ref7.tex: don't use \verb in footnote.
1995-01-04 19:17:34 +00:00
Guido van Rossum 29c1b97d28 __call__, __getattr__ c.s. 1994-10-09 22:56:16 +00:00
Guido van Rossum 16cd7f9f12 Moved author and date to boilerplate.tex.
Added copyright.tex to all files.
Added descr of check_interval to libsys.tex.
Corrected lotsa typos in tut.tex (thanks to George M. Sipe).
Corrected mktuple (should be newtupleobject) example in ext.tex.
1994-10-06 10:29:26 +00:00
Guido van Rossum bd851cd167 * Doc/libtime.tex: get rid of references to millitime() and
millisleep(); document clock()

	* Doc/ref6.tex (section{Assignment statements}): added warning
	about overlaps in lhs of assignment (e.g. "i, x[i] = 1, 2")
1994-08-23 13:26:22 +00:00
Guido van Rossum 16d6e7109d Lots of small corrections by Andrew Kuchling (plus all new rotor docs) 1994-08-08 12:30:22 +00:00
Guido van Rossum e9914961b8 Merge lost revisions back 1994-08-01 12:38:14 +00:00
Guido van Rossum 6938f06047 Merge alpha100 branch back to main trunk 1994-08-01 12:22:53 +00:00
Guido van Rossum 3cbc16d904 * lib2.tex (sys): updated sys.std{in,out,err} docs. Added
sys.tracebacklimit.
* tut.tex (Exceptions): change text printed by traceback.
* lib5.tex (audioop): added minmax.
* lib5.tex (audioop.getsample): move wandered paragraph back
* lib3.tex, partparse.py: undo mucking with \nopagebreak (didn't work).
* partparse.py: ignore \nopagebreak command
* ref5.tex: added description of lambda forms.
* ref7.tex: added reference to lambda forms to section on function
  definition.
* lib1.tex: removed lambda as built-in function (it is now a special
  form).  Also removed feature of filter, map, reduce to turn a string
  argument into an anonymous function.
1993-12-17 12:13:53 +00:00
Guido van Rossum 83eb962528 * {lib,ref,ext,tut}.tex: added explicit \date{<date> \\ <release>}.
* lib2.tex: change bogus \\var to \var.
1993-11-23 16:28:45 +00:00
Guido van Rossum db65a6ce55 * ext.tex: did most of the tedious changes from plain ASCII text to LaTeX.
* text2latex.py: automatically put function names in \code{}.
* lib.tex, ref.tex, ext.tex, qua.tex, tut.tex: use new P.O.Box number in
  address.
1993-11-05 17:11:16 +00:00
Guido van Rossum 7a2dba2a00 * ext.tex: documentation for extending, reference counts, and embedding
(formerly ../misc/{EXTENDING,REFCNT,EMBEDDING}).  Also affects Makefile.
* text2latex.py: script to do part of the conversion from an plain ASCI
  text file (in my particular style) to LaTeX.
  (Chapter/section/subsection headers, and verbatim sections.)
* partparse.py, texipre.dat, fix.el, Makefile: Minor cleanup of latex ->
  info conversion process (at least it works again, and with less
  debugging output).  Removed fix.sh.
* lib1.tex (section{Built-in Functions}): adapt description of str() and
  repr() to new situation.
* lib3.tex (Module os): added exec*() variants.
* lib3.tex (Module posix): added execve().
* lib2.tex (Module array): documented reality; remove typecode and
itemsize, add byteswap, rename read/write to fromfile/tofile, and
re-alphabetized.
* lib1.tex (Built-in Functions): renamed bagof() to filter().
1993-11-05 14:45:11 +00:00
Guido van Rossum 4bd023f882 * lib3.tex (module string): added rindex().
* lib1.tex (section{Built-in Functions}): added bagof(), lambda(), map()
  and reduce().  Repharased apply().  Removed or rephrased references to
  exec() (now the exec stmt).
* lib4.tex: posix.exec --> posix.execv
* ref4.tex, ref8.tex, tut.tex: builtin --> __builtin__
* lib3.tex (module string): added atof() and atol(), and ato[fl]_error.
1993-10-27 13:49:20 +00:00
Guido van Rossum a75d306e2b "exec" is now a statement. execfile() is obsolete.
(Also added a stub for "access".)
1993-10-18 17:59:42 +00:00
Guido van Rossum 7f8765d327 * ref3.tex: added cross-ref to try statement for exc handler.
* ref7.tex: added description of sys.exc_{type,value,traceback}.
* lib5.tex: rect.intersect is different now!
1993-10-11 12:54:58 +00:00
Guido van Rossum 23301a9467 * lib1.tex: documented dict.items() and dict.values()
* ref3.tex: documented new __init__ and __del__ special methods of
  class instances.
1993-05-24 14:19:37 +00:00
Guido van Rossum b2c6556fb0 Lots of small changes collected over months... 1993-05-12 08:53:36 +00:00
Guido van Rossum 4ac605e627 Changes to some math using underscore as subscript, necessary since
the new style file defines underscore as an underscore in tt font.
1992-12-17 15:31:02 +00:00
Guido van Rossum 66122d2dae __oct__ and __hex__ 1992-09-20 21:43:47 +00:00
Guido van Rossum 0e389af0c9 Use \input instead of \include (or \inclide) 1992-08-19 16:54:06 +00:00
Guido van Rossum 2670a16c2e Added chapter titles in comments 1992-08-14 09:20:21 +00:00
Guido van Rossum abff0fdab1 Moved chapters each to their own file.
Real changes:
(a) added section on special class methods.
(b) corrected typos spotted by Stoffel Erasmus.
1992-08-14 09:18:02 +00:00
Guido van Rossum da43a4ab88 Initial revision 1992-08-14 09:17:29 +00:00
Guido van Rossum 46f3e00407 Initial revision 1992-08-14 09:11:01 +00:00
Guido van Rossum 54e39908d8 Fixed comparison: i < k < j should be i <= k < j. 1992-06-03 17:58:43 +00:00
Guido van Rossum 379537805b Moved a4wide option to myformat.sty 1992-04-06 14:04:04 +00:00
Guido van Rossum 2974e3bad1 mostly added index entries. PRINTED 1992-04-03 14:44:05 +00:00
Guido van Rossum 60279da7f5 Almost through with revisions. 1992-04-02 10:24:59 +00:00
Guido van Rossum cb9d66da59 *** empty log message *** 1992-03-20 14:59:04 +00:00
Guido van Rossum b5e1c184be Completed missing parts. Restructured ch. 3/4 to Data and Execution
model.  Added index.
1992-03-06 10:52:59 +00:00
Guido van Rossum cf8148b953 Completed execution model and try statement. 1992-03-02 16:13:50 +00:00
Guido van Rossum 862c6f1046 Added stuff about classes and instances, plus some smaller changes. 1992-01-29 14:47:05 +00:00
Guido van Rossum 255ad6e659 Described some more standard types and statements. 1992-01-28 18:10:46 +00:00
Guido van Rossum 68c172e3f2 Change \verb\xxx\ in section titles back to {\tt xxx}. 1992-01-21 11:34:56 +00:00
Guido van Rossum 0f1f9da8e2 Another large run of changes and additions. 1992-01-20 17:10:21 +00:00
Guido van Rossum 670e5a0d92 Another round of careful revisions. 1992-01-17 14:03:20 +00:00
Guido van Rossum 7b632a6073 Just another intermediate version... 1992-01-16 17:49:21 +00:00
Guido van Rossum 743d1e76d0 Cosmetic changes; added sections on notation and on objects;
new grammar (global, '==').
1992-01-07 16:43:53 +00:00
Guido van Rossum 47f2333609 Fix math containing %!!! 1991-12-06 17:21:05 +00:00
Guido van Rossum 4fc43bc377 First round of corrections (lexer only). 1991-11-25 17:26:57 +00:00
Guido van Rossum f2612d1edf Initial revision 1991-11-21 13:53:03 +00:00