summaryrefslogtreecommitdiff
path: root/docs/api/compat.rst
blob: d1552e6441dddc393759fc6c2e9183fae2971c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.. _compat_module:

:mod:`pyramid.compat`
----------------------

The ``pyramid.compat`` module provides platform and version compatibility for
Pyramid and its add-ons across Python platform and version differences.  APIs
will be removed from this module over time as Pyramid ceases to support
systems which require compatibility imports.

.. automodule:: pyramid.compat

   .. autofunction:: ascii_

   .. autofunction:: bytes_
        
   .. attribute:: im_func

      The string value ``__func__``.

   .. attribute:: PYPY

      ``True`` if running on PyPy, ``False`` otherwise.

   .. autofunction:: text_