@@ -3085,7 +3085,7 @@ msgstr "示例:"
30853085msgid ""
30863086"Get type arguments with all substitutions performed: for a typing object of "
30873087"the form ``X[Y, Z, ...]`` return ``(Y, Z, ...)``."
3088- msgstr ""
3088+ msgstr "获取已执行所有下标的类型参数:对于 ``X[Y, Z, ...]`` 形式的类型对象将返回 ``(Y, Z, ...)``。 "
30893089
30903090#: ../../library/typing.rst:3014
30913091msgid ""
@@ -3094,6 +3094,8 @@ msgid ""
30943094" arguments ``[Y, Z, ...]`` due to type caching. Return ``()`` for "
30953095"unsupported objects."
30963096msgstr ""
3097+ "如果 ``X`` 是一个并集或是包含在另一个泛型类型中的 :class:`Literal`,则 ``(Y, Z, ...)`` "
3098+ "的顺序可能因类型缓存而与原始参数 ``[Y, Z, ...]`` 存在差异。 对于不受支持的对象将返回 ``()``。"
30973099
30983100#: ../../library/typing.rst:3031
30993101msgid "Check if a type is a :class:`TypedDict`."
@@ -3102,14 +3104,16 @@ msgstr "检查一个类型是否为 :class:`TypedDict`。"
31023104#: ../../library/typing.rst:3052
31033105msgid ""
31043106"Class used for internal typing representation of string forward references."
3105- msgstr ""
3107+ msgstr "用于字符串前向引用的内部类型表示的类。 "
31063108
31073109#: ../../library/typing.rst:3054
31083110msgid ""
31093111"For example, ``List[\" SomeClass\" ]`` is implicitly transformed into "
31103112"``List[ForwardRef(\" SomeClass\" )]``. ``ForwardRef`` should not be "
31113113"instantiated by a user, but may be used by introspection tools."
31123114msgstr ""
3115+ "例如,``List[\" SomeClass\" ]`` 会被隐式转换为 ``List[ForwardRef(\" SomeClass\" )]``。 "
3116+ "``ForwardRef`` 不应由用户来实例化,但可以由内省工具使用。"
31133117
31143118#: ../../library/typing.rst:3059
31153119msgid ""
@@ -3128,7 +3132,7 @@ msgstr "常量"
31283132msgid ""
31293133"A special constant that is assumed to be ``True`` by 3rd party static type "
31303134"checkers. It is ``False`` at runtime."
3131- msgstr ""
3135+ msgstr "会被第 3 方静态类型检查器假定为 ``True`` 的特殊常量。 在运行时将为 ``False``。 "
31323136
31333137#: ../../library/typing.rst:3081
31343138msgid ""
0 commit comments