API of RestrictedPython 4.0
===========================

.. code-block:: python

    compile_restricted(source, filename, mode [, flags [, dont_inherit]])

.. code-block:: python

    compile_restricted_exec(source, filename, mode [, flags [, dont_inherit [, policy]]])

.. code-block:: python

    compile_restricted_eval(source, filename, mode [, flags [, dont_inherit [, policy]]])

.. code-block:: python

    compile_restricted_single(source, filename, mode [, flags [, dont_inherit [, policy]]])

.. code-block:: python

    compile_restricted_function(source, filename, mode [, flags [, dont_inherit [, policy]]])
