Lines Matching refs:equivalent
84 This is equivalent to :data:`py3:sys.maxsize` in Python 2.6 and later
86 :data:`py2:sys.maxint` in Python 2. There is no direct equivalent to
138 Get the closure (list of cells) associated with *func*. This is equivalent
145 Get the code object associated with *func*. This is equivalent to
151 Get the defaults tuple associated with *func*. This is equivalent to
158 Get the globals of *func*. This is equivalent to ``func.__globals__`` on
288 Raise an exception from a context. On Python 3, this is equivalent to
290 exception chaining, it is equivalent to ``raise exc_value``.
333 That code produces a class equivalent to ::
400 equivalent to :func:`py2:unichr` on Python 2 and :func:`py3:chr` on Python 3.
406 equivalent to :func:`py2:chr` in Python 2 and ``bytes((i,))`` in Python 3.
411 Converts the first byte of *bs* to an integer. This is equivalent to
417 Return the byte at index *i* of *buf* as an integer. This is equivalent to
423 Return an iterator over bytes in *buf* as integers. This is equivalent to