| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |