types.coroutine()
  • References/Python/Python/Data Types

types.coroutine(gen_func) This function transforms a generator function into a

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
types.ModuleType
  • References/Python/Python/Data Types

class types.ModuleType(name, doc=None) The type of modules. Constructor takes the name

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.date.fromordinal()
  • References/Python/Python/Data Types

classmethod date.fromordinal(ordinal) Return the date corresponding to the proleptic Gregorian ordinal, where January 1 of year

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

datetime.isocalendar() Return a 3-tuple, (ISO year, ISO week number, ISO weekday). The same as self.date().isocalendar()

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.
  • References/Python/Python/Data Types

datetime.__str__() For a datetime instance d, str(d) is equivalent to d.isoformat('

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
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