collections.OrderedDict.popitem()
  • References/Python/Python/Data Types

popitem(last=True) The popitem() method for ordered dictionaries returns and removes a (key, value) pair. The pairs

2025-01-10 15:47:30
collections.Counter.subtract()
  • References/Python/Python/Data Types

subtract([iterable-or-mapping]) Elements are subtracted from an iterable or from another mapping (or counter)

2025-01-10 15:47:30
collections.somenamedtuple.
  • References/Python/Python/Data Types

somenamedtuple._asdict() Return a new OrderedDict which maps field names to their corresponding values:

2025-01-10 15:47:30
collections.deque.extendleft()
  • References/Python/Python/Data Types

extendleft(iterable) Extend the left side of the deque by appending elements from iterable. Note, the series of left

2025-01-10 15:47:30
pprint.pformat()
  • References/Python/Python/Data Types

pprint.pformat(object, indent=1, width=80, depth=None, *, compact=False) Return the formatted representation of object

2025-01-10 15:47:30
calendar.Calendar.itermonthdates()
  • References/Python/Python/Data Types

itermonthdates(year, month) Return an iterator for the month month (1-12) in the year year. This iterator

2025-01-10 15:47:30
datetime.time.
  • References/Python/Python/Data Types

time.__str__() For a time t, str(t) is equivalent to t.isoformat().

2025-01-10 15:47:30
weakref.getweakrefs()
  • References/Python/Python/Data Types

weakref.getweakrefs(object) Return a list of all weak reference and proxy objects which refer to object.

2025-01-10 15:47:30
collections.somenamedtuple.
  • References/Python/Python/Data Types

somenamedtuple._fields Tuple of strings listing the field names. Useful for introspection and for creating new named tuple types

2025-01-10 15:47:30
calendar.Calendar.monthdays2calendar()
  • References/Python/Python/Data Types

monthdays2calendar(year, month) Return a list of the weeks in the month month of the year as full weeks. Weeks

2025-01-10 15:47:30