New submission from Anthon van der Neut:

The extending Python doc for 2.5 (and 2.6) is still referring to
Python/pythonmain.c to look up how to call the Python parser with a
string. However the code (for the -c commandline option) is now in
Modules/main.c

See attached diff.txt fixes Doc/extending/extending.rst (it is probably
quiker to make the change by hand than to check the diff).

----------
components: Documentation
files: diff.txt
messages: 55682
nosy: anthon
severity: minor
status: open
title: reference in extending doc to non-existing file
versions: Python 2.5, Python 2.6

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1116>
__________________________________
--- Doc/extending/extending.rst?rev=57065       2007-09-06 10:46:11.000000000 
+0200
+++ Doc/extending/extending.rst 2007-09-06 10:48:02.000000000 +0200
@@ -423,7 +423,7 @@
 standard interface to call a Python function.  (I won't dwell on how to call 
the
 Python parser with a particular string as input --- if you're interested, have 
a
 look at the implementation of the :option:`-c` command line option in
-:file:`Python/pythonmain.c` from the Python source code.)
+:file:`Modules/main.c` from the Python source code.)
 
 Calling a Python function is easy.  First, the Python program must somehow pass
 you the Python function object.  You should provide a function (or some other

_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to