8000 Membuat cabang baru untuk dokumentasi Python 3.9 · python/python-docs-id@2b62a4a · GitHub
[go: up one dir, main page]

Skip to content

Commit 2b62a4a

Browse files
committed
Membuat cabang baru untuk dokumentasi Python 3.9
1 parent dcafc50 commit 2b62a4a

File tree

198 files changed

+39693
-27089
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+39693
-27089
lines changed

.tx/config

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2911,3 +2911,48 @@ source_lang = en
29112911
trans.id = whatsnew/3_8.po
29122912
type = PO
29132913

2914+
[python-newest.c-api--call]
2915+
file_filter = translations/python-newest.c-api--call/<lang>.po
2916+
source_lang = en
2917+
type = PO
2918+
2919+
[python-newest.library--devmode]
2920+
file_filter = translations/python-newest.library--devmode/<lang>.po
2921+
source_lang = en
2922+
type = PO
2923+
2924+
[python-newest.library--dialog]
2925+
file_filter = translations/python-newest.library--dialog/<lang>.po
2926+
source_lang = en
2927+
type = PO
2928+
2929+
[python-newest.library--tkinter_colorchooser]
2930+
file_filter = translations/python-newest.library--tkinter_colorchooser/<lang>.po
2931+
source_lang = en
2932+
type = PO
2933+
2934+
[python-newest.library--tkinter_dnd]
2935+
file_filter = translations/python-newest.library--tkinter_dnd/<lang>.po
2936+
source_lang = en
2937+
type = PO
2938+
2939+
[python-newest.library--tkinter_font]
2940+
file_filter = translations/python-newest.library--tkinter_font/<lang>.po
2941+
source_lang = en
2942+
type = PO
2943+
2944+
[python-newest.library--tkinter_messagebox]
2945+
file_filter = translations/python-newest.library--tkinter_messagebox/<lang>.po
2946+
source_lang = en
2947+
type = PO
2948+
2949+
[python-newest.library--zoneinfo]
2950+
file_filter = translations/python-newest.library--zoneinfo/<lang>.po
2951+
source_lang = en
2952+
type = PO
2953+
2954+
[python-newest.whatsnew--3_9]
2955+
file_filter = translations/python-newest.whatsnew--3_9/<lang>.po
2956+
source_lang = en
2957+
type = PO
2958+

c-api/arg.po

Lines changed: 35 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
2+
# Copyright (C) 2001-2020, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
@@ -10,9 +10,9 @@
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
13-
"Project-Id-Version: Python 3.8\n"
13+
"Project-Id-Version: Python 3.9\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2019-10-31 11:48+0000\n"
15+
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
1616
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
1717
"Last-Translator: Tria Nur Aisyah Amini <aisyahnyawn@gmail.com>, 2019\n"
1818
"Language-Team: Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n"
@@ -198,7 +198,7 @@ msgstr ""
198198
#: ../../c-api/arg.rst:110
199199
msgid ""
200200
"``z#`` (:class:`str`, read-only :term:`bytes-like object` or ``None``) "
201-
"[const char \\*, int]"
201+
"[const char \\*, int or :c:type:`Py_ssize_t`]"
202202
msgstr ""
203203

204204
#: ../../c-api/arg.rst:109
@@ -236,8 +236,10 @@ msgid ""
236236
msgstr ""
237237

238238
#: ../../c-api/arg.rst:129
239-
msgid "``y#`` (read-only :term:`bytes-like object`) [const char \\*, int]"
240-
msgstr "``y#`` (baca-saja :term:`bytes-like object`) [const char \\*, int]"
239+
msgid ""
240+
"``y#`` (read-only :term:`bytes-like object`) [const char \\*, int or "
241+
":c:type:`Py_ssize_t`]"
242+
msgstr ""
241243

242244
#: ../../c-api/arg.rst:128
243245
msgid ""
@@ -291,8 +293,9 @@ msgid ""
291293
msgstr ""
292294

293295
#: ../../c-api/arg.rst:165
294-
msgid "``u#`` (:class:`str`) [const Py_UNICODE \\*, int]"
295-
msgstr "``u#`` (:class:`str`) [const Py_UNICODE \\*, int]"
296+
msgid ""
297+
"``u#`` (:class:`str`) [const Py_UNICODE \\*, int or :c:type:`Py_ssize_t`]"
298+
msgstr ""
296299

297300
#: ../../c-api/arg.rst:159
298301
msgid ""
@@ -312,8 +315,10 @@ msgid ""
312315
msgstr ""
313316

314317
#: ../../c-api/arg.rst:181
315-
msgid "``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, int]"
316-
msgstr "``Z#`` (:class:`str` atau ``None``) [const Py_UNICODE \\*, int]"
318+
msgid ""
319+
"``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, int or "
320+
":c:type:`Py_ssize_t`]"
321+
msgstr ""
317322

318323
#: ../../c-api/arg.rst:176
319324
msgid ""
@@ -391,11 +396,9 @@ msgstr ""
391396

392397
#: ../../c-api/arg.rst:245
393398
msgid ""
394-
"``es#`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer, int "
395-
"\\*buffer_length]"
399+
"``es#`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer, int or "
400+
":c:type:`Py_ssize_t` \\*buffer_length]"
396401
msgstr ""
397-
"``es#`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer, int "
398-
"\\*buffer_length]"
399402

400403
#: ../../c-api/arg.rst:217
401404
msgid ""
@@ -448,7 +451,8 @@ msgstr ""
448451
#: ../../c-api/arg.rst:250
449452
msgid ""
450453
"``et#`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char "
451-
"\\*encoding, char \\*\\*buffer, int \\*buffer_length]"
454+
"\\*encoding, char \\*\\*buffer, int or :c:type:`Py_ssize_t` "
455+
"\\*buffer_length]"
452456
msgstr ""
453457

454458
#: ../../c-api/arg.rst:248
@@ -932,8 +936,10 @@ msgid ""
932936
msgstr ""
933937

934938
#: ../../c-api/arg.rst:555
935-
msgid "``s#`` (:class:`str` or ``None``) [const char \\*, int]"
936-
msgstr "``s#`` (:class:`str` atau ``None``) [const char \\*, int]"
939+
msgid ""
940+
"``s#`` (:class:`str` or ``None``) [const char \\*, int or "
941+
":c:type:`Py_ssize_t`]"
942+
msgstr ""
937943

938944
#: ../../c-api/arg.rst:553
939945
msgid ""
@@ -953,8 +959,8 @@ msgid ""
953959
msgstr ""
954960

955961
#: ../../c-api/arg.rst:563
956-
msgid "``y#`` (:class:`bytes`) [const char \\*, int]"
957-
msgstr "``y#`` (:class:`bytes`) [const char \\*, int]"
962+
msgid "``y#`` (:class:`bytes`) [const char \\*, int or :c:type:`Py_ssize_t`]"
963+
msgstr ""
958964

959965
#: ../../c-api/arg.rst:562
960966
msgid ""
@@ -967,8 +973,10 @@ msgid "Same as ``s``."
967973
msgstr "Sama seperti ``s``."
968974

969975
#: ../../c-api/arg.rst:569
970-
msgid "``z#`` (:class:`str` or ``None``) [const char \\*, int]"
971-
msgstr "``z#`` (:class:`str` atau ``None``) [const char \\*, int]"
976+
msgid ""
977+
"``z#`` (:class:`str` or ``None``) [const char \\*, int or "
978+
":c:type:`Py_ssize_t`]"
979+
msgstr ""
972980

973981
#: ../../c-api/arg.rst:569 ../../c-api/arg.rst:585
974982
msgid "Same as ``s#``."
@@ -986,8 +994,8 @@ msgid ""
986994
msgstr ""
987995

988996
#: ../../c-api/arg.rst:579
989-
msgid "``u#`` (:class:`str`) [const wchar_t \\*, int]"
990-
msgstr "``u#`` (:class:`str`) [const wchar_t \\*, int]"
997+
msgid "``u#`` (:class:`str`) [const wchar_t \\*, int or :c:type:`Py_ssize_t`]"
998+
msgstr ""
991999

9921000
#: ../../c-api/arg.rst:577
9931001
msgid ""
@@ -1001,8 +1009,10 @@ msgid "``U`` (:class:`str` or ``None``) [const char \\*]"
10011009
msgstr "``U`` (:class:`str` atau ``None``) [const char \\*]"
10021010

10031011
#: ../../c-api/arg.rst:585
1004-
msgid "``U#`` (:class:`str` or ``None``) [const char \\*, int]"
1005-
msgstr "``U#`` (:class:`str` or ``None``) [const char \\*, int]"
1012+
msgid ""
1013+
"``U#`` (:class:`str` or ``None``) [const char \\*, int or "
1014+
":c:type:`Py_ssize_t`]"
1015+
msgstr ""
10061016

10071017
#: ../../c-api/arg.rst:588
10081018
msgid "Convert a plain C :c:type:`int` to a Python integer object."

c-api/buffer.po

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
2+
# Copyright (C) 2001-2020, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
@@ -9,9 +9,9 @@
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
12-
"Project-Id-Version: Python 3.8\n"
12+
"Project-Id-Version: Python 3.9\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2019-10-31 11:48+0000\n"
14+
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
1515
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
1616
"Last-Translator: oon arfiandwi <oon.arfiandwi@gmail.com>, 2019\n"
1717
"Language-Team: Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n"
@@ -627,70 +627,70 @@ msgstr ""
627627
#: ../../c-api/buffer.rst:467
628628
msgid ""
629629
"Return the implied :c:data:`~Py_buffer.itemsize` from "
630-
":c:data:`~Py_buffer.format`. This function is not yet implemented."
630+
":c:data:`~Py_buffer.format`. On error, raise an exception and return -1."
631631
msgstr ""
632632

633-
#: ../../c-api/buffer.rst:473
633+
#: ../../c-api/buffer.rst:475
634634
msgid ""
635635
"Return ``1`` if the memory defined by the *view* is C-style (*order* is "
636636
"``'C'``) or Fortran-style (*order* is ``'F'``) :term:`contiguous` or either "
637637
"one (*order* is ``'A'``). Return ``0`` otherwise. This function always "
638638
"succeeds."
639639
msgstr ""
640640

641-
#: ../../c-api/buffer.rst:480
641+
#: ../../c-api/buffer.rst:482
642642
msgid ""
643643
"Get the memory area pointed to by the *indices* inside the given *view*. "
644644
"*indices* must point to an array of ``view->ndim`` indices."
645645
msgstr ""
646646

647-
#: ../../c-api/buffer.rst:486
647+
#: ../../c-api/buffer.rst:488
648648
msgid ""
649649
"Copy contiguous *len* bytes from *buf* to *view*. *fort* can be ``'C'`` or "
650650
"``'F'`` (for C-style or Fortran-style ordering). ``0`` is returned on "
651651
"success, ``-1`` on error."
652652
msgstr ""
653653

654-
#: ../../c-api/buffer.rst:493
654+
#: ../../c-api/buffer.rst:495
655655
msgid ""
656656
"Copy *len* bytes from *src* to its contiguous representation in *buf*. "
657657
"*order* can be ``'C'`` or ``'F'`` or ``'A'`` (for C-style or Fortran-style "
658658
"ordering or either one). ``0`` is returned on success, ``-1`` on error."
659659
msgstr ""
660660

661-
#: ../../c-api/buffer.rst:497
661+
#: ../../c-api/buffer.rst:499
662662
msgid "This function fails if *len* != *src->len*."
663663
msgstr ""
664664

665-
#: ../../c-api/buffer.rst:502
665+
#: ../../c-api/buffer.rst:504
666666
msgid ""
667667
"Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style "
668668
"if *order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the "
669669
"given shape with the given number of bytes per element."
670670
msgstr ""
671671

672-
#: ../../c-api/buffer.rst:509
672+
#: ../../c-api/buffer.rst:511
673673
msgid ""
674674
"Handle buffer requests for an exporter that wants to expose *buf* of size "
675675
"*len* with writability set according to *readonly*. *buf* is interpreted as "
676676
"a sequence of unsigned bytes."
677677
msgstr ""
678678

679-
#: ../../c-api/buffer.rst:513
679+
#: ../../c-api/buffer.rst:515
680680
msgid ""
681681
"The *flags* argument indicates the request type. This function always fills "
682682
"in *view* as specified by flags, unless *buf* has been designated as read-"
683683
"only and :c:macro:`PyBUF_WRITABLE` is set in *flags*."
684684
msgstr ""
685685

686-
#: ../../c-api/buffer.rst:517
686+
#: ../../c-api/buffer.rst:519
687687
msgid ""
688688
"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
689689
"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set "
690690
":c:member:`view->obj` to ``NULL`` and return ``-1``;"
691691
msgstr ""
692692

693-
#: ../../c-api/buffer.rst:521
693+
#: ../../c-api/buffer.rst:523
694694
msgid ""
695695
"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`,"
696696
" *exporter* MUST be set to the exporting object and *flags* must be passed "

c-api/contextvars.po

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2019, Python Software Foundation
2+
# Copyright (C) 2001-2020, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
#, fuzzy
77
msgid ""
88
msgstr ""
9-
"Project-Id-Version: Python 3.8\n"
9+
"Project-Id-Version: Python 3.9\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-10-31 11:48+0000\n"
11+
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
1212
"PO-Revision-Date: 2018-06-29 21:01+0000\n"
1313
"Language-Team: Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n"
1414
"MIME-Version: 1.0\n"
@@ -121,61 +121,55 @@ msgid ""
121121
"error."
122122
msgstr ""
123123

124-
#: ../../c-api/contextvars.rst:106
125-
msgid ""
126-
"Clear the context variable free list. Return the total number of freed "
127-
"items. This function always succeeds."
128-
msgstr ""
129-
130-
#: ../../c-api/contextvars.rst:110
124+
#: ../../c-api/contextvars.rst:105
131125
msgid "Context variable functions:"
132126
msgstr ""
133127

134-
#: ../../c-api/contextvars.rst:114
128+
#: ../../c-api/contextvars.rst:109
135129
msgid ""
136130
"Create a new ``ContextVar`` object. The *name* parameter is used for "
137131
"introspection and debug purposes. The *def* parameter may optionally "
138132
"specify the default value for the context variable. If an error has "
139133
"occurred, this function returns ``NULL``."
140134
msgstr ""
141135

142-
#: ../../c-api/contextvars.rst:121
136+
#: ../../c-api/contextvars.rst:116
143137
msgid ""
144138
"Get the value of a context variable. Returns ``-1`` if an error has "
145139
"occurred during lookup, and ``0`` if no error occurred, whether or not a "
146140
"value was found."
147141
msgstr ""
148142

149-
#: ../../c-api/contextvars.rst:125
143+
#: ../../c-api/contextvars.rst:120
150144
msgid ""
151145
"If the context variable was found, *value* will be a pointer to it. If the "
152146
"context variable was *not* found, *value* will point to:"
153147
msgstr ""
154148

155-
#: ../../c-api/contextvars.rst:128
149+
#: ../../c-api/contextvars.rst:123
156150
msgid "*default_value*, if not ``NULL``;"
157151
msgstr ""
158152

159-
#: ../../c-api/contextvars.rst:129
153+
#: ../../c-api/contextvars.rst:124
160154
msgid "the default value of *var*, if not ``NULL``;"
161155
msgstr ""
162156

163-
#: ../../c-api/contextvars.rst:130
157+
#: ../../c-api/contextvars.rst:125
164158
msgid "``NULL``"
165159
msgstr ""
166160

167-
#: ../../c-api/contextvars.rst:132
161+
#: ../../c-api/contextvars.rst:127
168162
msgid ""
169163
"If the value was found, the function will create a new reference to it."
170164
msgstr ""
171165

172-
#: ../../c-api/contextvars.rst:136
166+
#: ../../c-api/contextvars.rst:131
173167
msgid ""
174168
"Set the value of *var* to *value* in the current context. Returns a pointer"
175169
" to a :c:type:`PyObject` object, or ``NULL`` if an error has occurred."
176170
msgstr ""
177171

178-
#: ../../c-api/contextvars.rst:142
172+
#: ../../c-api/contextvars.rst:137
179173
msgid ""
180174
"Reset the state of the *var* context variable to that it was in before "
181175
":c:func:`PyContextVar_Set` that returned the *token* was called. This "

0 commit comments

Comments
 (0)
0