7.2.6.3. bypass

bypass(*inputs, *, copy=False)[source]

Returns the same arguments.

Parameters:
  • inputs (T) – Inputs values.
  • copy (bool, optional) – If True, it returns a deepcopy of input values.
Returns:

Same input values.

Return type:

(T, ...), T

Example:

>>> bypass('a', 'b', 'c')
('a', 'b', 'c')
>>> bypass('a')
'a'