Lines Matching refs:TOS

163    Removes the top-of-stack (TOS) item.
193 Implements ``TOS = +TOS``.
198 Implements ``TOS = -TOS``.
203 Implements ``TOS = not TOS``.
208 Implements ``TOS = `TOS```.
213 Implements ``TOS = ~TOS``.
218 Implements ``TOS = iter(TOS)``.
220 Binary operations remove the top of the stack (TOS) and the second top-most
227 Implements ``TOS = TOS1 ** TOS``.
232 Implements ``TOS = TOS1 * TOS``.
237 Implements ``TOS = TOS1 / TOS`` when ``from __future__ import division`` is
243 Implements ``TOS = TOS1 // TOS``.
248 Implements ``TOS = TOS1 / TOS`` when ``from __future__ import division`` is
254 Implements ``TOS = TOS1 % TOS``.
259 Implements ``TOS = TOS1 + TOS``.
264 Implements ``TOS = TOS1 - TOS``.
269 Implements ``TOS = TOS1[TOS]``.
274 Implements ``TOS = TOS1 << TOS``.
279 Implements ``TOS = TOS1 >> TOS``.
284 Implements ``TOS = TOS1 & TOS``.
289 Implements ``TOS = TOS1 ^ TOS``.
294 Implements ``TOS = TOS1 | TOS``.
296 In-place operations are like binary operations, in that they remove TOS and
298 when TOS1 supports it, and the resulting TOS may be (but does not have to be)
304 Implements in-place ``TOS = TOS1 ** TOS``.
309 Implements in-place ``TOS = TOS1 * TOS``.
314 Implements in-place ``TOS = TOS1 / TOS`` when ``from __future__ import
320 Implements in-place ``TOS = TOS1 // TOS``.
325 Implements in-place ``TOS = TOS1 / TOS`` when ``from __future__ import
331 Implements in-place ``TOS = TOS1 % TOS``.
336 Implements in-place ``TOS = TOS1 + TOS``.
341 Implements in-place ``TOS = TOS1 - TOS``.
346 Implements in-place ``TOS = TOS1 << TOS``.
351 Implements in-place ``TOS = TOS1 >> TOS``.
356 Implements in-place ``TOS = TOS1 & TOS``.
361 Implements in-place ``TOS = TOS1 ^ TOS``.
366 Implements in-place ``TOS = TOS1 | TOS``.
373 Implements ``TOS = TOS[:]``.
378 Implements ``TOS = TOS1[TOS:]``.
383 Implements ``TOS = TOS1[:TOS]``.
388 Implements ``TOS = TOS2[TOS1:TOS]``.
396 Implements ``TOS[:] = TOS1``.
401 Implements ``TOS1[TOS:] = TOS2``.
406 Implements ``TOS1[:TOS] = TOS2``.
411 Implements ``TOS2[TOS1:TOS] = TOS3``.
416 Implements ``del TOS[:]``.
421 Implements ``del TOS1[TOS:]``.
426 Implements ``del TOS1[:TOS]``.
431 Implements ``del TOS2[TOS1:TOS]``.
436 Implements ``TOS1[TOS] = TOS2``.
441 Implements ``del TOS1[TOS]``.
448 Implements the expression statement for the interactive mode. TOS is removed
455 Prints TOS to the file-like object bound to ``sys.stdout``. There is one
461 Like ``PRINT_ITEM``, but prints the item second from TOS to the file-like
462 object at TOS. This is used by the extended print statement.
474 the TOS. This is used by the extended print statement.
490 Calls ``list.append(TOS[-i], TOS)``. Used to implement list comprehensions.
504 Returns with TOS to the caller of the function.
509 Pops ``TOS`` and yields it from a :term:`generator`.
514 Loads all symbols not starting with ``'_'`` directly from the module TOS to
521 Implements ``exec TOS2,TOS1,TOS``. The compiler fills missing optional
540 Creates a new class object. TOS is the methods dictionary, TOS1 the tuple of
585 Implements ``name = TOS``. *namei* is the index of *name* in the attribute
598 Unpacks TOS into *count* individual values, which are put onto the stack
610 Implements ``TOS.name = TOS1``, where *namei* is the index of name in
616 Implements ``del TOS.name``, using *namei* as index into :attr:`co_names`.
665 Replaces TOS with ``getattr(TOS, co_names[namei])``.
676 Imports the module ``co_names[namei]``. TOS and TOS1 are popped and provide
685 Loads the attribute ``co_names[namei]`` from the module found in TOS. The
697 If TOS is true, sets the bytecode counter to *target*. TOS is popped.
702 If TOS is false, sets the bytecode counter to *target*. TOS is popped.
707 If TOS is true, sets the bytecode counter to *target* and leaves TOS on the
708 stack. Otherwise (TOS is false), TOS is popped.
713 If TOS is false, sets the bytecode counter to *target* and leaves TOS on the
714 stack. Otherwise (TOS is true), TOS is popped.
724 ``TOS`` is an :term:`iterator`. Call its :meth:`!next` method. If this
726 the iterator indicates it is exhausted ``TOS`` is popped, and the bytecode
764 Stores TOS into the local ``co_varnames[var_num]``.
788 Stores TOS into the cell contained in slot *i* of the cell and free variable
801 the parameter as TOS1, and the exception as TOS.
818 Pushes a new function object on the stack. TOS is the code associated with
820 parameters, which are found below TOS.
826 the stack. TOS is the code associated with the function, TOS1 the tuple
836 ``slice(TOS1, TOS)`` is pushed; if it is 3, ``slice(TOS2, TOS1, TOS)`` is