summaryrefslogtreecommitdiff
path: root/devdocs/python~3.12/library%2Fcustominterp.html
diff options
context:
space:
mode:
Diffstat (limited to 'devdocs/python~3.12/library%2Fcustominterp.html')
-rw-r--r--devdocs/python~3.12/library%2Fcustominterp.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/devdocs/python~3.12/library%2Fcustominterp.html b/devdocs/python~3.12/library%2Fcustominterp.html
new file mode 100644
index 00000000..53c3a8c8
--- /dev/null
+++ b/devdocs/python~3.12/library%2Fcustominterp.html
@@ -0,0 +1,7 @@
+ <span id="custominterp"></span><h1>Custom Python Interpreters</h1> <p>The modules described in this chapter allow writing interfaces similar to Python’s interactive interpreter. If you want a Python interpreter that supports some special feature in addition to the Python language, you should look at the <a class="reference internal" href="code#module-code" title="code: Facilities to implement read-eval-print loops."><code>code</code></a> module. (The <a class="reference internal" href="codeop#module-codeop" title="codeop: Compile (possibly incomplete) Python code."><code>codeop</code></a> module is lower-level, used to support compiling a possibly incomplete chunk of Python code.)</p> <p>The full list of modules described in this chapter is:</p> <ul> <li class="toctree-l1">
+<a class="reference internal" href="code"><code>code</code> — Interpreter base classes</a><ul> <li class="toctree-l2"><a class="reference internal" href="code#interactive-interpreter-objects">Interactive Interpreter Objects</a></li> <li class="toctree-l2"><a class="reference internal" href="code#interactive-console-objects">Interactive Console Objects</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="codeop"><code>codeop</code> — Compile Python code</a></li> </ul> <div class="_attribution">
+ <p class="_attribution-p">
+ &copy; 2001&ndash;2023 Python Software Foundation<br>Licensed under the PSF License.<br>
+ <a href="https://docs.python.org/3.12/library/custominterp.html" class="_attribution-link">https://docs.python.org/3.12/library/custominterp.html</a>
+ </p>
+</div>