Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4f71af9

Browse filesBrowse files
sync with cpython 8bce3cb1
1 parent f1b1406 commit 4f71af9
Copy full SHA for 4f71af9

File tree

Expand file treeCollapse file tree

7 files changed

+975
-946
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+975
-946
lines changed

‎extending/newtypes_tutorial.po

Copy file name to clipboardExpand all lines: extending/newtypes_tutorial.po
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.10\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2021-10-26 16:47+0000\n"
8+
"POT-Creation-Date: 2022-04-06 00:13+0000\n"
99
"PO-Revision-Date: 2018-07-15 18:56+0800\n"
1010
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1111
"tw)\n"
@@ -99,8 +99,8 @@ msgid ""
9999
"This is what a Custom object will contain. ``PyObject_HEAD`` is mandatory "
100100
"at the start of each object struct and defines a field called ``ob_base`` of "
101101
"type :c:type:`PyObject`, containing a pointer to a type object and a "
102-
"reference count (these can be accessed using the macros :c:macro:`Py_REFCNT` "
103-
"and :c:macro:`Py_TYPE` respectively). The reason for the macro is to "
102+
"reference count (these can be accessed using the macros :c:macro:`Py_TYPE` "
103+
"and :c:macro:`Py_REFCNT` respectively). The reason for the macro is to "
104104
"abstract away the layout and to enable additional fields in :ref:`debug "
105105
"builds <debug-build>`."
106106
msgstr ""

‎howto/regex.po

Copy file name to clipboardExpand all lines: howto/regex.po
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: Python 3.10\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2020-06-20 18:08+0800\n"
12+
"POT-Creation-Date: 2022-04-06 00:13+0000\n"
1313
"PO-Revision-Date: 2018-05-23 14:37+0000\n"
1414
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -149,10 +149,10 @@ msgstr ""
149149

150150
#: ../../howto/regex.rst:92
151151
msgid ""
152-
"Metacharacters are not active inside classes. For example, ``[akm$]`` will "
153-
"match any of the characters ``'a'``, ``'k'``, ``'m'``, or ``'$'``; ``'$'`` "
154-
"is usually a metacharacter, but inside a character class it's stripped of "
155-
"its special nature."
152+
"Metacharacters (except ``\\``) are not active inside classes. For example, "
153+
"``[akm$]`` will match any of the characters ``'a'``, ``'k'``, ``'m'``, or "
154+
"``'$'``; ``'$'`` is usually a metacharacter, but inside a character class "
155+
"it's stripped of its special nature."
156156
msgstr ""
157157

158158
#: ../../howto/regex.rst:97

‎library/crypt.po

Copy file name to clipboardExpand all lines: library/crypt.po
+15-15Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-03-23 00:14+0000\n"
10+
"POT-Creation-Date: 2022-04-06 00:13+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:42+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -116,17 +116,17 @@ msgid ""
116116
"from :func:`mksalt`, one of the ``crypt.METHOD_*`` values (though not all "
117117
"may be available on all platforms), or a full encrypted password including "
118118
"salt, as returned by this function. If *salt* is not provided, the "
119-
"strongest method will be used (as returned by :func:`methods`)."
119+
"strongest method available in :attr:`methods` will be used."
120120
msgstr ""
121121

122-
#: ../../library/crypt.rst:102
122+
#: ../../library/crypt.rst:101
123123
msgid ""
124124
"Checking a password is usually done by passing the plain-text password as "
125125
"*word* and the full results of a previous :func:`crypt` call, which should "
126126
"be the same as the results of this call."
127127
msgstr ""
128128

129-
#: ../../library/crypt.rst:106
129+
#: ../../library/crypt.rst:105
130130
msgid ""
131131
"*salt* (either a random 2 or 16 character string, possibly prefixed with ``"
132132
"$digit$`` to indicate the method) which will be used to perturb the "
@@ -135,36 +135,36 @@ msgid ""
135135
"$``."
136136
msgstr ""
137137

138-
#: ../../library/crypt.rst:112
138+
#: ../../library/crypt.rst:111
139139
msgid ""
140140
"Returns the hashed password as a string, which will be composed of "
141141
"characters from the same alphabet as the salt."
142142
msgstr ""
143143

144-
#: ../../library/crypt.rst:117
144+
#: ../../library/crypt.rst:116
145145
msgid ""
146146
"Since a few :manpage:`crypt(3)` extensions allow different values, with "
147147
"different sizes in the *salt*, it is recommended to use the full crypted "
148148
"password as salt when checking for a password."
149149
msgstr ""
150150

151-
#: ../../library/crypt.rst:121
151+
#: ../../library/crypt.rst:120
152152
msgid "Accept ``crypt.METHOD_*`` values in addition to strings for *salt*."
153153
msgstr ""
154154

155-
#: ../../library/crypt.rst:127
155+
#: ../../library/crypt.rst:126
156156
msgid ""
157157
"Return a randomly generated salt of the specified method. If no *method* is "
158-
"given, the strongest method available as returned by :func:`methods` is used."
158+
"given, the strongest method available in :attr:`methods` is used."
159159
msgstr ""
160160

161-
#: ../../library/crypt.rst:131
161+
#: ../../library/crypt.rst:130
162162
msgid ""
163163
"The return value is a string suitable for passing as the *salt* argument to :"
164164
"func:`crypt`."
165165
msgstr ""
166166

167-
#: ../../library/crypt.rst:134
167+
#: ../../library/crypt.rst:133
168168
msgid ""
169169
"*rounds* specifies the number of rounds for ``METHOD_SHA256``, "
170170
"``METHOD_SHA512`` and ``METHOD_BLOWFISH``. For ``METHOD_SHA256`` and "
@@ -174,22 +174,22 @@ msgid ""
174174
"sup:`31`), the default is ``4096`` (2\\ :sup:`12`)."
175175
msgstr ""
176176

177-
#: ../../library/crypt.rst:144
177+
#: ../../library/crypt.rst:143
178178
msgid "Added the *rounds* parameter."
179179
msgstr "新增 *rounds* 參數。"
180180

181-
#: ../../library/crypt.rst:149
181+
#: ../../library/crypt.rst:148
182182
msgid "Examples"
183183
msgstr "範例"
184184

185-
#: ../../library/crypt.rst:151
185+
#: ../../library/crypt.rst:150
186186
msgid ""
187187
"A simple example illustrating typical use (a constant-time comparison "
188188
"operation is needed to limit exposure to timing attacks. :func:`hmac."
189189
"compare_digest` is suitable for this purpose)::"
190190
msgstr ""
191191

192-
#: ../../library/crypt.rst:171
192+
#: ../../library/crypt.rst:170
193193
msgid ""
194194
"To generate a hash of a password using the strongest available method and "
195195
"check it against the original::"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.