blob: d8a4d0cbbcf5c86ebc94c3097e544bcd49552c07 (
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
30
31
|
.. _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_native_
.. 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_
.. autofunction:: native_
|