Skip to content

Commit ca1ee6b

Browse files
committed
Make merge: 3.11
1 parent 6cd68e1 commit ca1ee6b

File tree

501 files changed

+87298
-27853
lines changed

Some content is hidden

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

501 files changed

+87298
-27853
lines changed

Makefile

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
# from which we generated our po files. We use it here so when we
2121
# test build, we're building with the .rst files that generated our
2222
# .po files.
23-
CPYTHON_CURRENT_COMMIT := e699e5c20fc495952905597edfa82de0c1848f8c
23+
CPYTHON_CURRENT_COMMIT := 235f5fd2ca4c6acb4b04efeaaa1ecb46d41d5a6d
2424
LANGUAGE := tr
25-
BRANCH := 3.10
25+
BRANCH := 3.11
2626

2727
EXCLUDED := \
2828
whatsnew/2.?.po \
@@ -98,7 +98,7 @@ all: ensure_prerequisites
9898
-D latex_elements.inputenc= \
9999
-D latex_elements.fontenc=' \
100100
$(MODE)
101-
@echo "Build success, open file://$(abspath venv/cpython/)/Doc/build/html/index.html or run 'make serve' to see them."
101+
@echo "Build success, open file://$(abspath venv/cpython/)/Doc/build/html/index.html or run 'make htmlview' to see them."
102102

103103

104104
# We clone cpython/ inside venv/ because venv/ is the only directory
@@ -117,14 +117,9 @@ ensure_prerequisites: venv/cpython/.git/HEAD
117117
exit 1; \
118118
fi
119119

120-
121-
.PHONY: serve
122-
serve:
123-
ifdef SERVE_PORT
124-
$(MAKE) -C venv/cpython/Doc/ serve SERVE_PORT=$(SERVE_PORT)
125-
else
126-
$(MAKE) -C venv/cpython/Doc/ serve
127-
endif
120+
.PHONY: htmlview
121+
htmlview: MODE=htmlview
122+
htmlview: all
128123

129124
.PHONY: todo
130125
todo: ensure_prerequisites
@@ -142,17 +137,27 @@ DESTS = $(addprefix $(POSPELL_TMP_DIR)/,$(addsuffix .out,$(SRCS)))
142137
.PHONY: spell
143138
spell: ensure_prerequisites $(DESTS)
144139

140+
.PHONY: line-length
141+
line-length:
142+
@echo "Searching for long lines..."
143+
@awk '{if (length(gensub(/శ్రీనివాస్/, ".", "g", $$0)) > 80 && length(gensub(/[^ ]/, "", "g")) > 1) {print FILENAME ":" FNR, "line too long:", $$0; ERRORS+=1}} END {if (ERRORS>0) {exit 1}}' *.po */*.po
144+
145+
.PHONY: sphinx-lint
146+
sphinx-lint:
147+
@echo "Checking all files using sphinx-lint..."
148+
@sphinx-lint --enable all --disable line-too-long *.po */*.po
149+
145150
$(POSPELL_TMP_DIR)/%.po.out: %.po dict
146151
@echo "Pospell checking $<..."
147-
mkdir -p $(@D)
152+
@mkdir -p $(@D)
148153
pospell -p dict -l tr_TR $< && touch $@
149154

150155
.PHONY: fuzzy
151156
fuzzy: ensure_prerequisites
152157
potodo -f --exclude venv .venv $(EXCLUDED)
153158

154159
.PHONY: verifs
155-
verifs: spell
160+
verifs: spell line-length sphinx-lint
156161

157162
.PHONY: clean
158163
clean:

about.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Python Documentation Turkish Translation
22
# Copyright (C) 2001-2022, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.10\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2022-12-05 18:31+0300\n"
9+
"POT-Creation-Date: 2022-12-06 14:29+0300\n"
1010
"PO-Revision-Date: 2021-12-17 21:04+0300\n"
1111
"Last-Translator: \n"
1212
"Language-Team: TURKISH <python.docs.tr@gmail.com>\n"

bugs.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Python Documentation Turkish Translation
22
# Copyright (C) 2001-2022, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.10\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2022-12-05 18:31+0300\n"
9+
"POT-Creation-Date: 2022-12-06 14:29+0300\n"
1010
"PO-Revision-Date: 2021-12-17 22:58+0300\n"
1111
"Last-Translator: \n"
1212
"Language-Team: TURKISH <python.docs.tr@gmail.com>\n"

c-api/abstract.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Python Documentation Turkish Translation
22
# Copyright (C) 2001-2022, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
#, fuzzy
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-12-05 18:31+0300\n"
10+
"POT-Creation-Date: 2022-12-06 14:29+0300\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <python.docs.tr@gmail.com>\n"

c-api/allocation.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Python Documentation Turkish Translation
22
# Copyright (C) 2001-2022, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
#, fuzzy
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-12-05 18:31+0300\n"
10+
"POT-Creation-Date: 2022-12-06 14:29+0300\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <python.docs.tr@gmail.com>\n"

c-api/apiabiversion.po

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Python Documentation Turkish Translation
22
# Copyright (C) 2001-2022, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
#, fuzzy
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-12-05 18:31+0300\n"
10+
"POT-Creation-Date: 2022-12-06 14:29+0300\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <python.docs.tr@gmail.com>\n"
@@ -162,6 +162,17 @@ msgid ""
162162
"``0x030a00f0``."
163163
msgstr ""
164164

165-
#: c-api/apiabiversion.rst:62
165+
#: c-api/apiabiversion.rst:61
166+
msgid "This version is also available via the symbol :data:`Py_Version`."
167+
msgstr ""
168+
169+
#: c-api/apiabiversion.rst:65
170+
msgid ""
171+
"The Python runtime version number encoded in a single constant integer, with "
172+
"the same format as the :c:macro:`PY_VERSION_HEX` macro. This contains the "
173+
"Python version used at run time."
174+
msgstr ""
175+
176+
#: c-api/apiabiversion.rst:71
166177
msgid "All the given macros are defined in :source:`Include/patchlevel.h`."
167178
msgstr ""

c-api/arg.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Python Documentation Turkish Translation
22
# Copyright (C) 2001-2022, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
#, fuzzy
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-12-05 18:31+0300\n"
10+
"POT-Creation-Date: 2022-12-06 14:29+0300\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <python.docs.tr@gmail.com>\n"
@@ -403,8 +403,8 @@ msgstr ""
403403
#: c-api/arg.rst:231
404404
msgid ""
405405
"If *\\*buffer* points a ``NULL`` pointer, the function will allocate a "
406-
"buffer of the needed size, copy the encoded data into this buffer and set *"
407-
"\\*buffer* to reference the newly allocated storage. The caller is "
406+
"buffer of the needed size, copy the encoded data into this buffer and set "
407+
"*\\*buffer* to reference the newly allocated storage. The caller is "
408408
"responsible for calling :c:func:`PyMem_Free` to free the allocated buffer "
409409
"after usage."
410410
msgstr ""

c-api/bool.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Python Documentation Turkish Translation
22
# Copyright (C) 2001-2022, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
#, fuzzy
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-12-05 18:31+0300\n"
10+
"POT-Creation-Date: 2022-12-06 14:29+0300\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <python.docs.tr@gmail.com>\n"

c-api/buffer.po

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Python Documentation Turkish Translation
22
# Copyright (C) 2001-2022, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
#, fuzzy
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-12-05 18:31+0300\n"
10+
"POT-Creation-Date: 2022-12-06 14:29+0300\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <python.docs.tr@gmail.com>\n"
@@ -623,33 +623,43 @@ msgstr ""
623623

624624
#: c-api/buffer.rst:504
625625
msgid ""
626+
"Copy data from *src* to *dest* buffer. Can convert between C-style and or "
627+
"Fortran-style buffers."
628+
msgstr ""
629+
630+
#: c-api/buffer.rst:507
631+
msgid "``0`` is returned on success, ``-1`` on error."
632+
msgstr ""
633+
634+
#: c-api/buffer.rst:511
635+
msgid ""
626636
"Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style "
627637
"if *order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the "
628638
"given shape with the given number of bytes per element."
629639
msgstr ""
630640

631-
#: c-api/buffer.rst:511
641+
#: c-api/buffer.rst:518
632642
msgid ""
633643
"Handle buffer requests for an exporter that wants to expose *buf* of size "
634644
"*len* with writability set according to *readonly*. *buf* is interpreted as "
635645
"a sequence of unsigned bytes."
636646
msgstr ""
637647

638-
#: c-api/buffer.rst:515
648+
#: c-api/buffer.rst:522
639649
msgid ""
640650
"The *flags* argument indicates the request type. This function always fills "
641651
"in *view* as specified by flags, unless *buf* has been designated as read-"
642652
"only and :c:macro:`PyBUF_WRITABLE` is set in *flags*."
643653
msgstr ""
644654

645-
#: c-api/buffer.rst:519
655+
#: c-api/buffer.rst:526
646656
msgid ""
647657
"On success, set ``view->obj`` to a new reference to *exporter* and return 0. "
648658
"Otherwise, raise :c:data:`PyExc_BufferError`, set ``view->obj`` to ``NULL`` "
649659
"and return ``-1``;"
650660
msgstr ""
651661

652-
#: c-api/buffer.rst:523
662+
#: c-api/buffer.rst:530
653663
msgid ""
654664
"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`, "
655665
"*exporter* MUST be set to the exporting object and *flags* must be passed "

c-api/bytearray.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Python Documentation Turkish Translation
22
# Copyright (C) 2001-2022, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
#, fuzzy
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-12-05 18:31+0300\n"
10+
"POT-Creation-Date: 2022-12-06 14:29+0300\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <python.docs.tr@gmail.com>\n"
@@ -91,9 +91,9 @@ msgid "These macros trade safety for speed and they don't check pointers."
9191
msgstr ""
9292

9393
#: c-api/bytearray.rst:80
94-
msgid "Macro version of :c:func:`PyByteArray_AsString`."
94+
msgid "Similar to :c:func:`PyByteArray_AsString`, but without error checking."
9595
msgstr ""
9696

9797
#: c-api/bytearray.rst:85
98-
msgid "Macro version of :c:func:`PyByteArray_Size`."
98+
msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking."
9999
msgstr ""

0 commit comments

Comments
 (0)