Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a0fc2d5

Browse files
authored
Merge branch '3.11' into library-time
2 parents 2c45335 + 9975884 commit a0fc2d5

File tree

503 files changed

+9750
-62276
lines changed

Some content is hidden

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

503 files changed

+9750
-62276
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ venv/
1313
.pospell/
1414
.potodo/
1515
.venv/
16+
_readthedocs/html/

.readthedocs.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
build:
3+
os: "ubuntu-22.04"
4+
tools:
5+
python: "3"
6+
7+
apt_packages:
8+
- make
9+
- gettext
10+
11+
commands:
12+
- git clone https://github.com/python/cpython.git venv/cpython/
13+
- python -m pip install --upgrade pip setuptools wheel
14+
- python -m pip install --upgrade -r requirements.txt -r venv/cpython/Doc/requirements.txt
15+
- make
16+
- mkdir -p _readthedocs/html/
17+
- cp -r venv/cpython/Doc/build/html/* _readthedocs/html/

Makefile

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
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 := 4c810f92baed7562e7f2da0c70e2edac2e89bf75
23+
24+
CPYTHON_CURRENT_COMMIT := 7cbcfbe2fffebfc57c9b50ae937bfbb896401fba
2425
LANGUAGE := tr
2526
BRANCH := 3.11
2627

@@ -65,7 +66,8 @@ PYTHON := $(shell which python3)
6566
MODE := html
6667
POSPELL_TMP_DIR := .pospell/
6768
JOBS := auto
68-
SERVE_PORT :=
69+
ADDITIONAL_ARGS := --keep-going --color
70+
SPHINXERRORHANDLING = -W
6971

7072
# Detect OS
7173

@@ -90,13 +92,15 @@ all: ensure_prerequisites
9092
mkdir -p locales/$(LANGUAGE)/LC_MESSAGES/
9193
$(CP_CMD) -u --parents *.po */*.po locales/$(LANGUAGE)/LC_MESSAGES/
9294
$(MAKE) -C venv/cpython/Doc/ \
93-
SPHINXOPTS='-j$(JOBS) \
94-
-D locale_dirs=$(abspath locales) \
95+
JOBS='$(JOBS)' \
96+
SPHINXOPTS='-D locale_dirs=$(abspath locales) \
9597
-D language=$(LANGUAGE) \
9698
-D gettext_compact=0 \
9799
-D latex_engine=xelatex \
98100
-D latex_elements.inputenc= \
99-
-D latex_elements.fontenc=' \
101+
-D latex_elements.fontenc= \
102+
$(ADDITIONAL_ARGS)' \
103+
SPHINXERRORHANDLING=$(SPHINXERRORHANDLING) \
100104
$(MODE)
101105
@echo "Build success, open file://$(abspath venv/cpython/)/Doc/build/html/index.html or run 'make htmlview' to see them."
102106

@@ -162,7 +166,7 @@ verifs: spell line-length sphinx-lint
162166
.PHONY: clean
163167
clean:
164168
@echo "Cleaning *.mo and $(POSPELL_TMP_DIR)"
165-
rm -rf $(POSPELL_TMP_DIR)
169+
rm -rf $(POSPELL_TMP_DIR) locales/$(LANGUAGE)/LC_MESSAGES/
166170
find -name '*.mo' -delete
167171
@echo "Cleaning build directory"
168172
$(MAKE) -C venv/cpython/Doc/ clean

TRANSLATORS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ Eylül Ateş
88
Ceren Vuranok
99
Sami Koçak
1010
Ali Ege Özcan
11+
Kerem Sevgin
12+
Yener Ulusoy
13+
Deniz Karan
14+
Ahmet Burak
15+
Mert Şişmanoğlu

about.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2022, Python Software Foundation
2+
# Copyright (C) 2001-2023, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
msgid ""

bugs.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2022, Python Software Foundation
2+
# Copyright (C) 2001-2023, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
msgid ""

c-api/abstract.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2022, Python Software Foundation
2+
# Copyright (C) 2001-2023, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/allocation.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2022, Python Software Foundation
2+
# Copyright (C) 2001-2023, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/apiabiversion.po

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2022, Python Software Foundation
2+
# Copyright (C) 2001-2023, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.11\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-12-17 01:28+0300\n"
10+
"POT-Creation-Date: 2023-02-01 22:19+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: \n"
1313
"Language-Team: TURKISH <[email protected]>\n"
@@ -163,16 +163,20 @@ msgid ""
163163
msgstr ""
164164

165165
#: c-api/apiabiversion.rst:61
166+
msgid "Use this for numeric comparisons, e.g. ``#if PY_VERSION_HEX >= ...``."
167+
msgstr ""
168+
169+
#: c-api/apiabiversion.rst:63
166170
msgid "This version is also available via the symbol :data:`Py_Version`."
167171
msgstr ""
168172

169-
#: c-api/apiabiversion.rst:65
173+
#: c-api/apiabiversion.rst:67
170174
msgid ""
171175
"The Python runtime version number encoded in a single constant integer, with "
172176
"the same format as the :c:macro:`PY_VERSION_HEX` macro. This contains the "
173177
"Python version used at run time."
174178
msgstr ""
175179

176-
#: c-api/apiabiversion.rst:71
180+
#: c-api/apiabiversion.rst:73
177181
msgid "All the given macros are defined in :source:`Include/patchlevel.h`."
178182
msgstr ""

0 commit comments

Comments
 (0)