Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit43ad743

Browse files
committed
Update translation in code comment for library/http.cookies
1 parente5cecf1 commit43ad743

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

‎library/http.cookies.po

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgstr ""
77
"Project-Id-Version:Python 3.13\n"
88
"Report-Msgid-Bugs-To:\n"
99
"POT-Creation-Date:2024-12-14 00:14+0000\n"
10-
"PO-Revision-Date:2024-12-24 18:31+0800\n"
10+
"PO-Revision-Date:2024-12-24 18:49+0800\n"
1111
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
1212
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1313
"tw)\n"
@@ -391,10 +391,10 @@ msgstr ""
391391
">>> C = cookies.SimpleCookie()\n"
392392
">>> C[\"fig\"] =\"newton\"\n"
393393
">>> C[\"sugar\"] =\"wafer\"\n"
394-
">>> print(C) #generate HTTPheaders\n"
394+
">>> print(C) #產生 HTTP標頭\n"
395395
"Set-Cookie: fig=newton\n"
396396
"Set-Cookie: sugar=wafer\n"
397-
">>> print(C.output()) #same thing\n"
397+
">>> print(C.output()) #同上\n"
398398
"Set-Cookie: fig=newton\n"
399399
"Set-Cookie: sugar=wafer\n"
400400
">>> C = cookies.SimpleCookie()\n"
@@ -405,8 +405,7 @@ msgstr ""
405405
">>> print(C.output(attrs=[], header=\"Cookie:\"))\n"
406406
"Cookie: rocky=road\n"
407407
">>> C = cookies.SimpleCookie()\n"
408-
">>> C.load(\"chips=ahoy; vienna=finger\") # load from a string (HTTP "
409-
"header)\n"
408+
">>> C.load(\"chips=ahoy; vienna=finger\") # 從字串(HTTP 標頭)載入\n"
410409
">>> print(C)\n"
411410
"Set-Cookie: chips=ahoy\n"
412411
"Set-Cookie: vienna=finger\n"
@@ -424,7 +423,7 @@ msgstr ""
424423
">>> C[\"twix\"].value\n"
425424
"'none for you'\n"
426425
">>> C = cookies.SimpleCookie()\n"
427-
">>> C[\"number\"] = 7 #equivalent to C[\"number\"] = str(7)\n"
426+
">>> C[\"number\"] = 7 #等同於 C[\"number\"] = str(7)\n"
428427
">>> C[\"string\"] =\"seven\"\n"
429428
">>> C[\"number\"].value\n"
430429
"'7'\n"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp