reprlib.repr()
  • References/Python/Python/Data Types

reprlib.repr(obj) This is the repr() method of aRepr. It returns a string similar to that returned

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

timedelta.max The most positive timedelta object, timedelta(days=999999999, hours=23, minutes=59, seconds=59

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

array.tolist() Convert the array to an ordinary list with the same items.

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

heapq.heapreplace(heap, item) Pop and return the smallest item from the heap, and also push the new item.

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

array.fromfile(f, n) Read n items (as machine values) from the file object f

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

datetime.dst() If tzinfo is None, returns None, else returns self.tzinfo.dst(self)

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

time.replace([hour[, minute[, second[, microsecond[, tzinfo]]]]]) Return a time with the same value, except for

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

time.__format__(format) Same as time.strftime(). This makes it possible to specify a format string for a time

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

class datetime.datetime(year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None) The year, month and day arguments

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

datetime.utctimetuple() If datetime instance d is naive, this is the same as d.timetuple()

2025-01-10 15:47:30