[Patches] [ python-Patches-798638 ] Improve "veryhigh.tex" API docs

SourceForge.net noreply at sourceforge.net
Mon Sep 1 16:20:32 EDT 2003


Patches item #798638, was opened at 2003-09-01 11:11
Message generated for change (Settings changed) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=798638&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Epler (jepler)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Improve "veryhigh.tex" API docs

Initial Comment:
Many variant versions of functions were not documented in this chapter, and the PyCompilerFlags structure was not documented at all.

This patch fixes that.  It adds documentation for:
+\begin{cfuncdesc}{int}{PyRun_AnyFileFlags}{FILE *fp, const char *filename,
+\begin{cfuncdesc}{int}{PyRun_AnyFileEx}{FILE *fp, const char *filename,
+\begin{cfuncdesc}{int}{PyRun_AnyFileExFlags}{FILE *fp, const char *filename,
+\begin{cfuncdesc}{int}{PyRun_SimpleStringFlags}{const char *command,
+\begin{cfuncdesc}{int}{PyRun_SimpleFileFlags}{FILE *fp, const char *filename,
+\begin{cfuncdesc}{int}{PyRun_SimpleFileEx}{FILE *fp, const char *filename,
+\begin{cfuncdesc}{int}{PyRun_SimpleFileExFlags}{FILE *fp, const char *filename,
+\begin{cfuncdesc}{int}{PyRun_InteractiveOneFlags}{FILE *fp,
+\begin{cfuncdesc}{int}{PyRun_InteractiveLoopFlags}{FILE *fp, 
+\begin{cfuncdesc}{struct _node*}{PyParser_SimpleParseStringFlags}{
+\begin{cfuncdesc}{struct _node*}{PyParser_SimpleParseStringFlagsFilename}{
+\begin{cfuncdesc}{struct _node*}{PyParser_SimpleParseFileFlags}{FILE *fp,
+\begin{cfuncdesc}{PyObject*}{PyRun_StringFlags}{const char *str, int start,
+\begin{cfuncdesc}{PyObject*}{PyRun_FileEx}{FILE *fp, const char *filename,
+\begin{cfuncdesc}{PyObject*}{PyRun_FileFlags}{FILE *fp, const char *filename,
+\begin{cfuncdesc}{PyObject*}{PyRun_FileExFlags}{FILE *fp, const char *filename,
+\begin{cfuncdesc}{PyObject*}{Py_CompileStringFlags}{char *str,
+\begin{ctypedesc}[PyCompilerFlags]{struct PyCompilerFlags}
+\begin{cvardesc}{int}{CO_FUTURE_DIVISION}

This patch also reflects the "const"ness of arguments to these functions.

latex seemed to process the modified documentation just fine.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=798638&group_id=5470



More information about the Patches mailing list