python 3 9 features

Solutions on MaxInterview for python 3 9 features by the best coders in the world

showing results for - "python 3 9 features"
Marco
05 Sep 2020
1-Merge (|) and update (|=) operators have been added to the built-in dict class
2-str.removeprefix(prefix) and str.removesuffix(suffix) have been added to easily remove an unneeded prefix or a suffix from a string
3-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 systems time zone data.