📜  python 3.9 功能 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:03.438000             🧑  作者: Mango

代码示例1
-Merge (|) and update (|=) operators have been added to the built-in dict class
-str.removeprefix(prefix) and str.removesuffix(suffix) have been added to easily remove an unneeded prefix or a suffix from a string
-The zoneinfo module brings support for the IANA time zone database to the standard library. It adds zoneinfo.ZoneInfo, a concrete datetime.tzinfo implementation backed by the system’s time zone data.