8000 feat: update with reviewer's suggestions · python/python-docs-zh-tw@cf5cd95 · GitHub
[go: up one dir, main page]

Skip to content

Commit cf5cd95

Browse files
committed
feat: update with reviewer's suggestions
1 parent b214d1c commit cf5cd95

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

library/typing.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ msgid ""
632632
"<Type>`) may accept values that are classes themselves -- specifically, it "
633633
"will accept the *class object* of ``C``. For example::"
634634
msgstr ""
635-
"一個變數被註解為 ``C`` 可以接受一個型別為 ``C`` 的值。相對的,一個變數備註解"
635+
"一個變數被註釋為 ``C`` 可以接受一個型別為 ``C`` 的值。相對的,一個變數備註解"
636636
"為 ``type[C]`` \\ (或 :class:`typing.Type[C] <Type>`)\\ 可以接受本身為該類"
637637
"別的值 -- 具體來說,他可能會接受 ``C`` 的\\ *類別物件*\\。舉例來說: ::"
638638

@@ -645,7 +645,7 @@ msgid ""
645645
"The only legal parameters for :class:`type` are classes, :data:`Any`, :ref:"
646646
"`type variables <generics>`, and unions of any of these types. For example::"
647647
msgstr ""
648-
":class:`type` 僅有的合法參數是類別、:data:`Any`、\\ :ref:`型別變數 "
648+
":class:`type` 僅有的合法參數是類別、:data:`Any`、:ref:`型別變數 "
649649
"<generics>`\\ 以及這些型別任意組合成的聯集。舉例來說: ::"
650650

651651
#: ../../library/typing.rst:497
@@ -658,7 +658,7 @@ msgstr ""
658658

659659
#: ../../library/typing.rst:503
660660
msgid "User-defined generic types"
661-
msgstr "使用者定義泛用型別"
661+
msgstr "使用者定義泛型型別"
662662

663663
#: ../../library/typing.rst:505
664664
msgid "A user-defined class can be defined as a generic class."
@@ -696,7 +696,7 @@ msgid ""
696696
"class:`TypeVar` are permissible as parameters for a generic type::"
697697
msgstr ""
698698
"一個泛型型別可以有任意數量的型別變數。所有種類的 :class:`TypeVar` 都可以作為"
699-
"泛型行別的參數: ::"
699+
"泛型型別的參數: ::"
700700

701701
#: ../../library/typing.rst:567
702702
msgid ""
@@ -768,7 +768,7 @@ msgid ""
768768
"Classes generic over a :class:`ParamSpec` can also be created using explicit "
769769
"inheritance from :class:`Generic`. In this case, ``**`` is not used::"
770770
msgstr ""
771-
"具有 :class:`ParamSpec` 的泛型類別可以透過顯示繼承 :class:`Generic` 進行建"
771+
"具有 :class:`ParamSpec` 的泛型類別可以透過顯性繼承 :class:`Generic` 進行建"
772772
"立。在這種情況下,不需要使用 ``**``: ::"
773773

774774
#: ../../library/typing.rst:661

0 commit comments

Comments
 (0)
0