Correct typo in PyArg_ParseTuple example.

Add reference to DLD 3.3 at http://www-swiss.ai.mit.edu/~jaffer/DLD.html.
This commit is contained in:
Guido van Rossum 1997-02-10 16:51:52 +00:00
parent 3c2871e1df
commit 7e924dd10d
2 changed files with 18 additions and 10 deletions

View file

@ -704,7 +704,7 @@ Some example calls:
ok = PyArg_ParseTuple(args, "(ii)s#", &i, &j, &s, &size); ok = PyArg_ParseTuple(args, "(ii)s#", &i, &j, &s, &size);
/* A pair of ints and a string, whose size is also returned */ /* A pair of ints and a string, whose size is also returned */
/* Possible Python call: f(1, 2, 'three') */ /* Possible Python call: f((1, 2), 'three') */
{ {
char *file; char *file;
@ -1251,10 +1251,14 @@ following hardware and software combinations: VAX (Ultrix), Sun 3
Atari ST. There is no reason to use it on a Sparc; I haven't seen a Atari ST. There is no reason to use it on a Sparc; I haven't seen a
Sun 3 for years so I don't know if these have shared libraries or not. Sun 3 for years so I don't know if these have shared libraries or not.
You need to fetch and build two packages. One is GNU DLD 3.2.3, You need to fetch and build two packages.
available by anonymous ftp from host \file{ftp.cwi.nl}, directory One is GNU DLD. All development of this code has been done with DLD
\file{pub/dynload}, file \file{dld-3.2.3.tar.Z}. (As far as I know, version 3.2.3, which is available by anonymous ftp from host
no further development on GNU DLD is being done.) The other is an \file{ftp.cwi.nl}, directory \file{pub/dynload}, file
\file{dld-3.2.3.tar.Z}. (A more recent version of DLD is available
via \file{http://www-swiss.ai.mit.edu/~jaffer/DLD.html} but this has
not been tested.)
The other package needed is an
emulation of Jack Jansen's \code{dl} package that I wrote on top of emulation of Jack Jansen's \code{dl} package that I wrote on top of
GNU DLD 3.2.3. This is available from the same host and directory, GNU DLD 3.2.3. This is available from the same host and directory,
file dl-dld-1.1.tar.Z. (The version number may change --- but I doubt file dl-dld-1.1.tar.Z. (The version number may change --- but I doubt

View file

@ -704,7 +704,7 @@ Some example calls:
ok = PyArg_ParseTuple(args, "(ii)s#", &i, &j, &s, &size); ok = PyArg_ParseTuple(args, "(ii)s#", &i, &j, &s, &size);
/* A pair of ints and a string, whose size is also returned */ /* A pair of ints and a string, whose size is also returned */
/* Possible Python call: f(1, 2, 'three') */ /* Possible Python call: f((1, 2), 'three') */
{ {
char *file; char *file;
@ -1251,10 +1251,14 @@ following hardware and software combinations: VAX (Ultrix), Sun 3
Atari ST. There is no reason to use it on a Sparc; I haven't seen a Atari ST. There is no reason to use it on a Sparc; I haven't seen a
Sun 3 for years so I don't know if these have shared libraries or not. Sun 3 for years so I don't know if these have shared libraries or not.
You need to fetch and build two packages. One is GNU DLD 3.2.3, You need to fetch and build two packages.
available by anonymous ftp from host \file{ftp.cwi.nl}, directory One is GNU DLD. All development of this code has been done with DLD
\file{pub/dynload}, file \file{dld-3.2.3.tar.Z}. (As far as I know, version 3.2.3, which is available by anonymous ftp from host
no further development on GNU DLD is being done.) The other is an \file{ftp.cwi.nl}, directory \file{pub/dynload}, file
\file{dld-3.2.3.tar.Z}. (A more recent version of DLD is available
via \file{http://www-swiss.ai.mit.edu/~jaffer/DLD.html} but this has
not been tested.)
The other package needed is an
emulation of Jack Jansen's \code{dl} package that I wrote on top of emulation of Jack Jansen's \code{dl} package that I wrote on top of
GNU DLD 3.2.3. This is available from the same host and directory, GNU DLD 3.2.3. This is available from the same host and directory,
file dl-dld-1.1.tar.Z. (The version number may change --- but I doubt file dl-dld-1.1.tar.Z. (The version number may change --- but I doubt