functools.singledispatch()
  • References/Python/Python/Functional Programming

@functools.singledispatch(default) Transforms a function into a single-dispatch

2025-01-10 15:47:30
operator.iand()
  • References/Python/Python/Functional Programming

operator.iand(a, b) operator.__iand__(a, b) a = iand(a, b) is equivalent to a &= b

2025-01-10 15:47:30
operator.
  • References/Python/Python/Functional Programming

operator.__setitem__(a, b, c) Set the value of a at index b to c.

2025-01-10 15:47:30
operator.
  • References/Python/Python/Functional Programming

operator.__floordiv__(a, b) Return a // b.

2025-01-10 15:47:30
operator.
  • References/Python/Python/Functional Programming

operator.__not__(obj) Return the outcome of not obj. (Note that there is no __not__() method

2025-01-10 15:47:30
functools.partialmethod
  • References/Python/Python/Functional Programming

class functools.partialmethod(func, *args, **keywords) Return a new partialmethod descriptor which behaves like

2025-01-10 15:47:30
functools.partial()
  • References/Python/Python/Functional Programming

functools.partial(func, *args, **keywords) Return a new partial object which when called will behave like func

2025-01-10 15:47:30
operator.
  • References/Python/Python/Functional Programming

operator.__ne__(a, b) operator.__ge__(a, b) operator.__gt__(a, b) Perform

2025-01-10 15:47:30
operator.lshift()
  • References/Python/Python/Functional Programming

operator.lshift(a, b) operator.__lshift__(a, b) Return a shifted left by b.

2025-01-10 15:47:30
operator.
  • References/Python/Python/Functional Programming

operator.__concat__(a, b) Return a + b for a and b sequences.

2025-01-10 15:47:30