We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2a56e8 commit e840bcdCopy full SHA for e840bcd
1 file changed
docs/guidelines/advanced/type_hint.md
@@ -153,7 +153,7 @@ def count_words(records: List[str]) -> Dict[str, int]:
153
> 在 Python 3.9 已经对一些基本数据 接口做了泛型适配,这和现有 typing 下的泛型类型重复,
154
> 所以会弃用这些泛型容器类型,具体请参考体包含哪些请参考 [PEP 585](https://www.python.org/dev/peps/pep-0585/) 。
155
> 如果需要提前使用新特性,在 Python 3.7 开始,可以导入 `from __future__ import annotations` 来使用新的泛型类型。
156
-> 官方会在 Python 3.9 发布五年后的收个 Python 发行版,即2025年10月5日之后的收个发行版会移除
+> 官方会在 Python 3.9 发布五年后的收个 Python 发行版,即2025年10月5日之后的首个发行版会移除
157
> [PEP 585](https://www.python.org/dev/peps/pep-0585/) 中弃用的泛型容器类型。
158
159
### 2.3 特殊类型
0 commit comments