Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1788)

Side by Side Diff: Doc/c-api/veryhigh.rst

Issue 14843: support define_macros / undef_macros in setup.cfg
Patch Set: Created 11 months, 2 weeks ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/c-api/unicode.rst ('k') | Doc/faq/library.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 .. highlightlang:: c 1 .. highlightlang:: c
2 2
3 3
4 .. _veryhigh: 4 .. _veryhigh:
5 5
6 ************************* 6 *************************
7 The Very High Level Layer 7 The Very High Level Layer
8 ************************* 8 *************************
9 9
10 The functions in this chapter will let you execute Python source code given in a 10 The functions in this chapter will let you execute Python source code given in a
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 Note that if an otherwise unhandled :exc:`SystemExit` is raised, this 87 Note that if an otherwise unhandled :exc:`SystemExit` is raised, this
88 function will not return ``-1``, but exit the process, as long as 88 function will not return ``-1``, but exit the process, as long as
89 ``Py_InspectFlag`` is not set. 89 ``Py_InspectFlag`` is not set.
90 90
91 91
92 .. c:function:: int PyRun_SimpleFile(FILE *fp, const char *filename) 92 .. c:function:: int PyRun_SimpleFile(FILE *fp, const char *filename)
93 93
94 This is a simplified interface to :c:func:`PyRun_SimpleFileExFlags` below, 94 This is a simplified interface to :c:func:`PyRun_SimpleFileExFlags` below,
95 leaving *closeit* set to ``0`` and *flags* set to *NULL*. 95 leaving *closeit* set to ``0`` and *flags* set to *NULL*.
96
97
98 .. c:function:: int PyRun_SimpleFileFlags(FILE *fp, const char *filename, PyComp ilerFlags *flags)
99
100 This is a simplified interface to :c:func:`PyRun_SimpleFileExFlags` below,
101 leaving *closeit* set to ``0``.
96 102
97 103
98 .. c:function:: int PyRun_SimpleFileEx(FILE *fp, const char *filename, int close it) 104 .. c:function:: int PyRun_SimpleFileEx(FILE *fp, const char *filename, int close it)
99 105
100 This is a simplified interface to :c:func:`PyRun_SimpleFileExFlags` below, 106 This is a simplified interface to :c:func:`PyRun_SimpleFileExFlags` below,
101 leaving *flags* set to *NULL*. 107 leaving *flags* set to *NULL*.
102 108
103 109
104 .. c:function:: int PyRun_SimpleFileExFlags(FILE *fp, const char *filename, int closeit, PyCompilerFlags *flags) 110 .. c:function:: int PyRun_SimpleFileExFlags(FILE *fp, const char *filename, int closeit, PyCompilerFlags *flags)
105 111
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 struct PyCompilerFlags { 338 struct PyCompilerFlags {
333 int cf_flags; 339 int cf_flags;
334 } 340 }
335 341
336 342
337 .. c:var:: int CO_FUTURE_DIVISION 343 .. c:var:: int CO_FUTURE_DIVISION
338 344
339 This bit can be set in *flags* to cause division operator ``/`` to be 345 This bit can be set in *flags* to cause division operator ``/`` to be
340 interpreted as "true division" according to :pep:`238`. 346 interpreted as "true division" according to :pep:`238`.
341 347
OLDNEW
« no previous file with comments | « Doc/c-api/unicode.rst ('k') | Doc/faq/library.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7