Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: baacaac06f93dd624c9d7b3bac0e13fbe34f2d8c authored by Benjamin Peterson on 16 February 2019, 19:02:20 UTC
Set version to 2.7.16rc1.
Tip revision: baacaac
custominterp.rst

.. _custominterp:

**************************
Custom Python Interpreters
**************************

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 :mod:`code` module.  (The :mod:`codeop` module is lower-level, used
to support compiling a possibly-incomplete chunk of Python code.)

The full list of modules described in this chapter is:


.. toctree::

   code.rst
   codeop.rst
back to top