Home
last modified time | relevance | path

Searched refs:fromisoformat (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Misc/NEWS.d/
D3.7.0a4.rst657 Added new alternate constructors :meth:`datetime.datetime.fromisoformat`,
658 :meth:`datetime.time.fromisoformat` and :meth:`datetime.date.fromisoformat`
D3.7.1rc1.rst503 Fix the .fromisoformat() methods of datetime types crashing when given
505 datetime.fromisoformat() now accepts surrogate unicode code points used as
/external/python/cpython3/Lib/test/
Ddatetimetester.py1717 dt_rt = self.theclass.fromisoformat(dt.isoformat())
1727 dt_rt = DateSubclass.fromisoformat(dt.isoformat())
1749 self.theclass.fromisoformat(bad_str)
1758 self.theclass.fromisoformat(bad_type)
2666 dt_rt = self.theclass.fromisoformat(dtstr)
2691 dt_rt = self.theclass.fromisoformat(dtstr)
2708 dt_rt = self.theclass.fromisoformat(dtstr)
2719 dt_rt = self.theclass.fromisoformat(dtstr)
2745 dt_rt = self.theclass.fromisoformat(dtstr)
2784 self.theclass.fromisoformat(bad_str)
[all …]
/external/python/cpython3/Lib/
Ddatetime.py861 def fromisoformat(cls, date_string): member in date
1384 def fromisoformat(cls, time_string): member in time
1667 def fromisoformat(cls, date_string): member in datetime
/external/python/cpython3/Doc/library/
Ddatetime.rst445 .. classmethod:: date.fromisoformat(date_string)
840 .. classmethod:: datetime.fromisoformat(date_string)
1522 .. classmethod:: time.fromisoformat(time_string)
/external/python/cpython3/Doc/whatsnew/
D3.7.rst855 The new :meth:`datetime.fromisoformat() <datetime.datetime.fromisoformat>`