blob: f05bdd51bc7184fc9ec689cd76db905db94ce5c6 (
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
26
27
28
29
|
.. _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:: long
Long type ``int``.
.. attribute:: PYPY
``True`` if running on PyPy, ``False`` otherwise.
.. autofunction:: text_
|