From d3604cf3bf1ac56d1b1a20c5dd91cbac94a3c923 Mon Sep 17 00:00:00 2001 From: python-docs-turkish Date: Sat, 4 Feb 2023 22:39:15 +0000 Subject: [PATCH 1/2] Get changes from CPython Doc for 3.10 --- Makefile | 2 +- c-api/arg.po | 436 +++++----- c-api/file.po | 4 +- c-api/init.po | 8 +- c-api/long.po | 77 +- c-api/structures.po | 247 +++--- c-api/sys.po | 4 +- c-api/typeobj.po | 744 ++++++++-------- copyright.po | 4 +- faq/general.po | 6 +- faq/programming.po | 738 ++++++++-------- howto/annotations.po | 78 +- howto/clinic.po | 4 +- howto/curses.po | 4 +- howto/ipaddress.po | 4 +- howto/logging-cookbook.po | 300 ++++--- howto/pyporting.po | 4 +- howto/regex.po | 4 +- howto/sockets.po | 4 +- library/argparse.po | 16 +- library/array.po | 102 +-- library/asyncio-eventloop.po | 741 ++++++++-------- library/asyncio-llapi-index.po | 4 +- library/asyncio-policy.po | 90 +- library/asyncio-stream.po | 57 +- library/asyncio.po | 18 +- library/codecs.po | 4 +- library/compileall.po | 4 +- library/contextvars.po | 38 +- library/ctypes.po | 26 +- library/curses.po | 4 +- library/dataclasses.po | 218 ++--- library/datetime.po | 8 +- library/email.mime.po | 12 +- library/ensurepip.po | 4 +- library/faulthandler.po | 75 +- library/fcntl.po | 10 +- library/ftplib.po | 6 +- library/functions.po | 543 ++++++------ library/gc.po | 8 +- library/glob.po | 6 +- library/hashlib.po | 4 +- library/http.client.po | 6 +- library/http.server.po | 15 +- library/imaplib.po | 6 +- library/io.po | 4 +- library/locale.po | 42 +- library/logging.config.po | 113 ++- library/logging.po | 10 +- library/marshal.po | 8 +- library/mmap.po | 4 +- library/msvcrt.po | 8 +- library/nntplib.po | 6 +- library/optparse.po | 6 +- library/os.path.po | 91 +- library/os.po | 961 ++++++++++----------- library/pathlib.po | 398 ++++----- library/pdb.po | 204 +++-- library/pickle.po | 4 +- library/poplib.po | 6 +- library/pty.po | 4 +- library/pydoc.po | 28 +- library/re.po | 368 ++++---- library/resource.po | 6 +- library/sched.po | 34 +- library/shutil.po | 20 +- library/signal.po | 4 +- library/smtplib.po | 6 +- library/socket.po | 30 +- library/sqlite3.po | 507 +++++------ library/ssl.po | 20 +- library/stdtypes.po | 1472 ++++++++++++++++---------------- library/subprocess.po | 4 +- library/sys.po | 30 +- library/syslog.po | 10 +- library/telnetlib.po | 6 +- library/tempfile.po | 6 +- library/traceback.po | 156 ++-- library/types.po | 6 +- library/unittest.po | 6 +- library/urllib.request.po | 4 +- library/weakref.po | 116 +-- library/webbrowser.po | 4 +- library/winreg.po | 38 +- library/zipfile.po | 303 +++---- reference/compound_stmts.po | 560 ++++++------ reference/datamodel.po | 70 +- reference/executionmodel.po | 47 +- reference/expressions.po | 537 ++++++------ tutorial/classes.po | 45 +- tutorial/introduction.po | 111 +-- tutorial/venv.po | 7 +- using/cmdline.po | 12 +- using/windows.po | 4 +- whatsnew/3.10.po | 332 ++++--- whatsnew/3.9.po | 742 ++++++++-------- 96 files changed, 6244 insertions(+), 5973 deletions(-) diff --git a/Makefile b/Makefile index 0c7dd914c..365a31bc1 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ # test build, we're building with the .rst files that generated our # .po files. -CPYTHON_CURRENT_COMMIT := e699e5c20fc495952905597edfa82de0c1848f8c +CPYTHON_CURRENT_COMMIT := b134978467409eb1a7ed0d5ca4a656fab1927919 LANGUAGE := tr BRANCH := 3.10 diff --git a/c-api/arg.po b/c-api/arg.po index 6fb4976a2..c317fa1ee 100644 --- a/c-api/arg.po +++ b/c-api/arg.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -63,36 +63,55 @@ msgid "" msgstr "" #: c-api/arg.rst:37 +msgid "Unless otherwise stated, buffers are not NUL-terminated." +msgstr "" + +#: c-api/arg.rst:39 +msgid "There are three ways strings and buffers can be converted to C:" +msgstr "" + +#: c-api/arg.rst:41 msgid "" -"In general, when a format sets a pointer to a buffer, the buffer is managed " -"by the corresponding Python object, and the buffer shares the lifetime of " -"this object. You won't have to release any memory yourself. The only " -"exceptions are ``es``, ``es#``, ``et`` and ``et#``." +"Formats such as ``y*`` and ``s*`` fill a :c:type:`Py_buffer` structure. This " +"locks the underlying buffer so that the caller can subsequently use the " +"buffer even inside a :c:type:`Py_BEGIN_ALLOW_THREADS` block without the risk " +"of mutable data being resized or destroyed. As a result, **you have to " +"call** :c:func:`PyBuffer_Release` after you have finished processing the " +"data (or in any early abort case)." msgstr "" -#: c-api/arg.rst:42 +#: c-api/arg.rst:48 msgid "" -"However, when a :c:type:`Py_buffer` structure gets filled, the underlying " -"buffer is locked so that the caller can subsequently use the buffer even " -"inside a :c:type:`Py_BEGIN_ALLOW_THREADS` block without the risk of mutable " -"data being resized or destroyed. As a result, **you have to call** :c:func:" -"`PyBuffer_Release` after you have finished processing the data (or in any " -"early abort case)." +"The ``es``, ``es#``, ``et`` and ``et#`` formats allocate the result buffer. " +"**You have to call** :c:func:`PyMem_Free` after you have finished processing " +"the data (or in any early abort case)." msgstr "" -#: c-api/arg.rst:49 -msgid "Unless otherwise stated, buffers are not NUL-terminated." +#: c-api/arg.rst:54 +msgid "" +"Other formats take a :class:`str` or a read-only :term:`bytes-like object`, " +"such as :class:`bytes`, and provide a ``const char *`` pointer to its " +"buffer. In this case the buffer is \"borrowed\": it is managed by the " +"corresponding Python object, and shares the lifetime of this object. You " +"won't have to release any memory yourself." +msgstr "" + +#: c-api/arg.rst:61 +msgid "" +"To ensure that the underlying buffer may be safely borrowed, the object's :c:" +"member:`PyBufferProcs.bf_releasebuffer` field must be ``NULL``. This " +"disallows common mutable objects such as :class:`bytearray`, but also some " +"read-only objects such as :class:`memoryview` of :class:`bytes`." msgstr "" -#: c-api/arg.rst:51 +#: c-api/arg.rst:67 msgid "" -"Some formats require a read-only :term:`bytes-like object`, and set a " -"pointer instead of a buffer structure. They work by checking that the " -"object's :c:member:`PyBufferProcs.bf_releasebuffer` field is ``NULL``, which " -"disallows mutable objects such as :class:`bytearray`." +"Besides this ``bf_releasebuffer`` requirement, there is no check to verify " +"whether the input object is immutable (e.g. whether it would honor a request " +"for a writable buffer, or whether another thread can mutate the data)." msgstr "" -#: c-api/arg.rst:58 +#: c-api/arg.rst:73 msgid "" "For all ``#`` variants of formats (``s#``, ``y#``, etc.), the macro :c:macro:" "`PY_SSIZE_T_CLEAN` must be defined before including :file:`Python.h`. On " @@ -101,11 +120,11 @@ msgid "" "otherwise." msgstr "" -#: c-api/arg.rst:83 +#: c-api/arg.rst:98 msgid "``s`` (:class:`str`) [const char \\*]" msgstr "" -#: c-api/arg.rst:66 +#: c-api/arg.rst:81 msgid "" "Convert a Unicode object to a C pointer to a character string. A pointer to " "an existing string is stored in the character pointer variable whose address " @@ -115,7 +134,7 @@ msgid "" "encoding. If this conversion fails, a :exc:`UnicodeError` is raised." msgstr "" -#: c-api/arg.rst:75 +#: c-api/arg.rst:90 msgid "" "This format does not accept :term:`bytes-like objects `. " "If you want to accept filesystem paths and convert them to C character " @@ -123,17 +142,17 @@ msgid "" "`PyUnicode_FSConverter` as *converter*." msgstr "" -#: c-api/arg.rst:148 +#: c-api/arg.rst:164 msgid "" "Previously, :exc:`TypeError` was raised when embedded null code points were " "encountered in the Python string." msgstr "" -#: c-api/arg.rst:89 +#: c-api/arg.rst:104 msgid "``s*`` (:class:`str` or :term:`bytes-like object`) [Py_buffer]" msgstr "" -#: c-api/arg.rst:86 +#: c-api/arg.rst:101 msgid "" "This format accepts Unicode objects as well as bytes-like objects. It fills " "a :c:type:`Py_buffer` structure provided by the caller. In this case the " @@ -141,109 +160,110 @@ msgid "" "converted to C strings using ``'utf-8'`` encoding." msgstr "" -#: c-api/arg.rst:96 +#: c-api/arg.rst:111 msgid "" "``s#`` (:class:`str`, read-only :term:`bytes-like object`) [const char \\*, :" "c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:92 +#: c-api/arg.rst:107 msgid "" -"Like ``s*``, except that it doesn't accept mutable objects. The result is " -"stored into two C variables, the first one a pointer to a C string, the " -"second one its length. The string may contain embedded null bytes. Unicode " -"objects are converted to C strings using ``'utf-8'`` encoding." +"Like ``s*``, except that it provides a :ref:`borrowed buffer `. The result is stored into two C variables, the first one a pointer " +"to a C string, the second one its length. The string may contain embedded " +"null bytes. Unicode objects are converted to C strings using ``'utf-8'`` " +"encoding." msgstr "" -#: c-api/arg.rst:565 +#: c-api/arg.rst:581 msgid "``z`` (:class:`str` or ``None``) [const char \\*]" msgstr "" -#: c-api/arg.rst:99 +#: c-api/arg.rst:114 msgid "" "Like ``s``, but the Python object may also be ``None``, in which case the C " "pointer is set to ``NULL``." msgstr "" -#: c-api/arg.rst:104 +#: c-api/arg.rst:119 msgid "" "``z*`` (:class:`str`, :term:`bytes-like object` or ``None``) [Py_buffer]" msgstr "" -#: c-api/arg.rst:103 +#: c-api/arg.rst:118 msgid "" "Like ``s*``, but the Python object may also be ``None``, in which case the " "``buf`` member of the :c:type:`Py_buffer` structure is set to ``NULL``." msgstr "" -#: c-api/arg.rst:108 +#: c-api/arg.rst:123 msgid "" "``z#`` (:class:`str`, read-only :term:`bytes-like object` or ``None``) " "[const char \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:107 +#: c-api/arg.rst:122 msgid "" "Like ``s#``, but the Python object may also be ``None``, in which case the C " "pointer is set to ``NULL``." msgstr "" -#: c-api/arg.rst:118 +#: c-api/arg.rst:134 msgid "``y`` (read-only :term:`bytes-like object`) [const char \\*]" msgstr "" -#: c-api/arg.rst:111 +#: c-api/arg.rst:126 msgid "" -"This format converts a bytes-like object to a C pointer to a character " -"string; it does not accept Unicode objects. The bytes buffer must not " -"contain embedded null bytes; if it does, a :exc:`ValueError` exception is " -"raised." +"This format converts a bytes-like object to a C pointer to a :ref:`borrowed " +"` character string; it does not accept Unicode " +"objects. The bytes buffer must not contain embedded null bytes; if it does, " +"a :exc:`ValueError` exception is raised." msgstr "" -#: c-api/arg.rst:116 +#: c-api/arg.rst:132 msgid "" "Previously, :exc:`TypeError` was raised when embedded null bytes were " "encountered in the bytes buffer." msgstr "" -#: c-api/arg.rst:123 +#: c-api/arg.rst:139 msgid "``y*`` (:term:`bytes-like object`) [Py_buffer]" msgstr "" -#: c-api/arg.rst:121 +#: c-api/arg.rst:137 msgid "" "This variant on ``s*`` doesn't accept Unicode objects, only bytes-like " "objects. **This is the recommended way to accept binary data.**" msgstr "" -#: c-api/arg.rst:127 +#: c-api/arg.rst:143 msgid "" "``y#`` (read-only :term:`bytes-like object`) [const char \\*, :c:type:" "`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:126 +#: c-api/arg.rst:142 msgid "" "This variant on ``s#`` doesn't accept Unicode objects, only bytes-like " "objects." msgstr "" -#: c-api/arg.rst:132 +#: c-api/arg.rst:148 msgid "``S`` (:class:`bytes`) [PyBytesObject \\*]" msgstr "" -#: c-api/arg.rst:130 +#: c-api/arg.rst:146 msgid "" "Requires that the Python object is a :class:`bytes` object, without " "attempting any conversion. Raises :exc:`TypeError` if the object is not a " "bytes object. The C variable may also be declared as :c:expr:`PyObject*`." msgstr "" -#: c-api/arg.rst:137 +#: c-api/arg.rst:153 msgid "``Y`` (:class:`bytearray`) [PyByteArrayObject \\*]" msgstr "" -#: c-api/arg.rst:135 +#: c-api/arg.rst:151 msgid "" "Requires that the Python object is a :class:`bytearray` object, without " "attempting any conversion. Raises :exc:`TypeError` if the object is not a :" @@ -251,11 +271,11 @@ msgid "" "`PyObject*`." msgstr "" -#: c-api/arg.rst:154 +#: c-api/arg.rst:170 msgid "``u`` (:class:`str`) [const Py_UNICODE \\*]" msgstr "" -#: c-api/arg.rst:140 +#: c-api/arg.rst:156 msgid "" "Convert a Python Unicode object to a C pointer to a NUL-terminated buffer of " "Unicode characters. You must pass the address of a :c:type:`Py_UNICODE` " @@ -266,61 +286,61 @@ msgid "" "`ValueError` exception is raised." msgstr "" -#: c-api/arg.rst:172 c-api/arg.rst:180 +#: c-api/arg.rst:188 c-api/arg.rst:196 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsWideCharString`." msgstr "" -#: c-api/arg.rst:163 +#: c-api/arg.rst:179 msgid "``u#`` (:class:`str`) [const Py_UNICODE \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:157 +#: c-api/arg.rst:173 msgid "" "This variant on ``u`` stores into two C variables, the first one a pointer " "to a Unicode data buffer, the second one its length. This variant allows " "null code points." msgstr "" -#: c-api/arg.rst:171 +#: c-api/arg.rst:187 msgid "``Z`` (:class:`str` or ``None``) [const Py_UNICODE \\*]" msgstr "" -#: c-api/arg.rst:166 +#: c-api/arg.rst:182 msgid "" "Like ``u``, but the Python object may also be ``None``, in which case the :c:" "type:`Py_UNICODE` pointer is set to ``NULL``." msgstr "" -#: c-api/arg.rst:179 +#: c-api/arg.rst:195 msgid "" "``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, :c:type:" "`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:174 +#: c-api/arg.rst:190 msgid "" "Like ``u#``, but the Python object may also be ``None``, in which case the :" "c:type:`Py_UNICODE` pointer is set to ``NULL``." msgstr "" -#: c-api/arg.rst:184 +#: c-api/arg.rst:200 msgid "``U`` (:class:`str`) [PyObject \\*]" msgstr "" -#: c-api/arg.rst:182 +#: c-api/arg.rst:198 msgid "" "Requires that the Python object is a Unicode object, without attempting any " "conversion. Raises :exc:`TypeError` if the object is not a Unicode object. " "The C variable may also be declared as :c:expr:`PyObject*`." msgstr "" -#: c-api/arg.rst:190 +#: c-api/arg.rst:206 msgid "``w*`` (read-write :term:`bytes-like object`) [Py_buffer]" msgstr "" -#: c-api/arg.rst:187 +#: c-api/arg.rst:203 msgid "" "This format accepts any object which implements the read-write buffer " "interface. It fills a :c:type:`Py_buffer` structure provided by the caller. " @@ -328,17 +348,17 @@ msgid "" "`PyBuffer_Release` when it is done with the buffer." msgstr "" -#: c-api/arg.rst:207 +#: c-api/arg.rst:223 msgid "``es`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer]" msgstr "" -#: c-api/arg.rst:193 +#: c-api/arg.rst:209 msgid "" "This variant on ``s`` is used for encoding Unicode into a character buffer. " "It only works for encoded data without embedded NUL bytes." msgstr "" -#: c-api/arg.rst:196 +#: c-api/arg.rst:212 msgid "" "This format requires two arguments. The first is only used as input, and " "must be a :c:expr:`const char*` which points to the name of an encoding as a " @@ -349,7 +369,7 @@ msgid "" "The text will be encoded in the encoding specified by the first argument." msgstr "" -#: c-api/arg.rst:204 +#: c-api/arg.rst:220 msgid "" ":c:func:`PyArg_ParseTuple` will allocate a buffer of the needed size, copy " "the encoded data into this buffer and adjust *\\*buffer* to reference the " @@ -357,33 +377,33 @@ msgid "" "`PyMem_Free` to free the allocated buffer after use." msgstr "" -#: c-api/arg.rst:212 +#: c-api/arg.rst:228 msgid "" "``et`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char " "\\*encoding, char \\*\\*buffer]" msgstr "" -#: c-api/arg.rst:210 +#: c-api/arg.rst:226 msgid "" "Same as ``es`` except that byte string objects are passed through without " "recoding them. Instead, the implementation assumes that the byte string " "object uses the encoding passed in as parameter." msgstr "" -#: c-api/arg.rst:243 +#: c-api/arg.rst:259 msgid "" "``es#`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer, :c:type:" "`Py_ssize_t` \\*buffer_length]" msgstr "" -#: c-api/arg.rst:215 +#: c-api/arg.rst:231 msgid "" "This variant on ``s#`` is used for encoding Unicode into a character buffer. " "Unlike the ``es`` format, this variant allows input data which contains NUL " "characters." msgstr "" -#: c-api/arg.rst:219 +#: c-api/arg.rst:235 msgid "" "It requires three arguments. The first is only used as input, and must be " "a :c:expr:`const char*` which points to the name of an encoding as a NUL-" @@ -396,11 +416,11 @@ msgid "" "will be set to the number of bytes in the output buffer." msgstr "" -#: c-api/arg.rst:229 +#: c-api/arg.rst:245 msgid "There are two modes of operation:" msgstr "" -#: c-api/arg.rst:231 +#: c-api/arg.rst:247 msgid "" "If *\\*buffer* points a ``NULL`` pointer, the function will allocate a " "buffer of the needed size, copy the encoded data into this buffer and set " @@ -409,7 +429,7 @@ msgid "" "after usage." msgstr "" -#: c-api/arg.rst:236 +#: c-api/arg.rst:252 msgid "" "If *\\*buffer* points to a non-``NULL`` pointer (an already allocated " "buffer), :c:func:`PyArg_ParseTuple` will use this location as the buffer and " @@ -418,197 +438,197 @@ msgid "" "the buffer is not large enough, a :exc:`ValueError` will be set." msgstr "" -#: c-api/arg.rst:242 +#: c-api/arg.rst:258 msgid "" "In both cases, *\\*buffer_length* is set to the length of the encoded data " "without the trailing NUL byte." msgstr "" -#: c-api/arg.rst:248 +#: c-api/arg.rst:264 msgid "" "``et#`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char " "\\*encoding, char \\*\\*buffer, :c:type:`Py_ssize_t` \\*buffer_length]" msgstr "" -#: c-api/arg.rst:246 +#: c-api/arg.rst:262 msgid "" "Same as ``es#`` except that byte string objects are passed through without " "recoding them. Instead, the implementation assumes that the byte string " "object uses the encoding passed in as parameter." msgstr "" -#: c-api/arg.rst:251 +#: c-api/arg.rst:267 msgid "Numbers" msgstr "" -#: c-api/arg.rst:255 +#: c-api/arg.rst:271 msgid "``b`` (:class:`int`) [unsigned char]" msgstr "" -#: c-api/arg.rst:254 +#: c-api/arg.rst:270 msgid "" "Convert a nonnegative Python integer to an unsigned tiny int, stored in a C :" "c:expr:`unsigned char`." msgstr "" -#: c-api/arg.rst:599 +#: c-api/arg.rst:615 msgid "``B`` (:class:`int`) [unsigned char]" msgstr "" -#: c-api/arg.rst:258 +#: c-api/arg.rst:274 msgid "" "Convert a Python integer to a tiny int without overflow checking, stored in " "a C :c:expr:`unsigned char`." msgstr "" -#: c-api/arg.rst:593 +#: c-api/arg.rst:609 msgid "``h`` (:class:`int`) [short int]" msgstr "" -#: c-api/arg.rst:262 +#: c-api/arg.rst:278 msgid "Convert a Python integer to a C :c:expr:`short int`." msgstr "" -#: c-api/arg.rst:602 +#: c-api/arg.rst:618 msgid "``H`` (:class:`int`) [unsigned short int]" msgstr "" -#: c-api/arg.rst:265 +#: c-api/arg.rst:281 msgid "" "Convert a Python integer to a C :c:expr:`unsigned short int`, without " "overflow checking." msgstr "" -#: c-api/arg.rst:587 +#: c-api/arg.rst:603 msgid "``i`` (:class:`int`) [int]" msgstr "" -#: c-api/arg.rst:269 +#: c-api/arg.rst:285 msgid "Convert a Python integer to a plain C :c:expr:`int`." msgstr "" -#: c-api/arg.rst:605 +#: c-api/arg.rst:621 msgid "``I`` (:class:`int`) [unsigned int]" msgstr "" -#: c-api/arg.rst:272 +#: c-api/arg.rst:288 msgid "" "Convert a Python integer to a C :c:expr:`unsigned int`, without overflow " "checking." msgstr "" -#: c-api/arg.rst:596 +#: c-api/arg.rst:612 msgid "``l`` (:class:`int`) [long int]" msgstr "" -#: c-api/arg.rst:276 +#: c-api/arg.rst:292 msgid "Convert a Python integer to a C :c:expr:`long int`." msgstr "" -#: c-api/arg.rst:608 +#: c-api/arg.rst:624 msgid "``k`` (:class:`int`) [unsigned long]" msgstr "" -#: c-api/arg.rst:279 +#: c-api/arg.rst:295 msgid "" "Convert a Python integer to a C :c:expr:`unsigned long` without overflow " "checking." msgstr "" -#: c-api/arg.rst:611 +#: c-api/arg.rst:627 msgid "``L`` (:class:`int`) [long long]" msgstr "" -#: c-api/arg.rst:283 +#: c-api/arg.rst:299 msgid "Convert a Python integer to a C :c:expr:`long long`." msgstr "" -#: c-api/arg.rst:614 +#: c-api/arg.rst:630 msgid "``K`` (:class:`int`) [unsigned long long]" msgstr "" -#: c-api/arg.rst:286 +#: c-api/arg.rst:302 msgid "" "Convert a Python integer to a C :c:expr:`unsigned long long` without " "overflow checking." msgstr "" -#: c-api/arg.rst:617 +#: c-api/arg.rst:633 msgid "``n`` (:class:`int`) [:c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:290 +#: c-api/arg.rst:306 msgid "Convert a Python integer to a C :c:type:`Py_ssize_t`." msgstr "" -#: c-api/arg.rst:297 +#: c-api/arg.rst:313 msgid "``c`` (:class:`bytes` or :class:`bytearray` of length 1) [char]" msgstr "" -#: c-api/arg.rst:293 +#: c-api/arg.rst:309 msgid "" "Convert a Python byte, represented as a :class:`bytes` or :class:`bytearray` " "object of length 1, to a C :c:expr:`char`." msgstr "" -#: c-api/arg.rst:296 +#: c-api/arg.rst:312 msgid "Allow :class:`bytearray` objects." msgstr "" -#: c-api/arg.rst:625 +#: c-api/arg.rst:641 msgid "``C`` (:class:`str` of length 1) [int]" msgstr "" -#: c-api/arg.rst:300 +#: c-api/arg.rst:316 msgid "" "Convert a Python character, represented as a :class:`str` object of length " "1, to a C :c:expr:`int`." msgstr "" -#: c-api/arg.rst:631 +#: c-api/arg.rst:647 msgid "``f`` (:class:`float`) [float]" msgstr "" -#: c-api/arg.rst:304 +#: c-api/arg.rst:320 msgid "Convert a Python floating point number to a C :c:expr:`float`." msgstr "" -#: c-api/arg.rst:628 +#: c-api/arg.rst:644 msgid "``d`` (:class:`float`) [double]" msgstr "" -#: c-api/arg.rst:307 +#: c-api/arg.rst:323 msgid "Convert a Python floating point number to a C :c:expr:`double`." msgstr "" -#: c-api/arg.rst:310 +#: c-api/arg.rst:326 msgid "``D`` (:class:`complex`) [Py_complex]" msgstr "" -#: c-api/arg.rst:310 +#: c-api/arg.rst:326 msgid "Convert a Python complex number to a C :c:type:`Py_complex` structure." msgstr "" -#: c-api/arg.rst:313 +#: c-api/arg.rst:329 msgid "Other objects" msgstr "" -#: c-api/arg.rst:642 +#: c-api/arg.rst:658 msgid "``O`` (object) [PyObject \\*]" msgstr "" -#: c-api/arg.rst:316 +#: c-api/arg.rst:332 msgid "" "Store a Python object (without any conversion) in a C object pointer. The C " "program thus receives the actual object that was passed. The object's " "reference count is not increased. The pointer stored is not ``NULL``." msgstr "" -#: c-api/arg.rst:325 +#: c-api/arg.rst:341 msgid "``O!`` (object) [*typeobject*, PyObject \\*]" msgstr "" -#: c-api/arg.rst:321 +#: c-api/arg.rst:337 msgid "" "Store a Python object in a C object pointer. This is similar to ``O``, but " "takes two C arguments: the first is the address of a Python type object, the " @@ -617,11 +637,11 @@ msgid "" "required type, :exc:`TypeError` is raised." msgstr "" -#: c-api/arg.rst:656 +#: c-api/arg.rst:672 msgid "``O&`` (object) [*converter*, *anything*]" msgstr "" -#: c-api/arg.rst:330 +#: c-api/arg.rst:346 msgid "" "Convert a Python object to a C variable through a *converter* function. " "This takes two arguments: the first is a function, the second is the address " @@ -629,7 +649,7 @@ msgid "" "*converter* function in turn is called as follows::" msgstr "" -#: c-api/arg.rst:337 +#: c-api/arg.rst:353 msgid "" "where *object* is the Python object to be converted and *address* is the :c:" "expr:`void*` argument that was passed to the ``PyArg_Parse*`` function. The " @@ -639,7 +659,7 @@ msgid "" "unmodified." msgstr "" -#: c-api/arg.rst:343 +#: c-api/arg.rst:359 msgid "" "If the *converter* returns ``Py_CLEANUP_SUPPORTED``, it may get called a " "second time if the argument parsing eventually fails, giving the converter a " @@ -648,15 +668,15 @@ msgid "" "value as in the original call." msgstr "" -#: c-api/arg.rst:349 +#: c-api/arg.rst:365 msgid "``Py_CLEANUP_SUPPORTED`` was added." msgstr "" -#: c-api/arg.rst:359 +#: c-api/arg.rst:375 msgid "``p`` (:class:`bool`) [int]" msgstr "" -#: c-api/arg.rst:353 +#: c-api/arg.rst:369 msgid "" "Tests the value passed in for truth (a boolean **p**\\ redicate) and " "converts the result to its equivalent C true/false integer value. Sets the " @@ -665,18 +685,18 @@ msgid "" "how Python tests values for truth." msgstr "" -#: c-api/arg.rst:659 +#: c-api/arg.rst:675 msgid "``(items)`` (:class:`tuple`) [*matching-items*]" msgstr "" -#: c-api/arg.rst:362 +#: c-api/arg.rst:378 msgid "" "The object must be a Python sequence whose length is the number of format " "units in *items*. The C arguments must correspond to the individual format " "units in *items*. Format units for sequences may be nested." msgstr "" -#: c-api/arg.rst:366 +#: c-api/arg.rst:382 msgid "" "It is possible to pass \"long\" integers (integers whose value exceeds the " "platform's :const:`LONG_MAX`) however no proper range checking is done --- " @@ -685,17 +705,17 @@ msgid "" "downcasts in C --- your mileage may vary)." msgstr "" -#: c-api/arg.rst:372 +#: c-api/arg.rst:388 msgid "" "A few other characters have a meaning in a format string. These may not " "occur inside nested parentheses. They are:" msgstr "" -#: c-api/arg.rst:380 +#: c-api/arg.rst:396 msgid "``|``" msgstr "" -#: c-api/arg.rst:376 +#: c-api/arg.rst:392 msgid "" "Indicates that the remaining arguments in the Python argument list are " "optional. The C variables corresponding to optional arguments should be " @@ -704,11 +724,11 @@ msgid "" "corresponding C variable(s)." msgstr "" -#: c-api/arg.rst:389 +#: c-api/arg.rst:405 msgid "``$``" msgstr "" -#: c-api/arg.rst:383 +#: c-api/arg.rst:399 msgid "" ":c:func:`PyArg_ParseTupleAndKeywords` only: Indicates that the remaining " "arguments in the Python argument list are keyword-only. Currently, all " @@ -716,35 +736,35 @@ msgid "" "be specified before ``$`` in the format string." msgstr "" -#: c-api/arg.rst:394 +#: c-api/arg.rst:410 msgid "``:``" msgstr "" -#: c-api/arg.rst:392 +#: c-api/arg.rst:408 msgid "" "The list of format units ends here; the string after the colon is used as " "the function name in error messages (the \"associated value\" of the " "exception that :c:func:`PyArg_ParseTuple` raises)." msgstr "" -#: c-api/arg.rst:399 +#: c-api/arg.rst:415 msgid "``;``" msgstr "" -#: c-api/arg.rst:397 +#: c-api/arg.rst:413 msgid "" "The list of format units ends here; the string after the semicolon is used " "as the error message *instead* of the default error message. ``:`` and ``;" "`` mutually exclude each other." msgstr "" -#: c-api/arg.rst:401 +#: c-api/arg.rst:417 msgid "" "Note that any Python object references which are provided to the caller are " "*borrowed* references; do not decrement their reference count!" msgstr "" -#: c-api/arg.rst:404 +#: c-api/arg.rst:420 msgid "" "Additional arguments passed to these functions must be addresses of " "variables whose type is determined by the format string; these are used to " @@ -754,7 +774,7 @@ msgid "" "unit in that case." msgstr "" -#: c-api/arg.rst:410 +#: c-api/arg.rst:426 msgid "" "For the conversion to succeed, the *arg* object must match the format and " "the format must be exhausted. On success, the ``PyArg_Parse*`` functions " @@ -764,24 +784,24 @@ msgid "" "the following format units are left untouched." msgstr "" -#: c-api/arg.rst:419 +#: c-api/arg.rst:435 msgid "API Functions" msgstr "" -#: c-api/arg.rst:423 +#: c-api/arg.rst:439 msgid "" "Parse the parameters of a function that takes only positional parameters " "into local variables. Returns true on success; on failure, it returns false " "and raises the appropriate exception." msgstr "" -#: c-api/arg.rst:430 +#: c-api/arg.rst:446 msgid "" "Identical to :c:func:`PyArg_ParseTuple`, except that it accepts a va_list " "rather than a variable number of arguments." msgstr "" -#: c-api/arg.rst:436 +#: c-api/arg.rst:452 msgid "" "Parse the parameters of a function that takes both positional and keyword " "parameters into local variables. The *keywords* argument is a ``NULL``-" @@ -790,26 +810,26 @@ msgid "" "success; on failure, it returns false and raises the appropriate exception." msgstr "" -#: c-api/arg.rst:443 +#: c-api/arg.rst:459 msgid "" "Added support for :ref:`positional-only parameters `." msgstr "" -#: c-api/arg.rst:450 +#: c-api/arg.rst:466 msgid "" "Identical to :c:func:`PyArg_ParseTupleAndKeywords`, except that it accepts a " "va_list rather than a variable number of arguments." msgstr "" -#: c-api/arg.rst:456 +#: c-api/arg.rst:472 msgid "" "Ensure that the keys in the keywords argument dictionary are strings. This " "is only needed if :c:func:`PyArg_ParseTupleAndKeywords` is not used, since " "the latter already does this check." msgstr "" -#: c-api/arg.rst:466 +#: c-api/arg.rst:482 msgid "" "Function used to deconstruct the argument lists of \"old-style\" functions " "--- these are functions which use the :const:`METH_OLDARGS` parameter " @@ -820,7 +840,7 @@ msgid "" "continue to be used for that purpose." msgstr "" -#: c-api/arg.rst:477 +#: c-api/arg.rst:493 msgid "" "A simpler form of parameter retrieval which does not use a format string to " "specify the types of the arguments. Functions which use this method to " @@ -838,23 +858,23 @@ msgid "" "if there was a failure." msgstr "" -#: c-api/arg.rst:492 +#: c-api/arg.rst:508 msgid "" "This is an example of the use of this function, taken from the sources for " "the :mod:`_weakref` helper module for weak references::" msgstr "" -#: c-api/arg.rst:508 +#: c-api/arg.rst:524 msgid "" "The call to :c:func:`PyArg_UnpackTuple` in this example is entirely " "equivalent to this call to :c:func:`PyArg_ParseTuple`::" msgstr "" -#: c-api/arg.rst:516 +#: c-api/arg.rst:532 msgid "Building values" msgstr "" -#: c-api/arg.rst:520 +#: c-api/arg.rst:536 msgid "" "Create a new value based on a format string similar to those accepted by the " "``PyArg_Parse*`` family of functions and a sequence of values. Returns the " @@ -862,7 +882,7 @@ msgid "" "``NULL`` is returned." msgstr "" -#: c-api/arg.rst:525 +#: c-api/arg.rst:541 msgid "" ":c:func:`Py_BuildValue` does not always build a tuple. It builds a tuple " "only if its format string contains two or more format units. If the format " @@ -871,7 +891,7 @@ msgid "" "it to return a tuple of size 0 or one, parenthesize the format string." msgstr "" -#: c-api/arg.rst:531 +#: c-api/arg.rst:547 msgid "" "When memory buffers are passed as parameters to supply data to build " "objects, as for the ``s`` and ``s#`` formats, the required data is copied. " @@ -882,7 +902,7 @@ msgid "" "`Py_BuildValue` returns." msgstr "" -#: c-api/arg.rst:539 +#: c-api/arg.rst:555 msgid "" "In the following description, the quoted form is the format unit; the entry " "in (round) parentheses is the Python object type that the format unit will " @@ -890,180 +910,180 @@ msgid "" "be passed." msgstr "" -#: c-api/arg.rst:543 +#: c-api/arg.rst:559 msgid "" "The characters space, tab, colon and comma are ignored in format strings " "(but not within format units such as ``s#``). This can be used to make long " "format strings a tad more readable." msgstr "" -#: c-api/arg.rst:549 +#: c-api/arg.rst:565 msgid "``s`` (:class:`str` or ``None``) [const char \\*]" msgstr "" -#: c-api/arg.rst:548 +#: c-api/arg.rst:564 msgid "" "Convert a null-terminated C string to a Python :class:`str` object using " "``'utf-8'`` encoding. If the C string pointer is ``NULL``, ``None`` is used." msgstr "" -#: c-api/arg.rst:554 +#: c-api/arg.rst:570 msgid "" "``s#`` (:class:`str` or ``None``) [const char \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:552 +#: c-api/arg.rst:568 msgid "" "Convert a C string and its length to a Python :class:`str` object using " "``'utf-8'`` encoding. If the C string pointer is ``NULL``, the length is " "ignored and ``None`` is returned." msgstr "" -#: c-api/arg.rst:558 +#: c-api/arg.rst:574 msgid "``y`` (:class:`bytes`) [const char \\*]" msgstr "" -#: c-api/arg.rst:557 +#: c-api/arg.rst:573 msgid "" "This converts a C string to a Python :class:`bytes` object. If the C string " "pointer is ``NULL``, ``None`` is returned." msgstr "" -#: c-api/arg.rst:562 +#: c-api/arg.rst:578 msgid "``y#`` (:class:`bytes`) [const char \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:561 +#: c-api/arg.rst:577 msgid "" "This converts a C string and its lengths to a Python object. If the C " "string pointer is ``NULL``, ``None`` is returned." msgstr "" -#: c-api/arg.rst:581 +#: c-api/arg.rst:597 msgid "Same as ``s``." msgstr "" -#: c-api/arg.rst:568 +#: c-api/arg.rst:584 msgid "" "``z#`` (:class:`str` or ``None``) [const char \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:584 +#: c-api/arg.rst:600 msgid "Same as ``s#``." msgstr "" -#: c-api/arg.rst:573 +#: c-api/arg.rst:589 msgid "``u`` (:class:`str`) [const wchar_t \\*]" msgstr "" -#: c-api/arg.rst:571 +#: c-api/arg.rst:587 msgid "" "Convert a null-terminated :c:expr:`wchar_t` buffer of Unicode (UTF-16 or " "UCS-4) data to a Python Unicode object. If the Unicode buffer pointer is " "``NULL``, ``None`` is returned." msgstr "" -#: c-api/arg.rst:578 +#: c-api/arg.rst:594 msgid "``u#`` (:class:`str`) [const wchar_t \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:576 +#: c-api/arg.rst:592 msgid "" "Convert a Unicode (UTF-16 or UCS-4) data buffer and its length to a Python " "Unicode object. If the Unicode buffer pointer is ``NULL``, the length is " "ignored and ``None`` is returned." msgstr "" -#: c-api/arg.rst:581 +#: c-api/arg.rst:597 msgid "``U`` (:class:`str` or ``None``) [const char \\*]" msgstr "" -#: c-api/arg.rst:584 +#: c-api/arg.rst:600 msgid "" "``U#`` (:class:`str` or ``None``) [const char \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:587 +#: c-api/arg.rst:603 msgid "Convert a plain C :c:expr:`int` to a Python integer object." msgstr "" -#: c-api/arg.rst:590 +#: c-api/arg.rst:606 msgid "``b`` (:class:`int`) [char]" msgstr "" -#: c-api/arg.rst:590 +#: c-api/arg.rst:606 msgid "Convert a plain C :c:expr:`char` to a Python integer object." msgstr "" -#: c-api/arg.rst:593 +#: c-api/arg.rst:609 msgid "Convert a plain C :c:expr:`short int` to a Python integer object." msgstr "" -#: c-api/arg.rst:596 +#: c-api/arg.rst:612 msgid "Convert a C :c:expr:`long int` to a Python integer object." msgstr "" -#: c-api/arg.rst:599 +#: c-api/arg.rst:615 msgid "Convert a C :c:expr:`unsigned char` to a Python integer object." msgstr "" -#: c-api/arg.rst:602 +#: c-api/arg.rst:618 msgid "Convert a C :c:expr:`unsigned short int` to a Python integer object." msgstr "" -#: c-api/arg.rst:605 +#: c-api/arg.rst:621 msgid "Convert a C :c:expr:`unsigned int` to a Python integer object." msgstr "" -#: c-api/arg.rst:608 +#: c-api/arg.rst:624 msgid "Convert a C :c:expr:`unsigned long` to a Python integer object." msgstr "" -#: c-api/arg.rst:611 +#: c-api/arg.rst:627 msgid "Convert a C :c:expr:`long long` to a Python integer object." msgstr "" -#: c-api/arg.rst:614 +#: c-api/arg.rst:630 msgid "Convert a C :c:expr:`unsigned long long` to a Python integer object." msgstr "" -#: c-api/arg.rst:617 +#: c-api/arg.rst:633 msgid "Convert a C :c:type:`Py_ssize_t` to a Python integer." msgstr "" -#: c-api/arg.rst:621 +#: c-api/arg.rst:637 msgid "``c`` (:class:`bytes` of length 1) [char]" msgstr "" -#: c-api/arg.rst:620 +#: c-api/arg.rst:636 msgid "" "Convert a C :c:expr:`int` representing a byte to a Python :class:`bytes` " "object of length 1." msgstr "" -#: c-api/arg.rst:624 +#: c-api/arg.rst:640 msgid "" "Convert a C :c:expr:`int` representing a character to Python :class:`str` " "object of length 1." msgstr "" -#: c-api/arg.rst:628 +#: c-api/arg.rst:644 msgid "Convert a C :c:expr:`double` to a Python floating point number." msgstr "" -#: c-api/arg.rst:631 +#: c-api/arg.rst:647 msgid "Convert a C :c:expr:`float` to a Python floating point number." msgstr "" -#: c-api/arg.rst:634 +#: c-api/arg.rst:650 msgid "``D`` (:class:`complex`) [Py_complex \\*]" msgstr "" -#: c-api/arg.rst:634 +#: c-api/arg.rst:650 msgid "Convert a C :c:type:`Py_complex` structure to a Python complex number." msgstr "" -#: c-api/arg.rst:637 +#: c-api/arg.rst:653 msgid "" "Pass a Python object untouched (except for its reference count, which is " "incremented by one). If the object passed in is a ``NULL`` pointer, it is " @@ -1073,26 +1093,26 @@ msgid "" "raised yet, :exc:`SystemError` is set." msgstr "" -#: c-api/arg.rst:645 +#: c-api/arg.rst:661 msgid "``S`` (object) [PyObject \\*]" msgstr "" -#: c-api/arg.rst:645 +#: c-api/arg.rst:661 msgid "Same as ``O``." msgstr "" -#: c-api/arg.rst:650 +#: c-api/arg.rst:666 msgid "``N`` (object) [PyObject \\*]" msgstr "" -#: c-api/arg.rst:648 +#: c-api/arg.rst:664 msgid "" "Same as ``O``, except it doesn't increment the reference count on the " "object. Useful when the object is created by a call to an object constructor " "in the argument list." msgstr "" -#: c-api/arg.rst:653 +#: c-api/arg.rst:669 msgid "" "Convert *anything* to a Python object through a *converter* function. The " "function is called with *anything* (which should be compatible with :c:expr:" @@ -1100,40 +1120,40 @@ msgid "" "``NULL`` if an error occurred." msgstr "" -#: c-api/arg.rst:659 +#: c-api/arg.rst:675 msgid "" "Convert a sequence of C values to a Python tuple with the same number of " "items." msgstr "" -#: c-api/arg.rst:662 +#: c-api/arg.rst:678 msgid "``[items]`` (:class:`list`) [*matching-items*]" msgstr "" -#: c-api/arg.rst:662 +#: c-api/arg.rst:678 msgid "" "Convert a sequence of C values to a Python list with the same number of " "items." msgstr "" -#: c-api/arg.rst:667 +#: c-api/arg.rst:683 msgid "``{items}`` (:class:`dict`) [*matching-items*]" msgstr "" -#: c-api/arg.rst:665 +#: c-api/arg.rst:681 msgid "" "Convert a sequence of C values to a Python dictionary. Each pair of " "consecutive C values adds one item to the dictionary, serving as key and " "value, respectively." msgstr "" -#: c-api/arg.rst:669 +#: c-api/arg.rst:685 msgid "" "If there is an error in the format string, the :exc:`SystemError` exception " "is set and ``NULL`` returned." msgstr "" -#: c-api/arg.rst:674 +#: c-api/arg.rst:690 msgid "" "Identical to :c:func:`Py_BuildValue`, except that it accepts a va_list " "rather than a variable number of arguments." diff --git a/c-api/file.po b/c-api/file.po index 945bb2ed9..bf398fbd7 100644 --- a/c-api/file.po +++ b/c-api/file.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -112,7 +112,7 @@ msgstr "" msgid "This function is safe to call before :c:func:`Py_Initialize`." msgstr "" -#: c-api/file.rst:85 +#: c-api/file.rst:21 msgid "" "Raises an :ref:`auditing event ` ``setopencodehook`` with no " "arguments." diff --git a/c-api/init.po b/c-api/init.po index b3c385eb9..014fec4cf 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -462,7 +462,7 @@ msgid "" "than once." msgstr "" -#: c-api/init.rst:305 +#: c-api/init.rst:29 msgid "" "Raises an :ref:`auditing event ` ``cpython." "_PySys_ClearAuditHooks`` with no arguments." @@ -1199,7 +1199,7 @@ msgid "" "function." msgstr "" -#: c-api/init.rst:1062 +#: c-api/init.rst:5 msgid "" "Raises an :ref:`auditing event ` ``cpython." "PyInterpreterState_New`` with no arguments." @@ -1211,7 +1211,7 @@ msgid "" "interpreter lock must be held." msgstr "" -#: c-api/init.rst:1070 +#: c-api/init.rst:4 msgid "" "Raises an :ref:`auditing event ` ``cpython." "PyInterpreterState_Clear`` with no arguments." diff --git a/c-api/long.po b/c-api/long.po index 365d66eab..500c8d4fa 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -115,44 +115,51 @@ msgid "" "are no digits, :exc:`ValueError` will be raised." msgstr "" -#: c-api/long.rst:99 +#: c-api/long.rst:96 +msgid "" +"Python methods :meth:`int.to_bytes` and :meth:`int.from_bytes` to convert a :" +"c:type:`PyLongObject` to/from an array of bytes in base ``256``. You can " +"call those from C using :c:func:`PyObject_CallMethod`." +msgstr "" + +#: c-api/long.rst:103 msgid "" "Convert a sequence of Unicode digits in the string *u* to a Python integer " "value." msgstr "" -#: c-api/long.rst:107 +#: c-api/long.rst:111 msgid "" "Create a Python integer from the pointer *p*. The pointer value can be " "retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`." msgstr "" -#: c-api/long.rst:136 +#: c-api/long.rst:140 msgid "" "Return a C :c:expr:`long` representation of *obj*. If *obj* is not an " "instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method " "(if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:122 +#: c-api/long.rst:126 msgid "" "Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:" "expr:`long`." msgstr "" -#: c-api/long.rst:145 c-api/long.rst:186 c-api/long.rst:209 +#: c-api/long.rst:149 c-api/long.rst:190 c-api/long.rst:213 msgid "Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." msgstr "" -#: c-api/long.rst:147 c-api/long.rst:190 c-api/long.rst:294 +#: c-api/long.rst:151 c-api/long.rst:194 c-api/long.rst:298 msgid "Use :meth:`__index__` if available." msgstr "" -#: c-api/long.rst:150 c-api/long.rst:193 c-api/long.rst:297 +#: c-api/long.rst:154 c-api/long.rst:197 c-api/long.rst:301 msgid "This function will no longer use :meth:`__int__`." msgstr "" -#: c-api/long.rst:140 +#: c-api/long.rst:144 msgid "" "If the value of *obj* is greater than :const:`LONG_MAX` or less than :const:" "`LONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and return " @@ -160,20 +167,20 @@ msgid "" "occurs set *\\*overflow* to ``0`` and return ``-1`` as usual." msgstr "" -#: c-api/long.rst:177 +#: c-api/long.rst:181 msgid "" "Return a C :c:expr:`long long` representation of *obj*. If *obj* is not an " "instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method " "(if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:163 +#: c-api/long.rst:167 msgid "" "Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:" "expr:`long long`." msgstr "" -#: c-api/long.rst:181 +#: c-api/long.rst:185 msgid "" "If the value of *obj* is greater than :const:`LLONG_MAX` or less than :const:" "`LLONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and return " @@ -181,133 +188,133 @@ msgid "" "occurs set *\\*overflow* to ``0`` and return ``-1`` as usual." msgstr "" -#: c-api/long.rst:203 +#: c-api/long.rst:207 msgid "" "Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must " "be an instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:206 +#: c-api/long.rst:210 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" "type:`Py_ssize_t`." msgstr "" -#: c-api/long.rst:218 +#: c-api/long.rst:222 msgid "" "Return a C :c:expr:`unsigned long` representation of *pylong*. *pylong* " "must be an instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:221 +#: c-api/long.rst:225 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" "expr:`unsigned long`." msgstr "" -#: c-api/long.rst:224 +#: c-api/long.rst:228 msgid "" "Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to " "disambiguate." msgstr "" -#: c-api/long.rst:234 +#: c-api/long.rst:238 msgid "" "Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an " "instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:237 +#: c-api/long.rst:241 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" "type:`size_t`." msgstr "" -#: c-api/long.rst:240 +#: c-api/long.rst:244 msgid "" "Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to " "disambiguate." msgstr "" -#: c-api/long.rst:249 +#: c-api/long.rst:253 msgid "" "Return a C :c:expr:`unsigned long long` representation of *pylong*. " "*pylong* must be an instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:252 +#: c-api/long.rst:256 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for an :" "c:expr:`unsigned long long`." msgstr "" -#: c-api/long.rst:255 +#: c-api/long.rst:259 msgid "" "Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to " "disambiguate." msgstr "" -#: c-api/long.rst:258 +#: c-api/long.rst:262 msgid "" "A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`." msgstr "" -#: c-api/long.rst:264 +#: c-api/long.rst:268 msgid "" "Return a C :c:expr:`unsigned long` representation of *obj*. If *obj* is not " "an instance of :c:type:`PyLongObject`, first call its :meth:`__index__` " "method (if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:268 +#: c-api/long.rst:272 msgid "" "If the value of *obj* is out of range for an :c:expr:`unsigned long`, return " "the reduction of that value modulo ``ULONG_MAX + 1``." msgstr "" -#: c-api/long.rst:271 +#: c-api/long.rst:275 msgid "" "Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to " "disambiguate." msgstr "" -#: c-api/long.rst:283 +#: c-api/long.rst:287 msgid "" "Return a C :c:expr:`unsigned long long` representation of *obj*. If *obj* " "is not an instance of :c:type:`PyLongObject`, first call its :meth:" "`__index__` method (if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:288 +#: c-api/long.rst:292 msgid "" "If the value of *obj* is out of range for an :c:expr:`unsigned long long`, " "return the reduction of that value modulo ``ULLONG_MAX + 1``." msgstr "" -#: c-api/long.rst:291 +#: c-api/long.rst:295 msgid "" "Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` " "to disambiguate." msgstr "" -#: c-api/long.rst:303 +#: c-api/long.rst:307 msgid "" "Return a C :c:expr:`double` representation of *pylong*. *pylong* must be an " "instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:306 +#: c-api/long.rst:310 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" "expr:`double`." msgstr "" -#: c-api/long.rst:309 +#: c-api/long.rst:313 msgid "" "Returns ``-1.0`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." msgstr "" -#: c-api/long.rst:314 +#: c-api/long.rst:318 msgid "" "Convert a Python integer *pylong* to a C :c:expr:`void` pointer. If *pylong* " "cannot be converted, an :exc:`OverflowError` will be raised. This is only " @@ -315,7 +322,7 @@ msgid "" "c:func:`PyLong_FromVoidPtr`." msgstr "" -#: c-api/long.rst:319 +#: c-api/long.rst:323 msgid "" "Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." msgstr "" diff --git a/c-api/structures.po b/c-api/structures.po index fdcef3544..35406bc8e 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -214,66 +214,25 @@ msgid "" "has four fields:" msgstr "" -#: c-api/structures.rst:395 c-api/structures.rst:491 -msgid "Field" -msgstr "" - -#: c-api/structures.rst:395 c-api/structures.rst:491 -msgid "C Type" -msgstr "" - -#: c-api/structures.rst:395 c-api/structures.rst:491 -msgid "Meaning" -msgstr "" - -#: c-api/structures.rst:241 -msgid ":attr:`ml_name`" -msgstr "" - -#: c-api/structures.rst:249 c-api/structures.rst:410 c-api/structures.rst:493 -#: c-api/structures.rst:501 -msgid "const char \\*" -msgstr "" - -#: c-api/structures.rst:241 +#: c-api/structures.rst:240 msgid "name of the method" msgstr "" -#: c-api/structures.rst:243 -msgid ":attr:`ml_meth`" -msgstr "" - -#: c-api/structures.rst:243 -msgid "PyCFunction" -msgstr "" - -#: c-api/structures.rst:243 +#: c-api/structures.rst:244 msgid "pointer to the C implementation" msgstr "" -#: c-api/structures.rst:246 -msgid ":attr:`ml_flags`" -msgstr "" - -#: c-api/structures.rst:399 c-api/structures.rst:422 -msgid "int" -msgstr "" - -#: c-api/structures.rst:246 -msgid "flag bits indicating how the call should be constructed" -msgstr "" - -#: c-api/structures.rst:249 -msgid ":attr:`ml_doc`" +#: c-api/structures.rst:248 +msgid "flags bits indicating how the call should be constructed" msgstr "" -#: c-api/structures.rst:410 +#: c-api/structures.rst:411 msgid "points to the contents of the docstring" msgstr "" -#: c-api/structures.rst:253 +#: c-api/structures.rst:254 msgid "" -"The :attr:`ml_meth` is a C function pointer. The functions may be of " +"The :c:member:`ml_meth` is a C function pointer. The functions may be of " "different types, but they always return :c:expr:`PyObject*`. If the " "function is not of the :c:type:`PyCFunction`, the compiler will require a " "cast in the method table. Even though :c:type:`PyCFunction` defines the " @@ -281,18 +240,18 @@ msgid "" "implementation uses the specific C type of the *self* object." msgstr "" -#: c-api/structures.rst:260 +#: c-api/structures.rst:261 msgid "" -"The :attr:`ml_flags` field is a bitfield which can include the following " +"The :c:member:`ml_flags` field is a bitfield which can include the following " "flags. The individual flags indicate either a calling convention or a " "binding convention." msgstr "" -#: c-api/structures.rst:264 +#: c-api/structures.rst:265 msgid "There are these calling conventions:" msgstr "" -#: c-api/structures.rst:268 +#: c-api/structures.rst:269 msgid "" "This is the typical calling convention, where the methods have the type :c:" "type:`PyCFunction`. The function expects two :c:expr:`PyObject*` values. The " @@ -302,7 +261,7 @@ msgid "" "func:`PyArg_ParseTuple` or :c:func:`PyArg_UnpackTuple`." msgstr "" -#: c-api/structures.rst:278 +#: c-api/structures.rst:279 msgid "" "Methods with these flags must be of type :c:type:`PyCFunctionWithKeywords`. " "The function expects three parameters: *self*, *args*, *kwargs* where " @@ -311,7 +270,7 @@ msgid "" "using :c:func:`PyArg_ParseTupleAndKeywords`." msgstr "" -#: c-api/structures.rst:287 +#: c-api/structures.rst:288 msgid "" "Fast calling convention supporting only positional arguments. The methods " "have the type :c:type:`_PyCFunctionFast`. The first parameter is *self*, the " @@ -320,11 +279,11 @@ msgid "" "the array)." msgstr "" -#: c-api/structures.rst:297 +#: c-api/structures.rst:298 msgid "``METH_FASTCALL`` is now part of the stable ABI." msgstr "" -#: c-api/structures.rst:302 +#: c-api/structures.rst:303 msgid "" "Extension of :const:`METH_FASTCALL` supporting also keyword arguments, with " "methods of type :c:type:`_PyCFunctionFastWithKeywords`. Keyword arguments " @@ -336,21 +295,21 @@ msgid "" "arguments." msgstr "" -#: c-api/structures.rst:317 +#: c-api/structures.rst:318 msgid "" "Extension of :const:`METH_FASTCALL | METH_KEYWORDS` supporting the *defining " "class*, that is, the class that contains the method in question. The " "defining class might be a superclass of ``Py_TYPE(self)``." msgstr "" -#: c-api/structures.rst:321 +#: c-api/structures.rst:322 msgid "" "The method needs to be of type :c:type:`PyCMethod`, the same as for " "``METH_FASTCALL | METH_KEYWORDS`` with ``defining_class`` argument added " "after ``self``." msgstr "" -#: c-api/structures.rst:330 +#: c-api/structures.rst:331 msgid "" "Methods without parameters don't need to check whether arguments are given " "if they are listed with the :const:`METH_NOARGS` flag. They need to be of " @@ -359,7 +318,7 @@ msgid "" "the second parameter will be ``NULL``." msgstr "" -#: c-api/structures.rst:339 +#: c-api/structures.rst:340 msgid "" "Methods with a single object argument can be listed with the :const:`METH_O` " "flag, instead of invoking :c:func:`PyArg_ParseTuple` with a ``\"O\"`` " @@ -368,7 +327,7 @@ msgid "" "argument." msgstr "" -#: c-api/structures.rst:345 +#: c-api/structures.rst:346 msgid "" "These two constants are not used to indicate the calling convention but the " "binding when use with methods of classes. These may not be used for " @@ -376,27 +335,27 @@ msgid "" "any given method." msgstr "" -#: c-api/structures.rst:355 +#: c-api/structures.rst:356 msgid "" "The method will be passed the type object as the first parameter rather than " "an instance of the type. This is used to create *class methods*, similar to " "what is created when using the :func:`classmethod` built-in function." msgstr "" -#: c-api/structures.rst:365 +#: c-api/structures.rst:366 msgid "" "The method will be passed ``NULL`` as the first parameter rather than an " "instance of the type. This is used to create *static methods*, similar to " "what is created when using the :func:`staticmethod` built-in function." msgstr "" -#: c-api/structures.rst:369 +#: c-api/structures.rst:370 msgid "" "One other constant controls whether a method is loaded in place of another " "definition with the same method name." msgstr "" -#: c-api/structures.rst:375 +#: c-api/structures.rst:376 msgid "" "The method will be loaded in place of existing definitions. Without " "*METH_COEXIST*, the default is to skip repeated definitions. Since slot " @@ -409,193 +368,213 @@ msgid "" "calls." msgstr "" -#: c-api/structures.rst:387 +#: c-api/structures.rst:388 msgid "Accessing attributes of extension types" msgstr "" -#: c-api/structures.rst:391 +#: c-api/structures.rst:392 msgid "" "Structure which describes an attribute of a type which corresponds to a C " "struct member. Its fields are:" msgstr "" -#: c-api/structures.rst:397 +#: c-api/structures.rst:492 +msgid "Field" +msgstr "" + +#: c-api/structures.rst:492 +msgid "C Type" +msgstr "" + +#: c-api/structures.rst:492 +msgid "Meaning" +msgstr "" + +#: c-api/structures.rst:398 msgid ":attr:`name`" msgstr "" -#: c-api/structures.rst:397 +#: c-api/structures.rst:411 c-api/structures.rst:494 c-api/structures.rst:502 +msgid "const char \\*" +msgstr "" + +#: c-api/structures.rst:398 msgid "name of the member" msgstr "" -#: c-api/structures.rst:399 +#: c-api/structures.rst:400 msgid ":attr:`!type`" msgstr "" -#: c-api/structures.rst:399 +#: c-api/structures.rst:407 c-api/structures.rst:423 +msgid "int" +msgstr "" + +#: c-api/structures.rst:400 msgid "the type of the member in the C struct" msgstr "" -#: c-api/structures.rst:402 +#: c-api/structures.rst:403 msgid ":attr:`offset`" msgstr "" -#: c-api/structures.rst:438 +#: c-api/structures.rst:439 msgid "Py_ssize_t" msgstr "" -#: c-api/structures.rst:402 +#: c-api/structures.rst:403 msgid "" "the offset in bytes that the member is located on the type's object struct" msgstr "" -#: c-api/structures.rst:406 +#: c-api/structures.rst:407 msgid ":attr:`flags`" msgstr "" -#: c-api/structures.rst:406 +#: c-api/structures.rst:407 msgid "flag bits indicating if the field should be read-only or writable" msgstr "" -#: c-api/structures.rst:410 +#: c-api/structures.rst:411 msgid ":attr:`doc`" msgstr "" -#: c-api/structures.rst:414 +#: c-api/structures.rst:415 msgid "" ":attr:`!type` can be one of many ``T_`` macros corresponding to various C " "types. When the member is accessed in Python, it will be converted to the " "equivalent Python type." msgstr "" -#: c-api/structures.rst:419 +#: c-api/structures.rst:420 msgid "Macro name" msgstr "" -#: c-api/structures.rst:419 +#: c-api/structures.rst:420 msgid "C type" msgstr "" -#: c-api/structures.rst:421 +#: c-api/structures.rst:422 msgid "T_SHORT" msgstr "" -#: c-api/structures.rst:421 +#: c-api/structures.rst:422 msgid "short" msgstr "" -#: c-api/structures.rst:422 +#: c-api/structures.rst:423 msgid "T_INT" msgstr "" -#: c-api/structures.rst:423 +#: c-api/structures.rst:424 msgid "T_LONG" msgstr "" -#: c-api/structures.rst:423 +#: c-api/structures.rst:424 msgid "long" msgstr "" -#: c-api/structures.rst:424 +#: c-api/structures.rst:425 msgid "T_FLOAT" msgstr "" -#: c-api/structures.rst:424 +#: c-api/structures.rst:425 msgid "float" msgstr "" -#: c-api/structures.rst:425 +#: c-api/structures.rst:426 msgid "T_DOUBLE" msgstr "" -#: c-api/structures.rst:425 +#: c-api/structures.rst:426 msgid "double" msgstr "" -#: c-api/structures.rst:426 +#: c-api/structures.rst:427 msgid "T_STRING" msgstr "" -#: c-api/structures.rst:427 +#: c-api/structures.rst:428 msgid "T_OBJECT" msgstr "" -#: c-api/structures.rst:428 +#: c-api/structures.rst:429 msgid "PyObject \\*" msgstr "" -#: c-api/structures.rst:428 +#: c-api/structures.rst:429 msgid "T_OBJECT_EX" msgstr "" -#: c-api/structures.rst:429 +#: c-api/structures.rst:430 msgid "T_CHAR" msgstr "" -#: c-api/structures.rst:430 c-api/structures.rst:435 +#: c-api/structures.rst:431 c-api/structures.rst:436 msgid "char" msgstr "" -#: c-api/structures.rst:430 +#: c-api/structures.rst:431 msgid "T_BYTE" msgstr "" -#: c-api/structures.rst:431 +#: c-api/structures.rst:432 msgid "T_UBYTE" msgstr "" -#: c-api/structures.rst:431 +#: c-api/structures.rst:432 msgid "unsigned char" msgstr "" -#: c-api/structures.rst:432 +#: c-api/structures.rst:433 msgid "T_UINT" msgstr "" -#: c-api/structures.rst:432 +#: c-api/structures.rst:433 msgid "unsigned int" msgstr "" -#: c-api/structures.rst:433 +#: c-api/structures.rst:434 msgid "T_USHORT" msgstr "" -#: c-api/structures.rst:433 +#: c-api/structures.rst:434 msgid "unsigned short" msgstr "" -#: c-api/structures.rst:434 +#: c-api/structures.rst:435 msgid "T_ULONG" msgstr "" -#: c-api/structures.rst:434 +#: c-api/structures.rst:435 msgid "unsigned long" msgstr "" -#: c-api/structures.rst:435 +#: c-api/structures.rst:436 msgid "T_BOOL" msgstr "" -#: c-api/structures.rst:436 +#: c-api/structures.rst:437 msgid "T_LONGLONG" msgstr "" -#: c-api/structures.rst:436 +#: c-api/structures.rst:437 msgid "long long" msgstr "" -#: c-api/structures.rst:437 +#: c-api/structures.rst:438 msgid "T_ULONGLONG" msgstr "" -#: c-api/structures.rst:437 +#: c-api/structures.rst:438 msgid "unsigned long long" msgstr "" -#: c-api/structures.rst:438 +#: c-api/structures.rst:439 msgid "T_PYSSIZET" msgstr "" -#: c-api/structures.rst:441 +#: c-api/structures.rst:442 msgid "" ":c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` differ in that :c:macro:" "`T_OBJECT` returns ``None`` if the member is ``NULL`` and :c:macro:" @@ -605,7 +584,7 @@ msgid "" "than :c:macro:`T_OBJECT`." msgstr "" -#: c-api/structures.rst:448 +#: c-api/structures.rst:449 msgid "" ":attr:`flags` can be ``0`` for write and read access or :c:macro:`READONLY` " "for read-only access. Using :c:macro:`T_STRING` for :attr:`type` implies :c:" @@ -614,7 +593,7 @@ msgid "" "are set to ``NULL``)." msgstr "" -#: c-api/structures.rst:456 +#: c-api/structures.rst:457 msgid "" "Heap allocated types (created using :c:func:`PyType_FromSpec` or similar), " "``PyMemberDef`` may contain definitions for the special members " @@ -625,99 +604,99 @@ msgid "" "``T_PYSSIZET`` and ``READONLY``, for example::" msgstr "" -#: c-api/structures.rst:473 +#: c-api/structures.rst:474 msgid "" "Get an attribute belonging to the object at address *obj_addr*. The " "attribute is described by ``PyMemberDef`` *m*. Returns ``NULL`` on error." msgstr "" -#: c-api/structures.rst:480 +#: c-api/structures.rst:481 msgid "" "Set an attribute belonging to the object at address *obj_addr* to object " "*o*. The attribute to set is described by ``PyMemberDef`` *m*. Returns " "``0`` if successful and a negative value on failure." msgstr "" -#: c-api/structures.rst:487 +#: c-api/structures.rst:488 msgid "" "Structure to define property-like access for a type. See also description of " "the :c:member:`PyTypeObject.tp_getset` slot." msgstr "" -#: c-api/structures.rst:493 +#: c-api/structures.rst:494 msgid "name" msgstr "" -#: c-api/structures.rst:493 +#: c-api/structures.rst:494 msgid "attribute name" msgstr "" -#: c-api/structures.rst:495 +#: c-api/structures.rst:496 msgid "get" msgstr "" -#: c-api/structures.rst:495 +#: c-api/structures.rst:496 msgid "getter" msgstr "" -#: c-api/structures.rst:495 +#: c-api/structures.rst:496 msgid "C function to get the attribute" msgstr "" -#: c-api/structures.rst:497 +#: c-api/structures.rst:498 msgid "set" msgstr "" -#: c-api/structures.rst:497 +#: c-api/structures.rst:498 msgid "setter" msgstr "" -#: c-api/structures.rst:497 +#: c-api/structures.rst:498 msgid "" "optional C function to set or delete the attribute, if omitted the attribute " "is readonly" msgstr "" -#: c-api/structures.rst:501 +#: c-api/structures.rst:502 msgid "doc" msgstr "" -#: c-api/structures.rst:501 +#: c-api/structures.rst:502 msgid "optional docstring" msgstr "" -#: c-api/structures.rst:503 +#: c-api/structures.rst:504 msgid "closure" msgstr "" -#: c-api/structures.rst:503 +#: c-api/structures.rst:504 msgid "void \\*" msgstr "" -#: c-api/structures.rst:503 +#: c-api/structures.rst:504 msgid "" "optional function pointer, providing additional data for getter and setter" msgstr "" -#: c-api/structures.rst:508 +#: c-api/structures.rst:509 msgid "" "The ``get`` function takes one :c:expr:`PyObject*` parameter (the instance) " "and a function pointer (the associated ``closure``)::" msgstr "" -#: c-api/structures.rst:513 +#: c-api/structures.rst:514 msgid "" "It should return a new reference on success or ``NULL`` with a set exception " "on failure." msgstr "" -#: c-api/structures.rst:516 +#: c-api/structures.rst:517 msgid "" "``set`` functions take two :c:expr:`PyObject*` parameters (the instance and " "the value to be set) and a function pointer (the associated ``closure``)::" msgstr "" -#: c-api/structures.rst:521 +#: c-api/structures.rst:522 msgid "" "In case the attribute should be deleted the second parameter is ``NULL``. " "Should return ``0`` on success or ``-1`` with a set exception on failure." diff --git a/c-api/sys.po b/c-api/sys.po index eb21ec3fa..a6270981b 100644 --- a/c-api/sys.po +++ b/c-api/sys.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -427,7 +427,7 @@ msgid "" "events table `. Details are in each function's documentation." msgstr "" -#: c-api/sys.rst:365 +#: c-api/sys.rst:26 msgid "" "Raises an :ref:`auditing event ` ``sys.addaudithook`` with no " "arguments." diff --git a/c-api/typeobj.po b/c-api/typeobj.po index b650c0b16..68918d908 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -92,7 +92,7 @@ msgstr "" msgid " :c:member:`~PyTypeObject.tp_name`" msgstr "" -#: c-api/typeobj.rst:86 c-api/typeobj.rst:0 +#: c-api/typeobj.rst:44 c-api/typeobj.rst:86 msgid "const char *" msgstr "" @@ -113,7 +113,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_basicsize`" msgstr "" -#: c-api/typeobj.rst:48 c-api/typeobj.rst:99 c-api/typeobj.rst:0 +#: c-api/typeobj.rst:46 c-api/typeobj.rst:52 c-api/typeobj.rst:120 #: c-api/typeobj.rst:414 msgid ":c:type:`Py_ssize_t`" msgstr "" @@ -376,7 +376,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_base`" msgstr "" -#: c-api/typeobj.rst:0 +#: c-api/typeobj.rst:111 msgid ":c:type:`PyTypeObject` *" msgstr "" @@ -388,8 +388,8 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_dict`" msgstr "" -#: c-api/typeobj.rst:132 c-api/typeobj.rst:136 c-api/typeobj.rst:140 -#: c-api/typeobj.rst:0 c-api/typeobj.rst:366 c-api/typeobj.rst:379 +#: c-api/typeobj.rst:113 c-api/typeobj.rst:134 c-api/typeobj.rst:138 +#: c-api/typeobj.rst:339 c-api/typeobj.rst:366 c-api/typeobj.rst:379 #: c-api/typeobj.rst:402 c-api/typeobj.rst:410 c-api/typeobj.rst:414 #: c-api/typeobj.rst:433 c-api/typeobj.rst:444 msgid ":c:type:`PyObject` *" @@ -858,7 +858,7 @@ msgstr "" msgid ":c:member:`~PyNumberMethods.nb_reserved`" msgstr "" -#: c-api/typeobj.rst:344 c-api/typeobj.rst:0 c-api/typeobj.rst:427 +#: c-api/typeobj.rst:277 c-api/typeobj.rst:346 c-api/typeobj.rst:427 msgid "void *" msgstr "" @@ -950,7 +950,7 @@ msgstr "" msgid ":c:member:`~PyMappingMethods.mp_ass_subscript`" msgstr "" -#: c-api/typeobj.rst:459 +#: c-api/typeobj.rst:460 msgid ":c:type:`objobjargproc`" msgstr "" @@ -1002,7 +1002,7 @@ msgstr "" msgid ":c:member:`~PySequenceMethods.sq_contains`" msgstr "" -#: c-api/typeobj.rst:454 +#: c-api/typeobj.rst:455 msgid ":c:type:`objobjproc`" msgstr "" @@ -1058,8 +1058,8 @@ msgstr "" msgid ":c:type:`visitproc`" msgstr "" -#: c-api/typeobj.rst:360 c-api/typeobj.rst:384 c-api/typeobj.rst:0 -#: c-api/typeobj.rst:427 c-api/typeobj.rst:454 c-api/typeobj.rst:459 +#: c-api/typeobj.rst:348 c-api/typeobj.rst:373 c-api/typeobj.rst:396 +#: c-api/typeobj.rst:427 c-api/typeobj.rst:455 c-api/typeobj.rst:460 msgid "int" msgstr "" @@ -1079,26 +1079,26 @@ msgstr "" msgid ":c:type:`releasebufferproc`" msgstr "" -#: c-api/typeobj.rst:466 +#: c-api/typeobj.rst:467 msgid "See :ref:`slot-typedefs` below for more detail." msgstr "" -#: c-api/typeobj.rst:470 +#: c-api/typeobj.rst:471 msgid "PyTypeObject Definition" msgstr "" -#: c-api/typeobj.rst:472 +#: c-api/typeobj.rst:473 msgid "" "The structure definition for :c:type:`PyTypeObject` can be found in :file:" "`Include/object.h`. For convenience of reference, this repeats the " "definition found there:" msgstr "" -#: c-api/typeobj.rst:482 +#: c-api/typeobj.rst:483 msgid "PyObject Slots" msgstr "" -#: c-api/typeobj.rst:484 +#: c-api/typeobj.rst:485 msgid "" "The type object structure extends the :c:type:`PyVarObject` structure. The :" "attr:`ob_size` field is used for dynamic types (created by :func:`type_new`, " @@ -1107,7 +1107,7 @@ msgid "" "that its instances (i.e. type objects) *must* have the :attr:`ob_size` field." msgstr "" -#: c-api/typeobj.rst:493 +#: c-api/typeobj.rst:494 msgid "" "This is the type object's reference count, initialized to ``1`` by the " "``PyObject_HEAD_INIT`` macro. Note that for :ref:`statically allocated type " @@ -1117,25 +1117,25 @@ msgid "" "as references." msgstr "" -#: c-api/typeobj.rst:523 c-api/typeobj.rst:559 c-api/typeobj.rst:646 -#: c-api/typeobj.rst:742 c-api/typeobj.rst:778 c-api/typeobj.rst:820 -#: c-api/typeobj.rst:849 c-api/typeobj.rst:894 c-api/typeobj.rst:932 -#: c-api/typeobj.rst:979 c-api/typeobj.rst:1014 c-api/typeobj.rst:1062 -#: c-api/typeobj.rst:1082 c-api/typeobj.rst:1114 c-api/typeobj.rst:1184 -#: c-api/typeobj.rst:1218 c-api/typeobj.rst:1270 c-api/typeobj.rst:1354 -#: c-api/typeobj.rst:1480 c-api/typeobj.rst:1542 c-api/typeobj.rst:1578 -#: c-api/typeobj.rst:1607 c-api/typeobj.rst:1657 c-api/typeobj.rst:1701 -#: c-api/typeobj.rst:1792 c-api/typeobj.rst:1850 c-api/typeobj.rst:1904 -#: c-api/typeobj.rst:1945 c-api/typeobj.rst:1964 c-api/typeobj.rst:1988 -#: c-api/typeobj.rst:2057 +#: c-api/typeobj.rst:524 c-api/typeobj.rst:560 c-api/typeobj.rst:647 +#: c-api/typeobj.rst:743 c-api/typeobj.rst:779 c-api/typeobj.rst:821 +#: c-api/typeobj.rst:850 c-api/typeobj.rst:895 c-api/typeobj.rst:933 +#: c-api/typeobj.rst:980 c-api/typeobj.rst:1015 c-api/typeobj.rst:1063 +#: c-api/typeobj.rst:1083 c-api/typeobj.rst:1115 c-api/typeobj.rst:1185 +#: c-api/typeobj.rst:1219 c-api/typeobj.rst:1271 c-api/typeobj.rst:1355 +#: c-api/typeobj.rst:1481 c-api/typeobj.rst:1543 c-api/typeobj.rst:1579 +#: c-api/typeobj.rst:1608 c-api/typeobj.rst:1658 c-api/typeobj.rst:1702 +#: c-api/typeobj.rst:1793 c-api/typeobj.rst:1851 c-api/typeobj.rst:1905 +#: c-api/typeobj.rst:1946 c-api/typeobj.rst:1965 c-api/typeobj.rst:1989 +#: c-api/typeobj.rst:2058 msgid "**Inheritance:**" msgstr "" -#: c-api/typeobj.rst:561 c-api/typeobj.rst:605 +#: c-api/typeobj.rst:562 c-api/typeobj.rst:606 msgid "This field is not inherited by subtypes." msgstr "" -#: c-api/typeobj.rst:507 +#: c-api/typeobj.rst:508 msgid "" "This is the type's type, in other words its metatype. It is initialized by " "the argument to the ``PyObject_HEAD_INIT`` macro, and its value should " @@ -1147,7 +1147,7 @@ msgid "" "doing anything else. This is typically done like this::" msgstr "" -#: c-api/typeobj.rst:518 +#: c-api/typeobj.rst:519 msgid "" "This should be done before any instances of the type are created. :c:func:" "`PyType_Ready` checks if :attr:`ob_type` is ``NULL``, and if so, initializes " @@ -1155,18 +1155,18 @@ msgid "" "will not change this field if it is non-zero." msgstr "" -#: c-api/typeobj.rst:706 c-api/typeobj.rst:914 c-api/typeobj.rst:1544 -#: c-api/typeobj.rst:1685 c-api/typeobj.rst:1794 c-api/typeobj.rst:2036 +#: c-api/typeobj.rst:707 c-api/typeobj.rst:915 c-api/typeobj.rst:1545 +#: c-api/typeobj.rst:1686 c-api/typeobj.rst:1795 c-api/typeobj.rst:2037 msgid "This field is inherited by subtypes." msgstr "" -#: c-api/typeobj.rst:531 +#: c-api/typeobj.rst:532 msgid "" "These fields are only present when the macro ``Py_TRACE_REFS`` is defined " "(see the :option:`configure --with-trace-refs option <--with-trace-refs>`)." msgstr "" -#: c-api/typeobj.rst:534 +#: c-api/typeobj.rst:535 msgid "" "Their initialization to ``NULL`` is taken care of by the " "``PyObject_HEAD_INIT`` macro. For :ref:`statically allocated objects " @@ -1175,7 +1175,7 @@ msgid "" "object into a doubly linked list of *all* live objects on the heap." msgstr "" -#: c-api/typeobj.rst:540 +#: c-api/typeobj.rst:541 msgid "" "This could be used for various debugging purposes; currently the only uses " "are the :func:`sys.getobjects` function and to print the objects that are " @@ -1183,26 +1183,26 @@ msgid "" "`PYTHONDUMPREFS` is set." msgstr "" -#: c-api/typeobj.rst:547 +#: c-api/typeobj.rst:548 msgid "These fields are not inherited by subtypes." msgstr "" -#: c-api/typeobj.rst:551 +#: c-api/typeobj.rst:552 msgid "PyVarObject Slots" msgstr "" -#: c-api/typeobj.rst:555 +#: c-api/typeobj.rst:556 msgid "" "For :ref:`statically allocated type objects `, this should be " "initialized to zero. For :ref:`dynamically allocated type objects `, this field has a special internal meaning." msgstr "" -#: c-api/typeobj.rst:565 +#: c-api/typeobj.rst:566 msgid "PyTypeObject Slots" msgstr "" -#: c-api/typeobj.rst:567 +#: c-api/typeobj.rst:568 msgid "" "Each slot has a section describing inheritance. If :c:func:`PyType_Ready` " "may set a value when the field is set to ``NULL`` then there will also be a " @@ -1210,7 +1210,7 @@ msgid "" "`PyBaseObject_Type` and :c:type:`PyType_Type` effectively act as defaults.)" msgstr "" -#: c-api/typeobj.rst:574 +#: c-api/typeobj.rst:575 msgid "" "Pointer to a NUL-terminated string containing the name of the type. For " "types that are accessible as module globals, the string should be the full " @@ -1222,14 +1222,14 @@ msgid "" "tp_name` initializer ``\"P.Q.M.T\"``." msgstr "" -#: c-api/typeobj.rst:582 +#: c-api/typeobj.rst:583 msgid "" "For :ref:`dynamically allocated type objects `, this should just " "be the type name, and the module name explicitly stored in the type dict as " "the value for key ``'__module__'``." msgstr "" -#: c-api/typeobj.rst:587 +#: c-api/typeobj.rst:588 msgid "" "For :ref:`statically allocated type objects `, the *tp_name* " "field should contain a dot. Everything before the last dot is made " @@ -1237,7 +1237,7 @@ msgid "" "last dot is made accessible as the :attr:`~definition.__name__` attribute." msgstr "" -#: c-api/typeobj.rst:593 +#: c-api/typeobj.rst:594 msgid "" "If no dot is present, the entire :c:member:`~PyTypeObject.tp_name` field is " "made accessible as the :attr:`~definition.__name__` attribute, and the :attr:" @@ -1247,19 +1247,19 @@ msgid "" "created with pydoc." msgstr "" -#: c-api/typeobj.rst:599 +#: c-api/typeobj.rst:600 msgid "" "This field must not be ``NULL``. It is the only required field in :c:func:" "`PyTypeObject` (other than potentially :c:member:`~PyTypeObject." "tp_itemsize`)." msgstr "" -#: c-api/typeobj.rst:611 +#: c-api/typeobj.rst:612 msgid "" "These fields allow calculating the size in bytes of instances of the type." msgstr "" -#: c-api/typeobj.rst:613 +#: c-api/typeobj.rst:614 msgid "" "There are two kinds of types: types with fixed-length instances have a zero :" "c:member:`~PyTypeObject.tp_itemsize` field, types with variable-length " @@ -1268,7 +1268,7 @@ msgid "" "in :c:member:`~PyTypeObject.tp_basicsize`." msgstr "" -#: c-api/typeobj.rst:618 +#: c-api/typeobj.rst:619 msgid "" "For a type with variable-length instances, the instances must have an :attr:" "`ob_size` field, and the instance size is :c:member:`~PyTypeObject." @@ -1282,7 +1282,7 @@ msgid "" "instances, yet those instances have a meaningful :attr:`ob_size` field)." msgstr "" -#: c-api/typeobj.rst:629 +#: c-api/typeobj.rst:630 msgid "" "The basic size includes the fields in the instance declared by the macro :c:" "macro:`PyObject_HEAD` or :c:macro:`PyObject_VAR_HEAD` (whichever is used to " @@ -1294,7 +1294,7 @@ msgid "" "size." msgstr "" -#: c-api/typeobj.rst:637 +#: c-api/typeobj.rst:638 msgid "" "A note about alignment: if the variable items require a particular " "alignment, this should be taken care of by the value of :c:member:" @@ -1305,12 +1305,12 @@ msgid "" "alignment requirement for ``double``)." msgstr "" -#: c-api/typeobj.rst:644 +#: c-api/typeobj.rst:645 msgid "" "For any type with variable-length instances, this field must not be ``NULL``." msgstr "" -#: c-api/typeobj.rst:648 +#: c-api/typeobj.rst:649 msgid "" "These fields are inherited separately by subtypes. If the base type has a " "non-zero :c:member:`~PyTypeObject.tp_itemsize`, it is generally not safe to " @@ -1318,7 +1318,7 @@ msgid "" "subtype (though this depends on the implementation of the base type)." msgstr "" -#: c-api/typeobj.rst:656 +#: c-api/typeobj.rst:657 msgid "" "A pointer to the instance destructor function. This function must be " "defined unless the type guarantees that its instances will never be " @@ -1326,7 +1326,7 @@ msgid "" "The function signature is::" msgstr "" -#: c-api/typeobj.rst:662 +#: c-api/typeobj.rst:663 msgid "" "The destructor function is called by the :c:func:`Py_DECREF` and :c:func:" "`Py_XDECREF` macros when the new reference count is zero. At this point, " @@ -1344,14 +1344,14 @@ msgid "" "allocated using :c:func:`PyObject_GC_New` or :c:func:`PyObject_GC_NewVar`." msgstr "" -#: c-api/typeobj.rst:677 +#: c-api/typeobj.rst:678 msgid "" "If the type supports garbage collection (has the :const:`Py_TPFLAGS_HAVE_GC` " "flag bit set), the destructor should call :c:func:`PyObject_GC_UnTrack` " "before clearing any member fields." msgstr "" -#: c-api/typeobj.rst:689 +#: c-api/typeobj.rst:690 msgid "" "Finally, if the type is heap allocated (:const:`Py_TPFLAGS_HEAPTYPE`), the " "deallocator should decrement the reference count for its type object after " @@ -1359,28 +1359,28 @@ msgid "" "recommended way to achieve this is:" msgstr "" -#: c-api/typeobj.rst:711 +#: c-api/typeobj.rst:712 msgid "" "An optional offset to a per-instance function that implements calling the " "object using the :ref:`vectorcall protocol `, a more efficient " "alternative of the simpler :c:member:`~PyTypeObject.tp_call`." msgstr "" -#: c-api/typeobj.rst:716 +#: c-api/typeobj.rst:717 msgid "" "This field is only used if the flag :const:`Py_TPFLAGS_HAVE_VECTORCALL` is " "set. If so, this must be a positive integer containing the offset in the " "instance of a :c:type:`vectorcallfunc` pointer." msgstr "" -#: c-api/typeobj.rst:720 +#: c-api/typeobj.rst:721 msgid "" "The *vectorcallfunc* pointer may be ``NULL``, in which case the instance " "behaves as if :const:`Py_TPFLAGS_HAVE_VECTORCALL` was not set: calling the " "instance falls back to :c:member:`~PyTypeObject.tp_call`." msgstr "" -#: c-api/typeobj.rst:724 +#: c-api/typeobj.rst:725 msgid "" "Any class that sets ``Py_TPFLAGS_HAVE_VECTORCALL`` must also set :c:member:" "`~PyTypeObject.tp_call` and make sure its behaviour is consistent with the " @@ -1388,7 +1388,7 @@ msgid "" "`PyVectorcall_Call`." msgstr "" -#: c-api/typeobj.rst:731 +#: c-api/typeobj.rst:732 msgid "" "It is not recommended for :ref:`heap types ` to implement the " "vectorcall protocol. When a user sets :attr:`__call__` in Python code, only " @@ -1396,13 +1396,13 @@ msgid "" "function." msgstr "" -#: c-api/typeobj.rst:738 +#: c-api/typeobj.rst:739 msgid "" "Before version 3.8, this slot was named ``tp_print``. In Python 2.x, it was " "used for printing to a file. In Python 3.0 to 3.7, it was unused." msgstr "" -#: c-api/typeobj.rst:744 +#: c-api/typeobj.rst:745 msgid "" "This field is always inherited. However, the :const:" "`Py_TPFLAGS_HAVE_VECTORCALL` flag is not always inherited. If it's not, then " @@ -1411,11 +1411,11 @@ msgid "" "for :ref:`heap types ` (including subclasses defined in Python)." msgstr "" -#: c-api/typeobj.rst:755 +#: c-api/typeobj.rst:756 msgid "An optional pointer to the get-attribute-string function." msgstr "" -#: c-api/typeobj.rst:757 +#: c-api/typeobj.rst:758 msgid "" "This field is deprecated. When it is defined, it should point to a function " "that acts the same as the :c:member:`~PyTypeObject.tp_getattro` function, " @@ -1423,11 +1423,11 @@ msgid "" "attribute name." msgstr "" -#: c-api/typeobj.rst:955 +#: c-api/typeobj.rst:956 msgid "Group: :attr:`tp_getattr`, :attr:`tp_getattro`" msgstr "" -#: c-api/typeobj.rst:765 +#: c-api/typeobj.rst:766 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_getattro`: a subtype inherits both :c:member:`~PyTypeObject.tp_getattr` " @@ -1436,12 +1436,12 @@ msgid "" "tp_getattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:968 +#: c-api/typeobj.rst:969 msgid "" "An optional pointer to the function for setting and deleting attributes." msgstr "" -#: c-api/typeobj.rst:774 +#: c-api/typeobj.rst:775 msgid "" "This field is deprecated. When it is defined, it should point to a function " "that acts the same as the :c:member:`~PyTypeObject.tp_setattro` function, " @@ -1449,11 +1449,11 @@ msgid "" "attribute name." msgstr "" -#: c-api/typeobj.rst:981 +#: c-api/typeobj.rst:982 msgid "Group: :attr:`tp_setattr`, :attr:`tp_setattro`" msgstr "" -#: c-api/typeobj.rst:782 +#: c-api/typeobj.rst:783 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_setattro`: a subtype inherits both :c:member:`~PyTypeObject.tp_setattr` " @@ -1462,34 +1462,34 @@ msgid "" "tp_setattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:789 +#: c-api/typeobj.rst:790 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement :term:`awaitable` and :term:`asynchronous iterator` " "protocols at the C-level. See :ref:`async-structs` for details." msgstr "" -#: c-api/typeobj.rst:793 +#: c-api/typeobj.rst:794 msgid "Formerly known as ``tp_compare`` and ``tp_reserved``." msgstr "" -#: c-api/typeobj.rst:798 +#: c-api/typeobj.rst:799 msgid "" "The :c:member:`~PyTypeObject.tp_as_async` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:806 +#: c-api/typeobj.rst:807 msgid "" "An optional pointer to a function that implements the built-in function :" "func:`repr`." msgstr "" -#: c-api/typeobj.rst:809 +#: c-api/typeobj.rst:810 msgid "The signature is the same as for :c:func:`PyObject_Repr`::" msgstr "" -#: c-api/typeobj.rst:813 +#: c-api/typeobj.rst:814 msgid "" "The function must return a string or a Unicode object. Ideally, this " "function should return a string that, when passed to :func:`eval`, given a " @@ -1498,83 +1498,83 @@ msgid "" "``'>'`` from which both the type and the value of the object can be deduced." msgstr "" -#: c-api/typeobj.rst:936 c-api/typeobj.rst:987 c-api/typeobj.rst:1489 -#: c-api/typeobj.rst:1662 c-api/typeobj.rst:1796 c-api/typeobj.rst:1856 -#: c-api/typeobj.rst:1908 +#: c-api/typeobj.rst:937 c-api/typeobj.rst:988 c-api/typeobj.rst:1490 +#: c-api/typeobj.rst:1663 c-api/typeobj.rst:1797 c-api/typeobj.rst:1857 +#: c-api/typeobj.rst:1909 msgid "**Default:**" msgstr "" -#: c-api/typeobj.rst:826 +#: c-api/typeobj.rst:827 msgid "" "When this field is not set, a string of the form ``<%s object at %p>`` is " "returned, where ``%s`` is replaced by the type name, and ``%p`` by the " "object's memory address." msgstr "" -#: c-api/typeobj.rst:833 +#: c-api/typeobj.rst:834 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement the number protocol. These fields are documented " "in :ref:`number-structs`." msgstr "" -#: c-api/typeobj.rst:839 +#: c-api/typeobj.rst:840 msgid "" "The :c:member:`~PyTypeObject.tp_as_number` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:845 +#: c-api/typeobj.rst:846 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement the sequence protocol. These fields are documented " "in :ref:`sequence-structs`." msgstr "" -#: c-api/typeobj.rst:851 +#: c-api/typeobj.rst:852 msgid "" "The :c:member:`~PyTypeObject.tp_as_sequence` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:857 +#: c-api/typeobj.rst:858 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement the mapping protocol. These fields are documented " "in :ref:`mapping-structs`." msgstr "" -#: c-api/typeobj.rst:863 +#: c-api/typeobj.rst:864 msgid "" "The :c:member:`~PyTypeObject.tp_as_mapping` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:871 +#: c-api/typeobj.rst:872 msgid "" "An optional pointer to a function that implements the built-in function :" "func:`hash`." msgstr "" -#: c-api/typeobj.rst:874 +#: c-api/typeobj.rst:875 msgid "The signature is the same as for :c:func:`PyObject_Hash`::" msgstr "" -#: c-api/typeobj.rst:878 +#: c-api/typeobj.rst:879 msgid "" "The value ``-1`` should not be returned as a normal return value; when an " "error occurs during the computation of the hash value, the function should " "set an exception and return ``-1``." msgstr "" -#: c-api/typeobj.rst:882 +#: c-api/typeobj.rst:883 msgid "" "When this field is not set (*and* :attr:`tp_richcompare` is not set), an " "attempt to take the hash of the object raises :exc:`TypeError`. This is the " "same as setting it to :c:func:`PyObject_HashNotImplemented`." msgstr "" -#: c-api/typeobj.rst:886 +#: c-api/typeobj.rst:887 msgid "" "This field can be set explicitly to :c:func:`PyObject_HashNotImplemented` to " "block inheritance of the hash method from a parent type. This is interpreted " @@ -1585,11 +1585,11 @@ msgid "" "`PyObject_HashNotImplemented`." msgstr "" -#: c-api/typeobj.rst:1482 +#: c-api/typeobj.rst:1483 msgid "Group: :attr:`tp_hash`, :attr:`tp_richcompare`" msgstr "" -#: c-api/typeobj.rst:898 +#: c-api/typeobj.rst:899 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_richcompare`: a subtype inherits both of :c:member:`~PyTypeObject." @@ -1598,14 +1598,14 @@ msgid "" "are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:906 +#: c-api/typeobj.rst:907 msgid "" "An optional pointer to a function that implements calling the object. This " "should be ``NULL`` if the object is not callable. The signature is the same " "as for :c:func:`PyObject_Call`::" msgstr "" -#: c-api/typeobj.rst:919 +#: c-api/typeobj.rst:920 msgid "" "An optional pointer to a function that implements the built-in operation :" "func:`str`. (Note that :class:`str` is a type now, and :func:`str` calls " @@ -1614,11 +1614,11 @@ msgid "" "this handler.)" msgstr "" -#: c-api/typeobj.rst:924 +#: c-api/typeobj.rst:925 msgid "The signature is the same as for :c:func:`PyObject_Str`::" msgstr "" -#: c-api/typeobj.rst:928 +#: c-api/typeobj.rst:929 msgid "" "The function must return a string or a Unicode object. It should be a " "\"friendly\" string representation of the object, as this is the " @@ -1626,28 +1626,28 @@ msgid "" "function." msgstr "" -#: c-api/typeobj.rst:938 +#: c-api/typeobj.rst:939 msgid "" "When this field is not set, :c:func:`PyObject_Repr` is called to return a " "string representation." msgstr "" -#: c-api/typeobj.rst:944 +#: c-api/typeobj.rst:945 msgid "An optional pointer to the get-attribute function." msgstr "" -#: c-api/typeobj.rst:946 +#: c-api/typeobj.rst:947 msgid "The signature is the same as for :c:func:`PyObject_GetAttr`::" msgstr "" -#: c-api/typeobj.rst:950 +#: c-api/typeobj.rst:951 msgid "" "It is usually convenient to set this field to :c:func:" "`PyObject_GenericGetAttr`, which implements the normal way of looking for " "object attributes." msgstr "" -#: c-api/typeobj.rst:957 +#: c-api/typeobj.rst:958 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_getattr`: a subtype inherits both :c:member:`~PyTypeObject.tp_getattr` " @@ -1656,15 +1656,15 @@ msgid "" "tp_getattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:963 +#: c-api/typeobj.rst:964 msgid ":c:type:`PyBaseObject_Type` uses :c:func:`PyObject_GenericGetAttr`." msgstr "" -#: c-api/typeobj.rst:970 +#: c-api/typeobj.rst:971 msgid "The signature is the same as for :c:func:`PyObject_SetAttr`::" msgstr "" -#: c-api/typeobj.rst:974 +#: c-api/typeobj.rst:975 msgid "" "In addition, setting *value* to ``NULL`` to delete an attribute must be " "supported. It is usually convenient to set this field to :c:func:" @@ -1672,7 +1672,7 @@ msgid "" "attributes." msgstr "" -#: c-api/typeobj.rst:983 +#: c-api/typeobj.rst:984 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_setattr`: a subtype inherits both :c:member:`~PyTypeObject.tp_setattr` " @@ -1681,24 +1681,24 @@ msgid "" "tp_setattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:989 +#: c-api/typeobj.rst:990 msgid ":c:type:`PyBaseObject_Type` uses :c:func:`PyObject_GenericSetAttr`." msgstr "" -#: c-api/typeobj.rst:994 +#: c-api/typeobj.rst:995 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement the buffer interface. These fields are documented " "in :ref:`buffer-structs`." msgstr "" -#: c-api/typeobj.rst:1000 +#: c-api/typeobj.rst:1001 msgid "" "The :c:member:`~PyTypeObject.tp_as_buffer` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:1006 +#: c-api/typeobj.rst:1007 msgid "" "This field is a bit mask of various flags. Some flags indicate variant " "semantics for certain situations; others are used to indicate that certain " @@ -1710,7 +1710,7 @@ msgid "" "accessed and must be considered to have a zero or ``NULL`` value instead." msgstr "" -#: c-api/typeobj.rst:1016 +#: c-api/typeobj.rst:1017 msgid "" "Inheritance of this field is complicated. Most flag bits are inherited " "individually, i.e. if the base type has a flag bit set, the subtype inherits " @@ -1725,17 +1725,17 @@ msgid "" "the subtype exist and have ``NULL`` values." msgstr "" -#: c-api/typeobj.rst:1031 +#: c-api/typeobj.rst:1032 msgid "" ":c:type:`PyBaseObject_Type` uses ``Py_TPFLAGS_DEFAULT | " "Py_TPFLAGS_BASETYPE``." msgstr "" -#: c-api/typeobj.rst:1034 +#: c-api/typeobj.rst:1035 msgid "**Bit Masks:**" msgstr "" -#: c-api/typeobj.rst:1036 +#: c-api/typeobj.rst:1037 msgid "" "The following bit masks are currently defined; these can be ORed together " "using the ``|`` operator to form the value of the :c:member:`~PyTypeObject." @@ -1744,7 +1744,7 @@ msgid "" "zero." msgstr "" -#: c-api/typeobj.rst:1043 +#: c-api/typeobj.rst:1044 msgid "" "This bit is set when the type object itself is allocated on the heap, for " "example, types created dynamically using :c:func:`PyType_FromSpec`. In this " @@ -1755,30 +1755,30 @@ msgid "" "gets INCREF'ed or DECREF'ed)." msgstr "" -#: c-api/typeobj.rst:1064 c-api/typeobj.rst:1084 c-api/typeobj.rst:1116 +#: c-api/typeobj.rst:1065 c-api/typeobj.rst:1085 c-api/typeobj.rst:1117 msgid "???" msgstr "" -#: c-api/typeobj.rst:1058 +#: c-api/typeobj.rst:1059 msgid "" "This bit is set when the type can be used as the base type of another type. " "If this bit is clear, the type cannot be subtyped (similar to a \"final\" " "class in Java)." msgstr "" -#: c-api/typeobj.rst:1069 +#: c-api/typeobj.rst:1070 msgid "" "This bit is set when the type object has been fully initialized by :c:func:" "`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:1079 +#: c-api/typeobj.rst:1080 msgid "" "This bit is set while :c:func:`PyType_Ready` is in the process of " "initializing the type object." msgstr "" -#: c-api/typeobj.rst:1089 +#: c-api/typeobj.rst:1090 msgid "" "This bit is set when the object supports garbage collection. If this bit is " "set, instances must be created using :c:func:`PyObject_GC_New` and destroyed " @@ -1788,12 +1788,12 @@ msgid "" "tp_clear` are present in the type object." msgstr "" -#: c-api/typeobj.rst:1356 c-api/typeobj.rst:1423 +#: c-api/typeobj.rst:1357 c-api/typeobj.rst:1424 msgid "" "Group: :const:`Py_TPFLAGS_HAVE_GC`, :attr:`tp_traverse`, :attr:`tp_clear`" msgstr "" -#: c-api/typeobj.rst:1100 +#: c-api/typeobj.rst:1101 msgid "" "The :const:`Py_TPFLAGS_HAVE_GC` flag bit is inherited together with the :" "attr:`tp_traverse` and :attr:`tp_clear` fields, i.e. if the :const:" @@ -1802,48 +1802,48 @@ msgid "" "``NULL`` values." msgstr "" -#: c-api/typeobj.rst:1110 +#: c-api/typeobj.rst:1111 msgid "" "This is a bitmask of all the bits that pertain to the existence of certain " "fields in the type object and its extension structures. Currently, it " "includes the following bits: :const:`Py_TPFLAGS_HAVE_STACKLESS_EXTENSION`." msgstr "" -#: c-api/typeobj.rst:1121 +#: c-api/typeobj.rst:1122 msgid "This bit indicates that objects behave like unbound methods." msgstr "" -#: c-api/typeobj.rst:1123 +#: c-api/typeobj.rst:1124 msgid "If this flag is set for ``type(meth)``, then:" msgstr "" -#: c-api/typeobj.rst:1125 +#: c-api/typeobj.rst:1126 msgid "" "``meth.__get__(obj, cls)(*args, **kwds)`` (with ``obj`` not None) must be " "equivalent to ``meth(obj, *args, **kwds)``." msgstr "" -#: c-api/typeobj.rst:1128 +#: c-api/typeobj.rst:1129 msgid "" "``meth.__get__(None, cls)(*args, **kwds)`` must be equivalent to " "``meth(*args, **kwds)``." msgstr "" -#: c-api/typeobj.rst:1131 +#: c-api/typeobj.rst:1132 msgid "" "This flag enables an optimization for typical method calls like ``obj." "meth()``: it avoids creating a temporary \"bound method\" object for ``obj." "meth``." msgstr "" -#: c-api/typeobj.rst:1139 +#: c-api/typeobj.rst:1140 msgid "" "This flag is never inherited by :ref:`heap types `. For " "extension types, it is inherited whenever :c:member:`~PyTypeObject." "tp_descr_get` is inherited." msgstr "" -#: c-api/typeobj.rst:1156 +#: c-api/typeobj.rst:1157 msgid "" "These flags are used by functions such as :c:func:`PyLong_Check` to quickly " "determine if a type is a subclass of a built-in type; such specific checks " @@ -1853,82 +1853,82 @@ msgid "" "behave differently depending on what kind of check is used." msgstr "" -#: c-api/typeobj.rst:1167 +#: c-api/typeobj.rst:1168 msgid "" "This bit is set when the :c:member:`~PyTypeObject.tp_finalize` slot is " "present in the type structure." msgstr "" -#: c-api/typeobj.rst:1172 +#: c-api/typeobj.rst:1173 msgid "" "This flag isn't necessary anymore, as the interpreter assumes the :c:member:" "`~PyTypeObject.tp_finalize` slot is always present in the type structure." msgstr "" -#: c-api/typeobj.rst:1180 +#: c-api/typeobj.rst:1181 msgid "" "This bit is set when the class implements the :ref:`vectorcall protocol " "`. See :c:member:`~PyTypeObject.tp_vectorcall_offset` for " "details." msgstr "" -#: c-api/typeobj.rst:1186 +#: c-api/typeobj.rst:1187 msgid "" "This bit is inherited for :ref:`static subtypes ` if :c:member:" "`~PyTypeObject.tp_call` is also inherited. :ref:`Heap types ` do " "not inherit ``Py_TPFLAGS_HAVE_VECTORCALL``." msgstr "" -#: c-api/typeobj.rst:1194 +#: c-api/typeobj.rst:1195 msgid "" "This bit is set for type objects that are immutable: type attributes cannot " "be set nor deleted." msgstr "" -#: c-api/typeobj.rst:1196 +#: c-api/typeobj.rst:1197 msgid "" ":c:func:`PyType_Ready` automatically applies this flag to :ref:`static types " "`." msgstr "" -#: c-api/typeobj.rst:1201 +#: c-api/typeobj.rst:1202 msgid "This flag is not inherited." msgstr "" -#: c-api/typeobj.rst:1207 +#: c-api/typeobj.rst:1208 msgid "" "Disallow creating instances of the type: set :c:member:`~PyTypeObject." "tp_new` to NULL and don't create the ``__new__`` key in the type dictionary." msgstr "" -#: c-api/typeobj.rst:1211 +#: c-api/typeobj.rst:1212 msgid "" "The flag must be set before creating the type, not after. For example, it " "must be set before :c:func:`PyType_Ready` is called on the type." msgstr "" -#: c-api/typeobj.rst:1214 +#: c-api/typeobj.rst:1215 msgid "" "The flag is set automatically on :ref:`static types ` if :c:" "member:`~PyTypeObject.tp_base` is NULL or ``&PyBaseObject_Type`` and :c:" "member:`~PyTypeObject.tp_new` is NULL." msgstr "" -#: c-api/typeobj.rst:1220 +#: c-api/typeobj.rst:1221 msgid "" "This flag is not inherited. However, subclasses will not be instantiable " "unless they provide a non-NULL :c:member:`~PyTypeObject.tp_new` (which is " "only possible via the C API)." msgstr "" -#: c-api/typeobj.rst:1227 +#: c-api/typeobj.rst:1228 msgid "" "To disallow instantiating a class directly but allow instantiating its " "subclasses (e.g. for an :term:`abstract base class`), do not use this flag. " "Instead, make :c:member:`~PyTypeObject.tp_new` only succeed for subclasses." msgstr "" -#: c-api/typeobj.rst:1238 +#: c-api/typeobj.rst:1239 msgid "" "This bit indicates that instances of the class may match mapping patterns " "when used as the subject of a :keyword:`match` block. It is automatically " @@ -1936,23 +1936,23 @@ msgid "" "unset when registering :class:`collections.abc.Sequence`." msgstr "" -#: c-api/typeobj.rst:1267 +#: c-api/typeobj.rst:1268 msgid "" ":const:`Py_TPFLAGS_MAPPING` and :const:`Py_TPFLAGS_SEQUENCE` are mutually " "exclusive; it is an error to enable both flags simultaneously." msgstr "" -#: c-api/typeobj.rst:1250 +#: c-api/typeobj.rst:1251 msgid "" "This flag is inherited by types that do not already set :const:" "`Py_TPFLAGS_SEQUENCE`." msgstr "" -#: c-api/typeobj.rst:1275 +#: c-api/typeobj.rst:1276 msgid ":pep:`634` -- Structural Pattern Matching: Specification" msgstr "" -#: c-api/typeobj.rst:1260 +#: c-api/typeobj.rst:1261 msgid "" "This bit indicates that instances of the class may match sequence patterns " "when used as the subject of a :keyword:`match` block. It is automatically " @@ -1960,37 +1960,37 @@ msgid "" "unset when registering :class:`collections.abc.Mapping`." msgstr "" -#: c-api/typeobj.rst:1272 +#: c-api/typeobj.rst:1273 msgid "" "This flag is inherited by types that do not already set :const:" "`Py_TPFLAGS_MAPPING`." msgstr "" -#: c-api/typeobj.rst:1282 +#: c-api/typeobj.rst:1283 msgid "" "An optional pointer to a NUL-terminated C string giving the docstring for " "this type object. This is exposed as the :attr:`__doc__` attribute on the " "type and instances of the type." msgstr "" -#: c-api/typeobj.rst:1288 +#: c-api/typeobj.rst:1289 msgid "This field is *not* inherited by subtypes." msgstr "" -#: c-api/typeobj.rst:1293 +#: c-api/typeobj.rst:1294 msgid "" "An optional pointer to a traversal function for the garbage collector. This " "is only used if the :const:`Py_TPFLAGS_HAVE_GC` flag bit is set. The " "signature is::" msgstr "" -#: c-api/typeobj.rst:1418 +#: c-api/typeobj.rst:1419 msgid "" "More information about Python's garbage collection scheme can be found in " "section :ref:`supporting-cycle-detection`." msgstr "" -#: c-api/typeobj.rst:1301 +#: c-api/typeobj.rst:1302 msgid "" "The :c:member:`~PyTypeObject.tp_traverse` pointer is used by the garbage " "collector to detect reference cycles. A typical implementation of a :c:" @@ -2000,7 +2000,7 @@ msgid "" "`_thread` extension module::" msgstr "" -#: c-api/typeobj.rst:1316 +#: c-api/typeobj.rst:1317 msgid "" "Note that :c:func:`Py_VISIT` is called only on those members that can " "participate in reference cycles. Although there is also a ``self->key`` " @@ -2008,14 +2008,14 @@ msgid "" "part of a reference cycle." msgstr "" -#: c-api/typeobj.rst:1320 +#: c-api/typeobj.rst:1321 msgid "" "On the other hand, even if you know a member can never be part of a cycle, " "as a debugging aid you may want to visit it anyway just so the :mod:`gc` " "module's :func:`~gc.get_referents` function will include it." msgstr "" -#: c-api/typeobj.rst:1325 +#: c-api/typeobj.rst:1326 msgid "" "When implementing :c:member:`~PyTypeObject.tp_traverse`, only the members " "that the instance *owns* (by having :term:`strong references ` hold a reference to " "their type. Their traversal function must therefore either visit :c:func:" @@ -2044,14 +2044,14 @@ msgid "" "superclass). If they do not, the type object may not be garbage-collected." msgstr "" -#: c-api/typeobj.rst:1349 +#: c-api/typeobj.rst:1350 msgid "" "Heap-allocated types are expected to visit ``Py_TYPE(self)`` in " "``tp_traverse``. In earlier versions of Python, due to `bug 40217 `_, doing this may lead to crashes in subclasses." msgstr "" -#: c-api/typeobj.rst:1358 +#: c-api/typeobj.rst:1359 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_clear` and the :const:`Py_TPFLAGS_HAVE_GC` flag bit: the flag bit, :c:" @@ -2059,14 +2059,14 @@ msgid "" "are all inherited from the base type if they are all zero in the subtype." msgstr "" -#: c-api/typeobj.rst:1366 +#: c-api/typeobj.rst:1367 msgid "" "An optional pointer to a clear function for the garbage collector. This is " "only used if the :const:`Py_TPFLAGS_HAVE_GC` flag bit is set. The signature " "is::" msgstr "" -#: c-api/typeobj.rst:1371 +#: c-api/typeobj.rst:1372 msgid "" "The :c:member:`~PyTypeObject.tp_clear` member function is used to break " "reference cycles in cyclic garbage detected by the garbage collector. Taken " @@ -2081,7 +2081,7 @@ msgid "" "good reason to avoid implementing :c:member:`~PyTypeObject.tp_clear`." msgstr "" -#: c-api/typeobj.rst:1381 +#: c-api/typeobj.rst:1382 msgid "" "Implementations of :c:member:`~PyTypeObject.tp_clear` should drop the " "instance's references to those of its members that may be Python objects, " @@ -2089,7 +2089,7 @@ msgid "" "example::" msgstr "" -#: c-api/typeobj.rst:1395 +#: c-api/typeobj.rst:1396 msgid "" "The :c:func:`Py_CLEAR` macro should be used, because clearing references is " "delicate: the reference to the contained object must not be decremented " @@ -2104,7 +2104,7 @@ msgid "" "in a safe order." msgstr "" -#: c-api/typeobj.rst:1406 +#: c-api/typeobj.rst:1407 msgid "" "Note that :c:member:`~PyTypeObject.tp_clear` is not *always* called before " "an instance is deallocated. For example, when reference counting is enough " @@ -2112,7 +2112,7 @@ msgid "" "is not involved and :c:member:`~PyTypeObject.tp_dealloc` is called directly." msgstr "" -#: c-api/typeobj.rst:1412 +#: c-api/typeobj.rst:1413 msgid "" "Because the goal of :c:member:`~PyTypeObject.tp_clear` functions is to break " "reference cycles, it's not necessary to clear contained objects like Python " @@ -2122,7 +2122,7 @@ msgid "" "invoke :c:member:`~PyTypeObject.tp_clear`." msgstr "" -#: c-api/typeobj.rst:1425 +#: c-api/typeobj.rst:1426 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_traverse` and the :const:`Py_TPFLAGS_HAVE_GC` flag bit: the flag bit, :c:" @@ -2130,18 +2130,18 @@ msgid "" "are all inherited from the base type if they are all zero in the subtype." msgstr "" -#: c-api/typeobj.rst:1433 +#: c-api/typeobj.rst:1434 msgid "" "An optional pointer to the rich comparison function, whose signature is::" msgstr "" -#: c-api/typeobj.rst:1437 +#: c-api/typeobj.rst:1438 msgid "" "The first parameter is guaranteed to be an instance of the type that is " "defined by :c:type:`PyTypeObject`." msgstr "" -#: c-api/typeobj.rst:1440 +#: c-api/typeobj.rst:1441 msgid "" "The function should return the result of the comparison (usually ``Py_True`` " "or ``Py_False``). If the comparison is undefined, it must return " @@ -2149,74 +2149,74 @@ msgid "" "set an exception condition." msgstr "" -#: c-api/typeobj.rst:1445 +#: c-api/typeobj.rst:1446 msgid "" "The following constants are defined to be used as the third argument for :c:" "member:`~PyTypeObject.tp_richcompare` and for :c:func:`PyObject_RichCompare`:" msgstr "" -#: c-api/typeobj.rst:1449 +#: c-api/typeobj.rst:1450 msgid "Constant" msgstr "" -#: c-api/typeobj.rst:1449 +#: c-api/typeobj.rst:1450 msgid "Comparison" msgstr "" -#: c-api/typeobj.rst:1451 +#: c-api/typeobj.rst:1452 msgid ":const:`Py_LT`" msgstr "" -#: c-api/typeobj.rst:1451 +#: c-api/typeobj.rst:1452 msgid "``<``" msgstr "" -#: c-api/typeobj.rst:1453 +#: c-api/typeobj.rst:1454 msgid ":const:`Py_LE`" msgstr "" -#: c-api/typeobj.rst:1453 +#: c-api/typeobj.rst:1454 msgid "``<=``" msgstr "" -#: c-api/typeobj.rst:1455 +#: c-api/typeobj.rst:1456 msgid ":const:`Py_EQ`" msgstr "" -#: c-api/typeobj.rst:1455 +#: c-api/typeobj.rst:1456 msgid "``==``" msgstr "" -#: c-api/typeobj.rst:1457 +#: c-api/typeobj.rst:1458 msgid ":const:`Py_NE`" msgstr "" -#: c-api/typeobj.rst:1457 +#: c-api/typeobj.rst:1458 msgid "``!=``" msgstr "" -#: c-api/typeobj.rst:1459 +#: c-api/typeobj.rst:1460 msgid ":const:`Py_GT`" msgstr "" -#: c-api/typeobj.rst:1459 +#: c-api/typeobj.rst:1460 msgid "``>``" msgstr "" -#: c-api/typeobj.rst:1461 +#: c-api/typeobj.rst:1462 msgid ":const:`Py_GE`" msgstr "" -#: c-api/typeobj.rst:1461 +#: c-api/typeobj.rst:1462 msgid "``>=``" msgstr "" -#: c-api/typeobj.rst:1464 +#: c-api/typeobj.rst:1465 msgid "" "The following macro is defined to ease writing rich comparison functions:" msgstr "" -#: c-api/typeobj.rst:1468 +#: c-api/typeobj.rst:1469 msgid "" "Return ``Py_True`` or ``Py_False`` from the function, depending on the " "result of a comparison. VAL_A and VAL_B must be orderable by C comparison " @@ -2224,15 +2224,15 @@ msgid "" "specifies the requested operation, as for :c:func:`PyObject_RichCompare`." msgstr "" -#: c-api/typeobj.rst:1474 +#: c-api/typeobj.rst:1475 msgid "The return value's reference count is properly incremented." msgstr "" -#: c-api/typeobj.rst:1476 +#: c-api/typeobj.rst:1477 msgid "On error, sets an exception and returns ``NULL`` from the function." msgstr "" -#: c-api/typeobj.rst:1484 +#: c-api/typeobj.rst:1485 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_hash`: a subtype inherits :c:member:`~PyTypeObject.tp_richcompare` and :c:" @@ -2240,7 +2240,7 @@ msgid "" "tp_richcompare` and :c:member:`~PyTypeObject.tp_hash` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:1491 +#: c-api/typeobj.rst:1492 msgid "" ":c:type:`PyBaseObject_Type` provides a :attr:`tp_richcompare` " "implementation, which may be inherited. However, if only :attr:`tp_hash` is " @@ -2248,7 +2248,7 @@ msgid "" "will not be able to participate in any comparisons." msgstr "" -#: c-api/typeobj.rst:1500 +#: c-api/typeobj.rst:1501 msgid "" "If the instances of this type are weakly referenceable, this field is " "greater than zero and contains the offset in the instance structure of the " @@ -2258,13 +2258,13 @@ msgid "" "`PyObject*` which is initialized to ``NULL``." msgstr "" -#: c-api/typeobj.rst:1507 +#: c-api/typeobj.rst:1508 msgid "" "Do not confuse this field with :c:member:`~PyTypeObject.tp_weaklist`; that " "is the list head for weak references to the type object itself." msgstr "" -#: c-api/typeobj.rst:1512 +#: c-api/typeobj.rst:1513 msgid "" "This field is inherited by subtypes, but see the rules listed below. A " "subtype may override this offset; this means that the subtype uses a " @@ -2273,7 +2273,7 @@ msgid "" "not be a problem." msgstr "" -#: c-api/typeobj.rst:1517 +#: c-api/typeobj.rst:1518 msgid "" "When a type defined by a class statement has no :attr:`~object.__slots__` " "declaration, and none of its base types are weakly referenceable, the type " @@ -2282,7 +2282,7 @@ msgid "" "tp_weaklistoffset` of that slot's offset." msgstr "" -#: c-api/typeobj.rst:1522 +#: c-api/typeobj.rst:1523 msgid "" "When a type's :attr:`__slots__` declaration contains a slot named :attr:" "`__weakref__`, that slot becomes the weak reference list head for instances " @@ -2290,31 +2290,31 @@ msgid "" "`~PyTypeObject.tp_weaklistoffset`." msgstr "" -#: c-api/typeobj.rst:1527 +#: c-api/typeobj.rst:1528 msgid "" "When a type's :attr:`__slots__` declaration does not contain a slot named :" "attr:`__weakref__`, the type inherits its :c:member:`~PyTypeObject." "tp_weaklistoffset` from its base type." msgstr "" -#: c-api/typeobj.rst:1534 +#: c-api/typeobj.rst:1535 msgid "" "An optional pointer to a function that returns an :term:`iterator` for the " "object. Its presence normally signals that the instances of this type are :" "term:`iterable` (although sequences may be iterable without this function)." msgstr "" -#: c-api/typeobj.rst:1538 +#: c-api/typeobj.rst:1539 msgid "This function has the same signature as :c:func:`PyObject_GetIter`::" msgstr "" -#: c-api/typeobj.rst:1549 +#: c-api/typeobj.rst:1550 msgid "" "An optional pointer to a function that returns the next item in an :term:" "`iterator`. The signature is::" msgstr "" -#: c-api/typeobj.rst:1554 +#: c-api/typeobj.rst:1555 msgid "" "When the iterator is exhausted, it must return ``NULL``; a :exc:" "`StopIteration` exception may or may not be set. When another error occurs, " @@ -2322,74 +2322,74 @@ msgid "" "this type are iterators." msgstr "" -#: c-api/typeobj.rst:1559 +#: c-api/typeobj.rst:1560 msgid "" "Iterator types should also define the :c:member:`~PyTypeObject.tp_iter` " "function, and that function should return the iterator instance itself (not " "a new iterator instance)." msgstr "" -#: c-api/typeobj.rst:1563 +#: c-api/typeobj.rst:1564 msgid "This function has the same signature as :c:func:`PyIter_Next`." msgstr "" -#: c-api/typeobj.rst:1572 +#: c-api/typeobj.rst:1573 msgid "" "An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyMethodDef` structures, declaring regular methods of this type." msgstr "" -#: c-api/typeobj.rst:1575 +#: c-api/typeobj.rst:1576 msgid "" "For each entry in the array, an entry is added to the type's dictionary " "(see :c:member:`~PyTypeObject.tp_dict` below) containing a method descriptor." msgstr "" -#: c-api/typeobj.rst:1580 +#: c-api/typeobj.rst:1581 msgid "" "This field is not inherited by subtypes (methods are inherited through a " "different mechanism)." msgstr "" -#: c-api/typeobj.rst:1586 +#: c-api/typeobj.rst:1587 msgid "" "An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyMemberDef` structures, declaring regular data members (fields or slots) " "of instances of this type." msgstr "" -#: c-api/typeobj.rst:1590 +#: c-api/typeobj.rst:1591 msgid "" "For each entry in the array, an entry is added to the type's dictionary " "(see :c:member:`~PyTypeObject.tp_dict` below) containing a member descriptor." msgstr "" -#: c-api/typeobj.rst:1595 +#: c-api/typeobj.rst:1596 msgid "" "This field is not inherited by subtypes (members are inherited through a " "different mechanism)." msgstr "" -#: c-api/typeobj.rst:1601 +#: c-api/typeobj.rst:1602 msgid "" "An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyGetSetDef` structures, declaring computed attributes of instances of this " "type." msgstr "" -#: c-api/typeobj.rst:1604 +#: c-api/typeobj.rst:1605 msgid "" "For each entry in the array, an entry is added to the type's dictionary " "(see :c:member:`~PyTypeObject.tp_dict` below) containing a getset descriptor." msgstr "" -#: c-api/typeobj.rst:1609 +#: c-api/typeobj.rst:1610 msgid "" "This field is not inherited by subtypes (computed attributes are inherited " "through a different mechanism)." msgstr "" -#: c-api/typeobj.rst:1615 +#: c-api/typeobj.rst:1616 msgid "" "An optional pointer to a base type from which type properties are " "inherited. At this level, only single inheritance is supported; multiple " @@ -2397,7 +2397,7 @@ msgid "" "metatype." msgstr "" -#: c-api/typeobj.rst:1623 +#: c-api/typeobj.rst:1624 msgid "" "Slot initialization is subject to the rules of initializing globals. C99 " "requires the initializers to be \"address constants\". Function designators " @@ -2405,7 +2405,7 @@ msgid "" "valid C99 address constants." msgstr "" -#: c-api/typeobj.rst:1628 +#: c-api/typeobj.rst:1629 msgid "" "However, the unary '&' operator applied to a non-static variable like :c:" "func:`PyBaseObject_Type` is not required to produce an address constant. " @@ -2413,27 +2413,27 @@ msgid "" "strictly standard conforming in this particular behavior." msgstr "" -#: c-api/typeobj.rst:1634 +#: c-api/typeobj.rst:1635 msgid "" "Consequently, :c:member:`~PyTypeObject.tp_base` should be set in the " "extension module's init function." msgstr "" -#: c-api/typeobj.rst:1639 +#: c-api/typeobj.rst:1640 msgid "This field is not inherited by subtypes (obviously)." msgstr "" -#: c-api/typeobj.rst:1643 +#: c-api/typeobj.rst:1644 msgid "" "This field defaults to ``&PyBaseObject_Type`` (which to Python programmers " "is known as the type :class:`object`)." msgstr "" -#: c-api/typeobj.rst:1649 +#: c-api/typeobj.rst:1650 msgid "The type's dictionary is stored here by :c:func:`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:1651 +#: c-api/typeobj.rst:1652 msgid "" "This field should normally be initialized to ``NULL`` before PyType_Ready is " "called; it may also be initialized to a dictionary containing initial " @@ -2442,43 +2442,43 @@ msgid "" "they don't correspond to overloaded operations (like :meth:`__add__`)." msgstr "" -#: c-api/typeobj.rst:1659 +#: c-api/typeobj.rst:1660 msgid "" "This field is not inherited by subtypes (though the attributes defined in " "here are inherited through a different mechanism)." msgstr "" -#: c-api/typeobj.rst:1664 +#: c-api/typeobj.rst:1665 msgid "" "If this field is ``NULL``, :c:func:`PyType_Ready` will assign a new " "dictionary to it." msgstr "" -#: c-api/typeobj.rst:1669 +#: c-api/typeobj.rst:1670 msgid "" "It is not safe to use :c:func:`PyDict_SetItem` on or otherwise modify :c:" "member:`~PyTypeObject.tp_dict` with the dictionary C-API." msgstr "" -#: c-api/typeobj.rst:1675 +#: c-api/typeobj.rst:1676 msgid "An optional pointer to a \"descriptor get\" function." msgstr "" -#: c-api/typeobj.rst:1693 c-api/typeobj.rst:1805 c-api/typeobj.rst:1829 +#: c-api/typeobj.rst:1694 c-api/typeobj.rst:1806 c-api/typeobj.rst:1830 msgid "The function signature is::" msgstr "" -#: c-api/typeobj.rst:1690 +#: c-api/typeobj.rst:1691 msgid "" "An optional pointer to a function for setting and deleting a descriptor's " "value." msgstr "" -#: c-api/typeobj.rst:1697 +#: c-api/typeobj.rst:1698 msgid "The *value* argument is set to ``NULL`` to delete the value." msgstr "" -#: c-api/typeobj.rst:1708 +#: c-api/typeobj.rst:1709 msgid "" "If the instances of this type have a dictionary containing instance " "variables, this field is non-zero and contains the offset in the instances " @@ -2486,13 +2486,13 @@ msgid "" "func:`PyObject_GenericGetAttr`." msgstr "" -#: c-api/typeobj.rst:1713 +#: c-api/typeobj.rst:1714 msgid "" "Do not confuse this field with :c:member:`~PyTypeObject.tp_dict`; that is " "the dictionary for attributes of the type object itself." msgstr "" -#: c-api/typeobj.rst:1716 +#: c-api/typeobj.rst:1717 msgid "" "If the value of this field is greater than zero, it specifies the offset " "from the start of the instance structure. If the value is less than zero, " @@ -2508,13 +2508,13 @@ msgid "" "the very end of the structure." msgstr "" -#: c-api/typeobj.rst:1728 +#: c-api/typeobj.rst:1729 msgid "" "The real dictionary offset in an instance can be computed from a negative :c:" "member:`~PyTypeObject.tp_dictoffset` as follows::" msgstr "" -#: c-api/typeobj.rst:1735 +#: c-api/typeobj.rst:1736 msgid "" "where :c:member:`~PyTypeObject.tp_basicsize`, :c:member:`~PyTypeObject." "tp_itemsize` and :c:member:`~PyTypeObject.tp_dictoffset` are taken from the " @@ -2524,7 +2524,7 @@ msgid "" "it is done for you by :c:func:`_PyObject_GetDictPtr`.)" msgstr "" -#: c-api/typeobj.rst:1743 +#: c-api/typeobj.rst:1744 msgid "" "This field is inherited by subtypes, but see the rules listed below. A " "subtype may override this offset; this means that the subtype instances " @@ -2533,7 +2533,7 @@ msgid "" "should not be a problem." msgstr "" -#: c-api/typeobj.rst:1748 +#: c-api/typeobj.rst:1749 msgid "" "When a type defined by a class statement has no :attr:`~object.__slots__` " "declaration, and none of its base types has an instance variable dictionary, " @@ -2541,14 +2541,14 @@ msgid "" "`~PyTypeObject.tp_dictoffset` is set to that slot's offset." msgstr "" -#: c-api/typeobj.rst:1753 +#: c-api/typeobj.rst:1754 msgid "" "When a type defined by a class statement has a :attr:`__slots__` " "declaration, the type inherits its :c:member:`~PyTypeObject.tp_dictoffset` " "from its base type." msgstr "" -#: c-api/typeobj.rst:1756 +#: c-api/typeobj.rst:1757 msgid "" "(Adding a slot named :attr:`~object.__dict__` to the :attr:`__slots__` " "declaration does not have the expected effect, it just causes confusion. " @@ -2556,17 +2556,17 @@ msgid "" "though.)" msgstr "" -#: c-api/typeobj.rst:1762 +#: c-api/typeobj.rst:1763 msgid "" "This slot has no default. For :ref:`static types `, if the " "field is ``NULL`` then no :attr:`__dict__` gets created for instances." msgstr "" -#: c-api/typeobj.rst:1768 +#: c-api/typeobj.rst:1769 msgid "An optional pointer to an instance initialization function." msgstr "" -#: c-api/typeobj.rst:1770 +#: c-api/typeobj.rst:1771 msgid "" "This function corresponds to the :meth:`__init__` method of classes. Like :" "meth:`__init__`, it is possible to create an instance without calling :meth:" @@ -2574,14 +2574,14 @@ msgid "" "meth:`__init__` method again." msgstr "" -#: c-api/typeobj.rst:1779 +#: c-api/typeobj.rst:1780 msgid "" "The self argument is the instance to be initialized; the *args* and *kwds* " "arguments represent positional and keyword arguments of the call to :meth:" "`__init__`." msgstr "" -#: c-api/typeobj.rst:1783 +#: c-api/typeobj.rst:1784 msgid "" "The :c:member:`~PyTypeObject.tp_init` function, if not ``NULL``, is called " "when an instance is created normally by calling its type, after the type's :" @@ -2593,43 +2593,43 @@ msgid "" "subtype's :c:member:`~PyTypeObject.tp_init` is called." msgstr "" -#: c-api/typeobj.rst:1790 +#: c-api/typeobj.rst:1791 msgid "Returns ``0`` on success, ``-1`` and sets an exception on error." msgstr "" -#: c-api/typeobj.rst:1798 +#: c-api/typeobj.rst:1799 msgid "" "For :ref:`static types ` this field does not have a default." msgstr "" -#: c-api/typeobj.rst:1803 +#: c-api/typeobj.rst:1804 msgid "An optional pointer to an instance allocation function." msgstr "" -#: c-api/typeobj.rst:1811 +#: c-api/typeobj.rst:1812 msgid "" "This field is inherited by static subtypes, but not by dynamic subtypes " "(subtypes created by a class statement)." msgstr "" -#: c-api/typeobj.rst:1816 +#: c-api/typeobj.rst:1817 msgid "" "For dynamic subtypes, this field is always set to :c:func:" "`PyType_GenericAlloc`, to force a standard heap allocation strategy." msgstr "" -#: c-api/typeobj.rst:1820 +#: c-api/typeobj.rst:1821 msgid "" "For static subtypes, :c:type:`PyBaseObject_Type` uses :c:func:" "`PyType_GenericAlloc`. That is the recommended value for all statically " "defined types." msgstr "" -#: c-api/typeobj.rst:1827 +#: c-api/typeobj.rst:1828 msgid "An optional pointer to an instance creation function." msgstr "" -#: c-api/typeobj.rst:1833 +#: c-api/typeobj.rst:1834 msgid "" "The *subtype* argument is the type of the object being created; the *args* " "and *kwds* arguments represent positional and keyword arguments of the call " @@ -2638,7 +2638,7 @@ msgid "" "that type (but not an unrelated type)." msgstr "" -#: c-api/typeobj.rst:1839 +#: c-api/typeobj.rst:1840 msgid "" "The :c:member:`~PyTypeObject.tp_new` function should call ``subtype-" ">tp_alloc(subtype, nitems)`` to allocate space for the object, and then do " @@ -2650,20 +2650,20 @@ msgid "" "be deferred to :c:member:`~PyTypeObject.tp_init`." msgstr "" -#: c-api/typeobj.rst:1847 +#: c-api/typeobj.rst:1848 msgid "" "Set the :const:`Py_TPFLAGS_DISALLOW_INSTANTIATION` flag to disallow creating " "instances of the type in Python." msgstr "" -#: c-api/typeobj.rst:1852 +#: c-api/typeobj.rst:1853 msgid "" "This field is inherited by subtypes, except it is not inherited by :ref:" "`static types ` whose :c:member:`~PyTypeObject.tp_base` is " "``NULL`` or ``&PyBaseObject_Type``." msgstr "" -#: c-api/typeobj.rst:1858 +#: c-api/typeobj.rst:1859 msgid "" "For :ref:`static types ` this field has no default. This means " "if the slot is defined as ``NULL``, the type cannot be called to create new " @@ -2671,39 +2671,39 @@ msgid "" "factory function." msgstr "" -#: c-api/typeobj.rst:1866 +#: c-api/typeobj.rst:1867 msgid "" "An optional pointer to an instance deallocation function. Its signature is::" msgstr "" -#: c-api/typeobj.rst:1870 +#: c-api/typeobj.rst:1871 msgid "" "An initializer that is compatible with this signature is :c:func:" "`PyObject_Free`." msgstr "" -#: c-api/typeobj.rst:1874 +#: c-api/typeobj.rst:1875 msgid "" "This field is inherited by static subtypes, but not by dynamic subtypes " "(subtypes created by a class statement)" msgstr "" -#: c-api/typeobj.rst:1879 +#: c-api/typeobj.rst:1880 msgid "" "In dynamic subtypes, this field is set to a deallocator suitable to match :c:" "func:`PyType_GenericAlloc` and the value of the :const:`Py_TPFLAGS_HAVE_GC` " "flag bit." msgstr "" -#: c-api/typeobj.rst:1883 +#: c-api/typeobj.rst:1884 msgid "For static subtypes, :c:type:`PyBaseObject_Type` uses PyObject_Del." msgstr "" -#: c-api/typeobj.rst:1888 +#: c-api/typeobj.rst:1889 msgid "An optional pointer to a function called by the garbage collector." msgstr "" -#: c-api/typeobj.rst:1890 +#: c-api/typeobj.rst:1891 msgid "" "The garbage collector needs to know whether a particular object is " "collectible or not. Normally, it is sufficient to look at the object's " @@ -2715,88 +2715,88 @@ msgid "" "instance. The signature is::" msgstr "" -#: c-api/typeobj.rst:1900 +#: c-api/typeobj.rst:1901 msgid "" "(The only example of this are types themselves. The metatype, :c:data:" "`PyType_Type`, defines this function to distinguish between statically and :" "ref:`dynamically allocated types `.)" msgstr "" -#: c-api/typeobj.rst:1910 +#: c-api/typeobj.rst:1911 msgid "" "This slot has no default. If this field is ``NULL``, :const:" "`Py_TPFLAGS_HAVE_GC` is used as the functional equivalent." msgstr "" -#: c-api/typeobj.rst:1916 +#: c-api/typeobj.rst:1917 msgid "Tuple of base types." msgstr "" -#: c-api/typeobj.rst:1942 +#: c-api/typeobj.rst:1943 msgid "" "This field should be set to ``NULL`` and treated as read-only. Python will " "fill it in when the type is :c:func:`initialized `." msgstr "" -#: c-api/typeobj.rst:1921 +#: c-api/typeobj.rst:1922 msgid "" "For dynamically created classes, the ``Py_tp_bases`` :c:type:`slot " "` can be used instead of the *bases* argument of :c:func:" "`PyType_FromSpecWithBases`. The argument form is preferred." msgstr "" -#: c-api/typeobj.rst:1928 +#: c-api/typeobj.rst:1929 msgid "" "Multiple inheritance does not work well for statically defined types. If you " "set ``tp_bases`` to a tuple, Python will not raise an error, but some slots " "will only be inherited from the first base." msgstr "" -#: c-api/typeobj.rst:1957 c-api/typeobj.rst:1976 c-api/typeobj.rst:1990 +#: c-api/typeobj.rst:1958 c-api/typeobj.rst:1977 c-api/typeobj.rst:1991 msgid "This field is not inherited." msgstr "" -#: c-api/typeobj.rst:1939 +#: c-api/typeobj.rst:1940 msgid "" "Tuple containing the expanded set of base types, starting with the type " "itself and ending with :class:`object`, in Method Resolution Order." msgstr "" -#: c-api/typeobj.rst:1947 +#: c-api/typeobj.rst:1948 msgid "" "This field is not inherited; it is calculated fresh by :c:func:" "`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:1953 +#: c-api/typeobj.rst:1954 msgid "Unused. Internal use only." msgstr "" -#: c-api/typeobj.rst:1962 +#: c-api/typeobj.rst:1963 msgid "List of weak references to subclasses. Internal use only." msgstr "" -#: c-api/typeobj.rst:1971 +#: c-api/typeobj.rst:1972 msgid "" "Weak reference list head, for weak references to this type object. Not " "inherited. Internal use only." msgstr "" -#: c-api/typeobj.rst:1981 +#: c-api/typeobj.rst:1982 msgid "" "This field is deprecated. Use :c:member:`~PyTypeObject.tp_finalize` instead." msgstr "" -#: c-api/typeobj.rst:1986 +#: c-api/typeobj.rst:1987 msgid "Used to index into the method cache. Internal use only." msgstr "" -#: c-api/typeobj.rst:1995 +#: c-api/typeobj.rst:1996 msgid "" "An optional pointer to an instance finalization function. Its signature is::" msgstr "" -#: c-api/typeobj.rst:1999 +#: c-api/typeobj.rst:2000 msgid "" "If :c:member:`~PyTypeObject.tp_finalize` is set, the interpreter calls it " "once when finalizing an instance. It is called either from the garbage " @@ -2806,14 +2806,14 @@ msgid "" "object in a sane state." msgstr "" -#: c-api/typeobj.rst:2006 +#: c-api/typeobj.rst:2007 msgid "" ":c:member:`~PyTypeObject.tp_finalize` should not mutate the current " "exception status; therefore, a recommended way to write a non-trivial " "finalizer is::" msgstr "" -#: c-api/typeobj.rst:2023 +#: c-api/typeobj.rst:2024 msgid "" "Also, note that, in a garbage collected Python, :c:member:`~PyTypeObject." "tp_dealloc` may be called from any Python thread, not just the thread which " @@ -2826,18 +2826,18 @@ msgid "" "which called tp_dealloc will not violate any assumptions of the library." msgstr "" -#: c-api/typeobj.rst:2042 +#: c-api/typeobj.rst:2043 msgid "" "Before version 3.8 it was necessary to set the :const:" "`Py_TPFLAGS_HAVE_FINALIZE` flags bit in order for this field to be used. " "This is no longer required." msgstr "" -#: c-api/typeobj.rst:2046 +#: c-api/typeobj.rst:2047 msgid "\"Safe object finalization\" (:pep:`442`)" msgstr "" -#: c-api/typeobj.rst:2051 +#: c-api/typeobj.rst:2052 msgid "" "Vectorcall function to use for calls of this type object. In other words, it " "is used to implement :ref:`vectorcall ` for ``type.__call__``. " @@ -2845,61 +2845,61 @@ msgid "" "attr:`__new__` and :attr:`__init__` is used." msgstr "" -#: c-api/typeobj.rst:2059 +#: c-api/typeobj.rst:2060 msgid "This field is never inherited." msgstr "" -#: c-api/typeobj.rst:2061 +#: c-api/typeobj.rst:2062 msgid "(the field exists since 3.8 but it's only used since 3.9)" msgstr "" -#: c-api/typeobj.rst:2067 +#: c-api/typeobj.rst:2068 msgid "Static Types" msgstr "" -#: c-api/typeobj.rst:2069 +#: c-api/typeobj.rst:2070 msgid "" "Traditionally, types defined in C code are *static*, that is, a static :c:" "type:`PyTypeObject` structure is defined directly in code and initialized " "using :c:func:`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:2073 +#: c-api/typeobj.rst:2074 msgid "" "This results in types that are limited relative to types defined in Python:" msgstr "" -#: c-api/typeobj.rst:2075 +#: c-api/typeobj.rst:2076 msgid "" "Static types are limited to one base, i.e. they cannot use multiple " "inheritance." msgstr "" -#: c-api/typeobj.rst:2077 +#: c-api/typeobj.rst:2078 msgid "" "Static type objects (but not necessarily their instances) are immutable. It " "is not possible to add or modify the type object's attributes from Python." msgstr "" -#: c-api/typeobj.rst:2079 +#: c-api/typeobj.rst:2080 msgid "" "Static type objects are shared across :ref:`sub-interpreters `, so they should not include any subinterpreter-" "specific state." msgstr "" -#: c-api/typeobj.rst:2083 +#: c-api/typeobj.rst:2084 msgid "" "Also, since :c:type:`PyTypeObject` is only part of the :ref:`Limited API " "` as an opaque struct, any extension modules using static types must " "be compiled for a specific Python minor version." msgstr "" -#: c-api/typeobj.rst:2091 +#: c-api/typeobj.rst:2092 msgid "Heap Types" msgstr "" -#: c-api/typeobj.rst:2093 +#: c-api/typeobj.rst:2094 msgid "" "An alternative to :ref:`static types ` is *heap-allocated " "types*, or *heap types* for short, which correspond closely to classes " @@ -2907,29 +2907,29 @@ msgid "" "`Py_TPFLAGS_HEAPTYPE` flag set." msgstr "" -#: c-api/typeobj.rst:2098 +#: c-api/typeobj.rst:2099 msgid "" "This is done by filling a :c:type:`PyType_Spec` structure and calling :c:" "func:`PyType_FromSpec`, :c:func:`PyType_FromSpecWithBases`, or :c:func:" "`PyType_FromModuleAndSpec`." msgstr "" -#: c-api/typeobj.rst:2106 +#: c-api/typeobj.rst:2107 msgid "Number Object Structures" msgstr "" -#: c-api/typeobj.rst:2113 +#: c-api/typeobj.rst:2114 msgid "" "This structure holds pointers to the functions which an object uses to " "implement the number protocol. Each function is used by the function of " "similar name documented in the :ref:`number` section." msgstr "" -#: c-api/typeobj.rst:2443 +#: c-api/typeobj.rst:2444 msgid "Here is the structure definition::" msgstr "" -#: c-api/typeobj.rst:2166 +#: c-api/typeobj.rst:2167 msgid "" "Binary and ternary functions must check the type of all their operands, and " "implement the necessary conversions (at least one of the operands is an " @@ -2939,30 +2939,30 @@ msgid "" "and set an exception." msgstr "" -#: c-api/typeobj.rst:2175 +#: c-api/typeobj.rst:2176 msgid "" "The :c:data:`nb_reserved` field should always be ``NULL``. It was " "previously called :c:data:`nb_long`, and was renamed in Python 3.0.1." msgstr "" -#: c-api/typeobj.rst:2220 +#: c-api/typeobj.rst:2221 msgid "Mapping Object Structures" msgstr "" -#: c-api/typeobj.rst:2227 +#: c-api/typeobj.rst:2228 msgid "" "This structure holds pointers to the functions which an object uses to " "implement the mapping protocol. It has three members:" msgstr "" -#: c-api/typeobj.rst:2232 +#: c-api/typeobj.rst:2233 msgid "" "This function is used by :c:func:`PyMapping_Size` and :c:func:" "`PyObject_Size`, and has the same signature. This slot may be set to " "``NULL`` if the object has no defined length." msgstr "" -#: c-api/typeobj.rst:2238 +#: c-api/typeobj.rst:2239 msgid "" "This function is used by :c:func:`PyObject_GetItem` and :c:func:" "`PySequence_GetSlice`, and has the same signature as :c:func:`!" @@ -2970,7 +2970,7 @@ msgid "" "`PyMapping_Check` function to return ``1``, it can be ``NULL`` otherwise." msgstr "" -#: c-api/typeobj.rst:2246 +#: c-api/typeobj.rst:2247 msgid "" "This function is used by :c:func:`PyObject_SetItem`, :c:func:" "`PyObject_DelItem`, :c:func:`PyObject_SetSlice` and :c:func:" @@ -2980,17 +2980,17 @@ msgid "" "deletion." msgstr "" -#: c-api/typeobj.rst:2257 +#: c-api/typeobj.rst:2258 msgid "Sequence Object Structures" msgstr "" -#: c-api/typeobj.rst:2264 +#: c-api/typeobj.rst:2265 msgid "" "This structure holds pointers to the functions which an object uses to " "implement the sequence protocol." msgstr "" -#: c-api/typeobj.rst:2269 +#: c-api/typeobj.rst:2270 msgid "" "This function is used by :c:func:`PySequence_Size` and :c:func:" "`PyObject_Size`, and has the same signature. It is also used for handling " @@ -2998,21 +2998,21 @@ msgid "" "member:`~PySequenceMethods.sq_ass_item` slots." msgstr "" -#: c-api/typeobj.rst:2276 +#: c-api/typeobj.rst:2277 msgid "" "This function is used by :c:func:`PySequence_Concat` and has the same " "signature. It is also used by the ``+`` operator, after trying the numeric " "addition via the :c:member:`~PyNumberMethods.nb_add` slot." msgstr "" -#: c-api/typeobj.rst:2282 +#: c-api/typeobj.rst:2283 msgid "" "This function is used by :c:func:`PySequence_Repeat` and has the same " "signature. It is also used by the ``*`` operator, after trying numeric " "multiplication via the :c:member:`~PyNumberMethods.nb_multiply` slot." msgstr "" -#: c-api/typeobj.rst:2288 +#: c-api/typeobj.rst:2289 msgid "" "This function is used by :c:func:`PySequence_GetItem` and has the same " "signature. It is also used by :c:func:`PyObject_GetItem`, after trying the " @@ -3021,7 +3021,7 @@ msgid "" "``1``, it can be ``NULL`` otherwise." msgstr "" -#: c-api/typeobj.rst:2294 +#: c-api/typeobj.rst:2295 msgid "" "Negative indexes are handled as follows: if the :attr:`sq_length` slot is " "filled, it is called and the sequence length is used to compute a positive " @@ -3029,7 +3029,7 @@ msgid "" "the index is passed as is to the function." msgstr "" -#: c-api/typeobj.rst:2301 +#: c-api/typeobj.rst:2302 msgid "" "This function is used by :c:func:`PySequence_SetItem` and has the same " "signature. It is also used by :c:func:`PyObject_SetItem` and :c:func:" @@ -3038,14 +3038,14 @@ msgid "" "``NULL`` if the object does not support item assignment and deletion." msgstr "" -#: c-api/typeobj.rst:2310 +#: c-api/typeobj.rst:2311 msgid "" "This function may be used by :c:func:`PySequence_Contains` and has the same " "signature. This slot may be left to ``NULL``, in this case :c:func:`!" "PySequence_Contains` simply traverses the sequence until it finds a match." msgstr "" -#: c-api/typeobj.rst:2317 +#: c-api/typeobj.rst:2318 msgid "" "This function is used by :c:func:`PySequence_InPlaceConcat` and has the same " "signature. It should modify its first operand, and return it. This slot " @@ -3055,7 +3055,7 @@ msgid "" "c:member:`~PyNumberMethods.nb_inplace_add` slot." msgstr "" -#: c-api/typeobj.rst:2326 +#: c-api/typeobj.rst:2327 msgid "" "This function is used by :c:func:`PySequence_InPlaceRepeat` and has the same " "signature. It should modify its first operand, and return it. This slot " @@ -3065,70 +3065,70 @@ msgid "" "via the :c:member:`~PyNumberMethods.nb_inplace_multiply` slot." msgstr "" -#: c-api/typeobj.rst:2337 +#: c-api/typeobj.rst:2338 msgid "Buffer Object Structures" msgstr "" -#: c-api/typeobj.rst:2345 +#: c-api/typeobj.rst:2346 msgid "" "This structure holds pointers to the functions required by the :ref:`Buffer " "protocol `. The protocol defines how an exporter object can " "expose its internal data to consumer objects." msgstr "" -#: c-api/typeobj.rst:2400 c-api/typeobj.rst:2465 c-api/typeobj.rst:2486 +#: c-api/typeobj.rst:2401 c-api/typeobj.rst:2466 c-api/typeobj.rst:2487 msgid "The signature of this function is::" msgstr "" -#: c-api/typeobj.rst:2355 +#: c-api/typeobj.rst:2356 msgid "" "Handle a request to *exporter* to fill in *view* as specified by *flags*. " "Except for point (3), an implementation of this function MUST take these " "steps:" msgstr "" -#: c-api/typeobj.rst:2359 +#: c-api/typeobj.rst:2360 msgid "" "Check if the request can be met. If not, raise :c:data:`PyExc_BufferError`, " "set :c:expr:`view->obj` to ``NULL`` and return ``-1``." msgstr "" -#: c-api/typeobj.rst:2362 +#: c-api/typeobj.rst:2363 msgid "Fill in the requested fields." msgstr "" -#: c-api/typeobj.rst:2364 +#: c-api/typeobj.rst:2365 msgid "Increment an internal counter for the number of exports." msgstr "" -#: c-api/typeobj.rst:2366 +#: c-api/typeobj.rst:2367 msgid "" "Set :c:expr:`view->obj` to *exporter* and increment :c:expr:`view->obj`." msgstr "" -#: c-api/typeobj.rst:2368 +#: c-api/typeobj.rst:2369 msgid "Return ``0``." msgstr "" -#: c-api/typeobj.rst:2370 +#: c-api/typeobj.rst:2371 msgid "" "If *exporter* is part of a chain or tree of buffer providers, two main " "schemes can be used:" msgstr "" -#: c-api/typeobj.rst:2373 +#: c-api/typeobj.rst:2374 msgid "" "Re-export: Each member of the tree acts as the exporting object and sets :c:" "expr:`view->obj` to a new reference to itself." msgstr "" -#: c-api/typeobj.rst:2376 +#: c-api/typeobj.rst:2377 msgid "" "Redirect: The buffer request is redirected to the root object of the tree. " "Here, :c:expr:`view->obj` will be a new reference to the root object." msgstr "" -#: c-api/typeobj.rst:2380 +#: c-api/typeobj.rst:2381 msgid "" "The individual fields of *view* are described in section :ref:`Buffer " "structure `, the rules how an exporter must react to " @@ -3136,7 +3136,7 @@ msgid "" "types>`." msgstr "" -#: c-api/typeobj.rst:2385 +#: c-api/typeobj.rst:2386 msgid "" "All memory pointed to in the :c:type:`Py_buffer` structure belongs to the " "exporter and must remain valid until there are no consumers left. :c:member:" @@ -3145,19 +3145,19 @@ msgid "" "internal` are read-only for the consumer." msgstr "" -#: c-api/typeobj.rst:2392 +#: c-api/typeobj.rst:2393 msgid "" ":c:func:`PyBuffer_FillInfo` provides an easy way of exposing a simple bytes " "buffer while dealing correctly with all request types." msgstr "" -#: c-api/typeobj.rst:2395 +#: c-api/typeobj.rst:2396 msgid "" ":c:func:`PyObject_GetBuffer` is the interface for the consumer that wraps " "this function." msgstr "" -#: c-api/typeobj.rst:2404 +#: c-api/typeobj.rst:2405 msgid "" "Handle a request to release the resources of the buffer. If no resources " "need to be released, :c:member:`PyBufferProcs.bf_releasebuffer` may be " @@ -3165,15 +3165,15 @@ msgid "" "these optional steps:" msgstr "" -#: c-api/typeobj.rst:2409 +#: c-api/typeobj.rst:2410 msgid "Decrement an internal counter for the number of exports." msgstr "" -#: c-api/typeobj.rst:2411 +#: c-api/typeobj.rst:2412 msgid "If the counter is ``0``, free all memory associated with *view*." msgstr "" -#: c-api/typeobj.rst:2413 +#: c-api/typeobj.rst:2414 msgid "" "The exporter MUST use the :c:member:`~Py_buffer.internal` field to keep " "track of buffer-specific resources. This field is guaranteed to remain " @@ -3181,68 +3181,68 @@ msgid "" "*view* argument." msgstr "" -#: c-api/typeobj.rst:2419 +#: c-api/typeobj.rst:2420 msgid "" "This function MUST NOT decrement :c:expr:`view->obj`, since that is done " "automatically in :c:func:`PyBuffer_Release` (this scheme is useful for " "breaking reference cycles)." msgstr "" -#: c-api/typeobj.rst:2424 +#: c-api/typeobj.rst:2425 msgid "" ":c:func:`PyBuffer_Release` is the interface for the consumer that wraps this " "function." msgstr "" -#: c-api/typeobj.rst:2432 +#: c-api/typeobj.rst:2433 msgid "Async Object Structures" msgstr "" -#: c-api/typeobj.rst:2440 +#: c-api/typeobj.rst:2441 msgid "" "This structure holds pointers to the functions required to implement :term:" "`awaitable` and :term:`asynchronous iterator` objects." msgstr "" -#: c-api/typeobj.rst:2458 +#: c-api/typeobj.rst:2459 msgid "" "The returned object must be an :term:`iterator`, i.e. :c:func:`PyIter_Check` " "must return ``1`` for it." msgstr "" -#: c-api/typeobj.rst:2461 +#: c-api/typeobj.rst:2462 msgid "" "This slot may be set to ``NULL`` if an object is not an :term:`awaitable`." msgstr "" -#: c-api/typeobj.rst:2469 +#: c-api/typeobj.rst:2470 msgid "" "Must return an :term:`asynchronous iterator` object. See :meth:`__anext__` " "for details." msgstr "" -#: c-api/typeobj.rst:2472 +#: c-api/typeobj.rst:2473 msgid "" "This slot may be set to ``NULL`` if an object does not implement " "asynchronous iteration protocol." msgstr "" -#: c-api/typeobj.rst:2481 +#: c-api/typeobj.rst:2482 msgid "" "Must return an :term:`awaitable` object. See :meth:`__anext__` for details. " "This slot may be set to ``NULL``." msgstr "" -#: c-api/typeobj.rst:2490 +#: c-api/typeobj.rst:2491 msgid "" "See :c:func:`PyIter_Send` for details. This slot may be set to ``NULL``." msgstr "" -#: c-api/typeobj.rst:2499 +#: c-api/typeobj.rst:2500 msgid "Slot Type typedefs" msgstr "" -#: c-api/typeobj.rst:2503 +#: c-api/typeobj.rst:2504 msgid "" "The purpose of this function is to separate memory allocation from memory " "initialization. It should return a pointer to a block of memory of adequate " @@ -3256,80 +3256,80 @@ msgid "" "member:`~PyTypeObject.tp_basicsize`." msgstr "" -#: c-api/typeobj.rst:2513 +#: c-api/typeobj.rst:2514 msgid "" "This function should not do any other instance initialization, not even to " "allocate additional memory; that should be done by :c:member:`~PyTypeObject." "tp_new`." msgstr "" -#: c-api/typeobj.rst:2520 +#: c-api/typeobj.rst:2521 msgid "See :c:member:`~PyTypeObject.tp_free`." msgstr "" -#: c-api/typeobj.rst:2524 +#: c-api/typeobj.rst:2525 msgid "See :c:member:`~PyTypeObject.tp_new`." msgstr "" -#: c-api/typeobj.rst:2528 +#: c-api/typeobj.rst:2529 msgid "See :c:member:`~PyTypeObject.tp_init`." msgstr "" -#: c-api/typeobj.rst:2532 +#: c-api/typeobj.rst:2533 msgid "See :c:member:`~PyTypeObject.tp_repr`." msgstr "" -#: c-api/typeobj.rst:2545 +#: c-api/typeobj.rst:2546 msgid "Return the value of the named attribute for the object." msgstr "" -#: c-api/typeobj.rst:2551 +#: c-api/typeobj.rst:2552 msgid "" "Set the value of the named attribute for the object. The value argument is " "set to ``NULL`` to delete the attribute." msgstr "" -#: c-api/typeobj.rst:2547 +#: c-api/typeobj.rst:2548 msgid "See :c:member:`~PyTypeObject.tp_getattro`." msgstr "" -#: c-api/typeobj.rst:2554 +#: c-api/typeobj.rst:2555 msgid "See :c:member:`~PyTypeObject.tp_setattro`." msgstr "" -#: c-api/typeobj.rst:2558 +#: c-api/typeobj.rst:2559 msgid "See :c:member:`~PyTypeObject.tp_descr_get`." msgstr "" -#: c-api/typeobj.rst:2562 +#: c-api/typeobj.rst:2563 msgid "See :c:member:`~PyTypeObject.tp_descr_set`." msgstr "" -#: c-api/typeobj.rst:2566 +#: c-api/typeobj.rst:2567 msgid "See :c:member:`~PyTypeObject.tp_hash`." msgstr "" -#: c-api/typeobj.rst:2570 +#: c-api/typeobj.rst:2571 msgid "See :c:member:`~PyTypeObject.tp_richcompare`." msgstr "" -#: c-api/typeobj.rst:2574 +#: c-api/typeobj.rst:2575 msgid "See :c:member:`~PyTypeObject.tp_iter`." msgstr "" -#: c-api/typeobj.rst:2578 +#: c-api/typeobj.rst:2579 msgid "See :c:member:`~PyTypeObject.tp_iternext`." msgstr "" -#: c-api/typeobj.rst:2592 +#: c-api/typeobj.rst:2593 msgid "See :c:member:`~PyAsyncMethods.am_send`." msgstr "" -#: c-api/typeobj.rst:2608 +#: c-api/typeobj.rst:2609 msgid "Examples" msgstr "" -#: c-api/typeobj.rst:2610 +#: c-api/typeobj.rst:2611 msgid "" "The following are simple examples of Python type definitions. They include " "common usage you may encounter. Some demonstrate tricky corner cases. For " @@ -3337,33 +3337,33 @@ msgid "" "and :ref:`new-types-topics`." msgstr "" -#: c-api/typeobj.rst:2615 +#: c-api/typeobj.rst:2616 msgid "A basic :ref:`static type `::" msgstr "" -#: c-api/typeobj.rst:2632 +#: c-api/typeobj.rst:2633 msgid "" "You may also find older code (especially in the CPython code base) with a " "more verbose initializer::" msgstr "" -#: c-api/typeobj.rst:2676 +#: c-api/typeobj.rst:2677 msgid "A type that supports weakrefs, instance dicts, and hashing::" msgstr "" -#: c-api/typeobj.rst:2703 +#: c-api/typeobj.rst:2704 msgid "" "A str subclass that cannot be subclassed and cannot be called to create " "instances (e.g. uses a separate factory func) using :c:data:" "`Py_TPFLAGS_DISALLOW_INSTANTIATION` flag::" msgstr "" -#: c-api/typeobj.rst:2722 +#: c-api/typeobj.rst:2723 msgid "" "The simplest :ref:`static type ` with fixed-length instances::" msgstr "" -#: c-api/typeobj.rst:2733 +#: c-api/typeobj.rst:2734 msgid "" "The simplest :ref:`static type ` with variable-length " "instances::" diff --git a/copyright.po b/copyright.po index d87272416..050768b56 100644 --- a/copyright.po +++ b/copyright.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: 2022-03-01 14:04+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -27,7 +27,7 @@ msgstr "Python ve bu dokümantasyon:" #: copyright.rst:7 #, fuzzy -msgid "Copyright © 2001-2022 Python Software Foundation. All rights reserved." +msgid "Copyright © 2001-2023 Python Software Foundation. All rights reserved." msgstr "" "Telif Hakkı © 2001-2021 Python Software Foundation. Tüm hakları saklıdır." diff --git a/faq/general.po b/faq/general.po index 4a3a974d7..b8ffb12d1 100644 --- a/faq/general.po +++ b/faq/general.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -410,8 +410,8 @@ msgstr "" #: faq/general.rst:257 msgid "" -"The very first article about Python was written in 1991 and is now quite " -"outdated." +"The `very first article `_ about Python was " +"written in 1991 and is now quite outdated." msgstr "" #: faq/general.rst:260 diff --git a/faq/programming.po b/faq/programming.po index d0b83d0c6..fceb87b43 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -205,30 +205,30 @@ msgstr "" msgid "Core Language" msgstr "" -#: faq/programming.rst:117 +#: faq/programming.rst:119 msgid "Why am I getting an UnboundLocalError when the variable has a value?" msgstr "" -#: faq/programming.rst:119 +#: faq/programming.rst:121 msgid "" "It can be a surprise to get the :exc:`UnboundLocalError` in previously " "working code when it is modified by adding an assignment statement somewhere " "in the body of a function." msgstr "" -#: faq/programming.rst:123 +#: faq/programming.rst:125 msgid "This code:" msgstr "" -#: faq/programming.rst:132 +#: faq/programming.rst:134 msgid "works, but this code:" msgstr "" -#: faq/programming.rst:139 +#: faq/programming.rst:141 msgid "results in an :exc:`!UnboundLocalError`:" msgstr "" -#: faq/programming.rst:146 +#: faq/programming.rst:148 msgid "" "This is because when you make an assignment to a variable in a scope, that " "variable becomes local to that scope and shadows any similarly named " @@ -238,30 +238,30 @@ msgid "" "uninitialized local variable and an error results." msgstr "" -#: faq/programming.rst:153 +#: faq/programming.rst:155 msgid "" "In the example above you can access the outer scope variable by declaring it " "global:" msgstr "" -#: faq/programming.rst:165 +#: faq/programming.rst:167 msgid "" "This explicit declaration is required in order to remind you that (unlike " "the superficially analogous situation with class and instance variables) you " "are actually modifying the value of the variable in the outer scope:" msgstr "" -#: faq/programming.rst:172 +#: faq/programming.rst:174 msgid "" "You can do a similar thing in a nested scope using the :keyword:`nonlocal` " "keyword:" msgstr "" -#: faq/programming.rst:190 +#: faq/programming.rst:192 msgid "What are the rules for local and global variables in Python?" msgstr "" -#: faq/programming.rst:192 +#: faq/programming.rst:194 msgid "" "In Python, variables that are only referenced inside a function are " "implicitly global. If a variable is assigned a value anywhere within the " @@ -269,7 +269,7 @@ msgid "" "global." msgstr "" -#: faq/programming.rst:196 +#: faq/programming.rst:198 msgid "" "Though a bit surprising at first, a moment's consideration explains this. " "On one hand, requiring :keyword:`global` for assigned variables provides a " @@ -280,19 +280,19 @@ msgid "" "of the ``global`` declaration for identifying side-effects." msgstr "" -#: faq/programming.rst:206 +#: faq/programming.rst:208 msgid "" "Why do lambdas defined in a loop with different values all return the same " "result?" msgstr "" -#: faq/programming.rst:208 +#: faq/programming.rst:210 msgid "" "Assume you use a for loop to define a few different lambdas (or even plain " "functions), e.g.::" msgstr "" -#: faq/programming.rst:215 +#: faq/programming.rst:217 msgid "" "This gives you a list that contains 5 lambdas that calculate ``x**2``. You " "might expect that, when called, they would return, respectively, ``0``, " @@ -300,7 +300,7 @@ msgid "" "see that they all return ``16``::" msgstr "" -#: faq/programming.rst:225 +#: faq/programming.rst:227 msgid "" "This happens because ``x`` is not local to the lambdas, but is defined in " "the outer scope, and it is accessed when the lambda is called --- not when " @@ -309,13 +309,13 @@ msgid "" "changing the value of ``x`` and see how the results of the lambdas change::" msgstr "" -#: faq/programming.rst:235 +#: faq/programming.rst:237 msgid "" "In order to avoid this, you need to save the values in variables local to " "the lambdas, so that they don't rely on the value of the global ``x``::" msgstr "" -#: faq/programming.rst:242 +#: faq/programming.rst:244 msgid "" "Here, ``n=x`` creates a new variable ``n`` local to the lambda and computed " "when the lambda is defined so that it has the same value that ``x`` had at " @@ -324,17 +324,17 @@ msgid "" "Therefore each lambda will now return the correct result::" msgstr "" -#: faq/programming.rst:253 +#: faq/programming.rst:255 msgid "" "Note that this behaviour is not peculiar to lambdas, but applies to regular " "functions too." msgstr "" -#: faq/programming.rst:258 +#: faq/programming.rst:260 msgid "How do I share global variables across modules?" msgstr "" -#: faq/programming.rst:260 +#: faq/programming.rst:262 msgid "" "The canonical way to share information across modules within a single " "program is to create a special module (often called config or cfg). Just " @@ -344,36 +344,36 @@ msgid "" "everywhere. For example:" msgstr "" -#: faq/programming.rst:266 +#: faq/programming.rst:268 msgid "config.py::" msgstr "" -#: faq/programming.rst:270 +#: faq/programming.rst:272 msgid "mod.py::" msgstr "" -#: faq/programming.rst:275 +#: faq/programming.rst:277 msgid "main.py::" msgstr "" -#: faq/programming.rst:281 +#: faq/programming.rst:283 msgid "" "Note that using a module is also the basis for implementing the singleton " "design pattern, for the same reason." msgstr "" -#: faq/programming.rst:286 +#: faq/programming.rst:288 msgid "What are the \"best practices\" for using import in a module?" msgstr "" -#: faq/programming.rst:288 +#: faq/programming.rst:290 msgid "" "In general, don't use ``from modulename import *``. Doing so clutters the " "importer's namespace, and makes it much harder for linters to detect " "undefined names." msgstr "" -#: faq/programming.rst:292 +#: faq/programming.rst:294 msgid "" "Import modules at the top of a file. Doing so makes it clear what other " "modules your code requires and avoids questions of whether the module name " @@ -381,33 +381,33 @@ msgid "" "module imports, but using multiple imports per line uses less screen space." msgstr "" -#: faq/programming.rst:297 +#: faq/programming.rst:299 msgid "It's good practice if you import modules in the following order:" msgstr "" -#: faq/programming.rst:299 +#: faq/programming.rst:301 msgid "" "standard library modules -- e.g. :mod:`sys`, :mod:`os`, :mod:`argparse`, :" "mod:`re`" msgstr "" -#: faq/programming.rst:300 +#: faq/programming.rst:302 msgid "" "third-party library modules (anything installed in Python's site-packages " "directory) -- e.g. :mod:`!dateutil`, :mod:`!requests`, :mod:`!PIL.Image`" msgstr "" -#: faq/programming.rst:302 +#: faq/programming.rst:304 msgid "locally developed modules" msgstr "" -#: faq/programming.rst:304 +#: faq/programming.rst:306 msgid "" "It is sometimes necessary to move imports to a function or class to avoid " "problems with circular imports. Gordon McMillan says:" msgstr "" -#: faq/programming.rst:307 +#: faq/programming.rst:309 msgid "" "Circular imports are fine where both modules use the \"import \" " "form of import. They fail when the 2nd module wants to grab a name out of " @@ -416,7 +416,7 @@ msgid "" "module is busy importing the 2nd." msgstr "" -#: faq/programming.rst:313 +#: faq/programming.rst:315 msgid "" "In this case, if the second module is only used in one function, then the " "import can easily be moved into that function. By the time the import is " @@ -424,7 +424,7 @@ msgid "" "module can do its import." msgstr "" -#: faq/programming.rst:318 +#: faq/programming.rst:320 msgid "" "It may also be necessary to move imports out of the top level of code if " "some of the modules are platform-specific. In that case, it may not even be " @@ -433,7 +433,7 @@ msgid "" "a good option." msgstr "" -#: faq/programming.rst:323 +#: faq/programming.rst:325 msgid "" "Only move imports into a local scope, such as inside a function definition, " "if it's necessary to solve a problem such as avoiding a circular import or " @@ -447,24 +447,24 @@ msgid "" "of scope, the module is probably available in :data:`sys.modules`." msgstr "" -#: faq/programming.rst:336 +#: faq/programming.rst:338 msgid "Why are default values shared between objects?" msgstr "" -#: faq/programming.rst:338 +#: faq/programming.rst:340 msgid "" "This type of bug commonly bites neophyte programmers. Consider this " "function::" msgstr "" -#: faq/programming.rst:345 +#: faq/programming.rst:347 msgid "" "The first time you call this function, ``mydict`` contains a single item. " "The second time, ``mydict`` contains two items because when ``foo()`` begins " "executing, ``mydict`` starts out with an item already in it." msgstr "" -#: faq/programming.rst:349 +#: faq/programming.rst:351 msgid "" "It is often expected that a function call creates new objects for default " "values. This is not what happens. Default values are created exactly once, " @@ -473,14 +473,14 @@ msgid "" "this changed object." msgstr "" -#: faq/programming.rst:354 +#: faq/programming.rst:356 msgid "" "By definition, immutable objects such as numbers, strings, tuples, and " "``None``, are safe from change. Changes to mutable objects such as " "dictionaries, lists, and class instances can lead to confusion." msgstr "" -#: faq/programming.rst:358 +#: faq/programming.rst:360 msgid "" "Because of this feature, it is good programming practice to not use mutable " "objects as default values. Instead, use ``None`` as the default value and " @@ -488,11 +488,11 @@ msgid "" "list/dictionary/whatever if it is. For example, don't write::" msgstr "" -#: faq/programming.rst:366 +#: faq/programming.rst:368 msgid "but::" msgstr "" -#: faq/programming.rst:372 +#: faq/programming.rst:374 msgid "" "This feature can be useful. When you have a function that's time-consuming " "to compute, a common technique is to cache the parameters and the resulting " @@ -501,18 +501,18 @@ msgid "" "implemented like this::" msgstr "" -#: faq/programming.rst:387 +#: faq/programming.rst:389 msgid "" "You could use a global variable containing a dictionary instead of the " "default value; it's a matter of taste." msgstr "" -#: faq/programming.rst:392 +#: faq/programming.rst:394 msgid "" "How can I pass optional or keyword parameters from one function to another?" msgstr "" -#: faq/programming.rst:394 +#: faq/programming.rst:396 msgid "" "Collect the arguments using the ``*`` and ``**`` specifiers in the " "function's parameter list; this gives you the positional arguments as a " @@ -520,11 +520,11 @@ msgid "" "arguments when calling another function by using ``*`` and ``**``::" msgstr "" -#: faq/programming.rst:413 +#: faq/programming.rst:415 msgid "What is the difference between arguments and parameters?" msgstr "" -#: faq/programming.rst:415 +#: faq/programming.rst:417 msgid "" ":term:`Parameters ` are defined by the names that appear in a " "function definition, whereas :term:`arguments ` are the values " @@ -533,34 +533,34 @@ msgid "" "the function definition::" msgstr "" -#: faq/programming.rst:424 +#: faq/programming.rst:426 msgid "" "*foo*, *bar* and *kwargs* are parameters of ``func``. However, when calling " "``func``, for example::" msgstr "" -#: faq/programming.rst:429 +#: faq/programming.rst:431 msgid "the values ``42``, ``314``, and ``somevar`` are arguments." msgstr "" -#: faq/programming.rst:433 +#: faq/programming.rst:435 msgid "Why did changing list 'y' also change list 'x'?" msgstr "" -#: faq/programming.rst:435 +#: faq/programming.rst:437 msgid "If you wrote code like::" msgstr "" -#: faq/programming.rst:445 +#: faq/programming.rst:447 msgid "" "you might be wondering why appending an element to ``y`` changed ``x`` too." msgstr "" -#: faq/programming.rst:447 +#: faq/programming.rst:449 msgid "There are two factors that produce this result:" msgstr "" -#: faq/programming.rst:449 +#: faq/programming.rst:451 msgid "" "Variables are simply names that refer to objects. Doing ``y = x`` doesn't " "create a copy of the list -- it creates a new variable ``y`` that refers to " @@ -568,23 +568,23 @@ msgid "" "(the list), and both ``x`` and ``y`` refer to it." msgstr "" -#: faq/programming.rst:453 +#: faq/programming.rst:455 msgid "" "Lists are :term:`mutable`, which means that you can change their content." msgstr "" -#: faq/programming.rst:455 +#: faq/programming.rst:457 msgid "" "After the call to :meth:`~list.append`, the content of the mutable object " "has changed from ``[]`` to ``[10]``. Since both the variables refer to the " "same object, using either name accesses the modified value ``[10]``." msgstr "" -#: faq/programming.rst:459 +#: faq/programming.rst:461 msgid "If we instead assign an immutable object to ``x``::" msgstr "" -#: faq/programming.rst:469 +#: faq/programming.rst:471 msgid "" "we can see that in this case ``x`` and ``y`` are not equal anymore. This is " "because integers are :term:`immutable`, and when we do ``x = x + 1`` we are " @@ -595,7 +595,7 @@ msgid "" "(``x`` now refers to ``6`` but ``y`` still refers to ``5``)." msgstr "" -#: faq/programming.rst:477 +#: faq/programming.rst:479 msgid "" "Some operations (for example ``y.append(10)`` and ``y.sort()``) mutate the " "object, whereas superficially similar operations (for example ``y = y + " @@ -607,7 +607,7 @@ msgid "" "which will likely cause your program to generate an easily diagnosed error." msgstr "" -#: faq/programming.rst:486 +#: faq/programming.rst:488 msgid "" "However, there is one class of operations where the same operation sometimes " "has different behaviors with different types: the augmented assignment " @@ -617,18 +617,18 @@ msgid "" "1`` create new objects)." msgstr "" -#: faq/programming.rst:493 +#: faq/programming.rst:495 msgid "In other words:" msgstr "" -#: faq/programming.rst:495 +#: faq/programming.rst:497 msgid "" "If we have a mutable object (:class:`list`, :class:`dict`, :class:`set`, " "etc.), we can use some specific operations to mutate it and all the " "variables that refer to it will see the change." msgstr "" -#: faq/programming.rst:498 +#: faq/programming.rst:500 msgid "" "If we have an immutable object (:class:`str`, :class:`int`, :class:`tuple`, " "etc.), all the variables that refer to it will always see the same value, " @@ -636,17 +636,17 @@ msgid "" "new object." msgstr "" -#: faq/programming.rst:503 +#: faq/programming.rst:505 msgid "" "If you want to know if two variables refer to the same object or not, you " "can use the :keyword:`is` operator, or the built-in function :func:`id`." msgstr "" -#: faq/programming.rst:508 +#: faq/programming.rst:510 msgid "How do I write a function with output parameters (call by reference)?" msgstr "" -#: faq/programming.rst:510 +#: faq/programming.rst:512 msgid "" "Remember that arguments are passed by assignment in Python. Since " "assignment just creates references to objects, there's no alias between an " @@ -654,44 +654,44 @@ msgid "" "You can achieve the desired effect in a number of ways." msgstr "" -#: faq/programming.rst:515 +#: faq/programming.rst:517 msgid "By returning a tuple of the results::" msgstr "" -#: faq/programming.rst:526 +#: faq/programming.rst:528 msgid "This is almost always the clearest solution." msgstr "" -#: faq/programming.rst:528 +#: faq/programming.rst:530 msgid "" "By using global variables. This isn't thread-safe, and is not recommended." msgstr "" -#: faq/programming.rst:530 +#: faq/programming.rst:532 msgid "By passing a mutable (changeable in-place) object::" msgstr "" -#: faq/programming.rst:541 +#: faq/programming.rst:543 msgid "By passing in a dictionary that gets mutated::" msgstr "" -#: faq/programming.rst:552 +#: faq/programming.rst:554 msgid "Or bundle up values in a class instance::" msgstr "" -#: faq/programming.rst:569 +#: faq/programming.rst:571 msgid "There's almost never a good reason to get this complicated." msgstr "" -#: faq/programming.rst:571 +#: faq/programming.rst:573 msgid "Your best choice is to return a tuple containing the multiple results." msgstr "" -#: faq/programming.rst:575 +#: faq/programming.rst:577 msgid "How do you make a higher order function in Python?" msgstr "" -#: faq/programming.rst:577 +#: faq/programming.rst:579 msgid "" "You have two choices: you can use nested scopes or you can use callable " "objects. For example, suppose you wanted to define ``linear(a,b)`` which " @@ -699,71 +699,71 @@ msgid "" "scopes::" msgstr "" -#: faq/programming.rst:586 +#: faq/programming.rst:588 msgid "Or using a callable object::" msgstr "" -#: faq/programming.rst:596 +#: faq/programming.rst:598 msgid "In both cases, ::" msgstr "" -#: faq/programming.rst:600 +#: faq/programming.rst:602 msgid "gives a callable object where ``taxes(10e6) == 0.3 * 10e6 + 2``." msgstr "" -#: faq/programming.rst:602 +#: faq/programming.rst:604 msgid "" "The callable object approach has the disadvantage that it is a bit slower " "and results in slightly longer code. However, note that a collection of " "callables can share their signature via inheritance::" msgstr "" -#: faq/programming.rst:611 +#: faq/programming.rst:613 msgid "Object can encapsulate state for several methods::" msgstr "" -#: faq/programming.rst:629 +#: faq/programming.rst:631 msgid "" "Here ``inc()``, ``dec()`` and ``reset()`` act like functions which share the " "same counting variable." msgstr "" -#: faq/programming.rst:634 +#: faq/programming.rst:636 msgid "How do I copy an object in Python?" msgstr "" -#: faq/programming.rst:636 +#: faq/programming.rst:638 msgid "" "In general, try :func:`copy.copy` or :func:`copy.deepcopy` for the general " "case. Not all objects can be copied, but most can." msgstr "" -#: faq/programming.rst:639 +#: faq/programming.rst:641 msgid "" "Some objects can be copied more easily. Dictionaries have a :meth:`~dict." "copy` method::" msgstr "" -#: faq/programming.rst:644 +#: faq/programming.rst:646 msgid "Sequences can be copied by slicing::" msgstr "" -#: faq/programming.rst:650 +#: faq/programming.rst:652 msgid "How can I find the methods or attributes of an object?" msgstr "" -#: faq/programming.rst:652 +#: faq/programming.rst:654 msgid "" "For an instance ``x`` of a user-defined class, :func:`dir(x) ` returns " "an alphabetized list of the names containing the instance attributes and " "methods and attributes defined by its class." msgstr "" -#: faq/programming.rst:658 +#: faq/programming.rst:660 msgid "How can my code discover the name of an object?" msgstr "" -#: faq/programming.rst:660 +#: faq/programming.rst:662 msgid "" "Generally speaking, it can't, because objects don't really have names. " "Essentially, assignment always binds a name to a value; the same is true of " @@ -771,7 +771,7 @@ msgid "" "Consider the following code::" msgstr "" -#: faq/programming.rst:676 +#: faq/programming.rst:678 msgid "" "Arguably the class has a name: even though it is bound to two names and " "invoked through the name ``B`` the created instance is still reported as an " @@ -780,7 +780,7 @@ msgid "" "value." msgstr "" -#: faq/programming.rst:681 +#: faq/programming.rst:683 msgid "" "Generally speaking it should not be necessary for your code to \"know the " "names\" of particular values. Unless you are deliberately writing " @@ -788,13 +788,13 @@ msgid "" "approach might be beneficial." msgstr "" -#: faq/programming.rst:686 +#: faq/programming.rst:688 msgid "" "In comp.lang.python, Fredrik Lundh once gave an excellent analogy in answer " "to this question:" msgstr "" -#: faq/programming.rst:689 +#: faq/programming.rst:691 msgid "" "The same way as you get the name of that cat you found on your porch: the " "cat (object) itself cannot tell you its name, and it doesn't really care -- " @@ -802,78 +802,78 @@ msgid "" "(namespaces) if it's their cat (object)..." msgstr "" -#: faq/programming.rst:694 +#: faq/programming.rst:696 msgid "" "....and don't be surprised if you'll find that it's known by many names, or " "no name at all!" msgstr "" -#: faq/programming.rst:699 +#: faq/programming.rst:701 msgid "What's up with the comma operator's precedence?" msgstr "" -#: faq/programming.rst:701 +#: faq/programming.rst:703 msgid "Comma is not an operator in Python. Consider this session::" msgstr "" -#: faq/programming.rst:706 +#: faq/programming.rst:708 msgid "" "Since the comma is not an operator, but a separator between expressions the " "above is evaluated as if you had entered::" msgstr "" -#: faq/programming.rst:711 +#: faq/programming.rst:713 msgid "not::" msgstr "" -#: faq/programming.rst:715 +#: faq/programming.rst:717 msgid "" "The same is true of the various assignment operators (``=``, ``+=`` etc). " "They are not truly operators but syntactic delimiters in assignment " "statements." msgstr "" -#: faq/programming.rst:720 +#: faq/programming.rst:722 msgid "Is there an equivalent of C's \"?:\" ternary operator?" msgstr "" -#: faq/programming.rst:722 +#: faq/programming.rst:724 msgid "Yes, there is. The syntax is as follows::" msgstr "" -#: faq/programming.rst:729 +#: faq/programming.rst:731 msgid "" "Before this syntax was introduced in Python 2.5, a common idiom was to use " "logical operators::" msgstr "" -#: faq/programming.rst:734 +#: faq/programming.rst:736 msgid "" "However, this idiom is unsafe, as it can give wrong results when *on_true* " "has a false boolean value. Therefore, it is always better to use the ``... " "if ... else ...`` form." msgstr "" -#: faq/programming.rst:740 +#: faq/programming.rst:742 msgid "Is it possible to write obfuscated one-liners in Python?" msgstr "" -#: faq/programming.rst:742 +#: faq/programming.rst:744 msgid "" "Yes. Usually this is done by nesting :keyword:`lambda` within :keyword:`!" "lambda`. See the following three examples, slightly adapted from Ulf " "Bartelt::" msgstr "" -#: faq/programming.rst:769 +#: faq/programming.rst:771 msgid "Don't try this at home, kids!" msgstr "" -#: faq/programming.rst:775 +#: faq/programming.rst:777 msgid "What does the slash(/) in the parameter list of a function mean?" msgstr "" -#: faq/programming.rst:777 +#: faq/programming.rst:779 msgid "" "A slash in the argument list of a function denotes that the parameters prior " "to it are positional-only. Positional-only parameters are the ones without " @@ -883,53 +883,53 @@ msgid "" "only parameters. Its documentation looks like this::" msgstr "" -#: faq/programming.rst:790 +#: faq/programming.rst:792 msgid "" "The slash at the end of the parameter list means that both parameters are " "positional-only. Thus, calling :func:`divmod` with keyword arguments would " "lead to an error::" msgstr "" -#: faq/programming.rst:801 +#: faq/programming.rst:803 msgid "Numbers and strings" msgstr "" -#: faq/programming.rst:804 +#: faq/programming.rst:806 msgid "How do I specify hexadecimal and octal integers?" msgstr "" -#: faq/programming.rst:806 +#: faq/programming.rst:808 msgid "" "To specify an octal digit, precede the octal value with a zero, and then a " "lower or uppercase \"o\". For example, to set the variable \"a\" to the " "octal value \"10\" (8 in decimal), type::" msgstr "" -#: faq/programming.rst:814 +#: faq/programming.rst:816 msgid "" "Hexadecimal is just as easy. Simply precede the hexadecimal number with a " "zero, and then a lower or uppercase \"x\". Hexadecimal digits can be " "specified in lower or uppercase. For example, in the Python interpreter::" msgstr "" -#: faq/programming.rst:827 +#: faq/programming.rst:829 msgid "Why does -22 // 10 return -3?" msgstr "" -#: faq/programming.rst:829 +#: faq/programming.rst:831 msgid "" "It's primarily driven by the desire that ``i % j`` have the same sign as " "``j``. If you want that, and also want::" msgstr "" -#: faq/programming.rst:834 +#: faq/programming.rst:836 msgid "" "then integer division has to return the floor. C also requires that " "identity to hold, and then compilers that truncate ``i // j`` need to make " "``i % j`` have the same sign as ``i``." msgstr "" -#: faq/programming.rst:838 +#: faq/programming.rst:840 msgid "" "There are few real use cases for ``i % j`` when ``j`` is negative. When " "``j`` is positive, there are many, and in virtually all of them it's more " @@ -938,34 +938,34 @@ msgid "" "bug waiting to bite." msgstr "" -#: faq/programming.rst:846 +#: faq/programming.rst:848 msgid "How do I get int literal attribute instead of SyntaxError?" msgstr "" -#: faq/programming.rst:848 +#: faq/programming.rst:850 msgid "" "Trying to lookup an ``int`` literal attribute in the normal manner gives a :" "exc:`SyntaxError` because the period is seen as a decimal point::" msgstr "" -#: faq/programming.rst:857 +#: faq/programming.rst:859 msgid "" "The solution is to separate the literal from the period with either a space " "or parentheses." msgstr "" -#: faq/programming.rst:867 +#: faq/programming.rst:869 msgid "How do I convert a string to a number?" msgstr "" -#: faq/programming.rst:869 +#: faq/programming.rst:871 msgid "" "For integers, use the built-in :func:`int` type constructor, e.g. " "``int('144') == 144``. Similarly, :func:`float` converts to floating-point, " "e.g. ``float('144') == 144.0``." msgstr "" -#: faq/programming.rst:873 +#: faq/programming.rst:875 msgid "" "By default, these interpret the number as decimal, so that ``int('0144') == " "144`` holds true, and ``int('0x144')`` raises :exc:`ValueError`. " @@ -975,7 +975,7 @@ msgid "" "octal, and '0x' indicates a hex number." msgstr "" -#: faq/programming.rst:880 +#: faq/programming.rst:882 msgid "" "Do not use the built-in function :func:`eval` if all you need is to convert " "strings to numbers. :func:`eval` will be significantly slower and it " @@ -985,18 +985,18 @@ msgid "" "directory." msgstr "" -#: faq/programming.rst:887 +#: faq/programming.rst:889 msgid "" ":func:`eval` also has the effect of interpreting numbers as Python " "expressions, so that e.g. ``eval('09')`` gives a syntax error because Python " "does not allow leading '0' in a decimal number (except '0')." msgstr "" -#: faq/programming.rst:893 +#: faq/programming.rst:895 msgid "How do I convert a number to a string?" msgstr "" -#: faq/programming.rst:895 +#: faq/programming.rst:897 msgid "" "To convert, e.g., the number ``144`` to the string ``'144'``, use the built-" "in type constructor :func:`str`. If you want a hexadecimal or octal " @@ -1006,11 +1006,11 @@ msgid "" "format(1.0/3.0)`` yields ``'0.333'``." msgstr "" -#: faq/programming.rst:904 +#: faq/programming.rst:906 msgid "How do I modify a string in place?" msgstr "" -#: faq/programming.rst:906 +#: faq/programming.rst:908 msgid "" "You can't, because strings are immutable. In most situations, you should " "simply construct a new string from the various parts you want to assemble it " @@ -1019,15 +1019,15 @@ msgid "" "module::" msgstr "" -#: faq/programming.rst:936 +#: faq/programming.rst:938 msgid "How do I use strings to call functions/methods?" msgstr "" -#: faq/programming.rst:938 +#: faq/programming.rst:940 msgid "There are various techniques." msgstr "" -#: faq/programming.rst:940 +#: faq/programming.rst:942 msgid "" "The best is to use a dictionary that maps strings to functions. The primary " "advantage of this technique is that the strings do not need to match the " @@ -1035,31 +1035,31 @@ msgid "" "a case construct::" msgstr "" -#: faq/programming.rst:955 +#: faq/programming.rst:957 msgid "Use the built-in function :func:`getattr`::" msgstr "" -#: faq/programming.rst:960 +#: faq/programming.rst:962 msgid "" "Note that :func:`getattr` works on any object, including classes, class " "instances, modules, and so on." msgstr "" -#: faq/programming.rst:963 +#: faq/programming.rst:965 msgid "This is used in several places in the standard library, like this::" msgstr "" -#: faq/programming.rst:976 +#: faq/programming.rst:978 msgid "Use :func:`locals` to resolve the function name::" msgstr "" -#: faq/programming.rst:988 +#: faq/programming.rst:990 msgid "" "Is there an equivalent to Perl's chomp() for removing trailing newlines from " "strings?" msgstr "" -#: faq/programming.rst:990 +#: faq/programming.rst:992 msgid "" "You can use ``S.rstrip(\"\\r\\n\")`` to remove all occurrences of any line " "terminator from the end of the string ``S`` without removing other trailing " @@ -1068,21 +1068,21 @@ msgid "" "removed::" msgstr "" -#: faq/programming.rst:1002 +#: faq/programming.rst:1004 msgid "" "Since this is typically only desired when reading text one line at a time, " "using ``S.rstrip()`` this way works well." msgstr "" -#: faq/programming.rst:1007 +#: faq/programming.rst:1009 msgid "Is there a scanf() or sscanf() equivalent?" msgstr "" -#: faq/programming.rst:1009 +#: faq/programming.rst:1011 msgid "Not as such." msgstr "" -#: faq/programming.rst:1011 +#: faq/programming.rst:1013 msgid "" "For simple input parsing, the easiest approach is usually to split the line " "into whitespace-delimited words using the :meth:`~str.split` method of " @@ -1092,86 +1092,126 @@ msgid "" "as a separator." msgstr "" -#: faq/programming.rst:1017 +#: faq/programming.rst:1019 msgid "" "For more complicated input parsing, regular expressions are more powerful " "than C's ``sscanf`` and better suited for the task." msgstr "" -#: faq/programming.rst:1022 +#: faq/programming.rst:1024 msgid "What does 'UnicodeDecodeError' or 'UnicodeEncodeError' error mean?" msgstr "" -#: faq/programming.rst:1024 +#: faq/programming.rst:1026 msgid "See the :ref:`unicode-howto`." msgstr "" -#: faq/programming.rst:1028 +#: faq/programming.rst:1032 +msgid "Can I end a raw string with an odd number of backslashes?" +msgstr "" + +#: faq/programming.rst:1034 +msgid "" +"A raw string ending with an odd number of backslashes will escape the " +"string's quote::" +msgstr "" + +#: faq/programming.rst:1042 +msgid "" +"There are several workarounds for this. One is to use regular strings and " +"double the backslashes::" +msgstr "" + +#: faq/programming.rst:1048 +msgid "" +"Another is to concatenate a regular string containing an escaped backslash " +"to the raw string::" +msgstr "" + +#: faq/programming.rst:1054 +msgid "" +"It is also possible to use :func:`os.path.join` to append a backslash on " +"Windows::" +msgstr "" + +#: faq/programming.rst:1059 +msgid "" +"Note that while a backslash will \"escape\" a quote for the purposes of " +"determining where the raw string ends, no escaping occurs when interpreting " +"the value of the raw string. That is, the backslash remains present in the " +"value of the raw string::" +msgstr "" + +#: faq/programming.rst:1067 +msgid "Also see the specification in the :ref:`language reference `." +msgstr "" + +#: faq/programming.rst:1070 msgid "Performance" msgstr "" -#: faq/programming.rst:1031 +#: faq/programming.rst:1073 msgid "My program is too slow. How do I speed it up?" msgstr "" -#: faq/programming.rst:1033 +#: faq/programming.rst:1075 msgid "" "That's a tough one, in general. First, here are a list of things to " "remember before diving further:" msgstr "" -#: faq/programming.rst:1036 +#: faq/programming.rst:1078 msgid "" "Performance characteristics vary across Python implementations. This FAQ " "focuses on :term:`CPython`." msgstr "" -#: faq/programming.rst:1038 +#: faq/programming.rst:1080 msgid "" "Behaviour can vary across operating systems, especially when talking about I/" "O or multi-threading." msgstr "" -#: faq/programming.rst:1040 +#: faq/programming.rst:1082 msgid "" "You should always find the hot spots in your program *before* attempting to " "optimize any code (see the :mod:`profile` module)." msgstr "" -#: faq/programming.rst:1042 +#: faq/programming.rst:1084 msgid "" "Writing benchmark scripts will allow you to iterate quickly when searching " "for improvements (see the :mod:`timeit` module)." msgstr "" -#: faq/programming.rst:1044 +#: faq/programming.rst:1086 msgid "" "It is highly recommended to have good code coverage (through unit testing or " "any other technique) before potentially introducing regressions hidden in " "sophisticated optimizations." msgstr "" -#: faq/programming.rst:1048 +#: faq/programming.rst:1090 msgid "" "That being said, there are many tricks to speed up Python code. Here are " "some general principles which go a long way towards reaching acceptable " "performance levels:" msgstr "" -#: faq/programming.rst:1052 +#: faq/programming.rst:1094 msgid "" "Making your algorithms faster (or changing to faster ones) can yield much " "larger benefits than trying to sprinkle micro-optimization tricks all over " "your code." msgstr "" -#: faq/programming.rst:1056 +#: faq/programming.rst:1098 msgid "" "Use the right data structures. Study documentation for the :ref:`bltin-" "types` and the :mod:`collections` module." msgstr "" -#: faq/programming.rst:1059 +#: faq/programming.rst:1101 msgid "" "When the standard library provides a primitive for doing something, it is " "likely (although not guaranteed) to be faster than any alternative you may " @@ -1182,7 +1222,7 @@ msgid "" "advanced usage)." msgstr "" -#: faq/programming.rst:1067 +#: faq/programming.rst:1109 msgid "" "Abstractions tend to create indirections and force the interpreter to work " "more. If the levels of indirection outweigh the amount of useful work done, " @@ -1191,7 +1231,7 @@ msgid "" "detrimental to readability)." msgstr "" -#: faq/programming.rst:1073 +#: faq/programming.rst:1115 msgid "" "If you have reached the limit of what pure Python can allow, there are tools " "to take you further away. For example, `Cython `_ can " @@ -1203,17 +1243,17 @@ msgid "" "yourself." msgstr "" -#: faq/programming.rst:1083 +#: faq/programming.rst:1125 msgid "" "The wiki page devoted to `performance tips `_." msgstr "" -#: faq/programming.rst:1089 +#: faq/programming.rst:1131 msgid "What is the most efficient way to concatenate many strings together?" msgstr "" -#: faq/programming.rst:1091 +#: faq/programming.rst:1133 msgid "" ":class:`str` and :class:`bytes` objects are immutable, therefore " "concatenating many strings together is inefficient as each concatenation " @@ -1221,38 +1261,38 @@ msgid "" "quadratic in the total string length." msgstr "" -#: faq/programming.rst:1096 +#: faq/programming.rst:1138 msgid "" "To accumulate many :class:`str` objects, the recommended idiom is to place " "them into a list and call :meth:`str.join` at the end::" msgstr "" -#: faq/programming.rst:1104 +#: faq/programming.rst:1146 msgid "(another reasonably efficient idiom is to use :class:`io.StringIO`)" msgstr "" -#: faq/programming.rst:1106 +#: faq/programming.rst:1148 msgid "" "To accumulate many :class:`bytes` objects, the recommended idiom is to " "extend a :class:`bytearray` object using in-place concatenation (the ``+=`` " "operator)::" msgstr "" -#: faq/programming.rst:1115 +#: faq/programming.rst:1157 msgid "Sequences (Tuples/Lists)" msgstr "" -#: faq/programming.rst:1118 +#: faq/programming.rst:1160 msgid "How do I convert between tuples and lists?" msgstr "" -#: faq/programming.rst:1120 +#: faq/programming.rst:1162 msgid "" "The type constructor ``tuple(seq)`` converts any sequence (actually, any " "iterable) into a tuple with the same items in the same order." msgstr "" -#: faq/programming.rst:1123 +#: faq/programming.rst:1165 msgid "" "For example, ``tuple([1, 2, 3])`` yields ``(1, 2, 3)`` and ``tuple('abc')`` " "yields ``('a', 'b', 'c')``. If the argument is a tuple, it does not make a " @@ -1260,7 +1300,7 @@ msgid "" "you aren't sure that an object is already a tuple." msgstr "" -#: faq/programming.rst:1128 +#: faq/programming.rst:1170 msgid "" "The type constructor ``list(seq)`` converts any sequence or iterable into a " "list with the same items in the same order. For example, ``list((1, 2, " @@ -1268,11 +1308,11 @@ msgid "" "If the argument is a list, it makes a copy just like ``seq[:]`` would." msgstr "" -#: faq/programming.rst:1135 +#: faq/programming.rst:1177 msgid "What's a negative index?" msgstr "" -#: faq/programming.rst:1137 +#: faq/programming.rst:1179 msgid "" "Python sequences are indexed with positive numbers and negative numbers. " "For positive numbers 0 is the first index 1 is the second index and so " @@ -1281,62 +1321,62 @@ msgid "" "``seq[len(seq)-n]``." msgstr "" -#: faq/programming.rst:1142 +#: faq/programming.rst:1184 msgid "" "Using negative indices can be very convenient. For example ``S[:-1]`` is " "all of the string except for its last character, which is useful for " "removing the trailing newline from a string." msgstr "" -#: faq/programming.rst:1148 +#: faq/programming.rst:1190 msgid "How do I iterate over a sequence in reverse order?" msgstr "" -#: faq/programming.rst:1150 +#: faq/programming.rst:1192 msgid "Use the :func:`reversed` built-in function::" msgstr "" -#: faq/programming.rst:1155 +#: faq/programming.rst:1197 msgid "" "This won't touch your original sequence, but build a new copy with reversed " "order to iterate over." msgstr "" -#: faq/programming.rst:1160 +#: faq/programming.rst:1202 msgid "How do you remove duplicates from a list?" msgstr "" -#: faq/programming.rst:1162 +#: faq/programming.rst:1204 msgid "See the Python Cookbook for a long discussion of many ways to do this:" msgstr "" -#: faq/programming.rst:1164 +#: faq/programming.rst:1206 msgid "https://code.activestate.com/recipes/52560/" msgstr "" -#: faq/programming.rst:1166 +#: faq/programming.rst:1208 msgid "" "If you don't mind reordering the list, sort it and then scan from the end of " "the list, deleting duplicates as you go::" msgstr "" -#: faq/programming.rst:1178 +#: faq/programming.rst:1220 msgid "" "If all elements of the list may be used as set keys (i.e. they are all :term:" "`hashable`) this is often faster ::" msgstr "" -#: faq/programming.rst:1183 +#: faq/programming.rst:1225 msgid "" "This converts the list into a set, thereby removing duplicates, and then " "back into a list." msgstr "" -#: faq/programming.rst:1188 +#: faq/programming.rst:1230 msgid "How do you remove multiple items from a list" msgstr "" -#: faq/programming.rst:1190 +#: faq/programming.rst:1232 msgid "" "As with removing duplicates, explicitly iterating in reverse with a delete " "condition is one possibility. However, it is easier and faster to use slice " @@ -1344,26 +1384,26 @@ msgid "" "variations.::" msgstr "" -#: faq/programming.rst:1199 +#: faq/programming.rst:1241 msgid "The list comprehension may be fastest." msgstr "" -#: faq/programming.rst:1203 +#: faq/programming.rst:1245 msgid "How do you make an array in Python?" msgstr "" -#: faq/programming.rst:1205 +#: faq/programming.rst:1247 msgid "Use a list::" msgstr "" -#: faq/programming.rst:1209 +#: faq/programming.rst:1251 msgid "" "Lists are equivalent to C or Pascal arrays in their time complexity; the " "primary difference is that a Python list can contain objects of many " "different types." msgstr "" -#: faq/programming.rst:1212 +#: faq/programming.rst:1254 msgid "" "The ``array`` module also provides methods for creating arrays of fixed " "types with compact representations, but they are slower to index than " @@ -1371,12 +1411,12 @@ msgid "" "packages define array-like structures with various characteristics as well." msgstr "" -#: faq/programming.rst:1218 +#: faq/programming.rst:1260 msgid "" "To get Lisp-style linked lists, you can emulate *cons cells* using tuples::" msgstr "" -#: faq/programming.rst:1222 +#: faq/programming.rst:1264 msgid "" "If mutability is desired, you could use lists instead of tuples. Here the " "analogue of a Lisp *car* is ``lisp_list[0]`` and the analogue of *cdr* is " @@ -1384,23 +1424,23 @@ msgid "" "it's usually a lot slower than using Python lists." msgstr "" -#: faq/programming.rst:1231 +#: faq/programming.rst:1273 msgid "How do I create a multidimensional list?" msgstr "" -#: faq/programming.rst:1233 +#: faq/programming.rst:1275 msgid "You probably tried to make a multidimensional array like this::" msgstr "" -#: faq/programming.rst:1237 +#: faq/programming.rst:1279 msgid "This looks correct if you print it:" msgstr "" -#: faq/programming.rst:1248 +#: faq/programming.rst:1290 msgid "But when you assign a value, it shows up in multiple places:" msgstr "" -#: faq/programming.rst:1260 +#: faq/programming.rst:1302 msgid "" "The reason is that replicating a list with ``*`` doesn't create copies, it " "only creates references to the existing objects. The ``*3`` creates a list " @@ -1408,56 +1448,56 @@ msgid "" "will show in all rows, which is almost certainly not what you want." msgstr "" -#: faq/programming.rst:1265 +#: faq/programming.rst:1307 msgid "" "The suggested approach is to create a list of the desired length first and " "then fill in each element with a newly created list::" msgstr "" -#: faq/programming.rst:1272 +#: faq/programming.rst:1314 msgid "" "This generates a list containing 3 different lists of length two. You can " "also use a list comprehension::" msgstr "" -#: faq/programming.rst:1278 +#: faq/programming.rst:1320 msgid "" "Or, you can use an extension that provides a matrix datatype; `NumPy " "`_ is the best known." msgstr "" -#: faq/programming.rst:1283 +#: faq/programming.rst:1325 msgid "How do I apply a method to a sequence of objects?" msgstr "" -#: faq/programming.rst:1285 +#: faq/programming.rst:1327 msgid "Use a list comprehension::" msgstr "" -#: faq/programming.rst:1292 +#: faq/programming.rst:1334 msgid "" "Why does a_tuple[i] += ['item'] raise an exception when the addition works?" msgstr "" -#: faq/programming.rst:1294 +#: faq/programming.rst:1336 msgid "" "This is because of a combination of the fact that augmented assignment " "operators are *assignment* operators, and the difference between mutable and " "immutable objects in Python." msgstr "" -#: faq/programming.rst:1298 +#: faq/programming.rst:1340 msgid "" "This discussion applies in general when augmented assignment operators are " "applied to elements of a tuple that point to mutable objects, but we'll use " "a ``list`` and ``+=`` as our exemplar." msgstr "" -#: faq/programming.rst:1302 +#: faq/programming.rst:1344 msgid "If you wrote::" msgstr "" -#: faq/programming.rst:1310 +#: faq/programming.rst:1352 msgid "" "The reason for the exception should be immediately clear: ``1`` is added to " "the object ``a_tuple[0]`` points to (``1``), producing the result object, " @@ -1466,29 +1506,29 @@ msgid "" "an element of a tuple points to." msgstr "" -#: faq/programming.rst:1316 +#: faq/programming.rst:1358 msgid "" "Under the covers, what this augmented assignment statement is doing is " "approximately this::" msgstr "" -#: faq/programming.rst:1325 +#: faq/programming.rst:1367 msgid "" "It is the assignment part of the operation that produces the error, since a " "tuple is immutable." msgstr "" -#: faq/programming.rst:1328 +#: faq/programming.rst:1370 msgid "When you write something like::" msgstr "" -#: faq/programming.rst:1336 +#: faq/programming.rst:1378 msgid "" "The exception is a bit more surprising, and even more surprising is the fact " "that even though there was an error, the append worked::" msgstr "" -#: faq/programming.rst:1342 +#: faq/programming.rst:1384 msgid "" "To see why this happens, you need to know that (a) if an object implements " "an :meth:`~object.__iadd__` magic method, it gets called when the ``+=`` " @@ -1499,11 +1539,11 @@ msgid "" "extend`::" msgstr "" -#: faq/programming.rst:1355 +#: faq/programming.rst:1397 msgid "This is equivalent to::" msgstr "" -#: faq/programming.rst:1360 +#: faq/programming.rst:1402 msgid "" "The object pointed to by a_list has been mutated, and the pointer to the " "mutated object is assigned back to ``a_list``. The end result of the " @@ -1511,11 +1551,11 @@ msgid "" "``a_list`` was previously pointing to, but the assignment still happens." msgstr "" -#: faq/programming.rst:1365 +#: faq/programming.rst:1407 msgid "Thus, in our tuple example what is happening is equivalent to::" msgstr "" -#: faq/programming.rst:1373 +#: faq/programming.rst:1415 msgid "" "The :meth:`!__iadd__` succeeds, and thus the list is extended, but even " "though ``result`` points to the same object that ``a_tuple[0]`` already " @@ -1523,13 +1563,13 @@ msgid "" "are immutable." msgstr "" -#: faq/programming.rst:1379 +#: faq/programming.rst:1421 msgid "" "I want to do a complicated sort: can you do a Schwartzian Transform in " "Python?" msgstr "" -#: faq/programming.rst:1381 +#: faq/programming.rst:1423 msgid "" "The technique, attributed to Randal Schwartz of the Perl community, sorts " "the elements of a list by a metric which maps each element to its \"sort " @@ -1537,25 +1577,25 @@ msgid "" "method::" msgstr "" -#: faq/programming.rst:1390 +#: faq/programming.rst:1432 msgid "How can I sort one list by values from another list?" msgstr "" -#: faq/programming.rst:1392 +#: faq/programming.rst:1434 msgid "" "Merge them into an iterator of tuples, sort the resulting list, and then " "pick out the element you want. ::" msgstr "" -#: faq/programming.rst:1407 +#: faq/programming.rst:1449 msgid "Objects" msgstr "" -#: faq/programming.rst:1410 +#: faq/programming.rst:1452 msgid "What is a class?" msgstr "" -#: faq/programming.rst:1412 +#: faq/programming.rst:1454 msgid "" "A class is the particular object type created by executing a class " "statement. Class objects are used as templates to create instance objects, " @@ -1563,7 +1603,7 @@ msgid "" "datatype." msgstr "" -#: faq/programming.rst:1416 +#: faq/programming.rst:1458 msgid "" "A class can be based on one or more other classes, called its base " "class(es). It then inherits the attributes and methods of its base classes. " @@ -1573,22 +1613,22 @@ msgid "" "``OutlookMailbox`` that handle various specific mailbox formats." msgstr "" -#: faq/programming.rst:1425 +#: faq/programming.rst:1467 msgid "What is a method?" msgstr "" -#: faq/programming.rst:1427 +#: faq/programming.rst:1469 msgid "" "A method is a function on some object ``x`` that you normally call as ``x." "name(arguments...)``. Methods are defined as functions inside the class " "definition::" msgstr "" -#: faq/programming.rst:1437 +#: faq/programming.rst:1479 msgid "What is self?" msgstr "" -#: faq/programming.rst:1439 +#: faq/programming.rst:1481 msgid "" "Self is merely a conventional name for the first argument of a method. A " "method defined as ``meth(self, a, b, c)`` should be called as ``x.meth(a, b, " @@ -1596,17 +1636,17 @@ msgid "" "the called method will think it is called as ``meth(x, a, b, c)``." msgstr "" -#: faq/programming.rst:1444 +#: faq/programming.rst:1486 msgid "See also :ref:`why-self`." msgstr "" -#: faq/programming.rst:1448 +#: faq/programming.rst:1490 msgid "" "How do I check if an object is an instance of a given class or of a subclass " "of it?" msgstr "" -#: faq/programming.rst:1450 +#: faq/programming.rst:1492 msgid "" "Use the built-in function :func:`isinstance(obj, cls) `. You " "can check if an object is an instance of any of a number of classes by " @@ -1616,7 +1656,7 @@ msgid "" "float, complex))``." msgstr "" -#: faq/programming.rst:1457 +#: faq/programming.rst:1499 msgid "" "Note that :func:`isinstance` also checks for virtual inheritance from an :" "term:`abstract base class`. So, the test will return ``True`` for a " @@ -1624,7 +1664,7 @@ msgid "" "To test for \"true inheritance\", scan the :term:`MRO` of the class:" msgstr "" -#: faq/programming.rst:1492 +#: faq/programming.rst:1534 msgid "" "Note that most programs do not use :func:`isinstance` on user-defined " "classes very often. If you are developing the classes yourself, a more " @@ -1634,17 +1674,17 @@ msgid "" "have a function that does something::" msgstr "" -#: faq/programming.rst:1506 +#: faq/programming.rst:1548 msgid "" "A better approach is to define a ``search()`` method on all the classes and " "just call it::" msgstr "" -#: faq/programming.rst:1521 +#: faq/programming.rst:1563 msgid "What is delegation?" msgstr "" -#: faq/programming.rst:1523 +#: faq/programming.rst:1565 msgid "" "Delegation is an object oriented technique (also called a design pattern). " "Let's say you have an object ``x`` and want to change the behaviour of just " @@ -1653,14 +1693,14 @@ msgid "" "other methods to the corresponding method of ``x``." msgstr "" -#: faq/programming.rst:1529 +#: faq/programming.rst:1571 msgid "" "Python programmers can easily implement delegation. For example, the " "following class implements a class that behaves like a file but converts all " "written data to uppercase::" msgstr "" -#: faq/programming.rst:1544 +#: faq/programming.rst:1586 msgid "" "Here the ``UpperOut`` class redefines the ``write()`` method to convert the " "argument string to uppercase before calling the underlying ``self._outfile." @@ -1670,7 +1710,7 @@ msgid "" "access>` for more information about controlling attribute access." msgstr "" -#: faq/programming.rst:1551 +#: faq/programming.rst:1593 msgid "" "Note that for more general cases delegation can get trickier. When " "attributes must be set as well as retrieved, the class must define a :meth:" @@ -1679,24 +1719,24 @@ msgid "" "following::" msgstr "" -#: faq/programming.rst:1562 +#: faq/programming.rst:1604 msgid "" "Most :meth:`!__setattr__` implementations must modify :meth:`self.__dict__ " "` to store local state for self without causing an infinite " "recursion." msgstr "" -#: faq/programming.rst:1568 +#: faq/programming.rst:1610 msgid "" "How do I call a method defined in a base class from a derived class that " "extends it?" msgstr "" -#: faq/programming.rst:1570 +#: faq/programming.rst:1612 msgid "Use the built-in :func:`super` function::" msgstr "" -#: faq/programming.rst:1576 +#: faq/programming.rst:1618 msgid "" "In the example, :func:`super` will automatically determine the instance from " "which it was called (the ``self`` value), look up the :term:`method " @@ -1704,11 +1744,11 @@ msgid "" "line after ``Derived`` in the MRO: ``Base``." msgstr "" -#: faq/programming.rst:1583 +#: faq/programming.rst:1625 msgid "How can I organize my code to make it easier to change the base class?" msgstr "" -#: faq/programming.rst:1585 +#: faq/programming.rst:1627 msgid "" "You could assign the base class to an alias and derive from the alias. Then " "all you have to change is the value assigned to the alias. Incidentally, " @@ -1716,30 +1756,30 @@ msgid "" "on availability of resources) which base class to use. Example::" msgstr "" -#: faq/programming.rst:1600 +#: faq/programming.rst:1642 msgid "How do I create static class data and static class methods?" msgstr "" -#: faq/programming.rst:1602 +#: faq/programming.rst:1644 msgid "" "Both static data and static methods (in the sense of C++ or Java) are " "supported in Python." msgstr "" -#: faq/programming.rst:1605 +#: faq/programming.rst:1647 msgid "" "For static data, simply define a class attribute. To assign a new value to " "the attribute, you have to explicitly use the class name in the assignment::" msgstr "" -#: faq/programming.rst:1617 +#: faq/programming.rst:1659 msgid "" "``c.count`` also refers to ``C.count`` for any ``c`` such that " "``isinstance(c, C)`` holds, unless overridden by ``c`` itself or by some " "class on the base-class search path from ``c.__class__`` back to ``C``." msgstr "" -#: faq/programming.rst:1621 +#: faq/programming.rst:1663 msgid "" "Caution: within a method of C, an assignment like ``self.count = 42`` " "creates a new and unrelated instance named \"count\" in ``self``'s own " @@ -1747,59 +1787,59 @@ msgid "" "whether inside a method or not::" msgstr "" -#: faq/programming.rst:1628 +#: faq/programming.rst:1670 msgid "Static methods are possible::" msgstr "" -#: faq/programming.rst:1636 +#: faq/programming.rst:1678 msgid "" "However, a far more straightforward way to get the effect of a static method " "is via a simple module-level function::" msgstr "" -#: faq/programming.rst:1642 +#: faq/programming.rst:1684 msgid "" "If your code is structured so as to define one class (or tightly related " "class hierarchy) per module, this supplies the desired encapsulation." msgstr "" -#: faq/programming.rst:1647 +#: faq/programming.rst:1689 msgid "How can I overload constructors (or methods) in Python?" msgstr "" -#: faq/programming.rst:1649 +#: faq/programming.rst:1691 msgid "" "This answer actually applies to all methods, but the question usually comes " "up first in the context of constructors." msgstr "" -#: faq/programming.rst:1652 +#: faq/programming.rst:1694 msgid "In C++ you'd write" msgstr "" -#: faq/programming.rst:1661 +#: faq/programming.rst:1703 msgid "" "In Python you have to write a single constructor that catches all cases " "using default arguments. For example::" msgstr "" -#: faq/programming.rst:1671 +#: faq/programming.rst:1713 msgid "This is not entirely equivalent, but close enough in practice." msgstr "" -#: faq/programming.rst:1673 +#: faq/programming.rst:1715 msgid "You could also try a variable-length argument list, e.g. ::" msgstr "" -#: faq/programming.rst:1678 +#: faq/programming.rst:1720 msgid "The same approach works for all method definitions." msgstr "" -#: faq/programming.rst:1682 +#: faq/programming.rst:1724 msgid "I try to use __spam and I get an error about _SomeClassName__spam." msgstr "" -#: faq/programming.rst:1684 +#: faq/programming.rst:1726 msgid "" "Variable names with double leading underscores are \"mangled\" to provide a " "simple but effective way to define class private variables. Any identifier " @@ -1809,7 +1849,7 @@ msgid "" "stripped." msgstr "" -#: faq/programming.rst:1690 +#: faq/programming.rst:1732 msgid "" "This doesn't guarantee privacy: an outside user can still deliberately " "access the \"_classname__spam\" attribute, and private values are visible in " @@ -1817,22 +1857,22 @@ msgid "" "private variable names at all." msgstr "" -#: faq/programming.rst:1697 +#: faq/programming.rst:1739 msgid "My class defines __del__ but it is not called when I delete the object." msgstr "" -#: faq/programming.rst:1699 +#: faq/programming.rst:1741 msgid "There are several possible reasons for this." msgstr "" -#: faq/programming.rst:1701 +#: faq/programming.rst:1743 msgid "" "The :keyword:`del` statement does not necessarily call :meth:`~object." "__del__` -- it simply decrements the object's reference count, and if this " "reaches zero :meth:`!__del__` is called." msgstr "" -#: faq/programming.rst:1705 +#: faq/programming.rst:1747 msgid "" "If your data structures contain circular links (e.g. a tree where each child " "has a parent reference and each parent has a list of children) the reference " @@ -1846,7 +1886,7 @@ msgid "" "cases where objects will never be collected." msgstr "" -#: faq/programming.rst:1716 +#: faq/programming.rst:1758 msgid "" "Despite the cycle collector, it's still a good idea to define an explicit " "``close()`` method on objects to be called whenever you're done with them. " @@ -1856,7 +1896,7 @@ msgid "" "once for the same object." msgstr "" -#: faq/programming.rst:1723 +#: faq/programming.rst:1765 msgid "" "Another way to avoid cyclical references is to use the :mod:`weakref` " "module, which allows you to point to objects without incrementing their " @@ -1864,28 +1904,28 @@ msgid "" "references for their parent and sibling references (if they need them!)." msgstr "" -#: faq/programming.rst:1736 +#: faq/programming.rst:1778 msgid "" "Finally, if your :meth:`!__del__` method raises an exception, a warning " "message is printed to :data:`sys.stderr`." msgstr "" -#: faq/programming.rst:1741 +#: faq/programming.rst:1783 msgid "How do I get a list of all instances of a given class?" msgstr "" -#: faq/programming.rst:1743 +#: faq/programming.rst:1785 msgid "" "Python does not keep track of all instances of a class (or of a built-in " "type). You can program the class's constructor to keep track of all " "instances by keeping a list of weak references to each instance." msgstr "" -#: faq/programming.rst:1749 +#: faq/programming.rst:1791 msgid "Why does the result of ``id()`` appear to be not unique?" msgstr "" -#: faq/programming.rst:1751 +#: faq/programming.rst:1793 msgid "" "The :func:`id` builtin returns an integer that is guaranteed to be unique " "during the lifetime of the object. Since in CPython, this is the object's " @@ -1894,7 +1934,7 @@ msgid "" "memory. This is illustrated by this example:" msgstr "" -#: faq/programming.rst:1762 +#: faq/programming.rst:1804 msgid "" "The two ids belong to different integer objects that are created before, and " "deleted immediately after execution of the ``id()`` call. To be sure that " @@ -1902,17 +1942,17 @@ msgid "" "reference to the object:" msgstr "" -#: faq/programming.rst:1775 +#: faq/programming.rst:1817 msgid "When can I rely on identity tests with the *is* operator?" msgstr "" -#: faq/programming.rst:1777 +#: faq/programming.rst:1819 msgid "" "The ``is`` operator tests for object identity. The test ``a is b`` is " "equivalent to ``id(a) == id(b)``." msgstr "" -#: faq/programming.rst:1780 +#: faq/programming.rst:1822 msgid "" "The most important property of an identity test is that an object is always " "identical to itself, ``a is a`` always returns ``True``. Identity tests are " @@ -1920,34 +1960,34 @@ msgid "" "tests are guaranteed to return a boolean ``True`` or ``False``." msgstr "" -#: faq/programming.rst:1785 +#: faq/programming.rst:1827 msgid "" "However, identity tests can *only* be substituted for equality tests when " "object identity is assured. Generally, there are three circumstances where " "identity is guaranteed:" msgstr "" -#: faq/programming.rst:1789 +#: faq/programming.rst:1831 msgid "" "1) Assignments create new names but do not change object identity. After " "the assignment ``new = old``, it is guaranteed that ``new is old``." msgstr "" -#: faq/programming.rst:1792 +#: faq/programming.rst:1834 msgid "" "2) Putting an object in a container that stores object references does not " "change object identity. After the list assignment ``s[0] = x``, it is " "guaranteed that ``s[0] is x``." msgstr "" -#: faq/programming.rst:1796 +#: faq/programming.rst:1838 msgid "" "3) If an object is a singleton, it means that only one instance of that " "object can exist. After the assignments ``a = None`` and ``b = None``, it " "is guaranteed that ``a is b`` because ``None`` is a singleton." msgstr "" -#: faq/programming.rst:1800 +#: faq/programming.rst:1842 msgid "" "In most other circumstances, identity tests are inadvisable and equality " "tests are preferred. In particular, identity tests should not be used to " @@ -1955,17 +1995,17 @@ msgid "" "guaranteed to be singletons::" msgstr "" -#: faq/programming.rst:1817 +#: faq/programming.rst:1859 msgid "Likewise, new instances of mutable containers are never identical::" msgstr "" -#: faq/programming.rst:1824 +#: faq/programming.rst:1866 msgid "" "In the standard library code, you will see several common patterns for " "correctly using identity tests:" msgstr "" -#: faq/programming.rst:1827 +#: faq/programming.rst:1869 msgid "" "1) As recommended by :pep:`8`, an identity test is the preferred way to " "check for ``None``. This reads like plain English in code and avoids " @@ -1973,7 +2013,7 @@ msgid "" "false." msgstr "" -#: faq/programming.rst:1831 +#: faq/programming.rst:1873 msgid "" "2) Detecting optional arguments can be tricky when ``None`` is a valid input " "value. In those situations, you can create a singleton sentinel object " @@ -1981,25 +2021,25 @@ msgid "" "implement a method that behaves like :meth:`dict.pop`::" msgstr "" -#: faq/programming.rst:1847 +#: faq/programming.rst:1889 msgid "" "3) Container implementations sometimes need to augment equality tests with " "identity tests. This prevents the code from being confused by objects such " "as ``float('NaN')`` that are not equal to themselves." msgstr "" -#: faq/programming.rst:1851 +#: faq/programming.rst:1893 msgid "" "For example, here is the implementation of :meth:`collections.abc.Sequence." "__contains__`::" msgstr "" -#: faq/programming.rst:1862 +#: faq/programming.rst:1904 msgid "" "How can a subclass control what data is stored in an immutable instance?" msgstr "" -#: faq/programming.rst:1864 +#: faq/programming.rst:1906 msgid "" "When subclassing an immutable type, override the :meth:`~object.__new__` " "method instead of the :meth:`~object.__init__` method. The latter only runs " @@ -2007,35 +2047,35 @@ msgid "" "immutable instance." msgstr "" -#: faq/programming.rst:1869 +#: faq/programming.rst:1911 msgid "" "All of these immutable classes have a different signature than their parent " "class:" msgstr "" -#: faq/programming.rst:1895 +#: faq/programming.rst:1937 msgid "The classes can be used like this:" msgstr "" -#: faq/programming.rst:1910 +#: faq/programming.rst:1952 msgid "How do I cache method calls?" msgstr "" -#: faq/programming.rst:1912 +#: faq/programming.rst:1954 msgid "" "The two principal tools for caching methods are :func:`functools." "cached_property` and :func:`functools.lru_cache`. The former stores results " "at the instance level and the latter at the class level." msgstr "" -#: faq/programming.rst:1917 +#: faq/programming.rst:1959 msgid "" "The *cached_property* approach only works with methods that do not take any " "arguments. It does not create a reference to the instance. The cached " "method result will be kept only as long as the instance is alive." msgstr "" -#: faq/programming.rst:1921 +#: faq/programming.rst:1963 msgid "" "The advantage is that when an instance is no longer used, the cached method " "result will be released right away. The disadvantage is that if instances " @@ -2043,47 +2083,47 @@ msgid "" "without bound." msgstr "" -#: faq/programming.rst:1926 +#: faq/programming.rst:1968 msgid "" "The *lru_cache* approach works with methods that have hashable arguments. " "It creates a reference to the instance unless special efforts are made to " "pass in weak references." msgstr "" -#: faq/programming.rst:1930 +#: faq/programming.rst:1972 msgid "" "The advantage of the least recently used algorithm is that the cache is " "bounded by the specified *maxsize*. The disadvantage is that instances are " "kept alive until they age out of the cache or until the cache is cleared." msgstr "" -#: faq/programming.rst:1935 +#: faq/programming.rst:1977 msgid "This example shows the various techniques::" msgstr "" -#: faq/programming.rst:1959 +#: faq/programming.rst:2001 msgid "" "The above example assumes that the *station_id* never changes. If the " "relevant instance attributes are mutable, the *cached_property* approach " "can't be made to work because it cannot detect changes to the attributes." msgstr "" -#: faq/programming.rst:1964 +#: faq/programming.rst:2006 msgid "" "The *lru_cache* approach can be made to work, but the class needs to define " "the *__eq__* and *__hash__* methods so the cache can detect relevant " "attribute updates::" msgstr "" -#: faq/programming.rst:1990 +#: faq/programming.rst:2032 msgid "Modules" msgstr "" -#: faq/programming.rst:1993 +#: faq/programming.rst:2035 msgid "How do I create a .pyc file?" msgstr "" -#: faq/programming.rst:1995 +#: faq/programming.rst:2037 msgid "" "When a module is imported for the first time (or when the source file has " "changed since the current compiled file was created) a ``.pyc`` file " @@ -2094,7 +2134,7 @@ msgid "" "particular ``python`` binary that created it. (See :pep:`3147` for details.)" msgstr "" -#: faq/programming.rst:2003 +#: faq/programming.rst:2045 msgid "" "One reason that a ``.pyc`` file may not be created is a permissions problem " "with the directory containing the source file, meaning that the " @@ -2103,7 +2143,7 @@ msgid "" "testing with a web server." msgstr "" -#: faq/programming.rst:2008 +#: faq/programming.rst:2050 msgid "" "Unless the :envvar:`PYTHONDONTWRITEBYTECODE` environment variable is set, " "creation of a .pyc file is automatic if you're importing a module and Python " @@ -2112,7 +2152,7 @@ msgid "" "subdirectory." msgstr "" -#: faq/programming.rst:2013 +#: faq/programming.rst:2055 msgid "" "Running Python on a top level script is not considered an import and no ``." "pyc`` will be created. For example, if you have a top-level module ``foo." @@ -2122,27 +2162,27 @@ msgid "" "for ``foo`` since ``foo.py`` isn't being imported." msgstr "" -#: faq/programming.rst:2020 +#: faq/programming.rst:2062 msgid "" "If you need to create a ``.pyc`` file for ``foo`` -- that is, to create a ``." "pyc`` file for a module that is not imported -- you can, using the :mod:" "`py_compile` and :mod:`compileall` modules." msgstr "" -#: faq/programming.rst:2024 +#: faq/programming.rst:2066 msgid "" "The :mod:`py_compile` module can manually compile any module. One way is to " "use the ``compile()`` function in that module interactively::" msgstr "" -#: faq/programming.rst:2030 +#: faq/programming.rst:2072 msgid "" "This will write the ``.pyc`` to a ``__pycache__`` subdirectory in the same " "location as ``foo.py`` (or you can override that with the optional parameter " "``cfile``)." msgstr "" -#: faq/programming.rst:2034 +#: faq/programming.rst:2076 msgid "" "You can also automatically compile all files in a directory or directories " "using the :mod:`compileall` module. You can do it from the shell prompt by " @@ -2150,11 +2190,11 @@ msgid "" "Python files to compile::" msgstr "" -#: faq/programming.rst:2043 +#: faq/programming.rst:2085 msgid "How do I find the current module name?" msgstr "" -#: faq/programming.rst:2045 +#: faq/programming.rst:2087 msgid "" "A module can find out its own module name by looking at the predefined " "global variable ``__name__``. If this has the value ``'__main__'``, the " @@ -2163,79 +2203,79 @@ msgid "" "only execute this code after checking ``__name__``::" msgstr "" -#: faq/programming.rst:2060 +#: faq/programming.rst:2102 msgid "How can I have modules that mutually import each other?" msgstr "" -#: faq/programming.rst:2062 +#: faq/programming.rst:2104 msgid "Suppose you have the following modules:" msgstr "" -#: faq/programming.rst:2064 +#: faq/programming.rst:2106 msgid ":file:`foo.py`::" msgstr "" -#: faq/programming.rst:2069 +#: faq/programming.rst:2111 msgid ":file:`bar.py`::" msgstr "" -#: faq/programming.rst:2074 +#: faq/programming.rst:2116 msgid "The problem is that the interpreter will perform the following steps:" msgstr "" -#: faq/programming.rst:2076 +#: faq/programming.rst:2118 msgid "main imports ``foo``" msgstr "" -#: faq/programming.rst:2077 +#: faq/programming.rst:2119 msgid "Empty globals for ``foo`` are created" msgstr "" -#: faq/programming.rst:2078 +#: faq/programming.rst:2120 msgid "``foo`` is compiled and starts executing" msgstr "" -#: faq/programming.rst:2079 +#: faq/programming.rst:2121 msgid "``foo`` imports ``bar``" msgstr "" -#: faq/programming.rst:2080 +#: faq/programming.rst:2122 msgid "Empty globals for ``bar`` are created" msgstr "" -#: faq/programming.rst:2081 +#: faq/programming.rst:2123 msgid "``bar`` is compiled and starts executing" msgstr "" -#: faq/programming.rst:2082 +#: faq/programming.rst:2124 msgid "" "``bar`` imports ``foo`` (which is a no-op since there already is a module " "named ``foo``)" msgstr "" -#: faq/programming.rst:2083 +#: faq/programming.rst:2125 msgid "" "The import mechanism tries to read ``foo_var`` from ``foo`` globals, to set " "``bar.foo_var = foo.foo_var``" msgstr "" -#: faq/programming.rst:2085 +#: faq/programming.rst:2127 msgid "" "The last step fails, because Python isn't done with interpreting ``foo`` yet " "and the global symbol dictionary for ``foo`` is still empty." msgstr "" -#: faq/programming.rst:2088 +#: faq/programming.rst:2130 msgid "" "The same thing happens when you use ``import foo``, and then try to access " "``foo.foo_var`` in global code." msgstr "" -#: faq/programming.rst:2091 +#: faq/programming.rst:2133 msgid "There are (at least) three possible workarounds for this problem." msgstr "" -#: faq/programming.rst:2093 +#: faq/programming.rst:2135 msgid "" "Guido van Rossum recommends avoiding all uses of ``from import ..." "``, and placing all code inside functions. Initializations of global " @@ -2244,59 +2284,59 @@ msgid "" "``.``." msgstr "" -#: faq/programming.rst:2098 +#: faq/programming.rst:2140 msgid "" "Jim Roskind suggests performing steps in the following order in each module:" msgstr "" -#: faq/programming.rst:2100 +#: faq/programming.rst:2142 msgid "" "exports (globals, functions, and classes that don't need imported base " "classes)" msgstr "" -#: faq/programming.rst:2102 +#: faq/programming.rst:2144 msgid "``import`` statements" msgstr "" -#: faq/programming.rst:2103 +#: faq/programming.rst:2145 msgid "" "active code (including globals that are initialized from imported values)." msgstr "" -#: faq/programming.rst:2105 +#: faq/programming.rst:2147 msgid "" "Van Rossum doesn't like this approach much because the imports appear in a " "strange place, but it does work." msgstr "" -#: faq/programming.rst:2108 +#: faq/programming.rst:2150 msgid "" "Matthias Urlichs recommends restructuring your code so that the recursive " "import is not necessary in the first place." msgstr "" -#: faq/programming.rst:2111 +#: faq/programming.rst:2153 msgid "These solutions are not mutually exclusive." msgstr "" -#: faq/programming.rst:2115 +#: faq/programming.rst:2157 msgid "__import__('x.y.z') returns ; how do I get z?" msgstr "" -#: faq/programming.rst:2117 +#: faq/programming.rst:2159 msgid "" "Consider using the convenience function :func:`~importlib.import_module` " "from :mod:`importlib` instead::" msgstr "" -#: faq/programming.rst:2124 +#: faq/programming.rst:2166 msgid "" "When I edit an imported module and reimport it, the changes don't show up. " "Why does this happen?" msgstr "" -#: faq/programming.rst:2126 +#: faq/programming.rst:2168 msgid "" "For reasons of efficiency as well as consistency, Python only reads the " "module file on the first time a module is imported. If it didn't, in a " @@ -2305,13 +2345,13 @@ msgid "" "re-reading of a changed module, do this::" msgstr "" -#: faq/programming.rst:2136 +#: faq/programming.rst:2178 msgid "" "Warning: this technique is not 100% fool-proof. In particular, modules " "containing statements like ::" msgstr "" -#: faq/programming.rst:2141 +#: faq/programming.rst:2183 msgid "" "will continue to work with the old version of the imported objects. If the " "module contains class definitions, existing class instances will *not* be " @@ -2319,7 +2359,7 @@ msgid "" "paradoxical behaviour::" msgstr "" -#: faq/programming.rst:2154 +#: faq/programming.rst:2196 msgid "" "The nature of the problem is made clear if you print out the \"identity\" of " "the class objects::" diff --git a/howto/annotations.po b/howto/annotations.po index 63438727a..3e39067ff 100644 --- a/howto/annotations.po +++ b/howto/annotations.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "Larry Hastings" msgstr "" -#: howto/annotations.rst:None +#: howto/annotations.rst:-1 msgid "Abstract" msgstr "" @@ -90,18 +90,26 @@ msgid "" "three arguments, for example ``getattr(o, '__annotations__', None)``." msgstr "" -#: howto/annotations.rst:62 +#: howto/annotations.rst:60 +msgid "" +"Before Python 3.10, accessing ``__annotations__`` on a class that defines no " +"annotations but that has a parent class with annotations would return the " +"parent's ``__annotations__``. In Python 3.10 and newer, the child class's " +"annotations will be an empty dict instead." +msgstr "" + +#: howto/annotations.rst:68 msgid "Accessing The Annotations Dict Of An Object In Python 3.9 And Older" msgstr "" -#: howto/annotations.rst:64 +#: howto/annotations.rst:70 msgid "" "In Python 3.9 and older, accessing the annotations dict of an object is much " "more complicated than in newer versions. The problem is a design flaw in " "these older versions of Python, specifically to do with class annotations." msgstr "" -#: howto/annotations.rst:69 +#: howto/annotations.rst:75 msgid "" "Best practice for accessing the annotations dict of other objects--" "functions, other callables, and modules--is the same as best practice for " @@ -110,7 +118,7 @@ msgid "" "``__annotations__`` attribute." msgstr "" -#: howto/annotations.rst:76 +#: howto/annotations.rst:82 msgid "" "Unfortunately, this isn't best practice for classes. The problem is that, " "since ``__annotations__`` is optional on classes, and because classes can " @@ -119,11 +127,11 @@ msgid "" "annotations dict of a *base class.* As an example::" msgstr "" -#: howto/annotations.rst:92 +#: howto/annotations.rst:98 msgid "This will print the annotations dict from ``Base``, not ``Derived``." msgstr "" -#: howto/annotations.rst:95 +#: howto/annotations.rst:101 msgid "" "Your code will have to have a separate code path if the object you're " "examining is a class (``isinstance(o, type)``). In that case, best practice " @@ -133,32 +141,32 @@ msgid "" "practice is to call the ``get`` method on the class dict." msgstr "" -#: howto/annotations.rst:103 +#: howto/annotations.rst:109 msgid "" "To put it all together, here is some sample code that safely accesses the " "``__annotations__`` attribute on an arbitrary object in Python 3.9 and " "before::" msgstr "" -#: howto/annotations.rst:112 +#: howto/annotations.rst:118 msgid "" "After running this code, ``ann`` should be either a dictionary or ``None``. " "You're encouraged to double-check the type of ``ann`` using :func:" "`isinstance` before further examination." msgstr "" -#: howto/annotations.rst:117 +#: howto/annotations.rst:123 msgid "" "Note that some exotic or malformed type objects may not have a ``__dict__`` " "attribute, so for extra safety you may also wish to use :func:`getattr` to " "access ``__dict__``." msgstr "" -#: howto/annotations.rst:123 +#: howto/annotations.rst:129 msgid "Manually Un-Stringizing Stringized Annotations" msgstr "" -#: howto/annotations.rst:125 +#: howto/annotations.rst:131 msgid "" "In situations where some annotations may be \"stringized\", and you wish to " "evaluate those strings to produce the Python values they represent, it " @@ -166,7 +174,7 @@ msgid "" "you." msgstr "" -#: howto/annotations.rst:131 +#: howto/annotations.rst:137 msgid "" "If you're using Python 3.9 or older, or if for some reason you can't use :" "func:`inspect.get_annotations`, you'll need to duplicate its logic. You're " @@ -174,26 +182,26 @@ msgid "" "in the current Python version and follow a similar approach." msgstr "" -#: howto/annotations.rst:137 +#: howto/annotations.rst:143 msgid "" "In a nutshell, if you wish to evaluate a stringized annotation on an " "arbitrary object ``o``:" msgstr "" -#: howto/annotations.rst:140 +#: howto/annotations.rst:146 msgid "" "If ``o`` is a module, use ``o.__dict__`` as the ``globals`` when calling :" "func:`eval`." msgstr "" -#: howto/annotations.rst:142 +#: howto/annotations.rst:148 msgid "" "If ``o`` is a class, use ``sys.modules[o.__module__].__dict__`` as the " "``globals``, and ``dict(vars(o))`` as the ``locals``, when calling :func:" "`eval`." msgstr "" -#: howto/annotations.rst:145 +#: howto/annotations.rst:151 msgid "" "If ``o`` is a wrapped callable using :func:`functools.update_wrapper`, :func:" "`functools.wraps`, or :func:`functools.partial`, iteratively unwrap it by " @@ -201,13 +209,13 @@ msgid "" "have found the root unwrapped function." msgstr "" -#: howto/annotations.rst:149 +#: howto/annotations.rst:155 msgid "" "If ``o`` is a callable (but not a class), use ``o.__globals__`` as the " "globals when calling :func:`eval`." msgstr "" -#: howto/annotations.rst:152 +#: howto/annotations.rst:158 msgid "" "However, not all string values used as annotations can be successfully " "turned into Python values by :func:`eval`. String values could theoretically " @@ -216,19 +224,19 @@ msgid "" "be evaluated. For example:" msgstr "" -#: howto/annotations.rst:159 +#: howto/annotations.rst:165 msgid "" ":pep:`604` union types using ``|``, before support for this was added to " "Python 3.10." msgstr "" -#: howto/annotations.rst:161 +#: howto/annotations.rst:167 msgid "" "Definitions that aren't needed at runtime, only imported when :const:`typing." "TYPE_CHECKING` is true." msgstr "" -#: howto/annotations.rst:164 +#: howto/annotations.rst:170 msgid "" "If :func:`eval` attempts to evaluate such values, it will fail and raise an " "exception. So, when designing a library API that works with annotations, " @@ -236,43 +244,43 @@ msgid "" "requested to by the caller." msgstr "" -#: howto/annotations.rst:172 +#: howto/annotations.rst:178 msgid "Best Practices For ``__annotations__`` In Any Python Version" msgstr "" -#: howto/annotations.rst:174 +#: howto/annotations.rst:180 msgid "" "You should avoid assigning to the ``__annotations__`` member of objects " "directly. Let Python manage setting ``__annotations__``." msgstr "" -#: howto/annotations.rst:177 +#: howto/annotations.rst:183 msgid "" "If you do assign directly to the ``__annotations__`` member of an object, " "you should always set it to a ``dict`` object." msgstr "" -#: howto/annotations.rst:180 +#: howto/annotations.rst:186 msgid "" "If you directly access the ``__annotations__`` member of an object, you " "should ensure that it's a dictionary before attempting to examine its " "contents." msgstr "" -#: howto/annotations.rst:184 +#: howto/annotations.rst:190 msgid "You should avoid modifying ``__annotations__`` dicts." msgstr "" -#: howto/annotations.rst:186 +#: howto/annotations.rst:192 msgid "" "You should avoid deleting the ``__annotations__`` attribute of an object." msgstr "" -#: howto/annotations.rst:191 +#: howto/annotations.rst:197 msgid "``__annotations__`` Quirks" msgstr "" -#: howto/annotations.rst:193 +#: howto/annotations.rst:199 msgid "" "In all versions of Python 3, function objects lazy-create an annotations " "dict if no annotations are defined on that object. You can delete the " @@ -284,13 +292,13 @@ msgid "" "guaranteed to always throw an ``AttributeError``." msgstr "" -#: howto/annotations.rst:203 +#: howto/annotations.rst:209 msgid "" "Everything in the above paragraph also applies to class and module objects " "in Python 3.10 and newer." msgstr "" -#: howto/annotations.rst:206 +#: howto/annotations.rst:212 msgid "" "In all versions of Python 3, you can set ``__annotations__`` on a function " "object to ``None``. However, subsequently accessing the annotations on that " @@ -301,7 +309,7 @@ msgid "" "set." msgstr "" -#: howto/annotations.rst:214 +#: howto/annotations.rst:220 msgid "" "If Python stringizes your annotations for you (using ``from __future__ " "import annotations``), and you specify a string as an annotation, the string " @@ -309,7 +317,7 @@ msgid "" "example::" msgstr "" -#: howto/annotations.rst:225 +#: howto/annotations.rst:231 msgid "" "This prints ``{'a': \"'str'\"}``. This shouldn't really be considered a " "\"quirk\"; it's mentioned here simply because it might be surprising." diff --git a/howto/clinic.po b/howto/clinic.po index c3eb740ee..5e756c2f5 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "Larry Hastings" msgstr "" -#: howto/clinic.rst:None +#: howto/clinic.rst:-1 msgid "Abstract" msgstr "" diff --git a/howto/curses.po b/howto/curses.po index ba30d232f..c8a2d15fb 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -36,7 +36,7 @@ msgstr "" msgid "2.04" msgstr "" -#: howto/curses.rst:None +#: howto/curses.rst:-1 msgid "Abstract" msgstr "" diff --git a/howto/ipaddress.po b/howto/ipaddress.po index 798b3eb9f..8be16fae8 100644 --- a/howto/ipaddress.po +++ b/howto/ipaddress.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -32,7 +32,7 @@ msgstr "" msgid "Nick Coghlan" msgstr "" -#: howto/ipaddress.rst:None +#: howto/ipaddress.rst:-1 msgid "Overview" msgstr "" diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index 6fefa8eef..0d0834507 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1061,27 +1061,27 @@ msgid "" "kinds of queues, for example a ZeroMQ 'subscribe' socket. Here's an example::" msgstr "" -#: howto/logging-cookbook.rst:1903 howto/logging-cookbook.rst:3926 +#: howto/logging-cookbook.rst:1903 howto/logging-cookbook.rst:3947 msgid "Module :mod:`logging`" msgstr "" -#: howto/logging-cookbook.rst:1903 howto/logging-cookbook.rst:3926 +#: howto/logging-cookbook.rst:1903 howto/logging-cookbook.rst:3947 msgid "API reference for the logging module." msgstr "" -#: howto/logging-cookbook.rst:1906 howto/logging-cookbook.rst:3929 +#: howto/logging-cookbook.rst:1906 howto/logging-cookbook.rst:3950 msgid "Module :mod:`logging.config`" msgstr "" -#: howto/logging-cookbook.rst:1906 howto/logging-cookbook.rst:3929 +#: howto/logging-cookbook.rst:1906 howto/logging-cookbook.rst:3950 msgid "Configuration API for the logging module." msgstr "" -#: howto/logging-cookbook.rst:1909 howto/logging-cookbook.rst:3932 +#: howto/logging-cookbook.rst:1909 howto/logging-cookbook.rst:3953 msgid "Module :mod:`logging.handlers`" msgstr "" -#: howto/logging-cookbook.rst:1909 howto/logging-cookbook.rst:3932 +#: howto/logging-cookbook.rst:1909 howto/logging-cookbook.rst:3953 msgid "Useful handlers included with the logging module." msgstr "" @@ -1119,21 +1119,19 @@ msgstr "" #: howto/logging-cookbook.rst:1984 msgid "" "An example of how you can define a namer and rotator is given in the " -"following snippet, which shows zlib-based compression of the log file::" +"following runnable script, which shows gzip compression of the log file::" msgstr "" -#: howto/logging-cookbook.rst:2002 +#: howto/logging-cookbook.rst:2015 msgid "" -"These are not \"true\" .gz files, as they are bare compressed data, with no " -"\"container\" such as you’d find in an actual gzip file. This snippet is " -"just for illustration purposes." +"After running this, you will see six new files, five of which are compressed:" msgstr "" -#: howto/logging-cookbook.rst:2007 +#: howto/logging-cookbook.rst:2028 msgid "A more elaborate multiprocessing example" msgstr "" -#: howto/logging-cookbook.rst:2009 +#: howto/logging-cookbook.rst:2030 msgid "" "The following working example shows how logging can be used with " "multiprocessing using configuration files. The configurations are fairly " @@ -1141,7 +1139,7 @@ msgid "" "in a real multiprocessing scenario." msgstr "" -#: howto/logging-cookbook.rst:2014 +#: howto/logging-cookbook.rst:2035 msgid "" "In the example, the main process spawns a listener process and some worker " "processes. Each of the main process, the listener and the workers have three " @@ -1154,17 +1152,17 @@ msgid "" "own scenario." msgstr "" -#: howto/logging-cookbook.rst:2024 +#: howto/logging-cookbook.rst:2045 msgid "" "Here's the script - the docstrings and the comments hopefully explain how it " "works::" msgstr "" -#: howto/logging-cookbook.rst:2236 +#: howto/logging-cookbook.rst:2257 msgid "Inserting a BOM into messages sent to a SysLogHandler" msgstr "" -#: howto/logging-cookbook.rst:2238 +#: howto/logging-cookbook.rst:2259 msgid "" ":rfc:`5424` requires that a Unicode message be sent to a syslog daemon as a " "set of bytes which have the following structure: an optional pure-ASCII " @@ -1173,7 +1171,7 @@ msgid "" "<5424#section-6>`.)" msgstr "" -#: howto/logging-cookbook.rst:2244 +#: howto/logging-cookbook.rst:2265 msgid "" "In Python 3.1, code was added to :class:`~logging.handlers.SysLogHandler` to " "insert a BOM into the message, but unfortunately, it was implemented " @@ -1181,7 +1179,7 @@ msgid "" "hence not allowing any pure-ASCII component to appear before it." msgstr "" -#: howto/logging-cookbook.rst:2250 +#: howto/logging-cookbook.rst:2271 msgid "" "As this behaviour is broken, the incorrect BOM insertion code is being " "removed from Python 3.2.4 and later. However, it is not being replaced, and " @@ -1190,33 +1188,33 @@ msgid "" "encoded using UTF-8, then you need to do the following:" msgstr "" -#: howto/logging-cookbook.rst:2256 +#: howto/logging-cookbook.rst:2277 msgid "" "Attach a :class:`~logging.Formatter` instance to your :class:`~logging." "handlers.SysLogHandler` instance, with a format string such as::" msgstr "" -#: howto/logging-cookbook.rst:2262 +#: howto/logging-cookbook.rst:2283 msgid "" "The Unicode code point U+FEFF, when encoded using UTF-8, will be encoded as " "a UTF-8 BOM -- the byte-string ``b'\\xef\\xbb\\xbf'``." msgstr "" -#: howto/logging-cookbook.rst:2265 +#: howto/logging-cookbook.rst:2286 msgid "" "Replace the ASCII section with whatever placeholders you like, but make sure " "that the data that appears in there after substitution is always ASCII (that " "way, it will remain unchanged after UTF-8 encoding)." msgstr "" -#: howto/logging-cookbook.rst:2269 +#: howto/logging-cookbook.rst:2290 msgid "" "Replace the Unicode section with whatever placeholders you like; if the data " "which appears there after substitution contains characters outside the ASCII " "range, that's fine -- it will be encoded using UTF-8." msgstr "" -#: howto/logging-cookbook.rst:2273 +#: howto/logging-cookbook.rst:2294 msgid "" "The formatted message *will* be encoded using UTF-8 encoding by " "``SysLogHandler``. If you follow the above rules, you should be able to " @@ -1225,11 +1223,11 @@ msgid "" "daemon may complain." msgstr "" -#: howto/logging-cookbook.rst:2280 +#: howto/logging-cookbook.rst:2301 msgid "Implementing structured logging" msgstr "" -#: howto/logging-cookbook.rst:2282 +#: howto/logging-cookbook.rst:2303 msgid "" "Although most logging messages are intended for reading by humans, and thus " "not readily machine-parseable, there might be circumstances where you want " @@ -1241,31 +1239,31 @@ msgid "" "machine-parseable manner::" msgstr "" -#: howto/logging-cookbook.rst:2306 +#: howto/logging-cookbook.rst:2327 msgid "If the above script is run, it prints:" msgstr "" -#: howto/logging-cookbook.rst:2312 howto/logging-cookbook.rst:2354 +#: howto/logging-cookbook.rst:2333 howto/logging-cookbook.rst:2375 msgid "" "Note that the order of items might be different according to the version of " "Python used." msgstr "" -#: howto/logging-cookbook.rst:2315 +#: howto/logging-cookbook.rst:2336 msgid "" "If you need more specialised processing, you can use a custom JSON encoder, " "as in the following complete example::" msgstr "" -#: howto/logging-cookbook.rst:2348 +#: howto/logging-cookbook.rst:2369 msgid "When the above script is run, it prints:" msgstr "" -#: howto/logging-cookbook.rst:2363 +#: howto/logging-cookbook.rst:2384 msgid "Customizing handlers with :func:`dictConfig`" msgstr "" -#: howto/logging-cookbook.rst:2365 +#: howto/logging-cookbook.rst:2386 msgid "" "There are times when you want to customize logging handlers in particular " "ways, and if you use :func:`dictConfig` you may be able to do this without " @@ -1275,24 +1273,24 @@ msgid "" "customize handler creation using a plain function such as::" msgstr "" -#: howto/logging-cookbook.rst:2379 +#: howto/logging-cookbook.rst:2400 msgid "" "You can then specify, in a logging configuration passed to :func:" "`dictConfig`, that a logging handler be created by calling this function::" msgstr "" -#: howto/logging-cookbook.rst:2412 +#: howto/logging-cookbook.rst:2433 msgid "" "In this example I am setting the ownership using the ``pulse`` user and " "group, just for the purposes of illustration. Putting it together into a " "working script, ``chowntest.py``::" msgstr "" -#: howto/logging-cookbook.rst:2459 +#: howto/logging-cookbook.rst:2480 msgid "To run this, you will probably need to run as ``root``:" msgstr "" -#: howto/logging-cookbook.rst:2469 +#: howto/logging-cookbook.rst:2490 msgid "" "Note that this example uses Python 3.3 because that's where :func:`shutil." "chown` makes an appearance. This approach should work with any Python " @@ -1301,17 +1299,17 @@ msgid "" "change using e.g. :func:`os.chown`." msgstr "" -#: howto/logging-cookbook.rst:2475 +#: howto/logging-cookbook.rst:2496 msgid "" "In practice, the handler-creating function may be in a utility module " "somewhere in your project. Instead of the line in the configuration::" msgstr "" -#: howto/logging-cookbook.rst:2480 +#: howto/logging-cookbook.rst:2501 msgid "you could use e.g.::" msgstr "" -#: howto/logging-cookbook.rst:2484 +#: howto/logging-cookbook.rst:2505 msgid "" "where ``project.util`` can be replaced with the actual name of the package " "where the function resides. In the above working script, using ``'ext://" @@ -1319,25 +1317,25 @@ msgid "" "resolved by :func:`dictConfig` from the ``ext://`` specification." msgstr "" -#: howto/logging-cookbook.rst:2489 +#: howto/logging-cookbook.rst:2510 msgid "" "This example hopefully also points the way to how you could implement other " "types of file change - e.g. setting specific POSIX permission bits - in the " "same way, using :func:`os.chmod`." msgstr "" -#: howto/logging-cookbook.rst:2493 +#: howto/logging-cookbook.rst:2514 msgid "" "Of course, the approach could also be extended to types of handler other " "than a :class:`~logging.FileHandler` - for example, one of the rotating file " "handlers, or a different type of handler altogether." msgstr "" -#: howto/logging-cookbook.rst:2503 +#: howto/logging-cookbook.rst:2524 msgid "Using particular formatting styles throughout your application" msgstr "" -#: howto/logging-cookbook.rst:2505 +#: howto/logging-cookbook.rst:2526 msgid "" "In Python 3.2, the :class:`~logging.Formatter` gained a ``style`` keyword " "parameter which, while defaulting to ``%`` for backward compatibility, " @@ -1348,7 +1346,7 @@ msgid "" "is constructed." msgstr "" -#: howto/logging-cookbook.rst:2512 +#: howto/logging-cookbook.rst:2533 msgid "" "Logging calls (:meth:`~Logger.debug`, :meth:`~Logger.info` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -1363,7 +1361,7 @@ msgid "" "calls which are out there in existing code will be using %-format strings." msgstr "" -#: howto/logging-cookbook.rst:2524 +#: howto/logging-cookbook.rst:2545 msgid "" "There have been suggestions to associate format styles with specific " "loggers, but that approach also runs into backward compatibility problems " @@ -1371,7 +1369,7 @@ msgid "" "formatting." msgstr "" -#: howto/logging-cookbook.rst:2528 +#: howto/logging-cookbook.rst:2549 msgid "" "For logging to work interoperably between any third-party libraries and your " "code, decisions about formatting need to be made at the level of the " @@ -1379,11 +1377,11 @@ msgid "" "formatting styles can be accommodated." msgstr "" -#: howto/logging-cookbook.rst:2535 +#: howto/logging-cookbook.rst:2556 msgid "Using LogRecord factories" msgstr "" -#: howto/logging-cookbook.rst:2537 +#: howto/logging-cookbook.rst:2558 msgid "" "In Python 3.2, along with the :class:`~logging.Formatter` changes mentioned " "above, the logging package gained the ability to allow users to set their " @@ -1398,17 +1396,17 @@ msgid "" "implementation does." msgstr "" -#: howto/logging-cookbook.rst:2548 +#: howto/logging-cookbook.rst:2569 msgid "" "Refer to the reference documentation on :func:`setLogRecordFactory` and :" "class:`LogRecord` for more information." msgstr "" -#: howto/logging-cookbook.rst:2553 +#: howto/logging-cookbook.rst:2574 msgid "Using custom message objects" msgstr "" -#: howto/logging-cookbook.rst:2555 +#: howto/logging-cookbook.rst:2576 msgid "" "There is another, perhaps simpler way that you can use {}- and $- formatting " "to construct your individual log messages. You may recall (from :ref:" @@ -1418,7 +1416,7 @@ msgid "" "following two classes::" msgstr "" -#: howto/logging-cookbook.rst:2580 +#: howto/logging-cookbook.rst:2601 msgid "" "Either of these can be used in place of a format string, to allow {}- or $-" "formatting to be used to build the actual \"message\" part which appears in " @@ -1429,17 +1427,17 @@ msgid "" "using ``_`` for localization)." msgstr "" -#: howto/logging-cookbook.rst:2588 +#: howto/logging-cookbook.rst:2609 msgid "" "Examples of this approach are given below. Firstly, formatting with :meth:" "`str.format`::" msgstr "" -#: howto/logging-cookbook.rst:2602 +#: howto/logging-cookbook.rst:2623 msgid "Secondly, formatting with :class:`string.Template`::" msgstr "" -#: howto/logging-cookbook.rst:2609 +#: howto/logging-cookbook.rst:2630 msgid "" "One thing to note is that you pay no significant performance penalty with " "this approach: the actual formatting happens not when you make the logging " @@ -1451,11 +1449,11 @@ msgid "" "above." msgstr "" -#: howto/logging-cookbook.rst:2623 +#: howto/logging-cookbook.rst:2644 msgid "Configuring filters with :func:`dictConfig`" msgstr "" -#: howto/logging-cookbook.rst:2625 +#: howto/logging-cookbook.rst:2646 msgid "" "You *can* configure filters using :func:`~logging.config.dictConfig`, though " "it might not be obvious at first glance how to do it (hence this recipe). " @@ -1470,22 +1468,22 @@ msgid "" "complete example::" msgstr "" -#: howto/logging-cookbook.rst:2678 +#: howto/logging-cookbook.rst:2699 msgid "" "This example shows how you can pass configuration data to the callable which " "constructs the instance, in the form of keyword parameters. When run, the " "above script will print:" msgstr "" -#: howto/logging-cookbook.rst:2686 +#: howto/logging-cookbook.rst:2707 msgid "which shows that the filter is working as configured." msgstr "" -#: howto/logging-cookbook.rst:2688 +#: howto/logging-cookbook.rst:2709 msgid "A couple of extra points to note:" msgstr "" -#: howto/logging-cookbook.rst:2690 +#: howto/logging-cookbook.rst:2711 msgid "" "If you can't refer to the callable directly in the configuration (e.g. if it " "lives in a different module, and you can't import it directly where the " @@ -1495,7 +1493,7 @@ msgid "" "the above example." msgstr "" -#: howto/logging-cookbook.rst:2697 +#: howto/logging-cookbook.rst:2718 msgid "" "As well as for filters, this technique can also be used to configure custom " "handlers and formatters. See :ref:`logging-config-dict-userdef` for more " @@ -1504,11 +1502,11 @@ msgid "" "above." msgstr "" -#: howto/logging-cookbook.rst:2706 +#: howto/logging-cookbook.rst:2727 msgid "Customized exception formatting" msgstr "" -#: howto/logging-cookbook.rst:2708 +#: howto/logging-cookbook.rst:2729 msgid "" "There might be times when you want to do customized exception formatting - " "for argument's sake, let's say you want exactly one line per logged event, " @@ -1516,22 +1514,22 @@ msgid "" "formatter class, as shown in the following example::" msgstr "" -#: howto/logging-cookbook.rst:2749 +#: howto/logging-cookbook.rst:2770 msgid "When run, this produces a file with exactly two lines:" msgstr "" -#: howto/logging-cookbook.rst:2756 +#: howto/logging-cookbook.rst:2777 msgid "" "While the above treatment is simplistic, it points the way to how exception " "information can be formatted to your liking. The :mod:`traceback` module may " "be helpful for more specialized needs." msgstr "" -#: howto/logging-cookbook.rst:2763 +#: howto/logging-cookbook.rst:2784 msgid "Speaking logging messages" msgstr "" -#: howto/logging-cookbook.rst:2765 +#: howto/logging-cookbook.rst:2786 msgid "" "There might be situations when it is desirable to have logging messages " "rendered in an audible rather than a visible format. This is easy to do if " @@ -1548,24 +1546,24 @@ msgid "" "approach, which assumes that the ``espeak`` TTS package is available::" msgstr "" -#: howto/logging-cookbook.rst:2807 +#: howto/logging-cookbook.rst:2828 msgid "" "When run, this script should say \"Hello\" and then \"Goodbye\" in a female " "voice." msgstr "" -#: howto/logging-cookbook.rst:2809 +#: howto/logging-cookbook.rst:2830 msgid "" "The above approach can, of course, be adapted to other TTS systems and even " "other systems altogether which can process messages via external programs " "run from a command line." msgstr "" -#: howto/logging-cookbook.rst:2817 +#: howto/logging-cookbook.rst:2838 msgid "Buffering logging messages and outputting them conditionally" msgstr "" -#: howto/logging-cookbook.rst:2819 +#: howto/logging-cookbook.rst:2840 msgid "" "There might be situations where you want to log messages in a temporary area " "and only output them if a certain condition occurs. For example, you may " @@ -1575,7 +1573,7 @@ msgid "" "debug information to be output as well as the error." msgstr "" -#: howto/logging-cookbook.rst:2826 +#: howto/logging-cookbook.rst:2847 msgid "" "Here is an example which shows how you could do this using a decorator for " "your functions where you want logging to behave this way. It makes use of " @@ -1588,7 +1586,7 @@ msgid "" "subclass of ``MemoryHandler`` if you want custom flushing behavior." msgstr "" -#: howto/logging-cookbook.rst:2836 +#: howto/logging-cookbook.rst:2857 msgid "" "The example script has a simple function, ``foo``, which just cycles through " "all the logging levels, writing to ``sys.stderr`` to say what level it's " @@ -1597,7 +1595,7 @@ msgid "" "levels - otherwise, it only logs at DEBUG, INFO and WARNING levels." msgstr "" -#: howto/logging-cookbook.rst:2842 +#: howto/logging-cookbook.rst:2863 msgid "" "The script just arranges to decorate ``foo`` with a decorator which will do " "the conditional logging that's required. The decorator takes a logger as a " @@ -1609,30 +1607,30 @@ msgid "" "respectively." msgstr "" -#: howto/logging-cookbook.rst:2850 +#: howto/logging-cookbook.rst:2871 msgid "Here's the script::" msgstr "" -#: howto/logging-cookbook.rst:2913 +#: howto/logging-cookbook.rst:2934 msgid "When this script is run, the following output should be observed:" msgstr "" -#: howto/logging-cookbook.rst:2943 +#: howto/logging-cookbook.rst:2964 msgid "" "As you can see, actual logging output only occurs when an event is logged " "whose severity is ERROR or greater, but in that case, any previous events at " "lower severities are also logged." msgstr "" -#: howto/logging-cookbook.rst:2947 +#: howto/logging-cookbook.rst:2968 msgid "You can of course use the conventional means of decoration::" msgstr "" -#: howto/logging-cookbook.rst:2957 +#: howto/logging-cookbook.rst:2978 msgid "Sending logging messages to email, with buffering" msgstr "" -#: howto/logging-cookbook.rst:2959 +#: howto/logging-cookbook.rst:2980 msgid "" "To illustrate how you can send log messages via email, so that a set number " "of messages are sent per email, you can subclass :class:`~logging.handlers." @@ -1643,7 +1641,7 @@ msgid "" "argument to see the required and optional arguments.)" msgstr "" -#: howto/logging-cookbook.rst:3031 +#: howto/logging-cookbook.rst:3052 msgid "" "If you run this script and your SMTP server is correctly set up, you should " "find that it sends eleven emails to the addressee you specify. The first ten " @@ -1651,17 +1649,17 @@ msgid "" "messages. That makes up 102 messages as specified in the script." msgstr "" -#: howto/logging-cookbook.rst:3039 +#: howto/logging-cookbook.rst:3060 msgid "Formatting times using UTC (GMT) via configuration" msgstr "" -#: howto/logging-cookbook.rst:3041 +#: howto/logging-cookbook.rst:3062 msgid "" "Sometimes you want to format times using UTC, which can be done using a " "class such as ``UTCFormatter``, shown below::" msgstr "" -#: howto/logging-cookbook.rst:3050 +#: howto/logging-cookbook.rst:3071 msgid "" "and you can then use the ``UTCFormatter`` in your code instead of :class:" "`~logging.Formatter`. If you want to do that via configuration, you can use " @@ -1669,21 +1667,21 @@ msgid "" "the following complete example::" msgstr "" -#: howto/logging-cookbook.rst:3093 +#: howto/logging-cookbook.rst:3114 msgid "When this script is run, it should print something like:" msgstr "" -#: howto/logging-cookbook.rst:3100 +#: howto/logging-cookbook.rst:3121 msgid "" "showing how the time is formatted both as local time and UTC, one for each " "handler." msgstr "" -#: howto/logging-cookbook.rst:3107 +#: howto/logging-cookbook.rst:3128 msgid "Using a context manager for selective logging" msgstr "" -#: howto/logging-cookbook.rst:3109 +#: howto/logging-cookbook.rst:3130 msgid "" "There are times when it would be useful to temporarily change the logging " "configuration and revert it back after doing something. For this, a context " @@ -1693,7 +1691,7 @@ msgid "" "scope of the context manager::" msgstr "" -#: howto/logging-cookbook.rst:3142 +#: howto/logging-cookbook.rst:3163 msgid "" "If you specify a level value, the logger's level is set to that value in the " "scope of the with block covered by the context manager. If you specify a " @@ -1702,13 +1700,13 @@ msgid "" "block exit - you could do this if you don't need the handler any more." msgstr "" -#: howto/logging-cookbook.rst:3148 +#: howto/logging-cookbook.rst:3169 msgid "" "To illustrate how it works, we can add the following block of code to the " "above::" msgstr "" -#: howto/logging-cookbook.rst:3166 +#: howto/logging-cookbook.rst:3187 msgid "" "We initially set the logger's level to ``INFO``, so message #1 appears and " "message #2 doesn't. We then change the level to ``DEBUG`` temporarily in the " @@ -1721,56 +1719,56 @@ msgid "" "(like message #1) whereas message #7 doesn't (just like message #2)." msgstr "" -#: howto/logging-cookbook.rst:3176 +#: howto/logging-cookbook.rst:3197 msgid "If we run the resulting script, the result is as follows:" msgstr "" -#: howto/logging-cookbook.rst:3187 +#: howto/logging-cookbook.rst:3208 msgid "" "If we run it again, but pipe ``stderr`` to ``/dev/null``, we see the " "following, which is the only message written to ``stdout``:" msgstr "" -#: howto/logging-cookbook.rst:3195 +#: howto/logging-cookbook.rst:3216 msgid "Once again, but piping ``stdout`` to ``/dev/null``, we get:" msgstr "" -#: howto/logging-cookbook.rst:3205 +#: howto/logging-cookbook.rst:3226 msgid "" "In this case, the message #5 printed to ``stdout`` doesn't appear, as " "expected." msgstr "" -#: howto/logging-cookbook.rst:3207 +#: howto/logging-cookbook.rst:3228 msgid "" "Of course, the approach described here can be generalised, for example to " "attach logging filters temporarily. Note that the above code works in Python " "2 as well as Python 3." msgstr "" -#: howto/logging-cookbook.rst:3215 +#: howto/logging-cookbook.rst:3236 msgid "A CLI application starter template" msgstr "" -#: howto/logging-cookbook.rst:3217 +#: howto/logging-cookbook.rst:3238 msgid "Here's an example which shows how you can:" msgstr "" -#: howto/logging-cookbook.rst:3219 +#: howto/logging-cookbook.rst:3240 msgid "Use a logging level based on command-line arguments" msgstr "" -#: howto/logging-cookbook.rst:3220 +#: howto/logging-cookbook.rst:3241 msgid "" "Dispatch to multiple subcommands in separate files, all logging at the same " "level in a consistent way" msgstr "" -#: howto/logging-cookbook.rst:3222 +#: howto/logging-cookbook.rst:3243 msgid "Make use of simple, minimal configuration" msgstr "" -#: howto/logging-cookbook.rst:3224 +#: howto/logging-cookbook.rst:3245 msgid "" "Suppose we have a command-line application whose job is to stop, start or " "restart some services. This could be organised for the purposes of " @@ -1781,53 +1779,53 @@ msgid "" "``logging.INFO``. Here's one way that ``app.py`` could be written::" msgstr "" -#: howto/logging-cookbook.rst:3273 +#: howto/logging-cookbook.rst:3294 msgid "" "And the ``start``, ``stop`` and ``restart`` commands can be implemented in " "separate modules, like so for starting::" msgstr "" -#: howto/logging-cookbook.rst:3286 +#: howto/logging-cookbook.rst:3307 msgid "and thus for stopping::" msgstr "" -#: howto/logging-cookbook.rst:3307 +#: howto/logging-cookbook.rst:3328 msgid "and similarly for restarting::" msgstr "" -#: howto/logging-cookbook.rst:3328 +#: howto/logging-cookbook.rst:3349 msgid "" "If we run this application with the default log level, we get output like " "this:" msgstr "" -#: howto/logging-cookbook.rst:3341 +#: howto/logging-cookbook.rst:3362 msgid "" "The first word is the logging level, and the second word is the module or " "package name of the place where the event was logged." msgstr "" -#: howto/logging-cookbook.rst:3344 +#: howto/logging-cookbook.rst:3365 msgid "" "If we change the logging level, then we can change the information sent to " "the log. For example, if we want more information:" msgstr "" -#: howto/logging-cookbook.rst:3361 +#: howto/logging-cookbook.rst:3382 msgid "And if we want less:" msgstr "" -#: howto/logging-cookbook.rst:3369 +#: howto/logging-cookbook.rst:3390 msgid "" "In this case, the commands don't print anything to the console, since " "nothing at ``WARNING`` level or above is logged by them." msgstr "" -#: howto/logging-cookbook.rst:3375 +#: howto/logging-cookbook.rst:3396 msgid "A Qt GUI for logging" msgstr "" -#: howto/logging-cookbook.rst:3377 +#: howto/logging-cookbook.rst:3398 msgid "" "A question that comes up from time to time is about how to log to a GUI " "application. The `Qt `_ framework is a popular cross-" @@ -1835,7 +1833,7 @@ msgid "" "project/PySide2/>`_ or `PyQt5 `_ libraries." msgstr "" -#: howto/logging-cookbook.rst:3383 +#: howto/logging-cookbook.rst:3404 msgid "" "The following example shows how to log to a Qt GUI. This introduces a simple " "``QtHandler`` class which takes a callable, which should be a slot in the " @@ -1845,14 +1843,14 @@ msgid "" "logging messages at random levels with random short delays in between)." msgstr "" -#: howto/logging-cookbook.rst:3390 +#: howto/logging-cookbook.rst:3411 msgid "" "The worker thread is implemented using Qt's ``QThread`` class rather than " "the :mod:`threading` module, as there are circumstances where one has to use " "``QThread``, which offers better integration with other ``Qt`` components." msgstr "" -#: howto/logging-cookbook.rst:3394 +#: howto/logging-cookbook.rst:3415 msgid "" "The code should work with recent releases of either ``PySide2`` or " "``PyQt5``. You should be able to adapt the approach to earlier versions of " @@ -1860,11 +1858,11 @@ msgid "" "information." msgstr "" -#: howto/logging-cookbook.rst:3608 +#: howto/logging-cookbook.rst:3629 msgid "Logging to syslog with RFC5424 support" msgstr "" -#: howto/logging-cookbook.rst:3610 +#: howto/logging-cookbook.rst:3631 msgid "" "Although :rfc:`5424` dates from 2009, most syslog servers are configured by " "detault to use the older :rfc:`3164`, which hails from 2001. When " @@ -1874,14 +1872,14 @@ msgid "" "handlers.SysLogHandler` functionality has not been updated." msgstr "" -#: howto/logging-cookbook.rst:3617 +#: howto/logging-cookbook.rst:3638 msgid "" "RFC 5424 contains some useful features such as support for structured data, " "and if you need to be able to log to a syslog server with support for it, " "you can do so with a subclassed handler which looks something like this::" msgstr "" -#: howto/logging-cookbook.rst:3683 +#: howto/logging-cookbook.rst:3704 msgid "" "You'll need to be familiar with RFC 5424 to fully understand the above code, " "and it may be that you have slightly different needs (e.g. for how you pass " @@ -1890,11 +1888,11 @@ msgid "" "using something like this::" msgstr "" -#: howto/logging-cookbook.rst:3697 +#: howto/logging-cookbook.rst:3718 msgid "How to treat a logger like an output stream" msgstr "" -#: howto/logging-cookbook.rst:3699 +#: howto/logging-cookbook.rst:3720 msgid "" "Sometimes, you need to interface to a third-party API which expects a file-" "like object to write to, but you want to direct the API's output to a " @@ -1902,17 +1900,17 @@ msgid "" "API. Here's a short script illustrating such a class:" msgstr "" -#: howto/logging-cookbook.rst:3739 +#: howto/logging-cookbook.rst:3760 msgid "When this script is run, it prints" msgstr "" -#: howto/logging-cookbook.rst:3746 +#: howto/logging-cookbook.rst:3767 msgid "" "You could also use ``LoggerWriter`` to redirect ``sys.stdout`` and ``sys." "stderr`` by doing something like this:" msgstr "" -#: howto/logging-cookbook.rst:3756 +#: howto/logging-cookbook.rst:3777 msgid "" "You should do this *after* configuring logging for your needs. In the above " "example, the :func:`~logging.basicConfig` call does this (using the ``sys." @@ -1920,25 +1918,25 @@ msgid "" "Then, you'd get this kind of result:" msgstr "" -#: howto/logging-cookbook.rst:3769 +#: howto/logging-cookbook.rst:3790 msgid "" "Of course, these above examples show output according to the format used by :" "func:`~logging.basicConfig`, but you can use a different formatter when you " "configure logging." msgstr "" -#: howto/logging-cookbook.rst:3773 +#: howto/logging-cookbook.rst:3794 msgid "" "Note that with the above scheme, you are somewhat at the mercy of buffering " "and the sequence of write calls which you are intercepting. For example, " "with the definition of ``LoggerWriter`` above, if you have the snippet" msgstr "" -#: howto/logging-cookbook.rst:3782 +#: howto/logging-cookbook.rst:3803 msgid "then running the script results in" msgstr "" -#: howto/logging-cookbook.rst:3800 +#: howto/logging-cookbook.rst:3821 msgid "" "As you can see, this output isn't ideal. That's because the underlying code " "which writes to ``sys.stderr`` makes mutiple writes, each of which results " @@ -1948,17 +1946,17 @@ msgid "" "``LoggerWriter``:" msgstr "" -#: howto/logging-cookbook.rst:3825 +#: howto/logging-cookbook.rst:3846 msgid "" "This just buffers up stuff until a newline is seen, and then logs complete " "lines. With this approach, you get better output:" msgstr "" -#: howto/logging-cookbook.rst:3841 +#: howto/logging-cookbook.rst:3862 msgid "Patterns to avoid" msgstr "" -#: howto/logging-cookbook.rst:3843 +#: howto/logging-cookbook.rst:3864 msgid "" "Although the preceding sections have described ways of doing things you " "might need to do or deal with, it is worth mentioning some usage patterns " @@ -1966,11 +1964,11 @@ msgid "" "The following sections are in no particular order." msgstr "" -#: howto/logging-cookbook.rst:3850 +#: howto/logging-cookbook.rst:3871 msgid "Opening the same log file multiple times" msgstr "" -#: howto/logging-cookbook.rst:3852 +#: howto/logging-cookbook.rst:3873 msgid "" "On Windows, you will generally not be able to open the same file multiple " "times as this will lead to a \"file is in use by another process\" error. " @@ -1978,32 +1976,32 @@ msgid "" "file multiple times. This could be done accidentally, for example by:" msgstr "" -#: howto/logging-cookbook.rst:3857 +#: howto/logging-cookbook.rst:3878 msgid "" "Adding a file handler more than once which references the same file (e.g. by " "a copy/paste/forget-to-change error)." msgstr "" -#: howto/logging-cookbook.rst:3860 +#: howto/logging-cookbook.rst:3881 msgid "" "Opening two files that look different, as they have different names, but are " "the same because one is a symbolic link to the other." msgstr "" -#: howto/logging-cookbook.rst:3863 +#: howto/logging-cookbook.rst:3884 msgid "" "Forking a process, following which both parent and child have a reference to " "the same file. This might be through use of the :mod:`multiprocessing` " "module, for example." msgstr "" -#: howto/logging-cookbook.rst:3867 +#: howto/logging-cookbook.rst:3888 msgid "" "Opening a file multiple times might *appear* to work most of the time, but " "can lead to a number of problems in practice:" msgstr "" -#: howto/logging-cookbook.rst:3870 +#: howto/logging-cookbook.rst:3891 msgid "" "Logging output can be garbled because multiple threads or processes try to " "write to the same file. Although logging guards against concurrent use of " @@ -2012,7 +2010,7 @@ msgid "" "different handler instances which happen to point to the same file." msgstr "" -#: howto/logging-cookbook.rst:3876 +#: howto/logging-cookbook.rst:3897 msgid "" "An attempt to delete a file (e.g. during file rotation) silently fails, " "because there is another reference pointing to it. This can lead to " @@ -2022,17 +2020,17 @@ msgid "" "being supposedly in place." msgstr "" -#: howto/logging-cookbook.rst:3883 +#: howto/logging-cookbook.rst:3904 msgid "" "Use the techniques outlined in :ref:`multiple-processes` to circumvent such " "issues." msgstr "" -#: howto/logging-cookbook.rst:3887 +#: howto/logging-cookbook.rst:3908 msgid "Using loggers as attributes in a class or passing them as parameters" msgstr "" -#: howto/logging-cookbook.rst:3889 +#: howto/logging-cookbook.rst:3910 msgid "" "While there might be unusual cases where you'll need to do this, in general " "there is no point because loggers are singletons. Code can always access a " @@ -2043,12 +2041,12 @@ msgid "" "module (and not the class) is the unit of software decomposition." msgstr "" -#: howto/logging-cookbook.rst:3899 +#: howto/logging-cookbook.rst:3920 msgid "" "Adding handlers other than :class:`NullHandler` to a logger in a library" msgstr "" -#: howto/logging-cookbook.rst:3901 +#: howto/logging-cookbook.rst:3922 msgid "" "Configuring logging by adding handlers, formatters and filters is the " "responsibility of the application developer, not the library developer. If " @@ -2056,11 +2054,11 @@ msgid "" "your loggers other than a :class:`~logging.NullHandler` instance." msgstr "" -#: howto/logging-cookbook.rst:3908 +#: howto/logging-cookbook.rst:3929 msgid "Creating a lot of loggers" msgstr "" -#: howto/logging-cookbook.rst:3910 +#: howto/logging-cookbook.rst:3931 msgid "" "Loggers are singletons that are never freed during a script execution, and " "so creating lots of loggers will use up memory which can't then be freed. " @@ -2071,14 +2069,14 @@ msgid "" "occasionally slightly more fine-grained than that)." msgstr "" -#: howto/logging-cookbook.rst:3921 +#: howto/logging-cookbook.rst:3942 msgid "Other resources" msgstr "" -#: howto/logging-cookbook.rst:3934 +#: howto/logging-cookbook.rst:3955 msgid ":ref:`Basic Tutorial `" msgstr "" -#: howto/logging-cookbook.rst:3936 +#: howto/logging-cookbook.rst:3957 msgid ":ref:`Advanced Tutorial `" msgstr "" diff --git a/howto/pyporting.po b/howto/pyporting.po index 490c10142..fdee33fb6 100644 --- a/howto/pyporting.po +++ b/howto/pyporting.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "Brett Cannon" msgstr "" -#: howto/pyporting.rst:None +#: howto/pyporting.rst:-1 msgid "Abstract" msgstr "" diff --git a/howto/regex.po b/howto/regex.po index f16080576..8538dc427 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "A.M. Kuchling " msgstr "" -#: howto/regex.rst:None +#: howto/regex.rst:-1 msgid "Abstract" msgstr "" diff --git a/howto/sockets.po b/howto/sockets.po index e9b0f6c3b..2fdf07b44 100644 --- a/howto/sockets.po +++ b/howto/sockets.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "Gordon McMillan" msgstr "" -#: howto/sockets.rst:None +#: howto/sockets.rst:-1 msgid "Abstract" msgstr "" diff --git a/library/argparse.po b/library/argparse.po index b8e8e8952..ced8ec330 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,7 +26,7 @@ msgstr "" msgid "**Source code:** :source:`Lib/argparse.py`" msgstr "" -#: library/argparse.rst:None +#: library/argparse.rst:-1 msgid "Tutorial" msgstr "" @@ -601,7 +601,7 @@ msgid "" msgstr "" #: library/argparse.rst:705 -msgid "choices_ - A container of the allowable values for the argument." +msgid "choices_ - A sequence of the allowable values for the argument." msgstr "" #: library/argparse.rst:707 @@ -973,7 +973,7 @@ msgstr "" #: library/argparse.rst:1126 msgid "" "Some command-line arguments should be selected from a restricted set of " -"values. These can be handled by passing a container object as the *choices* " +"values. These can be handled by passing a sequence object as the *choices* " "keyword argument to :meth:`~ArgumentParser.add_argument`. When the command " "line is parsed, argument values will be checked, and an error message will " "be displayed if the argument was not one of the acceptable values::" @@ -981,15 +981,15 @@ msgstr "" #: library/argparse.rst:1141 msgid "" -"Note that inclusion in the *choices* container is checked after any type_ " +"Note that inclusion in the *choices* sequence is checked after any type_ " "conversions have been performed, so the type of the objects in the *choices* " -"container should match the type_ specified::" +"sequence should match the type_ specified::" msgstr "" #: library/argparse.rst:1153 msgid "" -"Any container can be passed as the *choices* value, so :class:`list` " -"objects, :class:`set` objects, and custom containers are all supported." +"Any sequence can be passed as the *choices* value, so :class:`list` " +"objects, :class:`tuple` objects, and custom sequences are all supported." msgstr "" #: library/argparse.rst:1156 diff --git a/library/array.po b/library/array.po index 5a7cf766c..d766df7d7 100644 --- a/library/array.po +++ b/library/array.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -202,21 +202,29 @@ msgstr "" msgid "" "The actual representation of values is determined by the machine " "architecture (strictly speaking, by the C implementation). The actual size " -"can be accessed through the :attr:`itemsize` attribute." +"can be accessed through the :attr:`array.itemsize` attribute." msgstr "" #: library/array.rst:65 -msgid "The module defines the following type:" +msgid "The module defines the following item:" msgstr "" #: library/array.rst:70 +msgid "A string with all available type codes." +msgstr "" + +#: library/array.rst:73 +msgid "The module defines the following type:" +msgstr "" + +#: library/array.rst:78 msgid "" "A new array whose items are restricted by *typecode*, and initialized from " "the optional *initializer* value, which must be a list, a :term:`bytes-like " "object`, or iterable over elements of the appropriate type." msgstr "" -#: library/array.rst:75 +#: library/array.rst:83 msgid "" "If given a list or string, the initializer is passed to the new array's :" "meth:`fromlist`, :meth:`frombytes`, or :meth:`fromunicode` method (see " @@ -224,17 +232,7 @@ msgid "" "initializer is passed to the :meth:`extend` method." msgstr "" -#: library/array.rst:80 -msgid "" -"Raises an :ref:`auditing event ` ``array.__new__`` with arguments " -"``typecode``, ``initializer``." -msgstr "" - -#: library/array.rst:84 -msgid "A string with all available type codes." -msgstr "" - -#: library/array.rst:86 +#: library/array.rst:88 msgid "" "Array objects support the ordinary sequence operations of indexing, slicing, " "concatenation, and multiplication. When using slice assignment, the " @@ -244,35 +242,37 @@ msgid "" "object>` are supported." msgstr "" -#: library/array.rst:92 -msgid "The following data items and methods are also supported:" +#: library/array.rst:17 +msgid "" +"Raises an :ref:`auditing event ` ``array.__new__`` with arguments " +"``typecode``, ``initializer``." msgstr "" -#: library/array.rst:96 +#: library/array.rst:99 msgid "The typecode character used to create the array." msgstr "" -#: library/array.rst:101 +#: library/array.rst:104 msgid "The length in bytes of one array item in the internal representation." msgstr "" -#: library/array.rst:106 +#: library/array.rst:109 msgid "Append a new item with value *x* to the end of the array." msgstr "" -#: library/array.rst:111 +#: library/array.rst:114 msgid "" "Return a tuple ``(address, length)`` giving the current memory address and " "the length in elements of the buffer used to hold array's contents. The " "size of the memory buffer in bytes can be computed as ``array.buffer_info()" "[1] * array.itemsize``. This is occasionally useful when working with low-" "level (and inherently unsafe) I/O interfaces that require memory addresses, " -"such as certain :c:func:`ioctl` operations. The returned numbers are valid " +"such as certain :c:func:`!ioctl` operations. The returned numbers are valid " "as long as the array exists and no length-changing operations are applied to " "it." msgstr "" -#: library/array.rst:121 +#: library/array.rst:124 msgid "" "When using array objects from code written in C or C++ (the only way to " "effectively make use of this information), it makes more sense to use the " @@ -281,7 +281,7 @@ msgid "" "interface is documented in :ref:`bufferobjects`." msgstr "" -#: library/array.rst:130 +#: library/array.rst:133 msgid "" "\"Byteswap\" all items of the array. This is only supported for values " "which are 1, 2, 4, or 8 bytes in size; for other types of values, :exc:" @@ -289,11 +289,11 @@ msgid "" "written on a machine with a different byte order." msgstr "" -#: library/array.rst:138 +#: library/array.rst:141 msgid "Return the number of occurrences of *x* in the array." msgstr "" -#: library/array.rst:143 +#: library/array.rst:146 msgid "" "Append items from *iterable* to the end of the array. If *iterable* is " "another array, it must have *exactly* the same type code; if not, :exc:" @@ -301,18 +301,18 @@ msgid "" "iterable and its elements must be the right type to be appended to the array." msgstr "" -#: library/array.rst:151 +#: library/array.rst:154 msgid "" "Appends items from the string, interpreting the string as an array of " "machine values (as if it had been read from a file using the :meth:" "`fromfile` method)." msgstr "" -#: library/array.rst:154 -msgid ":meth:`fromstring` is renamed to :meth:`frombytes` for clarity." +#: library/array.rst:157 +msgid ":meth:`!fromstring` is renamed to :meth:`frombytes` for clarity." msgstr "" -#: library/array.rst:160 +#: library/array.rst:163 msgid "" "Read *n* items (as machine values) from the :term:`file object` *f* and " "append them to the end of the array. If less than *n* items are available, :" @@ -320,13 +320,13 @@ msgid "" "inserted into the array." msgstr "" -#: library/array.rst:168 +#: library/array.rst:171 msgid "" "Append items from the list. This is equivalent to ``for x in list: a." "append(x)`` except that if there is a type error, the array is unchanged." msgstr "" -#: library/array.rst:174 +#: library/array.rst:177 msgid "" "Extends this array with data from the given unicode string. The array must " "be a type ``'u'`` array; otherwise a :exc:`ValueError` is raised. Use " @@ -334,7 +334,7 @@ msgid "" "array of some other type." msgstr "" -#: library/array.rst:182 +#: library/array.rst:185 msgid "" "Return the smallest *i* such that *i* is the index of the first occurrence " "of *x* in the array. The optional arguments *start* and *stop* can be " @@ -342,58 +342,58 @@ msgid "" "`ValueError` if *x* is not found." msgstr "" -#: library/array.rst:187 +#: library/array.rst:190 msgid "Added optional *start* and *stop* parameters." msgstr "" -#: library/array.rst:192 +#: library/array.rst:196 msgid "" "Insert a new item with value *x* in the array before position *i*. Negative " "values are treated as being relative to the end of the array." msgstr "" -#: library/array.rst:198 +#: library/array.rst:202 msgid "" "Removes the item with the index *i* from the array and returns it. The " "optional argument defaults to ``-1``, so that by default the last item is " "removed and returned." msgstr "" -#: library/array.rst:205 +#: library/array.rst:209 msgid "Remove the first occurrence of *x* from the array." msgstr "" -#: library/array.rst:210 +#: library/array.rst:214 msgid "Reverse the order of the items in the array." msgstr "" -#: library/array.rst:215 +#: library/array.rst:219 msgid "" "Convert the array to an array of machine values and return the bytes " "representation (the same sequence of bytes that would be written to a file " "by the :meth:`tofile` method.)" msgstr "" -#: library/array.rst:219 -msgid ":meth:`tostring` is renamed to :meth:`tobytes` for clarity." +#: library/array.rst:223 +msgid ":meth:`!tostring` is renamed to :meth:`tobytes` for clarity." msgstr "" -#: library/array.rst:225 +#: library/array.rst:229 msgid "Write all items (as machine values) to the :term:`file object` *f*." msgstr "" -#: library/array.rst:230 +#: library/array.rst:234 msgid "Convert the array to an ordinary list with the same items." msgstr "" -#: library/array.rst:235 +#: library/array.rst:239 msgid "" "Convert the array to a unicode string. The array must be a type ``'u'`` " "array; otherwise a :exc:`ValueError` is raised. Use ``array.tobytes()." "decode(enc)`` to obtain a unicode string from an array of some other type." msgstr "" -#: library/array.rst:240 +#: library/array.rst:244 msgid "" "When an array object is printed or converted to a string, it is represented " "as ``array(typecode, initializer)``. The *initializer* is omitted if the " @@ -404,28 +404,28 @@ msgid "" "``from array import array``. Examples::" msgstr "" -#: library/array.rst:257 +#: library/array.rst:261 msgid "Module :mod:`struct`" msgstr "" -#: library/array.rst:257 +#: library/array.rst:261 msgid "Packing and unpacking of heterogeneous binary data." msgstr "" -#: library/array.rst:261 +#: library/array.rst:265 msgid "Module :mod:`xdrlib`" msgstr "" -#: library/array.rst:260 +#: library/array.rst:264 msgid "" "Packing and unpacking of External Data Representation (XDR) data as used in " "some remote procedure call systems." msgstr "" -#: library/array.rst:263 +#: library/array.rst:267 msgid "`NumPy `_" msgstr "" -#: library/array.rst:264 +#: library/array.rst:268 msgid "The NumPy package defines another array type." msgstr "" diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index ea3f13dd4..e042922c4 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -74,117 +74,124 @@ msgstr "" #: library/asyncio-eventloop.rst:46 msgid "" -"If there is no current event loop set in the current OS thread, the OS " -"thread is main, and :func:`set_event_loop` has not yet been called, asyncio " -"will create a new event loop and set it as the current one." +"When called from a coroutine or a callback (e.g. scheduled with call_soon or " +"similar API), this function will always return the running event loop." msgstr "" -#: library/asyncio-eventloop.rst:51 +#: library/asyncio-eventloop.rst:50 +msgid "" +"If there is no running event loop set, the function will return the result " +"of the ``get_event_loop_policy().get_event_loop()`` call." +msgstr "" + +#: library/asyncio-eventloop.rst:53 msgid "" "Because this function has rather complex behavior (especially when custom " "event loop policies are in use), using the :func:`get_running_loop` function " "is preferred to :func:`get_event_loop` in coroutines and callbacks." msgstr "" -#: library/asyncio-eventloop.rst:56 +#: library/asyncio-eventloop.rst:58 msgid "" "As noted above, consider using the higher-level :func:`asyncio.run` " "function, instead of using these lower level functions to manually create " "and close an event loop." msgstr "" -#: library/asyncio-eventloop.rst:60 +#: library/asyncio-eventloop.rst:63 msgid "" -"Emits a deprecation warning if there is no running event loop. In future " -"Python releases, this function may become an alias of :func:" -"`get_running_loop` and will accordingly raise a :exc:`RuntimeError` if there " -"is no running event loop." +"In Python versions 3.10.0--3.10.8 and 3.11.0 this function (and other " +"functions which use it implicitly) emitted a :exc:`DeprecationWarning` if " +"there was no running event loop, even if the current loop was set on the " +"policy. In Python versions 3.10.9, 3.11.1 and 3.12 they emit a :exc:" +"`DeprecationWarning` if there is no running event loop and no current loop " +"is set. In some future Python release this will become an error." msgstr "" -#: library/asyncio-eventloop.rst:68 +#: library/asyncio-eventloop.rst:74 msgid "Set *loop* as the current event loop for the current OS thread." msgstr "" -#: library/asyncio-eventloop.rst:72 +#: library/asyncio-eventloop.rst:78 msgid "Create and return a new event loop object." msgstr "" -#: library/asyncio-eventloop.rst:74 +#: library/asyncio-eventloop.rst:80 msgid "" "Note that the behaviour of :func:`get_event_loop`, :func:`set_event_loop`, " "and :func:`new_event_loop` functions can be altered by :ref:`setting a " "custom event loop policy `." msgstr "" -#: library/asyncio-eventloop.rst:80 +#: library/asyncio-eventloop.rst:86 msgid "Contents" msgstr "" -#: library/asyncio-eventloop.rst:81 +#: library/asyncio-eventloop.rst:87 msgid "This documentation page contains the following sections:" msgstr "" -#: library/asyncio-eventloop.rst:83 +#: library/asyncio-eventloop.rst:89 msgid "" "The `Event Loop Methods`_ section is the reference documentation of the " "event loop APIs;" msgstr "" -#: library/asyncio-eventloop.rst:86 +#: library/asyncio-eventloop.rst:92 msgid "" "The `Callback Handles`_ section documents the :class:`Handle` and :class:" "`TimerHandle` instances which are returned from scheduling methods such as :" "meth:`loop.call_soon` and :meth:`loop.call_later`;" msgstr "" -#: library/asyncio-eventloop.rst:90 +#: library/asyncio-eventloop.rst:96 msgid "" "The `Server Objects`_ section documents types returned from event loop " "methods like :meth:`loop.create_server`;" msgstr "" -#: library/asyncio-eventloop.rst:93 +#: library/asyncio-eventloop.rst:99 msgid "" "The `Event Loop Implementations`_ section documents the :class:" "`SelectorEventLoop` and :class:`ProactorEventLoop` classes;" msgstr "" -#: library/asyncio-eventloop.rst:96 +#: library/asyncio-eventloop.rst:102 msgid "" "The `Examples`_ section showcases how to work with some event loop APIs." msgstr "" -#: library/asyncio-eventloop.rst:103 +#: library/asyncio-eventloop.rst:109 msgid "Event Loop Methods" msgstr "" -#: library/asyncio-eventloop.rst:105 +#: library/asyncio-eventloop.rst:111 msgid "Event loops have **low-level** APIs for the following:" msgstr "" -#: library/asyncio-eventloop.rst:113 +#: library/asyncio-eventloop.rst:119 msgid "Running and stopping the loop" msgstr "" -#: library/asyncio-eventloop.rst:117 +#: library/asyncio-eventloop.rst:123 msgid "Run until the *future* (an instance of :class:`Future`) has completed." msgstr "" -#: library/asyncio-eventloop.rst:120 +#: library/asyncio-eventloop.rst:126 msgid "" "If the argument is a :ref:`coroutine object ` it is implicitly " "scheduled to run as a :class:`asyncio.Task`." msgstr "" -#: library/asyncio-eventloop.rst:123 +#: library/asyncio-eventloop.rst:129 msgid "Return the Future's result or raise its exception." msgstr "" -#: library/asyncio-eventloop.rst:127 +#: library/asyncio-eventloop.rst:133 msgid "Run the event loop until :meth:`stop` is called." msgstr "" -#: library/asyncio-eventloop.rst:129 +#: library/asyncio-eventloop.rst:135 msgid "" "If :meth:`stop` is called before :meth:`run_forever()` is called, the loop " "will poll the I/O selector once with a timeout of zero, run all callbacks " @@ -192,7 +199,7 @@ msgid "" "and then exit." msgstr "" -#: library/asyncio-eventloop.rst:134 +#: library/asyncio-eventloop.rst:140 msgid "" "If :meth:`stop` is called while :meth:`run_forever` is running, the loop " "will run the current batch of callbacks and then exit. Note that new " @@ -201,41 +208,41 @@ msgid "" "called." msgstr "" -#: library/asyncio-eventloop.rst:142 +#: library/asyncio-eventloop.rst:148 msgid "Stop the event loop." msgstr "" -#: library/asyncio-eventloop.rst:146 +#: library/asyncio-eventloop.rst:152 msgid "Return ``True`` if the event loop is currently running." msgstr "" -#: library/asyncio-eventloop.rst:150 +#: library/asyncio-eventloop.rst:156 msgid "Return ``True`` if the event loop was closed." msgstr "" -#: library/asyncio-eventloop.rst:154 +#: library/asyncio-eventloop.rst:160 msgid "Close the event loop." msgstr "" -#: library/asyncio-eventloop.rst:156 +#: library/asyncio-eventloop.rst:162 msgid "" "The loop must not be running when this function is called. Any pending " "callbacks will be discarded." msgstr "" -#: library/asyncio-eventloop.rst:159 +#: library/asyncio-eventloop.rst:165 msgid "" "This method clears all queues and shuts down the executor, but does not wait " "for the executor to finish." msgstr "" -#: library/asyncio-eventloop.rst:162 +#: library/asyncio-eventloop.rst:168 msgid "" "This method is idempotent and irreversible. No other methods should be " "called after the event loop is closed." msgstr "" -#: library/asyncio-eventloop.rst:167 +#: library/asyncio-eventloop.rst:173 msgid "" "Schedule all currently open :term:`asynchronous generator` objects to close " "with an :meth:`~agen.aclose()` call. After calling this method, the event " @@ -243,18 +250,18 @@ msgid "" "should be used to reliably finalize all scheduled asynchronous generators." msgstr "" -#: library/asyncio-eventloop.rst:173 library/asyncio-eventloop.rst:193 +#: library/asyncio-eventloop.rst:179 library/asyncio-eventloop.rst:199 msgid "" "Note that there is no need to call this function when :func:`asyncio.run` is " "used." msgstr "" -#: library/asyncio-eventloop.rst:176 library/asyncio-eventloop.rst:1112 -#: library/asyncio-eventloop.rst:1504 +#: library/asyncio-eventloop.rst:182 library/asyncio-eventloop.rst:1120 +#: library/asyncio-eventloop.rst:1512 msgid "Example::" msgstr "" -#: library/asyncio-eventloop.rst:188 +#: library/asyncio-eventloop.rst:194 msgid "" "Schedule the closure of the default executor and wait for it to join all of " "the threads in the :class:`ThreadPoolExecutor`. After calling this method, " @@ -262,193 +269,193 @@ msgid "" "called while using the default executor." msgstr "" -#: library/asyncio-eventloop.rst:200 +#: library/asyncio-eventloop.rst:206 msgid "Scheduling callbacks" msgstr "" -#: library/asyncio-eventloop.rst:204 +#: library/asyncio-eventloop.rst:210 msgid "" "Schedule the *callback* :term:`callback` to be called with *args* arguments " "at the next iteration of the event loop." msgstr "" -#: library/asyncio-eventloop.rst:207 +#: library/asyncio-eventloop.rst:213 msgid "" "Callbacks are called in the order in which they are registered. Each " "callback will be called exactly once." msgstr "" -#: library/asyncio-eventloop.rst:210 library/asyncio-eventloop.rst:277 +#: library/asyncio-eventloop.rst:216 library/asyncio-eventloop.rst:283 msgid "" "An optional keyword-only *context* argument allows specifying a custom :" "class:`contextvars.Context` for the *callback* to run in. The current " "context is used when no *context* is provided." msgstr "" -#: library/asyncio-eventloop.rst:214 +#: library/asyncio-eventloop.rst:220 msgid "" "An instance of :class:`asyncio.Handle` is returned, which can be used later " "to cancel the callback." msgstr "" -#: library/asyncio-eventloop.rst:217 +#: library/asyncio-eventloop.rst:223 msgid "This method is not thread-safe." msgstr "" -#: library/asyncio-eventloop.rst:221 +#: library/asyncio-eventloop.rst:227 msgid "" "A thread-safe variant of :meth:`call_soon`. Must be used to schedule " "callbacks *from another thread*." msgstr "" -#: library/asyncio-eventloop.rst:224 +#: library/asyncio-eventloop.rst:230 msgid "" "Raises :exc:`RuntimeError` if called on a loop that's been closed. This can " "happen on a secondary thread when the main application is shutting down." msgstr "" -#: library/asyncio-eventloop.rst:228 +#: library/asyncio-eventloop.rst:234 msgid "" "See the :ref:`concurrency and multithreading ` " "section of the documentation." msgstr "" -#: library/asyncio-eventloop.rst:231 library/asyncio-eventloop.rst:281 -#: library/asyncio-eventloop.rst:301 +#: library/asyncio-eventloop.rst:237 library/asyncio-eventloop.rst:287 +#: library/asyncio-eventloop.rst:307 msgid "" "The *context* keyword-only parameter was added. See :pep:`567` for more " "details." msgstr "" -#: library/asyncio-eventloop.rst:239 +#: library/asyncio-eventloop.rst:245 msgid "" "Most :mod:`asyncio` scheduling functions don't allow passing keyword " "arguments. To do that, use :func:`functools.partial`::" msgstr "" -#: library/asyncio-eventloop.rst:246 +#: library/asyncio-eventloop.rst:252 msgid "" "Using partial objects is usually more convenient than using lambdas, as " "asyncio can render partial objects better in debug and error messages." msgstr "" -#: library/asyncio-eventloop.rst:254 +#: library/asyncio-eventloop.rst:260 msgid "Scheduling delayed callbacks" msgstr "" -#: library/asyncio-eventloop.rst:256 +#: library/asyncio-eventloop.rst:262 msgid "" "Event loop provides mechanisms to schedule callback functions to be called " "at some point in the future. Event loop uses monotonic clocks to track time." msgstr "" -#: library/asyncio-eventloop.rst:263 +#: library/asyncio-eventloop.rst:269 msgid "" "Schedule *callback* to be called after the given *delay* number of seconds " "(can be either an int or a float)." msgstr "" -#: library/asyncio-eventloop.rst:266 library/asyncio-eventloop.rst:298 +#: library/asyncio-eventloop.rst:272 library/asyncio-eventloop.rst:304 msgid "" "An instance of :class:`asyncio.TimerHandle` is returned which can be used to " "cancel the callback." msgstr "" -#: library/asyncio-eventloop.rst:269 +#: library/asyncio-eventloop.rst:275 msgid "" "*callback* will be called exactly once. If two callbacks are scheduled for " "exactly the same time, the order in which they are called is undefined." msgstr "" -#: library/asyncio-eventloop.rst:273 +#: library/asyncio-eventloop.rst:279 msgid "" "The optional positional *args* will be passed to the callback when it is " "called. If you want the callback to be called with keyword arguments use :" "func:`functools.partial`." msgstr "" -#: library/asyncio-eventloop.rst:285 +#: library/asyncio-eventloop.rst:291 msgid "" "In Python 3.7 and earlier with the default event loop implementation, the " "*delay* could not exceed one day. This has been fixed in Python 3.8." msgstr "" -#: library/asyncio-eventloop.rst:292 +#: library/asyncio-eventloop.rst:298 msgid "" "Schedule *callback* to be called at the given absolute timestamp *when* (an " "int or a float), using the same time reference as :meth:`loop.time`." msgstr "" -#: library/asyncio-eventloop.rst:296 +#: library/asyncio-eventloop.rst:302 msgid "This method's behavior is the same as :meth:`call_later`." msgstr "" -#: library/asyncio-eventloop.rst:305 +#: library/asyncio-eventloop.rst:311 msgid "" "In Python 3.7 and earlier with the default event loop implementation, the " "difference between *when* and the current time could not exceed one day. " "This has been fixed in Python 3.8." msgstr "" -#: library/asyncio-eventloop.rst:312 +#: library/asyncio-eventloop.rst:318 msgid "" "Return the current time, as a :class:`float` value, according to the event " "loop's internal monotonic clock." msgstr "" -#: library/asyncio-eventloop.rst:316 +#: library/asyncio-eventloop.rst:322 msgid "" "In Python 3.7 and earlier timeouts (relative *delay* or absolute *when*) " "should not exceed one day. This has been fixed in Python 3.8." msgstr "" -#: library/asyncio-eventloop.rst:322 +#: library/asyncio-eventloop.rst:328 msgid "The :func:`asyncio.sleep` function." msgstr "" -#: library/asyncio-eventloop.rst:326 +#: library/asyncio-eventloop.rst:332 msgid "Creating Futures and Tasks" msgstr "" -#: library/asyncio-eventloop.rst:330 +#: library/asyncio-eventloop.rst:336 msgid "Create an :class:`asyncio.Future` object attached to the event loop." msgstr "" -#: library/asyncio-eventloop.rst:332 +#: library/asyncio-eventloop.rst:338 msgid "" "This is the preferred way to create Futures in asyncio. This lets third-" "party event loops provide alternative implementations of the Future object " "(with better performance or instrumentation)." msgstr "" -#: library/asyncio-eventloop.rst:340 +#: library/asyncio-eventloop.rst:346 msgid "" "Schedule the execution of :ref:`coroutine ` *coro*. Return a :" "class:`Task` object." msgstr "" -#: library/asyncio-eventloop.rst:343 +#: library/asyncio-eventloop.rst:349 msgid "" "Third-party event loops can use their own subclass of :class:`Task` for " "interoperability. In this case, the result type is a subclass of :class:" "`Task`." msgstr "" -#: library/asyncio-eventloop.rst:347 +#: library/asyncio-eventloop.rst:353 msgid "" "If the *name* argument is provided and not ``None``, it is set as the name " "of the task using :meth:`Task.set_name`." msgstr "" -#: library/asyncio-eventloop.rst:350 +#: library/asyncio-eventloop.rst:356 msgid "Added the *name* parameter." msgstr "" -#: library/asyncio-eventloop.rst:355 +#: library/asyncio-eventloop.rst:361 msgid "Set a task factory that will be used by :meth:`loop.create_task`." msgstr "" -#: library/asyncio-eventloop.rst:358 +#: library/asyncio-eventloop.rst:364 msgid "" "If *factory* is ``None`` the default task factory will be set. Otherwise, " "*factory* must be a *callable* with the signature matching ``(loop, coro)``, " @@ -457,80 +464,80 @@ msgid "" "compatible object." msgstr "" -#: library/asyncio-eventloop.rst:366 +#: library/asyncio-eventloop.rst:372 msgid "Return a task factory or ``None`` if the default one is in use." msgstr "" -#: library/asyncio-eventloop.rst:370 +#: library/asyncio-eventloop.rst:376 msgid "Opening network connections" msgstr "" -#: library/asyncio-eventloop.rst:379 +#: library/asyncio-eventloop.rst:385 msgid "" "Open a streaming transport connection to a given address specified by *host* " "and *port*." msgstr "" -#: library/asyncio-eventloop.rst:382 +#: library/asyncio-eventloop.rst:388 msgid "" "The socket family can be either :py:data:`~socket.AF_INET` or :py:data:" "`~socket.AF_INET6` depending on *host* (or the *family* argument, if " "provided)." msgstr "" -#: library/asyncio-eventloop.rst:386 +#: library/asyncio-eventloop.rst:392 msgid "The socket type will be :py:data:`~socket.SOCK_STREAM`." msgstr "" -#: library/asyncio-eventloop.rst:388 library/asyncio-eventloop.rst:1028 -#: library/asyncio-eventloop.rst:1044 +#: library/asyncio-eventloop.rst:394 library/asyncio-eventloop.rst:1036 +#: library/asyncio-eventloop.rst:1052 msgid "" "*protocol_factory* must be a callable returning an :ref:`asyncio protocol " "` implementation." msgstr "" -#: library/asyncio-eventloop.rst:391 +#: library/asyncio-eventloop.rst:397 msgid "" "This method will try to establish the connection in the background. When " "successful, it returns a ``(transport, protocol)`` pair." msgstr "" -#: library/asyncio-eventloop.rst:394 +#: library/asyncio-eventloop.rst:400 msgid "The chronological synopsis of the underlying operation is as follows:" msgstr "" -#: library/asyncio-eventloop.rst:396 +#: library/asyncio-eventloop.rst:402 msgid "" "The connection is established and a :ref:`transport ` is " "created for it." msgstr "" -#: library/asyncio-eventloop.rst:399 +#: library/asyncio-eventloop.rst:405 msgid "" "*protocol_factory* is called without arguments and is expected to return a :" "ref:`protocol ` instance." msgstr "" -#: library/asyncio-eventloop.rst:402 +#: library/asyncio-eventloop.rst:408 msgid "" "The protocol instance is coupled with the transport by calling its :meth:" "`~BaseProtocol.connection_made` method." msgstr "" -#: library/asyncio-eventloop.rst:405 +#: library/asyncio-eventloop.rst:411 msgid "A ``(transport, protocol)`` tuple is returned on success." msgstr "" -#: library/asyncio-eventloop.rst:407 +#: library/asyncio-eventloop.rst:413 msgid "" "The created transport is an implementation-dependent bidirectional stream." msgstr "" -#: library/asyncio-eventloop.rst:410 library/asyncio-eventloop.rst:538 +#: library/asyncio-eventloop.rst:416 library/asyncio-eventloop.rst:544 msgid "Other arguments:" msgstr "" -#: library/asyncio-eventloop.rst:412 +#: library/asyncio-eventloop.rst:418 msgid "" "*ssl*: if given and not false, a SSL/TLS transport is created (by default a " "plain TCP transport is created). If *ssl* is a :class:`ssl.SSLContext` " @@ -539,11 +546,11 @@ msgid "" "is used." msgstr "" -#: library/asyncio-eventloop.rst:418 +#: library/asyncio-eventloop.rst:424 msgid ":ref:`SSL/TLS security considerations `" msgstr "" -#: library/asyncio-eventloop.rst:420 +#: library/asyncio-eventloop.rst:426 msgid "" "*server_hostname* sets or overrides the hostname that the target server's " "certificate will be matched against. Should only be passed if *ssl* is not " @@ -554,7 +561,7 @@ msgid "" "potential man-in-the-middle attacks)." msgstr "" -#: library/asyncio-eventloop.rst:428 +#: library/asyncio-eventloop.rst:434 msgid "" "*family*, *proto*, *flags* are the optional address family, protocol and " "flags to be passed through to getaddrinfo() for *host* resolution. If given, " @@ -562,7 +569,7 @@ msgid "" "constants." msgstr "" -#: library/asyncio-eventloop.rst:433 +#: library/asyncio-eventloop.rst:439 msgid "" "*happy_eyeballs_delay*, if given, enables Happy Eyeballs for this " "connection. It should be a floating-point number representing the amount of " @@ -572,7 +579,7 @@ msgid "" "the RFC is ``0.25`` (250 milliseconds)." msgstr "" -#: library/asyncio-eventloop.rst:441 +#: library/asyncio-eventloop.rst:447 msgid "" "*interleave* controls address reordering when a host name resolves to " "multiple IP addresses. If ``0`` or unspecified, no reordering is done, and " @@ -583,7 +590,7 @@ msgid "" "*happy_eyeballs_delay* is not specified, and ``1`` if it is." msgstr "" -#: library/asyncio-eventloop.rst:450 +#: library/asyncio-eventloop.rst:456 msgid "" "*sock*, if given, should be an existing, already connected :class:`socket." "socket` object to be used by the transport. If *sock* is given, none of " @@ -591,47 +598,47 @@ msgid "" "*interleave* and *local_addr* should be specified." msgstr "" -#: library/asyncio-eventloop.rst:458 library/asyncio-eventloop.rst:569 -#: library/asyncio-eventloop.rst:755 +#: library/asyncio-eventloop.rst:464 library/asyncio-eventloop.rst:575 +#: library/asyncio-eventloop.rst:761 msgid "" "The *sock* argument transfers ownership of the socket to the transport " "created. To close the socket, call the transport's :meth:`~asyncio." "BaseTransport.close` method." msgstr "" -#: library/asyncio-eventloop.rst:462 +#: library/asyncio-eventloop.rst:468 msgid "" "*local_addr*, if given, is a ``(local_host, local_port)`` tuple used to bind " "the socket locally. The *local_host* and *local_port* are looked up using " "``getaddrinfo()``, similarly to *host* and *port*." msgstr "" -#: library/asyncio-eventloop.rst:466 library/asyncio-eventloop.rst:837 +#: library/asyncio-eventloop.rst:472 library/asyncio-eventloop.rst:843 msgid "" "*ssl_handshake_timeout* is (for a TLS connection) the time in seconds to " "wait for the TLS handshake to complete before aborting the connection. " "``60.0`` seconds if ``None`` (default)." msgstr "" -#: library/asyncio-eventloop.rst:472 library/asyncio-eventloop.rst:696 +#: library/asyncio-eventloop.rst:478 library/asyncio-eventloop.rst:702 msgid "Added support for SSL/TLS in :class:`ProactorEventLoop`." msgstr "" -#: library/asyncio-eventloop.rst:476 +#: library/asyncio-eventloop.rst:482 msgid "" "The socket option :py:data:`~socket.TCP_NODELAY` is set by default for all " "TCP connections." msgstr "" -#: library/asyncio-eventloop.rst:481 library/asyncio-eventloop.rst:772 +#: library/asyncio-eventloop.rst:487 library/asyncio-eventloop.rst:778 msgid "Added the *ssl_handshake_timeout* parameter." msgstr "" -#: library/asyncio-eventloop.rst:485 +#: library/asyncio-eventloop.rst:491 msgid "Added the *happy_eyeballs_delay* and *interleave* parameters." msgstr "" -#: library/asyncio-eventloop.rst:487 +#: library/asyncio-eventloop.rst:493 msgid "" "Happy Eyeballs Algorithm: Success with Dual-Stack Hosts. When a server's " "IPv4 path and protocol are working, but the server's IPv6 path and protocol " @@ -642,32 +649,32 @@ msgid "" "visible delay and provides an algorithm." msgstr "" -#: library/asyncio-eventloop.rst:496 +#: library/asyncio-eventloop.rst:502 msgid "For more information: https://tools.ietf.org/html/rfc6555" msgstr "" -#: library/asyncio-eventloop.rst:500 +#: library/asyncio-eventloop.rst:506 msgid "" "The :func:`open_connection` function is a high-level alternative API. It " "returns a pair of (:class:`StreamReader`, :class:`StreamWriter`) that can be " "used directly in async/await code." msgstr "" -#: library/asyncio-eventloop.rst:511 +#: library/asyncio-eventloop.rst:517 msgid "" "The parameter *reuse_address* is no longer supported, as using :py:data:" "`~sockets.SO_REUSEADDR` poses a significant security concern for UDP. " "Explicitly passing ``reuse_address=True`` will raise an exception." msgstr "" -#: library/asyncio-eventloop.rst:515 +#: library/asyncio-eventloop.rst:521 msgid "" "When multiple processes with differing UIDs assign sockets to an identical " "UDP socket address with ``SO_REUSEADDR``, incoming packets can become " "randomly distributed among the sockets." msgstr "" -#: library/asyncio-eventloop.rst:519 +#: library/asyncio-eventloop.rst:525 msgid "" "For supported platforms, *reuse_port* can be used as a replacement for " "similar functionality. With *reuse_port*, :py:data:`~sockets.SO_REUSEPORT` " @@ -675,47 +682,47 @@ msgid "" "from assigning sockets to the same socket address." msgstr "" -#: library/asyncio-eventloop.rst:525 +#: library/asyncio-eventloop.rst:531 msgid "Create a datagram connection." msgstr "" -#: library/asyncio-eventloop.rst:527 +#: library/asyncio-eventloop.rst:533 msgid "" "The socket family can be either :py:data:`~socket.AF_INET`, :py:data:" "`~socket.AF_INET6`, or :py:data:`~socket.AF_UNIX`, depending on *host* (or " "the *family* argument, if provided)." msgstr "" -#: library/asyncio-eventloop.rst:531 +#: library/asyncio-eventloop.rst:537 msgid "The socket type will be :py:data:`~socket.SOCK_DGRAM`." msgstr "" -#: library/asyncio-eventloop.rst:533 library/asyncio-eventloop.rst:631 -#: library/asyncio-eventloop.rst:747 +#: library/asyncio-eventloop.rst:539 library/asyncio-eventloop.rst:637 +#: library/asyncio-eventloop.rst:753 msgid "" "*protocol_factory* must be a callable returning a :ref:`protocol ` implementation." msgstr "" -#: library/asyncio-eventloop.rst:536 library/asyncio-eventloop.rst:596 +#: library/asyncio-eventloop.rst:542 library/asyncio-eventloop.rst:602 msgid "A tuple of ``(transport, protocol)`` is returned on success." msgstr "" -#: library/asyncio-eventloop.rst:540 +#: library/asyncio-eventloop.rst:546 msgid "" "*local_addr*, if given, is a ``(local_host, local_port)`` tuple used to bind " "the socket locally. The *local_host* and *local_port* are looked up using :" "meth:`getaddrinfo`." msgstr "" -#: library/asyncio-eventloop.rst:544 +#: library/asyncio-eventloop.rst:550 msgid "" "*remote_addr*, if given, is a ``(remote_host, remote_port)`` tuple used to " "connect the socket to a remote address. The *remote_host* and *remote_port* " "are looked up using :meth:`getaddrinfo`." msgstr "" -#: library/asyncio-eventloop.rst:548 +#: library/asyncio-eventloop.rst:554 msgid "" "*family*, *proto*, *flags* are the optional address family, protocol and " "flags to be passed through to :meth:`getaddrinfo` for *host* resolution. If " @@ -723,7 +730,7 @@ msgid "" "module constants." msgstr "" -#: library/asyncio-eventloop.rst:553 +#: library/asyncio-eventloop.rst:559 msgid "" "*reuse_port* tells the kernel to allow this endpoint to be bound to the same " "port as other existing endpoints are bound to, so long as they all set this " @@ -732,13 +739,13 @@ msgid "" "this capability is unsupported." msgstr "" -#: library/asyncio-eventloop.rst:559 +#: library/asyncio-eventloop.rst:565 msgid "" "*allow_broadcast* tells the kernel to allow this endpoint to send messages " "to the broadcast address." msgstr "" -#: library/asyncio-eventloop.rst:562 +#: library/asyncio-eventloop.rst:568 msgid "" "*sock* can optionally be specified in order to use a preexisting, already " "connected, :class:`socket.socket` object to be used by the transport. If " @@ -746,106 +753,106 @@ msgid "" "`None`)." msgstr "" -#: library/asyncio-eventloop.rst:573 +#: library/asyncio-eventloop.rst:579 msgid "" "See :ref:`UDP echo client protocol ` and :" "ref:`UDP echo server protocol ` examples." msgstr "" -#: library/asyncio-eventloop.rst:576 +#: library/asyncio-eventloop.rst:582 msgid "" "The *family*, *proto*, *flags*, *reuse_address*, *reuse_port, " "*allow_broadcast*, and *sock* parameters were added." msgstr "" -#: library/asyncio-eventloop.rst:580 +#: library/asyncio-eventloop.rst:586 msgid "" "The *reuse_address* parameter is no longer supported due to security " "concerns." msgstr "" -#: library/asyncio-eventloop.rst:584 +#: library/asyncio-eventloop.rst:590 msgid "Added support for Windows." msgstr "" -#: library/asyncio-eventloop.rst:591 +#: library/asyncio-eventloop.rst:597 msgid "Create a Unix connection." msgstr "" -#: library/asyncio-eventloop.rst:593 +#: library/asyncio-eventloop.rst:599 msgid "" "The socket family will be :py:data:`~socket.AF_UNIX`; socket type will be :" "py:data:`~socket.SOCK_STREAM`." msgstr "" -#: library/asyncio-eventloop.rst:598 +#: library/asyncio-eventloop.rst:604 msgid "" "*path* is the name of a Unix domain socket and is required, unless a *sock* " "parameter is specified. Abstract Unix sockets, :class:`str`, :class:" "`bytes`, and :class:`~pathlib.Path` paths are supported." msgstr "" -#: library/asyncio-eventloop.rst:603 +#: library/asyncio-eventloop.rst:609 msgid "" "See the documentation of the :meth:`loop.create_connection` method for " "information about arguments to this method." msgstr "" -#: library/asyncio-eventloop.rst:607 library/asyncio-eventloop.rst:731 -#: library/asyncio-eventloop.rst:1095 +#: library/asyncio-eventloop.rst:613 library/asyncio-eventloop.rst:737 +#: library/asyncio-eventloop.rst:1103 msgid ":ref:`Availability `: Unix." msgstr "" -#: library/asyncio-eventloop.rst:608 +#: library/asyncio-eventloop.rst:614 msgid "" "Added the *ssl_handshake_timeout* parameter. The *path* parameter can now be " "a :term:`path-like object`." msgstr "" -#: library/asyncio-eventloop.rst:614 +#: library/asyncio-eventloop.rst:620 msgid "Creating network servers" msgstr "" -#: library/asyncio-eventloop.rst:624 +#: library/asyncio-eventloop.rst:630 msgid "" "Create a TCP server (socket type :data:`~socket.SOCK_STREAM`) listening on " "*port* of the *host* address." msgstr "" -#: library/asyncio-eventloop.rst:627 +#: library/asyncio-eventloop.rst:633 msgid "Returns a :class:`Server` object." msgstr "" -#: library/asyncio-eventloop.rst:629 +#: library/asyncio-eventloop.rst:635 msgid "Arguments:" msgstr "" -#: library/asyncio-eventloop.rst:634 +#: library/asyncio-eventloop.rst:640 msgid "" "The *host* parameter can be set to several types which determine where the " "server would be listening:" msgstr "" -#: library/asyncio-eventloop.rst:637 +#: library/asyncio-eventloop.rst:643 msgid "" "If *host* is a string, the TCP server is bound to a single network interface " "specified by *host*." msgstr "" -#: library/asyncio-eventloop.rst:640 +#: library/asyncio-eventloop.rst:646 msgid "" "If *host* is a sequence of strings, the TCP server is bound to all network " "interfaces specified by the sequence." msgstr "" -#: library/asyncio-eventloop.rst:643 +#: library/asyncio-eventloop.rst:649 msgid "" "If *host* is an empty string or ``None``, all interfaces are assumed and a " "list of multiple sockets will be returned (most likely one for IPv4 and " "another one for IPv6)." msgstr "" -#: library/asyncio-eventloop.rst:647 +#: library/asyncio-eventloop.rst:653 msgid "" "The *port* parameter can be set to specify which port the server should " "listen on. If ``0`` or ``None`` (the default), a random unused port will be " @@ -853,63 +860,63 @@ msgid "" "different random port will be selected for each interface)." msgstr "" -#: library/asyncio-eventloop.rst:652 +#: library/asyncio-eventloop.rst:658 msgid "" "*family* can be set to either :data:`socket.AF_INET` or :data:`~socket." "AF_INET6` to force the socket to use IPv4 or IPv6. If not set, the *family* " "will be determined from host name (defaults to :data:`~socket.AF_UNSPEC`)." msgstr "" -#: library/asyncio-eventloop.rst:657 +#: library/asyncio-eventloop.rst:663 msgid "*flags* is a bitmask for :meth:`getaddrinfo`." msgstr "" -#: library/asyncio-eventloop.rst:659 +#: library/asyncio-eventloop.rst:665 msgid "" "*sock* can optionally be specified in order to use a preexisting socket " "object. If specified, *host* and *port* must not be specified." msgstr "" -#: library/asyncio-eventloop.rst:664 +#: library/asyncio-eventloop.rst:670 msgid "" "The *sock* argument transfers ownership of the socket to the server created. " "To close the socket, call the server's :meth:`~asyncio.Server.close` method." msgstr "" -#: library/asyncio-eventloop.rst:668 +#: library/asyncio-eventloop.rst:674 msgid "" "*backlog* is the maximum number of queued connections passed to :meth:" "`~socket.socket.listen` (defaults to 100)." msgstr "" -#: library/asyncio-eventloop.rst:671 +#: library/asyncio-eventloop.rst:677 msgid "" "*ssl* can be set to an :class:`~ssl.SSLContext` instance to enable TLS over " "the accepted connections." msgstr "" -#: library/asyncio-eventloop.rst:674 +#: library/asyncio-eventloop.rst:680 msgid "" "*reuse_address* tells the kernel to reuse a local socket in ``TIME_WAIT`` " "state, without waiting for its natural timeout to expire. If not specified " "will automatically be set to ``True`` on Unix." msgstr "" -#: library/asyncio-eventloop.rst:679 +#: library/asyncio-eventloop.rst:685 msgid "" "*reuse_port* tells the kernel to allow this endpoint to be bound to the same " "port as other existing endpoints are bound to, so long as they all set this " "flag when being created. This option is not supported on Windows." msgstr "" -#: library/asyncio-eventloop.rst:684 +#: library/asyncio-eventloop.rst:690 msgid "" "*ssl_handshake_timeout* is (for a TLS server) the time in seconds to wait " "for the TLS handshake to complete before aborting the connection. ``60.0`` " "seconds if ``None`` (default)." msgstr "" -#: library/asyncio-eventloop.rst:688 +#: library/asyncio-eventloop.rst:694 msgid "" "*start_serving* set to ``True`` (the default) causes the created server to " "start accepting connections immediately. When set to ``False``, the user " @@ -917,104 +924,104 @@ msgid "" "to make the server to start accepting connections." msgstr "" -#: library/asyncio-eventloop.rst:700 +#: library/asyncio-eventloop.rst:706 msgid "The *host* parameter can be a sequence of strings." msgstr "" -#: library/asyncio-eventloop.rst:704 +#: library/asyncio-eventloop.rst:710 msgid "" "Added *ssl_handshake_timeout* and *start_serving* parameters. The socket " "option :py:data:`~socket.TCP_NODELAY` is set by default for all TCP " "connections." msgstr "" -#: library/asyncio-eventloop.rst:710 +#: library/asyncio-eventloop.rst:716 msgid "" "The :func:`start_server` function is a higher-level alternative API that " "returns a pair of :class:`StreamReader` and :class:`StreamWriter` that can " "be used in an async/await code." msgstr "" -#: library/asyncio-eventloop.rst:719 +#: library/asyncio-eventloop.rst:725 msgid "" "Similar to :meth:`loop.create_server` but works with the :py:data:`~socket." "AF_UNIX` socket family." msgstr "" -#: library/asyncio-eventloop.rst:722 +#: library/asyncio-eventloop.rst:728 msgid "" "*path* is the name of a Unix domain socket, and is required, unless a *sock* " "argument is provided. Abstract Unix sockets, :class:`str`, :class:`bytes`, " "and :class:`~pathlib.Path` paths are supported." msgstr "" -#: library/asyncio-eventloop.rst:727 +#: library/asyncio-eventloop.rst:733 msgid "" "See the documentation of the :meth:`loop.create_server` method for " "information about arguments to this method." msgstr "" -#: library/asyncio-eventloop.rst:734 +#: library/asyncio-eventloop.rst:740 msgid "" "Added the *ssl_handshake_timeout* and *start_serving* parameters. The *path* " "parameter can now be a :class:`~pathlib.Path` object." msgstr "" -#: library/asyncio-eventloop.rst:740 +#: library/asyncio-eventloop.rst:746 msgid "Wrap an already accepted connection into a transport/protocol pair." msgstr "" -#: library/asyncio-eventloop.rst:742 +#: library/asyncio-eventloop.rst:748 msgid "" "This method can be used by servers that accept connections outside of " "asyncio but that use asyncio to handle them." msgstr "" -#: library/asyncio-eventloop.rst:745 library/asyncio-eventloop.rst:823 +#: library/asyncio-eventloop.rst:751 library/asyncio-eventloop.rst:829 msgid "Parameters:" msgstr "" -#: library/asyncio-eventloop.rst:750 +#: library/asyncio-eventloop.rst:756 msgid "" "*sock* is a preexisting socket object returned from :meth:`socket.accept " "`." msgstr "" -#: library/asyncio-eventloop.rst:759 +#: library/asyncio-eventloop.rst:765 msgid "" "*ssl* can be set to an :class:`~ssl.SSLContext` to enable SSL over the " "accepted connections." msgstr "" -#: library/asyncio-eventloop.rst:762 +#: library/asyncio-eventloop.rst:768 msgid "" "*ssl_handshake_timeout* is (for an SSL connection) the time in seconds to " "wait for the SSL handshake to complete before aborting the connection. " "``60.0`` seconds if ``None`` (default)." msgstr "" -#: library/asyncio-eventloop.rst:766 +#: library/asyncio-eventloop.rst:772 msgid "Returns a ``(transport, protocol)`` pair." msgstr "" -#: library/asyncio-eventloop.rst:776 +#: library/asyncio-eventloop.rst:782 msgid "Transferring files" msgstr "" -#: library/asyncio-eventloop.rst:781 +#: library/asyncio-eventloop.rst:787 msgid "" "Send a *file* over a *transport*. Return the total number of bytes sent." msgstr "" -#: library/asyncio-eventloop.rst:784 +#: library/asyncio-eventloop.rst:790 msgid "The method uses high-performance :meth:`os.sendfile` if available." msgstr "" -#: library/asyncio-eventloop.rst:786 +#: library/asyncio-eventloop.rst:792 msgid "*file* must be a regular file object opened in binary mode." msgstr "" -#: library/asyncio-eventloop.rst:788 library/asyncio-eventloop.rst:983 +#: library/asyncio-eventloop.rst:794 library/asyncio-eventloop.rst:991 msgid "" "*offset* tells from where to start reading the file. If specified, *count* " "is the total number of bytes to transmit as opposed to sending the file " @@ -1023,35 +1030,35 @@ msgid "" "obtain the actual number of bytes sent." msgstr "" -#: library/asyncio-eventloop.rst:795 +#: library/asyncio-eventloop.rst:801 msgid "" "*fallback* set to ``True`` makes asyncio to manually read and send the file " "when the platform does not support the sendfile system call (e.g. Windows or " "SSL socket on Unix)." msgstr "" -#: library/asyncio-eventloop.rst:799 +#: library/asyncio-eventloop.rst:805 msgid "" "Raise :exc:`SendfileNotAvailableError` if the system does not support the " "*sendfile* syscall and *fallback* is ``False``." msgstr "" -#: library/asyncio-eventloop.rst:806 +#: library/asyncio-eventloop.rst:812 msgid "TLS Upgrade" msgstr "" -#: library/asyncio-eventloop.rst:812 +#: library/asyncio-eventloop.rst:818 msgid "Upgrade an existing transport-based connection to TLS." msgstr "" -#: library/asyncio-eventloop.rst:814 +#: library/asyncio-eventloop.rst:820 msgid "" "Create a TLS coder/decoder instance and insert it between the *transport* " "and the *protocol*. The coder/decoder implements both *transport*-facing " "protocol and *protocol*-facing transport." msgstr "" -#: library/asyncio-eventloop.rst:818 +#: library/asyncio-eventloop.rst:824 msgid "" "Return the created two-interface instance. After *await*, the *protocol* " "must stop using the original *transport* and communicate with the returned " @@ -1059,69 +1066,73 @@ msgid "" "exchanges extra TLS session packets with *transport*." msgstr "" -#: library/asyncio-eventloop.rst:825 +#: library/asyncio-eventloop.rst:831 msgid "" "*transport* and *protocol* instances that methods like :meth:`~loop." "create_server` and :meth:`~loop.create_connection` return." msgstr "" -#: library/asyncio-eventloop.rst:829 +#: library/asyncio-eventloop.rst:835 msgid "*sslcontext*: a configured instance of :class:`~ssl.SSLContext`." msgstr "" -#: library/asyncio-eventloop.rst:831 +#: library/asyncio-eventloop.rst:837 msgid "" "*server_side* pass ``True`` when a server-side connection is being upgraded " "(like the one created by :meth:`~loop.create_server`)." msgstr "" -#: library/asyncio-eventloop.rst:834 +#: library/asyncio-eventloop.rst:840 msgid "" "*server_hostname*: sets or overrides the host name that the target server's " "certificate will be matched against." msgstr "" -#: library/asyncio-eventloop.rst:845 +#: library/asyncio-eventloop.rst:851 msgid "Watching file descriptors" msgstr "" -#: library/asyncio-eventloop.rst:849 +#: library/asyncio-eventloop.rst:855 msgid "" "Start monitoring the *fd* file descriptor for read availability and invoke " "*callback* with the specified arguments once *fd* is available for reading." msgstr "" -#: library/asyncio-eventloop.rst:855 -msgid "Stop monitoring the *fd* file descriptor for read availability." +#: library/asyncio-eventloop.rst:861 +msgid "" +"Stop monitoring the *fd* file descriptor for read availability. Returns " +"``True`` if *fd* was previously being monitored for reads." msgstr "" -#: library/asyncio-eventloop.rst:859 +#: library/asyncio-eventloop.rst:866 msgid "" "Start monitoring the *fd* file descriptor for write availability and invoke " "*callback* with the specified arguments once *fd* is available for writing." msgstr "" -#: library/asyncio-eventloop.rst:863 library/asyncio-eventloop.rst:1082 +#: library/asyncio-eventloop.rst:870 library/asyncio-eventloop.rst:1090 msgid "" "Use :func:`functools.partial` :ref:`to pass keyword arguments ` to *callback*." msgstr "" -#: library/asyncio-eventloop.rst:868 -msgid "Stop monitoring the *fd* file descriptor for write availability." +#: library/asyncio-eventloop.rst:875 +msgid "" +"Stop monitoring the *fd* file descriptor for write availability. Returns " +"``True`` if *fd* was previously being monitored for writes." msgstr "" -#: library/asyncio-eventloop.rst:870 +#: library/asyncio-eventloop.rst:878 msgid "" "See also :ref:`Platform Support ` section for some " "limitations of these methods." msgstr "" -#: library/asyncio-eventloop.rst:875 +#: library/asyncio-eventloop.rst:883 msgid "Working with socket objects directly" msgstr "" -#: library/asyncio-eventloop.rst:877 +#: library/asyncio-eventloop.rst:885 msgid "" "In general, protocol implementations that use transport-based APIs such as :" "meth:`loop.create_connection` and :meth:`loop.create_server` are faster than " @@ -1130,46 +1141,46 @@ msgid "" "socket` objects directly is more convenient." msgstr "" -#: library/asyncio-eventloop.rst:886 +#: library/asyncio-eventloop.rst:894 msgid "" "Receive up to *nbytes* from *sock*. Asynchronous version of :meth:`socket." "recv() `." msgstr "" -#: library/asyncio-eventloop.rst:889 +#: library/asyncio-eventloop.rst:897 msgid "Return the received data as a bytes object." msgstr "" -#: library/asyncio-eventloop.rst:891 library/asyncio-eventloop.rst:905 -#: library/asyncio-eventloop.rst:920 library/asyncio-eventloop.rst:933 -#: library/asyncio-eventloop.rst:959 library/asyncio-eventloop.rst:997 +#: library/asyncio-eventloop.rst:899 library/asyncio-eventloop.rst:913 +#: library/asyncio-eventloop.rst:928 library/asyncio-eventloop.rst:941 +#: library/asyncio-eventloop.rst:967 library/asyncio-eventloop.rst:1005 msgid "*sock* must be a non-blocking socket." msgstr "" -#: library/asyncio-eventloop.rst:893 +#: library/asyncio-eventloop.rst:901 msgid "" "Even though this method was always documented as a coroutine method, " "releases before Python 3.7 returned a :class:`Future`. Since Python 3.7 this " "is an ``async def`` method." msgstr "" -#: library/asyncio-eventloop.rst:900 +#: library/asyncio-eventloop.rst:908 msgid "" "Receive data from *sock* into the *buf* buffer. Modeled after the blocking :" "meth:`socket.recv_into() ` method." msgstr "" -#: library/asyncio-eventloop.rst:903 +#: library/asyncio-eventloop.rst:911 msgid "Return the number of bytes written to the buffer." msgstr "" -#: library/asyncio-eventloop.rst:911 +#: library/asyncio-eventloop.rst:919 msgid "" "Send *data* to the *sock* socket. Asynchronous version of :meth:`socket." "sendall() `." msgstr "" -#: library/asyncio-eventloop.rst:914 +#: library/asyncio-eventloop.rst:922 msgid "" "This method continues to send to the socket until either all data in *data* " "has been sent or an error occurs. ``None`` is returned on success. On " @@ -1178,23 +1189,23 @@ msgid "" "the connection." msgstr "" -#: library/asyncio-eventloop.rst:922 +#: library/asyncio-eventloop.rst:930 msgid "" "Even though the method was always documented as a coroutine method, before " "Python 3.7 it returned an :class:`Future`. Since Python 3.7, this is an " "``async def`` method." msgstr "" -#: library/asyncio-eventloop.rst:929 +#: library/asyncio-eventloop.rst:937 msgid "Connect *sock* to a remote socket at *address*." msgstr "" -#: library/asyncio-eventloop.rst:931 +#: library/asyncio-eventloop.rst:939 msgid "" "Asynchronous version of :meth:`socket.connect() `." msgstr "" -#: library/asyncio-eventloop.rst:935 +#: library/asyncio-eventloop.rst:943 msgid "" "``address`` no longer needs to be resolved. ``sock_connect`` will try to " "check if the *address* is already resolved by calling :func:`socket." @@ -1202,19 +1213,19 @@ msgid "" "*address*." msgstr "" -#: library/asyncio-eventloop.rst:944 +#: library/asyncio-eventloop.rst:952 msgid "" ":meth:`loop.create_connection` and :func:`asyncio.open_connection() " "`." msgstr "" -#: library/asyncio-eventloop.rst:950 +#: library/asyncio-eventloop.rst:958 msgid "" "Accept a connection. Modeled after the blocking :meth:`socket.accept() " "` method." msgstr "" -#: library/asyncio-eventloop.rst:953 +#: library/asyncio-eventloop.rst:961 msgid "" "The socket must be bound to an address and listening for connections. The " "return value is a pair ``(conn, address)`` where *conn* is a *new* socket " @@ -1222,64 +1233,64 @@ msgid "" "the address bound to the socket on the other end of the connection." msgstr "" -#: library/asyncio-eventloop.rst:961 +#: library/asyncio-eventloop.rst:969 msgid "" "Even though the method was always documented as a coroutine method, before " "Python 3.7 it returned a :class:`Future`. Since Python 3.7, this is an " "``async def`` method." msgstr "" -#: library/asyncio-eventloop.rst:968 +#: library/asyncio-eventloop.rst:976 msgid ":meth:`loop.create_server` and :func:`start_server`." msgstr "" -#: library/asyncio-eventloop.rst:973 +#: library/asyncio-eventloop.rst:981 msgid "" "Send a file using high-performance :mod:`os.sendfile` if possible. Return " "the total number of bytes sent." msgstr "" -#: library/asyncio-eventloop.rst:976 +#: library/asyncio-eventloop.rst:984 msgid "" "Asynchronous version of :meth:`socket.sendfile() `." msgstr "" -#: library/asyncio-eventloop.rst:978 +#: library/asyncio-eventloop.rst:986 msgid "" "*sock* must be a non-blocking :const:`socket.SOCK_STREAM` :class:`~socket." "socket`." msgstr "" -#: library/asyncio-eventloop.rst:981 +#: library/asyncio-eventloop.rst:989 msgid "*file* must be a regular file object open in binary mode." msgstr "" -#: library/asyncio-eventloop.rst:990 +#: library/asyncio-eventloop.rst:998 msgid "" "*fallback*, when set to ``True``, makes asyncio manually read and send the " "file when the platform does not support the sendfile syscall (e.g. Windows " "or SSL socket on Unix)." msgstr "" -#: library/asyncio-eventloop.rst:994 +#: library/asyncio-eventloop.rst:1002 msgid "" "Raise :exc:`SendfileNotAvailableError` if the system does not support " "*sendfile* syscall and *fallback* is ``False``." msgstr "" -#: library/asyncio-eventloop.rst:1003 +#: library/asyncio-eventloop.rst:1011 msgid "DNS" msgstr "" -#: library/asyncio-eventloop.rst:1008 +#: library/asyncio-eventloop.rst:1016 msgid "Asynchronous version of :meth:`socket.getaddrinfo`." msgstr "" -#: library/asyncio-eventloop.rst:1012 +#: library/asyncio-eventloop.rst:1020 msgid "Asynchronous version of :meth:`socket.getnameinfo`." msgstr "" -#: library/asyncio-eventloop.rst:1014 +#: library/asyncio-eventloop.rst:1022 msgid "" "Both *getaddrinfo* and *getnameinfo* methods were always documented to " "return a coroutine, but prior to Python 3.7 they were, in fact, returning :" @@ -1287,66 +1298,66 @@ msgid "" "coroutines." msgstr "" -#: library/asyncio-eventloop.rst:1022 +#: library/asyncio-eventloop.rst:1030 msgid "Working with pipes" msgstr "" -#: library/asyncio-eventloop.rst:1026 +#: library/asyncio-eventloop.rst:1034 msgid "Register the read end of *pipe* in the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1031 +#: library/asyncio-eventloop.rst:1039 msgid "*pipe* is a :term:`file-like object `." msgstr "" -#: library/asyncio-eventloop.rst:1033 +#: library/asyncio-eventloop.rst:1041 msgid "" "Return pair ``(transport, protocol)``, where *transport* supports the :class:" "`ReadTransport` interface and *protocol* is an object instantiated by the " "*protocol_factory*." msgstr "" -#: library/asyncio-eventloop.rst:1037 library/asyncio-eventloop.rst:1053 +#: library/asyncio-eventloop.rst:1045 library/asyncio-eventloop.rst:1061 msgid "" "With :class:`SelectorEventLoop` event loop, the *pipe* is set to non-" "blocking mode." msgstr "" -#: library/asyncio-eventloop.rst:1042 +#: library/asyncio-eventloop.rst:1050 msgid "Register the write end of *pipe* in the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1047 +#: library/asyncio-eventloop.rst:1055 msgid "*pipe* is :term:`file-like object `." msgstr "" -#: library/asyncio-eventloop.rst:1049 +#: library/asyncio-eventloop.rst:1057 msgid "" "Return pair ``(transport, protocol)``, where *transport* supports :class:" "`WriteTransport` interface and *protocol* is an object instantiated by the " "*protocol_factory*." msgstr "" -#: library/asyncio-eventloop.rst:1058 +#: library/asyncio-eventloop.rst:1066 msgid "" ":class:`SelectorEventLoop` does not support the above methods on Windows. " "Use :class:`ProactorEventLoop` instead for Windows." msgstr "" -#: library/asyncio-eventloop.rst:1063 +#: library/asyncio-eventloop.rst:1071 msgid "" "The :meth:`loop.subprocess_exec` and :meth:`loop.subprocess_shell` methods." msgstr "" -#: library/asyncio-eventloop.rst:1068 +#: library/asyncio-eventloop.rst:1076 msgid "Unix signals" msgstr "" -#: library/asyncio-eventloop.rst:1072 +#: library/asyncio-eventloop.rst:1080 msgid "Set *callback* as the handler for the *signum* signal." msgstr "" -#: library/asyncio-eventloop.rst:1074 +#: library/asyncio-eventloop.rst:1082 msgid "" "The callback will be invoked by *loop*, along with other queued callbacks " "and runnable coroutines of that event loop. Unlike signal handlers " @@ -1354,46 +1365,46 @@ msgid "" "function is allowed to interact with the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1079 +#: library/asyncio-eventloop.rst:1087 msgid "" "Raise :exc:`ValueError` if the signal number is invalid or uncatchable. " "Raise :exc:`RuntimeError` if there is a problem setting up the handler." msgstr "" -#: library/asyncio-eventloop.rst:1085 +#: library/asyncio-eventloop.rst:1093 msgid "" "Like :func:`signal.signal`, this function must be invoked in the main thread." msgstr "" -#: library/asyncio-eventloop.rst:1090 +#: library/asyncio-eventloop.rst:1098 msgid "Remove the handler for the *sig* signal." msgstr "" -#: library/asyncio-eventloop.rst:1092 +#: library/asyncio-eventloop.rst:1100 msgid "" "Return ``True`` if the signal handler was removed, or ``False`` if no " "handler was set for the given signal." msgstr "" -#: library/asyncio-eventloop.rst:1099 +#: library/asyncio-eventloop.rst:1107 msgid "The :mod:`signal` module." msgstr "" -#: library/asyncio-eventloop.rst:1103 +#: library/asyncio-eventloop.rst:1111 msgid "Executing code in thread or process pools" msgstr "" -#: library/asyncio-eventloop.rst:1107 +#: library/asyncio-eventloop.rst:1115 msgid "Arrange for *func* to be called in the specified executor." msgstr "" -#: library/asyncio-eventloop.rst:1109 +#: library/asyncio-eventloop.rst:1117 msgid "" "The *executor* argument should be an :class:`concurrent.futures.Executor` " "instance. The default executor is used if *executor* is ``None``." msgstr "" -#: library/asyncio-eventloop.rst:1154 +#: library/asyncio-eventloop.rst:1162 msgid "" "Note that the entry point guard (``if __name__ == '__main__'``) is required " "for option 3 due to the peculiarities of :mod:`multiprocessing`, which is " @@ -1401,17 +1412,17 @@ msgid "" "importing of main module `." msgstr "" -#: library/asyncio-eventloop.rst:1159 +#: library/asyncio-eventloop.rst:1167 msgid "This method returns a :class:`asyncio.Future` object." msgstr "" -#: library/asyncio-eventloop.rst:1161 +#: library/asyncio-eventloop.rst:1169 msgid "" "Use :func:`functools.partial` :ref:`to pass keyword arguments ` to *func*." msgstr "" -#: library/asyncio-eventloop.rst:1164 +#: library/asyncio-eventloop.rst:1172 msgid "" ":meth:`loop.run_in_executor` no longer configures the ``max_workers`` of the " "thread pool executor it creates, instead leaving it up to the thread pool " @@ -1419,38 +1430,38 @@ msgid "" "default." msgstr "" -#: library/asyncio-eventloop.rst:1173 +#: library/asyncio-eventloop.rst:1181 msgid "" "Set *executor* as the default executor used by :meth:`run_in_executor`. " "*executor* should be an instance of :class:`~concurrent.futures." "ThreadPoolExecutor`." msgstr "" -#: library/asyncio-eventloop.rst:1177 +#: library/asyncio-eventloop.rst:1185 msgid "" "Using an executor that is not an instance of :class:`~concurrent.futures." "ThreadPoolExecutor` is deprecated and will trigger an error in Python 3.9." msgstr "" -#: library/asyncio-eventloop.rst:1182 +#: library/asyncio-eventloop.rst:1190 msgid "" "*executor* must be an instance of :class:`concurrent.futures." "ThreadPoolExecutor`." msgstr "" -#: library/asyncio-eventloop.rst:1187 +#: library/asyncio-eventloop.rst:1195 msgid "Error Handling API" msgstr "" -#: library/asyncio-eventloop.rst:1189 +#: library/asyncio-eventloop.rst:1197 msgid "Allows customizing how exceptions are handled in the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1193 +#: library/asyncio-eventloop.rst:1201 msgid "Set *handler* as the new event loop exception handler." msgstr "" -#: library/asyncio-eventloop.rst:1195 +#: library/asyncio-eventloop.rst:1203 msgid "" "If *handler* is ``None``, the default exception handler will be set. " "Otherwise, *handler* must be a callable with the signature matching ``(loop, " @@ -1459,158 +1470,158 @@ msgid "" "(see :meth:`call_exception_handler` documentation for details about context)." msgstr "" -#: library/asyncio-eventloop.rst:1205 +#: library/asyncio-eventloop.rst:1213 msgid "" "Return the current exception handler, or ``None`` if no custom exception " "handler was set." msgstr "" -#: library/asyncio-eventloop.rst:1212 +#: library/asyncio-eventloop.rst:1220 msgid "Default exception handler." msgstr "" -#: library/asyncio-eventloop.rst:1214 +#: library/asyncio-eventloop.rst:1222 msgid "" "This is called when an exception occurs and no exception handler is set. " "This can be called by a custom exception handler that wants to defer to the " "default handler behavior." msgstr "" -#: library/asyncio-eventloop.rst:1218 +#: library/asyncio-eventloop.rst:1226 msgid "" "*context* parameter has the same meaning as in :meth:" "`call_exception_handler`." msgstr "" -#: library/asyncio-eventloop.rst:1223 +#: library/asyncio-eventloop.rst:1231 msgid "Call the current event loop exception handler." msgstr "" -#: library/asyncio-eventloop.rst:1225 +#: library/asyncio-eventloop.rst:1233 msgid "" "*context* is a ``dict`` object containing the following keys (new keys may " "be introduced in future Python versions):" msgstr "" -#: library/asyncio-eventloop.rst:1228 +#: library/asyncio-eventloop.rst:1236 msgid "'message': Error message;" msgstr "" -#: library/asyncio-eventloop.rst:1229 +#: library/asyncio-eventloop.rst:1237 msgid "'exception' (optional): Exception object;" msgstr "" -#: library/asyncio-eventloop.rst:1230 +#: library/asyncio-eventloop.rst:1238 msgid "'future' (optional): :class:`asyncio.Future` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1231 +#: library/asyncio-eventloop.rst:1239 msgid "'task' (optional): :class:`asyncio.Task` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1232 +#: library/asyncio-eventloop.rst:1240 msgid "'handle' (optional): :class:`asyncio.Handle` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1233 +#: library/asyncio-eventloop.rst:1241 msgid "'protocol' (optional): :ref:`Protocol ` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1234 +#: library/asyncio-eventloop.rst:1242 msgid "'transport' (optional): :ref:`Transport ` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1235 +#: library/asyncio-eventloop.rst:1243 msgid "'socket' (optional): :class:`socket.socket` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1237 +#: library/asyncio-eventloop.rst:1245 msgid "'asyncgen' (optional): Asynchronous generator that caused" msgstr "" -#: library/asyncio-eventloop.rst:1237 +#: library/asyncio-eventloop.rst:1245 msgid "the exception." msgstr "" -#: library/asyncio-eventloop.rst:1241 +#: library/asyncio-eventloop.rst:1249 msgid "" "This method should not be overloaded in subclassed event loops. For custom " "exception handling, use the :meth:`set_exception_handler()` method." msgstr "" -#: library/asyncio-eventloop.rst:1246 +#: library/asyncio-eventloop.rst:1254 msgid "Enabling debug mode" msgstr "" -#: library/asyncio-eventloop.rst:1250 +#: library/asyncio-eventloop.rst:1258 msgid "Get the debug mode (:class:`bool`) of the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1252 +#: library/asyncio-eventloop.rst:1260 msgid "" "The default value is ``True`` if the environment variable :envvar:" "`PYTHONASYNCIODEBUG` is set to a non-empty string, ``False`` otherwise." msgstr "" -#: library/asyncio-eventloop.rst:1258 +#: library/asyncio-eventloop.rst:1266 msgid "Set the debug mode of the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1262 +#: library/asyncio-eventloop.rst:1270 msgid "" "The new :ref:`Python Development Mode ` can now also be used to " "enable the debug mode." msgstr "" -#: library/asyncio-eventloop.rst:1267 +#: library/asyncio-eventloop.rst:1275 msgid "The :ref:`debug mode of asyncio `." msgstr "" -#: library/asyncio-eventloop.rst:1271 +#: library/asyncio-eventloop.rst:1279 msgid "Running Subprocesses" msgstr "" -#: library/asyncio-eventloop.rst:1273 +#: library/asyncio-eventloop.rst:1281 msgid "" "Methods described in this subsections are low-level. In regular async/await " "code consider using the high-level :func:`asyncio.create_subprocess_shell` " "and :func:`asyncio.create_subprocess_exec` convenience functions instead." msgstr "" -#: library/asyncio-eventloop.rst:1280 +#: library/asyncio-eventloop.rst:1288 msgid "" "On Windows, the default event loop :class:`ProactorEventLoop` supports " "subprocesses, whereas :class:`SelectorEventLoop` does not. See :ref:" "`Subprocess Support on Windows ` for details." msgstr "" -#: library/asyncio-eventloop.rst:1289 +#: library/asyncio-eventloop.rst:1297 msgid "" "Create a subprocess from one or more string arguments specified by *args*." msgstr "" -#: library/asyncio-eventloop.rst:1292 +#: library/asyncio-eventloop.rst:1300 msgid "*args* must be a list of strings represented by:" msgstr "" -#: library/asyncio-eventloop.rst:1294 +#: library/asyncio-eventloop.rst:1302 msgid ":class:`str`;" msgstr "" -#: library/asyncio-eventloop.rst:1295 +#: library/asyncio-eventloop.rst:1303 msgid "" "or :class:`bytes`, encoded to the :ref:`filesystem encoding `." msgstr "" -#: library/asyncio-eventloop.rst:1298 +#: library/asyncio-eventloop.rst:1306 msgid "" "The first string specifies the program executable, and the remaining strings " "specify the arguments. Together, string arguments form the ``argv`` of the " "program." msgstr "" -#: library/asyncio-eventloop.rst:1302 +#: library/asyncio-eventloop.rst:1310 msgid "" "This is similar to the standard library :class:`subprocess.Popen` class " "called with ``shell=False`` and the list of strings passed as the first " @@ -1618,133 +1629,133 @@ msgid "" "which is list of strings, *subprocess_exec* takes multiple string arguments." msgstr "" -#: library/asyncio-eventloop.rst:1308 +#: library/asyncio-eventloop.rst:1316 msgid "" "The *protocol_factory* must be a callable returning a subclass of the :class:" "`asyncio.SubprocessProtocol` class." msgstr "" -#: library/asyncio-eventloop.rst:1311 +#: library/asyncio-eventloop.rst:1319 msgid "Other parameters:" msgstr "" -#: library/asyncio-eventloop.rst:1313 +#: library/asyncio-eventloop.rst:1321 msgid "*stdin* can be any of these:" msgstr "" -#: library/asyncio-eventloop.rst:1315 +#: library/asyncio-eventloop.rst:1323 msgid "" "a file-like object representing a pipe to be connected to the subprocess's " "standard input stream using :meth:`~loop.connect_write_pipe`" msgstr "" -#: library/asyncio-eventloop.rst:1318 library/asyncio-eventloop.rst:1330 -#: library/asyncio-eventloop.rst:1342 +#: library/asyncio-eventloop.rst:1326 library/asyncio-eventloop.rst:1338 +#: library/asyncio-eventloop.rst:1350 msgid "" "the :const:`subprocess.PIPE` constant (default) which will create a new pipe " "and connect it," msgstr "" -#: library/asyncio-eventloop.rst:1320 library/asyncio-eventloop.rst:1332 -#: library/asyncio-eventloop.rst:1344 +#: library/asyncio-eventloop.rst:1328 library/asyncio-eventloop.rst:1340 +#: library/asyncio-eventloop.rst:1352 msgid "" "the value ``None`` which will make the subprocess inherit the file " "descriptor from this process" msgstr "" -#: library/asyncio-eventloop.rst:1322 library/asyncio-eventloop.rst:1334 -#: library/asyncio-eventloop.rst:1346 +#: library/asyncio-eventloop.rst:1330 library/asyncio-eventloop.rst:1342 +#: library/asyncio-eventloop.rst:1354 msgid "" "the :const:`subprocess.DEVNULL` constant which indicates that the special :" "data:`os.devnull` file will be used" msgstr "" -#: library/asyncio-eventloop.rst:1325 +#: library/asyncio-eventloop.rst:1333 msgid "*stdout* can be any of these:" msgstr "" -#: library/asyncio-eventloop.rst:1327 +#: library/asyncio-eventloop.rst:1335 msgid "" "a file-like object representing a pipe to be connected to the subprocess's " "standard output stream using :meth:`~loop.connect_write_pipe`" msgstr "" -#: library/asyncio-eventloop.rst:1337 +#: library/asyncio-eventloop.rst:1345 msgid "*stderr* can be any of these:" msgstr "" -#: library/asyncio-eventloop.rst:1339 +#: library/asyncio-eventloop.rst:1347 msgid "" "a file-like object representing a pipe to be connected to the subprocess's " "standard error stream using :meth:`~loop.connect_write_pipe`" msgstr "" -#: library/asyncio-eventloop.rst:1348 +#: library/asyncio-eventloop.rst:1356 msgid "" "the :const:`subprocess.STDOUT` constant which will connect the standard " "error stream to the process' standard output stream" msgstr "" -#: library/asyncio-eventloop.rst:1351 +#: library/asyncio-eventloop.rst:1359 msgid "" "All other keyword arguments are passed to :class:`subprocess.Popen` without " "interpretation, except for *bufsize*, *universal_newlines*, *shell*, *text*, " "*encoding* and *errors*, which should not be specified at all." msgstr "" -#: library/asyncio-eventloop.rst:1356 +#: library/asyncio-eventloop.rst:1364 msgid "" "The ``asyncio`` subprocess API does not support decoding the streams as " "text. :func:`bytes.decode` can be used to convert the bytes returned from " "the stream to text." msgstr "" -#: library/asyncio-eventloop.rst:1360 +#: library/asyncio-eventloop.rst:1368 msgid "" "See the constructor of the :class:`subprocess.Popen` class for documentation " "on other arguments." msgstr "" -#: library/asyncio-eventloop.rst:1363 +#: library/asyncio-eventloop.rst:1371 msgid "" "Returns a pair of ``(transport, protocol)``, where *transport* conforms to " "the :class:`asyncio.SubprocessTransport` base class and *protocol* is an " "object instantiated by the *protocol_factory*." msgstr "" -#: library/asyncio-eventloop.rst:1371 +#: library/asyncio-eventloop.rst:1379 msgid "" "Create a subprocess from *cmd*, which can be a :class:`str` or a :class:" "`bytes` string encoded to the :ref:`filesystem encoding `, using the platform's \"shell\" syntax." msgstr "" -#: library/asyncio-eventloop.rst:1376 +#: library/asyncio-eventloop.rst:1384 msgid "" "This is similar to the standard library :class:`subprocess.Popen` class " "called with ``shell=True``." msgstr "" -#: library/asyncio-eventloop.rst:1379 +#: library/asyncio-eventloop.rst:1387 msgid "" "The *protocol_factory* must be a callable returning a subclass of the :class:" "`SubprocessProtocol` class." msgstr "" -#: library/asyncio-eventloop.rst:1382 +#: library/asyncio-eventloop.rst:1390 msgid "" "See :meth:`~loop.subprocess_exec` for more details about the remaining " "arguments." msgstr "" -#: library/asyncio-eventloop.rst:1385 +#: library/asyncio-eventloop.rst:1393 msgid "" "Returns a pair of ``(transport, protocol)``, where *transport* conforms to " "the :class:`SubprocessTransport` base class and *protocol* is an object " "instantiated by the *protocol_factory*." msgstr "" -#: library/asyncio-eventloop.rst:1390 +#: library/asyncio-eventloop.rst:1398 msgid "" "It is the application's responsibility to ensure that all whitespace and " "special characters are quoted appropriately to avoid `shell injection " @@ -1754,105 +1765,105 @@ msgid "" "used to construct shell commands." msgstr "" -#: library/asyncio-eventloop.rst:1399 +#: library/asyncio-eventloop.rst:1407 msgid "Callback Handles" msgstr "" -#: library/asyncio-eventloop.rst:1403 +#: library/asyncio-eventloop.rst:1411 msgid "" "A callback wrapper object returned by :meth:`loop.call_soon`, :meth:`loop." "call_soon_threadsafe`." msgstr "" -#: library/asyncio-eventloop.rst:1408 +#: library/asyncio-eventloop.rst:1416 msgid "" "Cancel the callback. If the callback has already been canceled or executed, " "this method has no effect." msgstr "" -#: library/asyncio-eventloop.rst:1413 +#: library/asyncio-eventloop.rst:1421 msgid "Return ``True`` if the callback was cancelled." msgstr "" -#: library/asyncio-eventloop.rst:1419 +#: library/asyncio-eventloop.rst:1427 msgid "" "A callback wrapper object returned by :meth:`loop.call_later`, and :meth:" "`loop.call_at`." msgstr "" -#: library/asyncio-eventloop.rst:1422 +#: library/asyncio-eventloop.rst:1430 msgid "This class is a subclass of :class:`Handle`." msgstr "" -#: library/asyncio-eventloop.rst:1426 +#: library/asyncio-eventloop.rst:1434 msgid "Return a scheduled callback time as :class:`float` seconds." msgstr "" -#: library/asyncio-eventloop.rst:1428 +#: library/asyncio-eventloop.rst:1436 msgid "" "The time is an absolute timestamp, using the same time reference as :meth:" "`loop.time`." msgstr "" -#: library/asyncio-eventloop.rst:1435 +#: library/asyncio-eventloop.rst:1443 msgid "Server Objects" msgstr "" -#: library/asyncio-eventloop.rst:1437 +#: library/asyncio-eventloop.rst:1445 msgid "" "Server objects are created by :meth:`loop.create_server`, :meth:`loop." "create_unix_server`, :func:`start_server`, and :func:`start_unix_server` " "functions." msgstr "" -#: library/asyncio-eventloop.rst:1441 +#: library/asyncio-eventloop.rst:1449 msgid "Do not instantiate the class directly." msgstr "" -#: library/asyncio-eventloop.rst:1445 +#: library/asyncio-eventloop.rst:1453 msgid "" "*Server* objects are asynchronous context managers. When used in an ``async " "with`` statement, it's guaranteed that the Server object is closed and not " "accepting new connections when the ``async with`` statement is completed::" msgstr "" -#: library/asyncio-eventloop.rst:1458 +#: library/asyncio-eventloop.rst:1466 msgid "Server object is an asynchronous context manager since Python 3.7." msgstr "" -#: library/asyncio-eventloop.rst:1463 +#: library/asyncio-eventloop.rst:1471 msgid "" "Stop serving: close listening sockets and set the :attr:`sockets` attribute " "to ``None``." msgstr "" -#: library/asyncio-eventloop.rst:1466 +#: library/asyncio-eventloop.rst:1474 msgid "" "The sockets that represent existing incoming client connections are left " "open." msgstr "" -#: library/asyncio-eventloop.rst:1469 +#: library/asyncio-eventloop.rst:1477 msgid "" "The server is closed asynchronously, use the :meth:`wait_closed` coroutine " "to wait until the server is closed." msgstr "" -#: library/asyncio-eventloop.rst:1474 +#: library/asyncio-eventloop.rst:1482 msgid "Return the event loop associated with the server object." msgstr "" -#: library/asyncio-eventloop.rst:1480 +#: library/asyncio-eventloop.rst:1488 msgid "Start accepting connections." msgstr "" -#: library/asyncio-eventloop.rst:1482 +#: library/asyncio-eventloop.rst:1490 msgid "" "This method is idempotent, so it can be called when the server is already " "being serving." msgstr "" -#: library/asyncio-eventloop.rst:1485 +#: library/asyncio-eventloop.rst:1493 msgid "" "The *start_serving* keyword-only parameter to :meth:`loop.create_server` " "and :meth:`asyncio.start_server` allows creating a Server object that is not " @@ -1861,96 +1872,96 @@ msgid "" "accepting connections." msgstr "" -#: library/asyncio-eventloop.rst:1496 +#: library/asyncio-eventloop.rst:1504 msgid "" "Start accepting connections until the coroutine is cancelled. Cancellation " "of ``serve_forever`` task causes the server to be closed." msgstr "" -#: library/asyncio-eventloop.rst:1500 +#: library/asyncio-eventloop.rst:1508 msgid "" "This method can be called if the server is already accepting connections. " "Only one ``serve_forever`` task can exist per one *Server* object." msgstr "" -#: library/asyncio-eventloop.rst:1522 +#: library/asyncio-eventloop.rst:1530 msgid "Return ``True`` if the server is accepting new connections." msgstr "" -#: library/asyncio-eventloop.rst:1528 +#: library/asyncio-eventloop.rst:1536 msgid "Wait until the :meth:`close` method completes." msgstr "" -#: library/asyncio-eventloop.rst:1532 +#: library/asyncio-eventloop.rst:1540 msgid "List of :class:`socket.socket` objects the server is listening on." msgstr "" -#: library/asyncio-eventloop.rst:1534 +#: library/asyncio-eventloop.rst:1542 msgid "" "Prior to Python 3.7 ``Server.sockets`` used to return an internal list of " "server sockets directly. In 3.7 a copy of that list is returned." msgstr "" -#: library/asyncio-eventloop.rst:1544 +#: library/asyncio-eventloop.rst:1552 msgid "Event Loop Implementations" msgstr "" -#: library/asyncio-eventloop.rst:1546 +#: library/asyncio-eventloop.rst:1554 msgid "" "asyncio ships with two different event loop implementations: :class:" "`SelectorEventLoop` and :class:`ProactorEventLoop`." msgstr "" -#: library/asyncio-eventloop.rst:1549 +#: library/asyncio-eventloop.rst:1557 msgid "" "By default asyncio is configured to use :class:`SelectorEventLoop` on Unix " "and :class:`ProactorEventLoop` on Windows." msgstr "" -#: library/asyncio-eventloop.rst:1555 +#: library/asyncio-eventloop.rst:1563 msgid "An event loop based on the :mod:`selectors` module." msgstr "" -#: library/asyncio-eventloop.rst:1557 +#: library/asyncio-eventloop.rst:1565 msgid "" "Uses the most efficient *selector* available for the given platform. It is " "also possible to manually configure the exact selector implementation to be " "used::" msgstr "" -#: library/asyncio-eventloop.rst:1572 +#: library/asyncio-eventloop.rst:1580 msgid ":ref:`Availability `: Unix, Windows." msgstr "" -#: library/asyncio-eventloop.rst:1577 +#: library/asyncio-eventloop.rst:1585 msgid "An event loop for Windows that uses \"I/O Completion Ports\" (IOCP)." msgstr "" -#: library/asyncio-eventloop.rst:1580 +#: library/asyncio-eventloop.rst:1588 msgid ":ref:`Availability `: Windows." msgstr "" -#: library/asyncio-eventloop.rst:1583 +#: library/asyncio-eventloop.rst:1591 msgid "" "`MSDN documentation on I/O Completion Ports `_." msgstr "" -#: library/asyncio-eventloop.rst:1589 +#: library/asyncio-eventloop.rst:1597 msgid "Abstract base class for asyncio-compliant event loops." msgstr "" -#: library/asyncio-eventloop.rst:1591 +#: library/asyncio-eventloop.rst:1599 msgid "" "The :ref:`asyncio-event-loop-methods` section lists all methods that an " "alternative implementation of ``AbstractEventLoop`` should have defined." msgstr "" -#: library/asyncio-eventloop.rst:1597 +#: library/asyncio-eventloop.rst:1605 msgid "Examples" msgstr "" -#: library/asyncio-eventloop.rst:1599 +#: library/asyncio-eventloop.rst:1607 msgid "" "Note that all examples in this section **purposefully** show how to use the " "low-level event loop APIs, such as :meth:`loop.run_forever` and :meth:`loop." @@ -1958,70 +1969,70 @@ msgid "" "consider using the high-level functions like :func:`asyncio.run`." msgstr "" -#: library/asyncio-eventloop.rst:1609 +#: library/asyncio-eventloop.rst:1617 msgid "Hello World with call_soon()" msgstr "" -#: library/asyncio-eventloop.rst:1611 +#: library/asyncio-eventloop.rst:1619 msgid "" "An example using the :meth:`loop.call_soon` method to schedule a callback. " "The callback displays ``\"Hello World\"`` and then stops the event loop::" msgstr "" -#: library/asyncio-eventloop.rst:1635 +#: library/asyncio-eventloop.rst:1643 msgid "" "A similar :ref:`Hello World ` example created with a coroutine " "and the :func:`run` function." msgstr "" -#: library/asyncio-eventloop.rst:1642 +#: library/asyncio-eventloop.rst:1650 msgid "Display the current date with call_later()" msgstr "" -#: library/asyncio-eventloop.rst:1644 +#: library/asyncio-eventloop.rst:1652 msgid "" "An example of a callback displaying the current date every second. The " "callback uses the :meth:`loop.call_later` method to reschedule itself after " "5 seconds, and then stops the event loop::" msgstr "" -#: library/asyncio-eventloop.rst:1672 +#: library/asyncio-eventloop.rst:1680 msgid "" "A similar :ref:`current date ` example created with a " "coroutine and the :func:`run` function." msgstr "" -#: library/asyncio-eventloop.rst:1679 +#: library/asyncio-eventloop.rst:1687 msgid "Watch a file descriptor for read events" msgstr "" -#: library/asyncio-eventloop.rst:1681 +#: library/asyncio-eventloop.rst:1689 msgid "" "Wait until a file descriptor received some data using the :meth:`loop." "add_reader` method and then close the event loop::" msgstr "" -#: library/asyncio-eventloop.rst:1719 +#: library/asyncio-eventloop.rst:1727 msgid "" "A similar :ref:`example ` using " "transports, protocols, and the :meth:`loop.create_connection` method." msgstr "" -#: library/asyncio-eventloop.rst:1723 +#: library/asyncio-eventloop.rst:1731 msgid "" "Another similar :ref:`example ` " "using the high-level :func:`asyncio.open_connection` function and streams." msgstr "" -#: library/asyncio-eventloop.rst:1731 +#: library/asyncio-eventloop.rst:1739 msgid "Set signal handlers for SIGINT and SIGTERM" msgstr "" -#: library/asyncio-eventloop.rst:1733 +#: library/asyncio-eventloop.rst:1741 msgid "(This ``signals`` example only works on Unix.)" msgstr "" -#: library/asyncio-eventloop.rst:1735 +#: library/asyncio-eventloop.rst:1743 msgid "" "Register handlers for signals :py:data:`SIGINT` and :py:data:`SIGTERM` using " "the :meth:`loop.add_signal_handler` method::" diff --git a/library/asyncio-llapi-index.po b/library/asyncio-llapi-index.po index b25b295b4..32bc87af3 100644 --- a/library/asyncio-llapi-index.po +++ b/library/asyncio-llapi-index.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -41,7 +41,7 @@ msgid ":func:`asyncio.get_event_loop`" msgstr "" #: library/asyncio-llapi-index.rst:22 -msgid "Get an event loop instance (current or via the policy)." +msgid "Get an event loop instance (running or current via the current policy)." msgstr "" #: library/asyncio-llapi-index.rst:24 diff --git a/library/asyncio-policy.po b/library/asyncio-policy.po index b7f423c02..e1af0df72 100644 --- a/library/asyncio-policy.po +++ b/library/asyncio-policy.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -143,40 +143,48 @@ msgstr "" msgid "On Windows, :class:`ProactorEventLoop` is now used by default." msgstr "" -#: library/asyncio-policy.rst:118 +#: library/asyncio-policy.rst:116 +msgid "" +"In Python versions 3.10.9, 3.11.1 and 3.12 the :meth:`get_event_loop` method " +"of the default asyncio policy emits a :exc:`DeprecationWarning` if there is " +"no running event loop and no current loop is set. In some future Python " +"release this will become an error." +msgstr "" + +#: library/asyncio-policy.rst:124 msgid "" "An alternative event loop policy that uses the :class:`SelectorEventLoop` " "event loop implementation." msgstr "" -#: library/asyncio-policy.rst:129 +#: library/asyncio-policy.rst:135 msgid ":ref:`Availability `: Windows." msgstr "" -#: library/asyncio-policy.rst:126 +#: library/asyncio-policy.rst:132 msgid "" "An alternative event loop policy that uses the :class:`ProactorEventLoop` " "event loop implementation." msgstr "" -#: library/asyncio-policy.rst:135 +#: library/asyncio-policy.rst:141 msgid "Process Watchers" msgstr "" -#: library/asyncio-policy.rst:137 +#: library/asyncio-policy.rst:143 msgid "" "A process watcher allows customization of how an event loop monitors child " "processes on Unix. Specifically, the event loop needs to know when a child " "process has exited." msgstr "" -#: library/asyncio-policy.rst:141 +#: library/asyncio-policy.rst:147 msgid "" "In asyncio, child processes are created with :func:`create_subprocess_exec` " "and :meth:`loop.subprocess_exec` functions." msgstr "" -#: library/asyncio-policy.rst:145 +#: library/asyncio-policy.rst:151 msgid "" "asyncio defines the :class:`AbstractChildWatcher` abstract base class, which " "child watchers should implement, and has four different implementations: :" @@ -185,176 +193,176 @@ msgid "" "`FastChildWatcher`." msgstr "" -#: library/asyncio-policy.rst:151 +#: library/asyncio-policy.rst:157 msgid "" "See also the :ref:`Subprocess and Threads ` " "section." msgstr "" -#: library/asyncio-policy.rst:154 +#: library/asyncio-policy.rst:160 msgid "" "The following two functions can be used to customize the child process " "watcher implementation used by the asyncio event loop:" msgstr "" -#: library/asyncio-policy.rst:159 +#: library/asyncio-policy.rst:165 msgid "Return the current child watcher for the current policy." msgstr "" -#: library/asyncio-policy.rst:163 +#: library/asyncio-policy.rst:169 msgid "" "Set the current child watcher to *watcher* for the current policy. " "*watcher* must implement methods defined in the :class:" "`AbstractChildWatcher` base class." msgstr "" -#: library/asyncio-policy.rst:168 +#: library/asyncio-policy.rst:174 msgid "" "Third-party event loops implementations might not support custom child " "watchers. For such event loops, using :func:`set_child_watcher` might be " "prohibited or have no effect." msgstr "" -#: library/asyncio-policy.rst:176 +#: library/asyncio-policy.rst:182 msgid "Register a new child handler." msgstr "" -#: library/asyncio-policy.rst:178 +#: library/asyncio-policy.rst:184 msgid "" "Arrange for ``callback(pid, returncode, *args)`` to be called when a process " "with PID equal to *pid* terminates. Specifying another callback for the " "same process replaces the previous handler." msgstr "" -#: library/asyncio-policy.rst:183 +#: library/asyncio-policy.rst:189 msgid "The *callback* callable must be thread-safe." msgstr "" -#: library/asyncio-policy.rst:187 +#: library/asyncio-policy.rst:193 msgid "Removes the handler for process with PID equal to *pid*." msgstr "" -#: library/asyncio-policy.rst:189 +#: library/asyncio-policy.rst:195 msgid "" "The function returns ``True`` if the handler was successfully removed, " "``False`` if there was nothing to remove." msgstr "" -#: library/asyncio-policy.rst:194 +#: library/asyncio-policy.rst:200 msgid "Attach the watcher to an event loop." msgstr "" -#: library/asyncio-policy.rst:196 +#: library/asyncio-policy.rst:202 msgid "" "If the watcher was previously attached to an event loop, then it is first " "detached before attaching to the new loop." msgstr "" -#: library/asyncio-policy.rst:199 +#: library/asyncio-policy.rst:205 msgid "Note: loop may be ``None``." msgstr "" -#: library/asyncio-policy.rst:203 +#: library/asyncio-policy.rst:209 msgid "Return ``True`` if the watcher is ready to use." msgstr "" -#: library/asyncio-policy.rst:205 +#: library/asyncio-policy.rst:211 msgid "" "Spawning a subprocess with *inactive* current child watcher raises :exc:" "`RuntimeError`." msgstr "" -#: library/asyncio-policy.rst:212 +#: library/asyncio-policy.rst:218 msgid "Close the watcher." msgstr "" -#: library/asyncio-policy.rst:214 +#: library/asyncio-policy.rst:220 msgid "" "This method has to be called to ensure that underlying resources are cleaned-" "up." msgstr "" -#: library/asyncio-policy.rst:219 +#: library/asyncio-policy.rst:225 msgid "" "This implementation starts a new waiting thread for every subprocess spawn." msgstr "" -#: library/asyncio-policy.rst:221 +#: library/asyncio-policy.rst:227 msgid "" "It works reliably even when the asyncio event loop is run in a non-main OS " "thread." msgstr "" -#: library/asyncio-policy.rst:223 +#: library/asyncio-policy.rst:229 msgid "" "There is no noticeable overhead when handling a big number of children " "(*O(1)* each time a child terminates), but starting a thread per process " "requires extra memory." msgstr "" -#: library/asyncio-policy.rst:226 +#: library/asyncio-policy.rst:232 msgid "This watcher is used by default." msgstr "" -#: library/asyncio-policy.rst:232 +#: library/asyncio-policy.rst:238 msgid "" "This implementation registers a :py:data:`SIGCHLD` signal handler on " "instantiation. That can break third-party code that installs a custom " "handler for :py:data:`SIGCHLD` signal." msgstr "" -#: library/asyncio-policy.rst:254 +#: library/asyncio-policy.rst:260 msgid "" "The watcher avoids disrupting other code spawning processes by polling every " "process explicitly on a :py:data:`SIGCHLD` signal." msgstr "" -#: library/asyncio-policy.rst:239 +#: library/asyncio-policy.rst:245 msgid "" "There is no limitation for running subprocesses from different threads once " "the watcher is installed." msgstr "" -#: library/asyncio-policy.rst:242 +#: library/asyncio-policy.rst:248 msgid "" "The solution is safe but it has a significant overhead when handling a big " "number of processes (*O(n)* each time a :py:data:`SIGCHLD` is received)." msgstr "" -#: library/asyncio-policy.rst:250 +#: library/asyncio-policy.rst:256 msgid "" "This implementation uses active event loop from the main thread to handle :" "py:data:`SIGCHLD` signal. If the main thread has no running event loop " "another thread cannot spawn a subprocess (:exc:`RuntimeError` is raised)." msgstr "" -#: library/asyncio-policy.rst:257 +#: library/asyncio-policy.rst:263 msgid "" "This solution is as safe as :class:`MultiLoopChildWatcher` and has the same " "*O(N)* complexity but requires a running event loop in the main thread to " "work." msgstr "" -#: library/asyncio-policy.rst:262 +#: library/asyncio-policy.rst:268 msgid "" "This implementation reaps every terminated processes by calling ``os." "waitpid(-1)`` directly, possibly breaking other code spawning processes and " "waiting for their termination." msgstr "" -#: library/asyncio-policy.rst:266 +#: library/asyncio-policy.rst:272 msgid "" "There is no noticeable overhead when handling a big number of children " "(*O(1)* each time a child terminates)." msgstr "" -#: library/asyncio-policy.rst:269 +#: library/asyncio-policy.rst:275 msgid "" "This solution requires a running event loop in the main thread to work, as :" "class:`SafeChildWatcher`." msgstr "" -#: library/asyncio-policy.rst:274 +#: library/asyncio-policy.rst:280 msgid "" "This implementation polls process file descriptors (pidfds) to await child " "process termination. In some respects, :class:`PidfdChildWatcher` is a " @@ -365,11 +373,11 @@ msgid "" "only work on recent (5.3+) kernels." msgstr "" -#: library/asyncio-policy.rst:288 +#: library/asyncio-policy.rst:294 msgid "Custom Policies" msgstr "" -#: library/asyncio-policy.rst:290 +#: library/asyncio-policy.rst:296 msgid "" "To implement a new event loop policy, it is recommended to subclass :class:" "`DefaultEventLoopPolicy` and override the methods for which custom behavior " diff --git a/library/asyncio-stream.po b/library/asyncio-stream.po index b4e24b594..5db423554 100644 --- a/library/asyncio-stream.po +++ b/library/asyncio-stream.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -295,35 +295,37 @@ msgid "The method closes the stream and the underlying socket." msgstr "" #: library/asyncio-stream.rst:284 -msgid "The method should be used along with the ``wait_closed()`` method::" +msgid "" +"The method should be used, though not mandatory, along with the " +"``wait_closed()`` method::" msgstr "" -#: library/asyncio-stream.rst:291 +#: library/asyncio-stream.rst:292 msgid "" "Return ``True`` if the underlying transport supports the :meth:`write_eof` " "method, ``False`` otherwise." msgstr "" -#: library/asyncio-stream.rst:296 +#: library/asyncio-stream.rst:297 msgid "" "Close the write end of the stream after the buffered write data is flushed." msgstr "" -#: library/asyncio-stream.rst:301 +#: library/asyncio-stream.rst:302 msgid "Return the underlying asyncio transport." msgstr "" -#: library/asyncio-stream.rst:305 +#: library/asyncio-stream.rst:306 msgid "" "Access optional transport information; see :meth:`BaseTransport." "get_extra_info` for details." msgstr "" -#: library/asyncio-stream.rst:310 +#: library/asyncio-stream.rst:311 msgid "Wait until it is appropriate to resume writing to the stream. Example::" msgstr "" -#: library/asyncio-stream.rst:316 +#: library/asyncio-stream.rst:317 msgid "" "This is a flow control method that interacts with the underlying IO write " "buffer. When the size of the buffer reaches the high watermark, *drain()* " @@ -332,90 +334,91 @@ msgid "" "`drain` returns immediately." msgstr "" -#: library/asyncio-stream.rst:325 +#: library/asyncio-stream.rst:326 msgid "" "Return ``True`` if the stream is closed or in the process of being closed." msgstr "" -#: library/asyncio-stream.rst:332 +#: library/asyncio-stream.rst:333 msgid "Wait until the stream is closed." msgstr "" -#: library/asyncio-stream.rst:334 +#: library/asyncio-stream.rst:335 msgid "" "Should be called after :meth:`close` to wait until the underlying connection " -"is closed." +"is closed, ensuring that all data has been flushed before e.g. exiting the " +"program." msgstr "" -#: library/asyncio-stream.rst:341 +#: library/asyncio-stream.rst:343 msgid "Examples" msgstr "" -#: library/asyncio-stream.rst:346 +#: library/asyncio-stream.rst:348 msgid "TCP echo client using streams" msgstr "" -#: library/asyncio-stream.rst:348 +#: library/asyncio-stream.rst:350 msgid "TCP echo client using the :func:`asyncio.open_connection` function::" msgstr "" -#: library/asyncio-stream.rst:370 +#: library/asyncio-stream.rst:373 msgid "" "The :ref:`TCP echo client protocol " "` example uses the low-level :meth:" "`loop.create_connection` method." msgstr "" -#: library/asyncio-stream.rst:377 +#: library/asyncio-stream.rst:380 msgid "TCP echo server using streams" msgstr "" -#: library/asyncio-stream.rst:379 +#: library/asyncio-stream.rst:382 msgid "TCP echo server using the :func:`asyncio.start_server` function::" msgstr "" -#: library/asyncio-stream.rst:412 +#: library/asyncio-stream.rst:416 msgid "" "The :ref:`TCP echo server protocol " "` example uses the :meth:`loop." "create_server` method." msgstr "" -#: library/asyncio-stream.rst:417 +#: library/asyncio-stream.rst:421 msgid "Get HTTP headers" msgstr "" -#: library/asyncio-stream.rst:419 +#: library/asyncio-stream.rst:423 msgid "" "Simple example querying HTTP headers of the URL passed on the command line::" msgstr "" -#: library/asyncio-stream.rst:457 +#: library/asyncio-stream.rst:462 msgid "Usage::" msgstr "" -#: library/asyncio-stream.rst:461 +#: library/asyncio-stream.rst:466 msgid "or with HTTPS::" msgstr "" -#: library/asyncio-stream.rst:469 +#: library/asyncio-stream.rst:474 msgid "Register an open socket to wait for data using streams" msgstr "" -#: library/asyncio-stream.rst:471 +#: library/asyncio-stream.rst:476 msgid "" "Coroutine waiting until a socket receives data using the :func:" "`open_connection` function::" msgstr "" -#: library/asyncio-stream.rst:505 +#: library/asyncio-stream.rst:511 msgid "" "The :ref:`register an open socket to wait for data using a protocol " "` example uses a low-level protocol and " "the :meth:`loop.create_connection` method." msgstr "" -#: library/asyncio-stream.rst:509 +#: library/asyncio-stream.rst:515 msgid "" "The :ref:`watch a file descriptor for read events " "` example uses the low-level :meth:`loop." diff --git a/library/asyncio.po b/library/asyncio.po index 46417cd56..482f184e6 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -16,15 +16,15 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: library/asyncio.rst:65 +#: library/asyncio.rst:76 msgid "High-level APIs" msgstr "" -#: library/asyncio.rst:76 +#: library/asyncio.rst:87 msgid "Low-level APIs" msgstr "" -#: library/asyncio.rst:86 +#: library/asyncio.rst:97 msgid "Guides and Tutorials" msgstr "" @@ -32,7 +32,7 @@ msgstr "" msgid ":mod:`asyncio` --- Asynchronous I/O" msgstr "" -#: library/asyncio.rst:None +#: library/asyncio.rst:-1 msgid "Hello World!" msgstr "" @@ -107,10 +107,14 @@ msgid "" "await syntax." msgstr "" -#: library/asyncio.rst:64 +#: library/asyncio.rst:59 +msgid "You can experiment with an ``asyncio`` concurrent context in the REPL:" +msgstr "" + +#: library/asyncio.rst:75 msgid "Reference" msgstr "" -#: library/asyncio.rst:95 +#: library/asyncio.rst:106 msgid "The source code for asyncio can be found in :source:`Lib/asyncio/`." msgstr "" diff --git a/library/codecs.po b/library/codecs.po index 3dd65f1e7..ffb3a97d7 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2179,7 +2179,7 @@ msgstr "" msgid "U32, utf32" msgstr "" -#: library/codecs.rst:1274library/codecs.rst:1278 library/codecs.rst:1282 +#: library/codecs.rst:1274 library/codecs.rst:1278 library/codecs.rst:1282 #: library/codecs.rst:1286 library/codecs.rst:1288 msgid "all languages" msgstr "" diff --git a/library/compileall.po b/library/compileall.po index 9682d7449..584cad783 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -268,7 +268,7 @@ msgstr "" msgid "" "The *stripdir*, *prependdir* and *limit_sl_dest* arguments correspond to the " "``-s``, ``-p`` and ``-e`` options described above. They may be specified as " -"``str``, ``bytes`` or :py:class:`os.PathLike`." +"``str`` or :py:class:`os.PathLike`." msgstr "" #: library/compileall.rst:273 diff --git a/library/contextvars.po b/library/contextvars.po index 958b6ddca..b1e881343 100644 --- a/library/contextvars.po +++ b/library/contextvars.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -178,77 +178,85 @@ msgid "" msgstr "" #: library/contextvars.rst:147 +msgid "" +"Every thread will have a different top-level :class:`~contextvars.Context` " +"object. This means that a :class:`ContextVar` object behaves in a similar " +"fashion to :func:`threading.local()` when values are assigned in different " +"threads." +msgstr "" + +#: library/contextvars.rst:152 msgid "Context implements the :class:`collections.abc.Mapping` interface." msgstr "" -#: library/contextvars.rst:151 +#: library/contextvars.rst:156 msgid "" "Execute ``callable(*args, **kwargs)`` code in the context object the *run* " "method is called on. Return the result of the execution or propagate an " "exception if one occurred." msgstr "" -#: library/contextvars.rst:155 +#: library/contextvars.rst:160 msgid "" "Any changes to any context variables that *callable* makes will be contained " "in the context object::" msgstr "" -#: library/contextvars.rst:184 +#: library/contextvars.rst:189 msgid "" "The method raises a :exc:`RuntimeError` when called on the same context " "object from more than one OS thread, or when called recursively." msgstr "" -#: library/contextvars.rst:190 +#: library/contextvars.rst:195 msgid "Return a shallow copy of the context object." msgstr "" -#: library/contextvars.rst:194 +#: library/contextvars.rst:199 msgid "" "Return ``True`` if the *context* has a value for *var* set; return ``False`` " "otherwise." msgstr "" -#: library/contextvars.rst:199 +#: library/contextvars.rst:204 msgid "" "Return the value of the *var* :class:`ContextVar` variable. If the variable " "is not set in the context object, a :exc:`KeyError` is raised." msgstr "" -#: library/contextvars.rst:205 +#: library/contextvars.rst:210 msgid "" "Return the value for *var* if *var* has the value in the context object. " "Return *default* otherwise. If *default* is not given, return ``None``." msgstr "" -#: library/contextvars.rst:211 +#: library/contextvars.rst:216 msgid "Return an iterator over the variables stored in the context object." msgstr "" -#: library/contextvars.rst:216 +#: library/contextvars.rst:221 msgid "Return the number of variables set in the context object." msgstr "" -#: library/contextvars.rst:220 +#: library/contextvars.rst:225 msgid "Return a list of all variables in the context object." msgstr "" -#: library/contextvars.rst:224 +#: library/contextvars.rst:229 msgid "Return a list of all variables' values in the context object." msgstr "" -#: library/contextvars.rst:229 +#: library/contextvars.rst:234 msgid "" "Return a list of 2-tuples containing all variables and their values in the " "context object." msgstr "" -#: library/contextvars.rst:234 +#: library/contextvars.rst:239 msgid "asyncio support" msgstr "" -#: library/contextvars.rst:236 +#: library/contextvars.rst:241 msgid "" "Context variables are natively supported in :mod:`asyncio` and are ready to " "be used without any extra configuration. For example, here is a simple echo " diff --git a/library/ctypes.po b/library/ctypes.po index 9fb7861a5..4b86e35e1 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -505,7 +505,7 @@ msgstr "" #: library/ctypes.rst:393 msgid "" -"Because specifying the attribute does inhibit portability it is adviced to " +"Because specifying the attribute does inhibit portability it is advised to " "always specify ``argtypes`` for all variadic functions." msgstr "" @@ -1852,7 +1852,7 @@ msgid "" "instance of a ctypes type." msgstr "" -#: library/ctypes.rst:1849 +#: library/ctypes.rst:4 msgid "" "Raises an :ref:`auditing event ` ``ctypes.addressof`` with " "argument ``obj``." @@ -1910,7 +1910,7 @@ msgid "" "not be used." msgstr "" -#: library/ctypes.rst:1893 +#: library/ctypes.rst:12 msgid "" "Raises an :ref:`auditing event ` ``ctypes.create_string_buffer`` " "with arguments ``init``, ``size``." @@ -1937,7 +1937,7 @@ msgid "" "should not be used." msgstr "" -#: library/ctypes.rst:1910 +#: library/ctypes.rst:13 msgid "" "Raises an :ref:`auditing event ` ``ctypes.create_unicode_buffer`` " "with arguments ``init``, ``size``." @@ -1999,7 +1999,7 @@ msgid "" "`errno` variable in the calling thread." msgstr "" -#: library/ctypes.rst:1968 +#: library/ctypes.rst:4 msgid "" "Raises an :ref:`auditing event ` ``ctypes.get_errno`` with no " "arguments." @@ -2011,7 +2011,7 @@ msgid "" "system :data:`LastError` variable in the calling thread." msgstr "" -#: library/ctypes.rst:1975 +#: library/ctypes.rst:4 msgid "" "Raises an :ref:`auditing event ` ``ctypes.get_last_error`` with no " "arguments." @@ -2064,7 +2064,7 @@ msgid "" "variable in the calling thread to *value* and return the previous value." msgstr "" -#: library/ctypes.rst:2020 +#: library/ctypes.rst:4 msgid "" "Raises an :ref:`auditing event ` ``ctypes.set_errno`` with " "argument ``errno``." @@ -2077,7 +2077,7 @@ msgid "" "return the previous value." msgstr "" -#: library/ctypes.rst:2029 +#: library/ctypes.rst:5 msgid "" "Raises an :ref:`auditing event ` ``ctypes.set_last_error`` with " "argument ``error``." @@ -2096,7 +2096,7 @@ msgid "" "is assumed to be zero-terminated." msgstr "" -#: library/ctypes.rst:2044 +#: library/ctypes.rst:5 msgid "" "Raises an :ref:`auditing event ` ``ctypes.string_at`` with " "arguments ``address``, ``size``." @@ -2123,7 +2123,7 @@ msgid "" "terminated." msgstr "" -#: library/ctypes.rst:2066 +#: library/ctypes.rst:6 msgid "" "Raises an :ref:`auditing event ` ``ctypes.wstring_at`` with " "arguments ``address``, ``size``." @@ -2158,7 +2158,7 @@ msgid "" "exc:`ValueError` is raised." msgstr "" -#: library/ctypes.rst:2105 +#: library/ctypes.rst:7 msgid "" "Raises an :ref:`auditing event ` ``ctypes.cdata/buffer`` with " "arguments ``pointer``, ``size``, ``offset``." @@ -2178,7 +2178,7 @@ msgid "" "*address* which must be an integer." msgstr "" -#: library/ctypes.rst:2112 +#: library/ctypes.rst:4 msgid "" "Raises an :ref:`auditing event ` ``ctypes.cdata`` with argument " "``address``." diff --git a/library/curses.po b/library/curses.po index 9076d5fc2..a9afacf3c 100644 --- a/library/curses.po +++ b/library/curses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1464,7 +1464,7 @@ msgstr "" #: library/curses.rst:1320 msgid "" "Display a vertical line starting at ``(y, x)`` with length *n* consisting of " -"the character *ch*." +"the character *ch* with attributes *attr*." msgstr "" #: library/curses.rst:1325 diff --git a/library/dataclasses.po b/library/dataclasses.po index 772e58053..3c226fa2f 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -88,21 +88,21 @@ msgid "" "is, these three uses of :func:`dataclass` are equivalent::" msgstr "" -#: library/dataclasses.rst:86 +#: library/dataclasses.rst:87 msgid "The parameters to :func:`dataclass` are:" msgstr "" -#: library/dataclasses.rst:88 +#: library/dataclasses.rst:89 msgid "" "``init``: If true (the default), a :meth:`__init__` method will be generated." msgstr "" -#: library/dataclasses.rst:91 +#: library/dataclasses.rst:92 msgid "" "If the class already defines :meth:`__init__`, this parameter is ignored." msgstr "" -#: library/dataclasses.rst:94 +#: library/dataclasses.rst:95 msgid "" "``repr``: If true (the default), a :meth:`__repr__` method will be " "generated. The generated repr string will have the class name and the name " @@ -112,23 +112,23 @@ msgid "" "quantity_on_hand=10)``." msgstr "" -#: library/dataclasses.rst:101 +#: library/dataclasses.rst:102 msgid "" "If the class already defines :meth:`__repr__`, this parameter is ignored." msgstr "" -#: library/dataclasses.rst:104 +#: library/dataclasses.rst:105 msgid "" "``eq``: If true (the default), an :meth:`__eq__` method will be generated. " "This method compares the class as if it were a tuple of its fields, in " "order. Both instances in the comparison must be of the identical type." msgstr "" -#: library/dataclasses.rst:109 +#: library/dataclasses.rst:110 msgid "If the class already defines :meth:`__eq__`, this parameter is ignored." msgstr "" -#: library/dataclasses.rst:112 +#: library/dataclasses.rst:113 msgid "" "``order``: If true (the default is ``False``), :meth:`__lt__`, :meth:" "`__le__`, :meth:`__gt__`, and :meth:`__ge__` methods will be generated. " @@ -137,19 +137,19 @@ msgid "" "true and ``eq`` is false, a :exc:`ValueError` is raised." msgstr "" -#: library/dataclasses.rst:119 +#: library/dataclasses.rst:120 msgid "" "If the class already defines any of :meth:`__lt__`, :meth:`__le__`, :meth:" "`__gt__`, or :meth:`__ge__`, then :exc:`TypeError` is raised." msgstr "" -#: library/dataclasses.rst:123 +#: library/dataclasses.rst:124 msgid "" "``unsafe_hash``: If ``False`` (the default), a :meth:`__hash__` method is " "generated according to how ``eq`` and ``frozen`` are set." msgstr "" -#: library/dataclasses.rst:126 +#: library/dataclasses.rst:127 msgid "" ":meth:`__hash__` is used by built-in :meth:`hash()`, and when objects are " "added to hashed collections such as dictionaries and sets. Having a :meth:" @@ -159,7 +159,7 @@ msgid "" "``frozen`` flags in the :func:`dataclass` decorator." msgstr "" -#: library/dataclasses.rst:133 +#: library/dataclasses.rst:134 msgid "" "By default, :func:`dataclass` will not implicitly add a :meth:`__hash__` " "method unless it is safe to do so. Neither will it add or change an " @@ -168,7 +168,7 @@ msgid "" "in the :meth:`__hash__` documentation." msgstr "" -#: library/dataclasses.rst:139 +#: library/dataclasses.rst:140 msgid "" "If :meth:`__hash__` is not explicitly defined, or if it is set to ``None``, " "then :func:`dataclass` *may* add an implicit :meth:`__hash__` method. " @@ -178,7 +178,7 @@ msgid "" "specialized use case and should be considered carefully." msgstr "" -#: library/dataclasses.rst:146 +#: library/dataclasses.rst:147 msgid "" "Here are the rules governing implicit creation of a :meth:`__hash__` " "method. Note that you cannot both have an explicit :meth:`__hash__` method " @@ -186,7 +186,7 @@ msgid "" "`TypeError`." msgstr "" -#: library/dataclasses.rst:151 +#: library/dataclasses.rst:152 msgid "" "If ``eq`` and ``frozen`` are both true, by default :func:`dataclass` will " "generate a :meth:`__hash__` method for you. If ``eq`` is true and " @@ -197,7 +197,7 @@ msgid "" "will fall back to id-based hashing)." msgstr "" -#: library/dataclasses.rst:159 +#: library/dataclasses.rst:160 msgid "" "``frozen``: If true (the default is ``False``), assigning to fields will " "generate an exception. This emulates read-only frozen instances. If :meth:" @@ -205,7 +205,7 @@ msgid "" "`TypeError` is raised. See the discussion below." msgstr "" -#: library/dataclasses.rst:164 +#: library/dataclasses.rst:165 msgid "" "``match_args``: If true (the default is ``True``), the ``__match_args__`` " "tuple will be created from the list of parameters to the generated :meth:" @@ -214,7 +214,7 @@ msgid "" "``__match_args__`` will not be generated." msgstr "" -#: library/dataclasses.rst:173 +#: library/dataclasses.rst:174 msgid "" "``kw_only``: If true (the default value is ``False``), then all fields will " "be marked as keyword-only. If a field is marked as keyword-only, then the " @@ -225,7 +225,7 @@ msgid "" "section." msgstr "" -#: library/dataclasses.rst:184 +#: library/dataclasses.rst:185 msgid "" "``slots``: If true (the default is ``False``), :attr:`__slots__` attribute " "will be generated and new class will be returned instead of the original " @@ -233,26 +233,26 @@ msgid "" "`TypeError` is raised." msgstr "" -#: library/dataclasses.rst:191 +#: library/dataclasses.rst:192 msgid "" "``field``\\s may optionally specify a default value, using normal Python " "syntax::" msgstr "" -#: library/dataclasses.rst:199 +#: library/dataclasses.rst:200 msgid "" "In this example, both ``a`` and ``b`` will be included in the added :meth:" "`__init__` method, which will be defined as::" msgstr "" -#: library/dataclasses.rst:204 +#: library/dataclasses.rst:205 msgid "" ":exc:`TypeError` will be raised if a field without a default value follows a " "field with a default value. This is true whether this occurs in a single " "class, or as a result of class inheritance." msgstr "" -#: library/dataclasses.rst:210 +#: library/dataclasses.rst:211 msgid "" "For common and simple use cases, no other functionality is required. There " "are, however, some dataclass features that require additional per-field " @@ -261,7 +261,7 @@ msgid "" "function. For example::" msgstr "" -#: library/dataclasses.rst:223 +#: library/dataclasses.rst:224 msgid "" "As shown above, the :const:`MISSING` value is a sentinel object used to " "detect if some parameters are provided by the user. This sentinel is used " @@ -269,18 +269,18 @@ msgid "" "meaning. No code should directly use the :const:`MISSING` value." msgstr "" -#: library/dataclasses.rst:228 +#: library/dataclasses.rst:229 msgid "The parameters to :func:`field` are:" msgstr "" -#: library/dataclasses.rst:230 +#: library/dataclasses.rst:231 msgid "" "``default``: If provided, this will be the default value for this field. " "This is needed because the :meth:`field` call itself replaces the normal " "position of the default value." msgstr "" -#: library/dataclasses.rst:234 +#: library/dataclasses.rst:235 msgid "" "``default_factory``: If provided, it must be a zero-argument callable that " "will be called when a default value is needed for this field. Among other " @@ -289,19 +289,19 @@ msgid "" "``default_factory``." msgstr "" -#: library/dataclasses.rst:240 +#: library/dataclasses.rst:241 msgid "" "``init``: If true (the default), this field is included as a parameter to " "the generated :meth:`__init__` method." msgstr "" -#: library/dataclasses.rst:243 +#: library/dataclasses.rst:244 msgid "" "``repr``: If true (the default), this field is included in the string " "returned by the generated :meth:`__repr__` method." msgstr "" -#: library/dataclasses.rst:246 +#: library/dataclasses.rst:247 msgid "" "``hash``: This can be a bool or ``None``. If true, this field is included " "in the generated :meth:`__hash__` method. If ``None`` (the default), use " @@ -310,7 +310,7 @@ msgid "" "Setting this value to anything other than ``None`` is discouraged." msgstr "" -#: library/dataclasses.rst:253 +#: library/dataclasses.rst:254 msgid "" "One possible reason to set ``hash=False`` but ``compare=True`` would be if a " "field is expensive to compute a hash value for, that field is needed for " @@ -319,13 +319,13 @@ msgid "" "used for comparisons." msgstr "" -#: library/dataclasses.rst:259 +#: library/dataclasses.rst:260 msgid "" "``compare``: If true (the default), this field is included in the generated " "equality and comparison methods (:meth:`__eq__`, :meth:`__gt__`, et al.)." msgstr "" -#: library/dataclasses.rst:263 +#: library/dataclasses.rst:264 msgid "" "``metadata``: This can be a mapping or None. None is treated as an empty " "dict. This value is wrapped in :func:`~types.MappingProxyType` to make it " @@ -335,13 +335,13 @@ msgid "" "the metadata." msgstr "" -#: library/dataclasses.rst:271 +#: library/dataclasses.rst:272 msgid "" "``kw_only``: If true, this field will be marked as keyword-only. This is " "used when the generated :meth:`__init__` method's parameters are computed." msgstr "" -#: library/dataclasses.rst:277 +#: library/dataclasses.rst:278 msgid "" "If the default value of a field is specified by a call to :func:`field()`, " "then the class attribute for this field will be replaced by the specified " @@ -352,13 +352,13 @@ msgid "" "after::" msgstr "" -#: library/dataclasses.rst:293 +#: library/dataclasses.rst:294 msgid "" "The class attribute ``C.z`` will be ``10``, the class attribute ``C.t`` will " "be ``20``, and the class attributes ``C.x`` and ``C.y`` will not be set." msgstr "" -#: library/dataclasses.rst:299 +#: library/dataclasses.rst:300 msgid "" ":class:`Field` objects describe each defined field. These objects are " "created internally, and are returned by the :func:`fields` module-level " @@ -366,28 +366,28 @@ msgid "" "directly. Its documented attributes are:" msgstr "" -#: library/dataclasses.rst:304 +#: library/dataclasses.rst:305 msgid "``name``: The name of the field." msgstr "" -#: library/dataclasses.rst:306 +#: library/dataclasses.rst:307 msgid "``type``: The type of the field." msgstr "" -#: library/dataclasses.rst:308 +#: library/dataclasses.rst:309 msgid "" "``default``, ``default_factory``, ``init``, ``repr``, ``hash``, ``compare``, " "``metadata``, and ``kw_only`` have the identical meaning and values as they " "do in the :func:`field` function." msgstr "" -#: library/dataclasses.rst:312 +#: library/dataclasses.rst:313 msgid "" "Other attributes may exist, but they are private and must not be inspected " "or relied on." msgstr "" -#: library/dataclasses.rst:317 +#: library/dataclasses.rst:318 msgid "" "Returns a tuple of :class:`Field` objects that define the fields for this " "dataclass. Accepts either a dataclass, or an instance of a dataclass. " @@ -395,7 +395,7 @@ msgid "" "not return pseudo-fields which are ``ClassVar`` or ``InitVar``." msgstr "" -#: library/dataclasses.rst:324 +#: library/dataclasses.rst:325 msgid "" "Converts the dataclass ``obj`` to a dict (by using the factory function " "``dict_factory``). Each dataclass is converted to a dict of its fields, as " @@ -403,21 +403,21 @@ msgid "" "into. Other objects are copied with :func:`copy.deepcopy`." msgstr "" -#: library/dataclasses.rst:330 +#: library/dataclasses.rst:331 msgid "Example of using :func:`asdict` on nested dataclasses::" msgstr "" -#: library/dataclasses.rst:367 +#: library/dataclasses.rst:368 msgid "To create a shallow copy, the following workaround may be used::" msgstr "" -#: library/dataclasses.rst:351 +#: library/dataclasses.rst:352 msgid "" ":func:`asdict` raises :exc:`TypeError` if ``obj`` is not a dataclass " "instance." msgstr "" -#: library/dataclasses.rst:356 +#: library/dataclasses.rst:357 msgid "" "Converts the dataclass ``obj`` to a tuple (by using the factory function " "``tuple_factory``). Each dataclass is converted to a tuple of its field " @@ -425,17 +425,17 @@ msgid "" "objects are copied with :func:`copy.deepcopy`." msgstr "" -#: library/dataclasses.rst:362 +#: library/dataclasses.rst:363 msgid "Continuing from the previous example::" msgstr "" -#: library/dataclasses.rst:371 +#: library/dataclasses.rst:372 msgid "" ":func:`astuple` raises :exc:`TypeError` if ``obj`` is not a dataclass " "instance." msgstr "" -#: library/dataclasses.rst:376 +#: library/dataclasses.rst:377 msgid "" "Creates a new dataclass with name ``cls_name``, fields as defined in " "``fields``, base classes as given in ``bases``, and initialized with a " @@ -447,7 +447,7 @@ msgid "" "have the same meaning as they do in :func:`dataclass`." msgstr "" -#: library/dataclasses.rst:386 +#: library/dataclasses.rst:387 msgid "" "This function is not strictly required, because any Python mechanism for " "creating a new class with ``__annotations__`` can then apply the :func:" @@ -455,11 +455,11 @@ msgid "" "provided as a convenience. For example::" msgstr "" -#: library/dataclasses.rst:398 +#: library/dataclasses.rst:399 msgid "Is equivalent to::" msgstr "" -#: library/dataclasses.rst:411 +#: library/dataclasses.rst:412 msgid "" "Creates a new object of the same type as ``obj``, replacing fields with " "values from ``changes``. If ``obj`` is not a Data Class, raises :exc:" @@ -467,27 +467,27 @@ msgid "" "`TypeError`." msgstr "" -#: library/dataclasses.rst:416 +#: library/dataclasses.rst:417 msgid "" "The newly returned object is created by calling the :meth:`__init__` method " "of the dataclass. This ensures that :meth:`__post_init__`, if present, is " "also called." msgstr "" -#: library/dataclasses.rst:420 +#: library/dataclasses.rst:421 msgid "" "Init-only variables without default values, if any exist, must be specified " "on the call to :func:`replace` so that they can be passed to :meth:" "`__init__` and :meth:`__post_init__`." msgstr "" -#: library/dataclasses.rst:424 +#: library/dataclasses.rst:425 msgid "" "It is an error for ``changes`` to contain any fields that are defined as " "having ``init=False``. A :exc:`ValueError` will be raised in this case." msgstr "" -#: library/dataclasses.rst:428 +#: library/dataclasses.rst:429 msgid "" "Be forewarned about how ``init=False`` fields work during a call to :func:" "`replace`. They are not copied from the source object, but rather are " @@ -498,24 +498,24 @@ msgid "" "instance copying." msgstr "" -#: library/dataclasses.rst:439 +#: library/dataclasses.rst:440 msgid "" "Return ``True`` if its parameter is a dataclass or an instance of one, " "otherwise return ``False``." msgstr "" -#: library/dataclasses.rst:442 +#: library/dataclasses.rst:443 msgid "" "If you need to know if a class is an instance of a dataclass (and not a " "dataclass itself), then add a further check for ``not isinstance(obj, " "type)``::" msgstr "" -#: library/dataclasses.rst:451 +#: library/dataclasses.rst:452 msgid "A sentinel value signifying a missing default or default_factory." msgstr "" -#: library/dataclasses.rst:455 +#: library/dataclasses.rst:456 msgid "" "A sentinel value used as a type annotation. Any fields after a pseudo-field " "with the type of :const:`KW_ONLY` are marked as keyword-only fields. Note " @@ -526,30 +526,30 @@ msgid "" "is instantiated." msgstr "" -#: library/dataclasses.rst:464 +#: library/dataclasses.rst:465 msgid "" "In this example, the fields ``y`` and ``z`` will be marked as keyword-only " "fields::" msgstr "" -#: library/dataclasses.rst:475 +#: library/dataclasses.rst:476 msgid "" "In a single dataclass, it is an error to specify more than one field whose " "type is :const:`KW_ONLY`." msgstr "" -#: library/dataclasses.rst:482 +#: library/dataclasses.rst:483 msgid "" "Raised when an implicitly defined :meth:`__setattr__` or :meth:`__delattr__` " "is called on a dataclass which was defined with ``frozen=True``. It is a " "subclass of :exc:`AttributeError`." msgstr "" -#: library/dataclasses.rst:487 +#: library/dataclasses.rst:488 msgid "Post-init processing" msgstr "" -#: library/dataclasses.rst:489 +#: library/dataclasses.rst:490 msgid "" "The generated :meth:`__init__` code will call a method named :meth:" "`__post_init__`, if :meth:`__post_init__` is defined on the class. It will " @@ -559,13 +559,13 @@ msgid "" "generated, then :meth:`__post_init__` will not automatically be called." msgstr "" -#: library/dataclasses.rst:497 +#: library/dataclasses.rst:498 msgid "" "Among other uses, this allows for initializing field values that depend on " "one or more other fields. For example::" msgstr "" -#: library/dataclasses.rst:509 +#: library/dataclasses.rst:510 msgid "" "The :meth:`__init__` method generated by :func:`dataclass` does not call " "base class :meth:`__init__` methods. If the base class has an :meth:" @@ -573,41 +573,41 @@ msgid "" "a :meth:`__post_init__` method::" msgstr "" -#: library/dataclasses.rst:526 +#: library/dataclasses.rst:527 msgid "" "Note, however, that in general the dataclass-generated :meth:`__init__` " "methods don't need to be called, since the derived dataclass will take care " "of initializing all fields of any base class that is a dataclass itself." msgstr "" -#: library/dataclasses.rst:530 +#: library/dataclasses.rst:531 msgid "" "See the section below on init-only variables for ways to pass parameters to :" "meth:`__post_init__`. Also see the warning about how :func:`replace` " "handles ``init=False`` fields." msgstr "" -#: library/dataclasses.rst:535 +#: library/dataclasses.rst:536 msgid "Class variables" msgstr "" -#: library/dataclasses.rst:537 +#: library/dataclasses.rst:538 msgid "" -"One of two places where :func:`dataclass` actually inspects the type of a " -"field is to determine if a field is a class variable as defined in :pep:" +"One of the few places where :func:`dataclass` actually inspects the type of " +"a field is to determine if a field is a class variable as defined in :pep:" "`526`. It does this by checking if the type of the field is ``typing." "ClassVar``. If a field is a ``ClassVar``, it is excluded from consideration " "as a field and is ignored by the dataclass mechanisms. Such ``ClassVar`` " "pseudo-fields are not returned by the module-level :func:`fields` function." msgstr "" -#: library/dataclasses.rst:546 +#: library/dataclasses.rst:547 msgid "Init-only variables" msgstr "" -#: library/dataclasses.rst:548 +#: library/dataclasses.rst:549 msgid "" -"The other place where :func:`dataclass` inspects a type annotation is to " +"Another place where :func:`dataclass` inspects a type annotation is to " "determine if a field is an init-only variable. It does this by seeing if " "the type of a field is of type ``dataclasses.InitVar``. If a field is an " "``InitVar``, it is considered a pseudo-field called an init-only field. As " @@ -617,23 +617,23 @@ msgid "" "`__post_init__` method. They are not otherwise used by dataclasses." msgstr "" -#: library/dataclasses.rst:558 +#: library/dataclasses.rst:559 msgid "" "For example, suppose a field will be initialized from a database, if a value " "is not provided when creating the class::" msgstr "" -#: library/dataclasses.rst:573 +#: library/dataclasses.rst:574 msgid "" "In this case, :func:`fields` will return :class:`Field` objects for ``i`` " "and ``j``, but not for ``database``." msgstr "" -#: library/dataclasses.rst:577 +#: library/dataclasses.rst:578 msgid "Frozen instances" msgstr "" -#: library/dataclasses.rst:579 +#: library/dataclasses.rst:580 msgid "" "It is not possible to create truly immutable Python objects. However, by " "passing ``frozen=True`` to the :meth:`dataclass` decorator you can emulate " @@ -642,18 +642,18 @@ msgid "" "`FrozenInstanceError` when invoked." msgstr "" -#: library/dataclasses.rst:585 +#: library/dataclasses.rst:586 msgid "" "There is a tiny performance penalty when using ``frozen=True``: :meth:" "`__init__` cannot use simple assignment to initialize fields, and must use :" "meth:`object.__setattr__`." msgstr "" -#: library/dataclasses.rst:590 +#: library/dataclasses.rst:591 msgid "Inheritance" msgstr "" -#: library/dataclasses.rst:592 +#: library/dataclasses.rst:593 msgid "" "When the dataclass is being created by the :meth:`dataclass` decorator, it " "looks through all of the class's base classes in reverse MRO (that is, " @@ -665,21 +665,21 @@ msgid "" "derived classes override base classes. An example::" msgstr "" -#: library/dataclasses.rst:612 +#: library/dataclasses.rst:613 msgid "" "The final list of fields is, in order, ``x``, ``y``, ``z``. The final type " "of ``x`` is ``int``, as specified in class ``C``." msgstr "" -#: library/dataclasses.rst:615 +#: library/dataclasses.rst:616 msgid "The generated :meth:`__init__` method for ``C`` will look like::" msgstr "" -#: library/dataclasses.rst:620 +#: library/dataclasses.rst:621 msgid "Re-ordering of keyword-only parameters in :meth:`__init__`" msgstr "" -#: library/dataclasses.rst:622 +#: library/dataclasses.rst:623 msgid "" "After the parameters needed for :meth:`__init__` are computed, any keyword-" "only parameters are moved to come after all regular (non-keyword-only) " @@ -687,41 +687,41 @@ msgid "" "implemented in Python: they must come after non-keyword-only parameters." msgstr "" -#: library/dataclasses.rst:628 +#: library/dataclasses.rst:629 msgid "" "In this example, ``Base.y``, ``Base.w``, and ``D.t`` are keyword-only " "fields, and ``Base.x`` and ``D.z`` are regular fields::" msgstr "" -#: library/dataclasses.rst:643 +#: library/dataclasses.rst:644 msgid "The generated :meth:`__init__` method for ``D`` will look like::" msgstr "" -#: library/dataclasses.rst:647 +#: library/dataclasses.rst:648 msgid "" "Note that the parameters have been re-ordered from how they appear in the " "list of fields: parameters derived from regular fields are followed by " "parameters derived from keyword-only fields." msgstr "" -#: library/dataclasses.rst:651 +#: library/dataclasses.rst:652 msgid "" "The relative ordering of keyword-only parameters is maintained in the re-" "ordered :meth:`__init__` parameter list." msgstr "" -#: library/dataclasses.rst:656 +#: library/dataclasses.rst:657 msgid "Default factory functions" msgstr "" -#: library/dataclasses.rst:658 +#: library/dataclasses.rst:659 msgid "" "If a :func:`field` specifies a ``default_factory``, it is called with zero " "arguments when a default value for the field is needed. For example, to " "create a new instance of a list, use::" msgstr "" -#: library/dataclasses.rst:664 +#: library/dataclasses.rst:665 msgid "" "If a field is excluded from :meth:`__init__` (using ``init=False``) and the " "field also specifies ``default_factory``, then the default factory function " @@ -729,31 +729,31 @@ msgid "" "happens because there is no other way to give the field an initial value." msgstr "" -#: library/dataclasses.rst:671 +#: library/dataclasses.rst:672 msgid "Mutable default values" msgstr "" -#: library/dataclasses.rst:673 +#: library/dataclasses.rst:674 msgid "" "Python stores default member variable values in class attributes. Consider " "this example, not using dataclasses::" msgstr "" -#: library/dataclasses.rst:688 +#: library/dataclasses.rst:689 msgid "" "Note that the two instances of class ``C`` share the same class variable " "``x``, as expected." msgstr "" -#: library/dataclasses.rst:691 +#: library/dataclasses.rst:692 msgid "Using dataclasses, *if* this code was valid::" msgstr "" -#: library/dataclasses.rst:699 +#: library/dataclasses.rst:700 msgid "it would generate code similar to::" msgstr "" -#: library/dataclasses.rst:710 +#: library/dataclasses.rst:711 msgid "" "This has the same issue as the original example using class ``C``. That is, " "two instances of class ``D`` that do not specify a value for ``x`` when " @@ -766,37 +766,37 @@ msgid "" "errors." msgstr "" -#: library/dataclasses.rst:721 +#: library/dataclasses.rst:722 msgid "" "Using default factory functions is a way to create new instances of mutable " "types as default values for fields::" msgstr "" -#: library/dataclasses.rst:731 +#: library/dataclasses.rst:732 msgid "Descriptor-typed fields" msgstr "" -#: library/dataclasses.rst:733 +#: library/dataclasses.rst:734 msgid "" "Fields that are assigned :ref:`descriptor objects ` as their " "default value have the following special behaviors:" msgstr "" -#: library/dataclasses.rst:736 +#: library/dataclasses.rst:737 msgid "" "The value for the field passed to the dataclass's ``__init__`` method is " "passed to the descriptor's ``__set__`` method rather than overwriting the " "descriptor object." msgstr "" -#: library/dataclasses.rst:739 +#: library/dataclasses.rst:740 msgid "" "Similarly, when getting or setting the field, the descriptor's ``__get__`` " "or ``__set__`` method is called rather than returning or overwriting the " "descriptor object." msgstr "" -#: library/dataclasses.rst:742 +#: library/dataclasses.rst:743 msgid "" "To determine whether a field contains a default value, ``dataclasses`` will " "call the descriptor's ``__get__`` method using its class access form (i.e. " @@ -806,7 +806,7 @@ msgid "" "default value will be provided for the field." msgstr "" -#: library/dataclasses.rst:777 +#: library/dataclasses.rst:778 msgid "" "Note that if a field is annotated with a descriptor type, but is not " "assigned a descriptor object as its default value, the field will act like a " diff --git a/library/datetime.po b/library/datetime.po index 9284c21ac..4ed6b9a8e 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1601,8 +1601,8 @@ msgstr "" msgid "" "Because naive ``datetime`` objects are treated by many ``datetime`` methods " "as local times, it is preferred to use aware datetimes to represent times in " -"UTC; as a result, using ``utcfromtimetuple`` may give misleading results. If " -"you have a naive ``datetime`` representing UTC, use ``datetime." +"UTC; as a result, using :meth:`datetime.utctimetuple` may give misleading " +"results. If you have a naive ``datetime`` representing UTC, use ``datetime." "replace(tzinfo=timezone.utc)`` to make it aware, at which point you can use :" "meth:`.datetime.timetuple`." msgstr "" @@ -3082,7 +3082,7 @@ msgstr "" #: library/datetime.rst:2572 msgid "" "When used with the :meth:`strptime` method, the leading zero is optional " -"for formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%J``, ``%U``, " +"for formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%j``, ``%U``, " "``%W``, and ``%V``. Format ``%y`` does require a leading zero." msgstr "" diff --git a/library/email.mime.po b/library/email.mime.po index 74d5b9e58..9c9c5c848 100644 --- a/library/email.mime.po +++ b/library/email.mime.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -160,9 +160,9 @@ msgstr "" msgid "" "A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the :class:" "`MIMEApplication` class is used to represent MIME message objects of major " -"type :mimetype:`application`. *_data* is a string containing the raw byte " -"data. Optional *_subtype* specifies the MIME subtype and defaults to :" -"mimetype:`octet-stream`." +"type :mimetype:`application`. *_data* contains the bytes for the raw " +"application data. Optional *_subtype* specifies the MIME subtype and " +"defaults to :mimetype:`octet-stream`." msgstr "" #: library/email.mime.rst:121 @@ -189,7 +189,7 @@ msgstr "" msgid "" "A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the :class:" "`MIMEAudio` class is used to create MIME message objects of major type :" -"mimetype:`audio`. *_audiodata* is a string containing the raw audio data. " +"mimetype:`audio`. *_audiodata* contains the bytes for the raw audio data. " "If this data can be decoded by the standard Python module :mod:`sndhdr`, " "then the subtype will be automatically included in the :mailheader:`Content-" "Type` header. Otherwise you can explicitly specify the audio subtype via the " @@ -217,7 +217,7 @@ msgstr "" msgid "" "A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the :class:" "`MIMEImage` class is used to create MIME message objects of major type :" -"mimetype:`image`. *_imagedata* is a string containing the raw image data. " +"mimetype:`image`. *_imagedata* contains the bytes for the raw image data. " "If this data can be decoded by the standard Python module :mod:`imghdr`, " "then the subtype will be automatically included in the :mailheader:`Content-" "Type` header. Otherwise you can explicitly specify the image subtype via the " diff --git a/library/ensurepip.po b/library/ensurepip.po index 8f41ad3bf..aef7c1095 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -195,7 +195,7 @@ msgid "" "bootstrapping operation." msgstr "" -#: library/ensurepip.rst:124 +#: library/ensurepip.rst:27 msgid "" "Raises an :ref:`auditing event ` ``ensurepip.bootstrap`` with " "argument ``root``." diff --git a/library/faulthandler.po b/library/faulthandler.po index d79deffb5..71709229b 100644 --- a/library/faulthandler.po +++ b/library/faulthandler.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -90,25 +90,48 @@ msgid "" "enable` at Python startup." msgstr "" -#: library/faulthandler.rst:48 -msgid "Dumping the traceback" +#: library/faulthandler.rst:49 +msgid "Module :mod:`pdb`" +msgstr "" + +#: library/faulthandler.rst:49 +msgid "Interactive source code debugger for Python programs." +msgstr "" + +#: library/faulthandler.rst:51 +msgid "Module :mod:`traceback`" msgstr "" #: library/faulthandler.rst:52 msgid "" +"Standard interface to extract, format and print stack traces of Python " +"programs." +msgstr "" + +#: library/faulthandler.rst:55 +msgid "Dumping the traceback" +msgstr "" + +#: library/faulthandler.rst:59 +msgid "" "Dump the tracebacks of all threads into *file*. If *all_threads* is " "``False``, dump only the current thread." msgstr "" -#: library/faulthandler.rst:73 library/faulthandler.rst:137 +#: library/faulthandler.rst:62 +msgid "" +":func:`traceback.print_tb`, which can be used to print a traceback object." +msgstr "" + +#: library/faulthandler.rst:82 library/faulthandler.rst:146 msgid "Added support for passing file descriptor to this function." msgstr "" -#: library/faulthandler.rst:60 +#: library/faulthandler.rst:69 msgid "Fault handler state" msgstr "" -#: library/faulthandler.rst:64 +#: library/faulthandler.rst:73 msgid "" "Enable the fault handler: install handlers for the :const:`SIGSEGV`, :const:" "`SIGFPE`, :const:`SIGABRT`, :const:`SIGBUS` and :const:`SIGILL` signals to " @@ -116,37 +139,37 @@ msgid "" "for every running thread. Otherwise, dump only the current thread." msgstr "" -#: library/faulthandler.rst:70 +#: library/faulthandler.rst:79 msgid "" "The *file* must be kept open until the fault handler is disabled: see :ref:" "`issue with file descriptors `." msgstr "" -#: library/faulthandler.rst:76 +#: library/faulthandler.rst:85 msgid "On Windows, a handler for Windows exception is also installed." msgstr "" -#: library/faulthandler.rst:79 +#: library/faulthandler.rst:88 msgid "" "The dump now mentions if a garbage collector collection is running if " "*all_threads* is true." msgstr "" -#: library/faulthandler.rst:85 +#: library/faulthandler.rst:94 msgid "" "Disable the fault handler: uninstall the signal handlers installed by :func:" "`enable`." msgstr "" -#: library/faulthandler.rst:90 +#: library/faulthandler.rst:99 msgid "Check if the fault handler is enabled." msgstr "" -#: library/faulthandler.rst:94 +#: library/faulthandler.rst:103 msgid "Dumping the tracebacks after a timeout" msgstr "" -#: library/faulthandler.rst:98 +#: library/faulthandler.rst:107 msgid "" "Dump the tracebacks of all threads, after a timeout of *timeout* seconds, or " "every *timeout* seconds if *repeat* is ``True``. If *exit* is ``True``, " @@ -157,58 +180,58 @@ msgid "" "a sub-second resolution." msgstr "" -#: library/faulthandler.rst:106 +#: library/faulthandler.rst:115 msgid "" "The *file* must be kept open until the traceback is dumped or :func:" "`cancel_dump_traceback_later` is called: see :ref:`issue with file " "descriptors `." msgstr "" -#: library/faulthandler.rst:110 +#: library/faulthandler.rst:119 msgid "This function is implemented using a watchdog thread." msgstr "" -#: library/faulthandler.rst:112 +#: library/faulthandler.rst:121 msgid "This function is now always available." msgstr "" -#: library/faulthandler.rst:120 +#: library/faulthandler.rst:129 msgid "Cancel the last call to :func:`dump_traceback_later`." msgstr "" -#: library/faulthandler.rst:124 +#: library/faulthandler.rst:133 msgid "Dumping the traceback on a user signal" msgstr "" -#: library/faulthandler.rst:128 +#: library/faulthandler.rst:137 msgid "" "Register a user signal: install a handler for the *signum* signal to dump " "the traceback of all threads, or of the current thread if *all_threads* is " "``False``, into *file*. Call the previous handler if chain is ``True``." msgstr "" -#: library/faulthandler.rst:132 +#: library/faulthandler.rst:141 msgid "" "The *file* must be kept open until the signal is unregistered by :func:" "`unregister`: see :ref:`issue with file descriptors `." msgstr "" -#: library/faulthandler.rst:146 +#: library/faulthandler.rst:155 msgid "Not available on Windows." msgstr "" -#: library/faulthandler.rst:142 +#: library/faulthandler.rst:151 msgid "" "Unregister a user signal: uninstall the handler of the *signum* signal " "installed by :func:`register`. Return ``True`` if the signal was registered, " "``False`` otherwise." msgstr "" -#: library/faulthandler.rst:152 +#: library/faulthandler.rst:161 msgid "Issue with file descriptors" msgstr "" -#: library/faulthandler.rst:154 +#: library/faulthandler.rst:163 msgid "" ":func:`enable`, :func:`dump_traceback_later` and :func:`register` keep the " "file descriptor of their *file* argument. If the file is closed and its file " @@ -217,11 +240,11 @@ msgid "" "Call these functions again each time that the file is replaced." msgstr "" -#: library/faulthandler.rst:162 +#: library/faulthandler.rst:171 msgid "Example" msgstr "" -#: library/faulthandler.rst:164 +#: library/faulthandler.rst:173 msgid "" "Example of a segmentation fault on Linux with and without enabling the fault " "handler:" diff --git a/library/fcntl.po b/library/fcntl.po index 50968a544..34d3af4a3 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -92,7 +92,7 @@ msgstr "" msgid "If the :c:func:`fcntl` fails, an :exc:`OSError` is raised." msgstr "" -#: library/fcntl.rst:72 +#: library/fcntl.rst:20 msgid "" "Raises an :ref:`auditing event ` ``fcntl.fcntl`` with arguments " "``fd``, ``cmd``, ``arg``." @@ -158,7 +158,7 @@ msgstr "" msgid "An example::" msgstr "" -#: library/fcntl.rst:123 +#: library/fcntl.rst:47 msgid "" "Raises an :ref:`auditing event ` ``fcntl.ioctl`` with arguments " "``fd``, ``request``, ``arg``." @@ -176,7 +176,7 @@ msgstr "" msgid "If the :c:func:`flock` fails, an :exc:`OSError` exception is raised." msgstr "" -#: library/fcntl.rst:135 +#: library/fcntl.rst:8 msgid "" "Raises an :ref:`auditing event ` ``fcntl.flock`` with arguments " "``fd``, ``operation``." @@ -241,7 +241,7 @@ msgid "" "file. The default for *whence* is also 0." msgstr "" -#: library/fcntl.rst:170 +#: library/fcntl.rst:31 msgid "" "Raises an :ref:`auditing event ` ``fcntl.lockf`` with arguments " "``fd``, ``cmd``, ``len``, ``start``, ``whence``." diff --git a/library/ftplib.po b/library/ftplib.po index bf1c4918b..8589362c2 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -196,7 +196,7 @@ msgid "" "port)`` for the socket to bind to as its source address before connecting." msgstr "" -#: library/ftplib.rst:210 +#: library/ftplib.rst:13 msgid "" "Raises an :ref:`auditing event ` ``ftplib.connect`` with arguments " "``self``, ``host``, ``port``." @@ -232,7 +232,7 @@ msgid "" "Send a simple command string to the server and return the response string." msgstr "" -#: library/ftplib.rst:254 +#: library/ftplib.rst:5 msgid "" "Raises an :ref:`auditing event ` ``ftplib.sendcmd`` with arguments " "``self``, ``cmd``." diff --git a/library/functions.po b/library/functions.po index 776a5b57d..0c6d6c012 100644 --- a/library/functions.po +++ b/library/functions.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: 2022-07-10 23:37+0300\n" "Last-Translator: \n" "Language-Team: TURKISH\n" @@ -494,7 +494,7 @@ msgstr "" "Eğer ön ek olarak \"0b\" isteniyorsa veya istenmiyorsa, aşağıdaki gibi iki " "şekilde de kullanabilirsiniz." -#: library/functions.rst:808 library/functions.rst:1112 +#: library/functions.rst:811 library/functions.rst:1119 msgid "See also :func:`format` for more information." msgstr "Ayrıca daha fazla bilgi için :func:`format` 'a bakabilirsiniz." @@ -514,7 +514,7 @@ msgstr "" "sınıfıdır (bkz. :ref:`typesnumeric`). Daha fazla alt sınıfa ayrılamaz. Bunun " "tek örnekleri ``False`` ve ``True`` 'dur (bkz. :ref:`bltin-boolean-values`)." -#: library/functions.rst:675 library/functions.rst:892 +#: library/functions.rst:678 library/functions.rst:899 msgid "*x* is now a positional-only parameter." msgstr "*x* artık yalnızca konumsal bir parametredir." @@ -541,7 +541,7 @@ msgstr "" "func:`breakpoint` otomatik olarak bunu çağırır ve tercih ettiğiniz hata " "ayıklayıcıya girmenize izin verir." -#: library/functions.rst:170 +#: library/functions.rst:13 msgid "" "Raises an :ref:`auditing event ` ``builtins.breakpoint`` with " "argument ``breakpointhook``." @@ -854,7 +854,7 @@ msgstr "" "Python kodunu onun AST temsiline ayrıştırmak isterseniz, :func:`ast.parse` " "'a bakınız." -#: library/functions.rst:324 +#: library/functions.rst:47 msgid "" "Raises an :ref:`auditing event ` ``compile`` with arguments " "``source``, ``filename``." @@ -963,7 +963,7 @@ msgstr "" msgid "The complex type is described in :ref:`typesnumeric`." msgstr "Karmaşık tür, :ref:`typesnumeric` kısmında açıklanmıştır." -#: library/functions.rst:672 library/functions.rst:889 +#: library/functions.rst:675 library/functions.rst:896 msgid "Grouping digits with underscores as in code literals is allowed." msgstr "" "Rakamların, kod sabitlerinde olduğu gibi alt çizgi ile gruplandırılmasına " @@ -1224,7 +1224,7 @@ msgstr "" "değerlendirebilen bir fonksiyon arıyorsanız, :func:`ast.literal_eval` 'a " "bakınız." -#: library/functions.rst:582 +#: library/functions.rst:43 msgid "" "Raises an :ref:`auditing event ` ``exec`` with argument " "``code_object``." @@ -1360,14 +1360,15 @@ msgid "Return a floating point number constructed from a number or string *x*." msgstr "Bir numara veya string *x* 'ten oluşturulan bir reel sayı döndürür." #: library/functions.rst:626 +#, fuzzy msgid "" "If the argument is a string, it should contain a decimal number, optionally " "preceded by a sign, and optionally embedded in whitespace. The optional " "sign may be ``'+'`` or ``'-'``; a ``'+'`` sign has no effect on the value " "produced. The argument may also be a string representing a NaN (not-a-" "number), or positive or negative infinity. More precisely, the input must " -"conform to the following grammar after leading and trailing whitespace " -"characters are removed:" +"conform to the ``floatvalue`` production rule in the following grammar, " +"after leading and trailing whitespace characters are removed:" msgstr "" "Eğer argüman dize ise, bir ondalık sayı içermelidir. isteğe bağlı olarak " "önünde bir işaret bulunabilir veya boşluk içine gömülebilir. Opsiyonel " @@ -1377,19 +1378,20 @@ msgstr "" "karakterleri kaldırıldıktan sonra veri girişi aşağıdaki dilbilgisine uygun " "olmalıdır:" -#: library/functions.rst:641 +#: library/functions.rst:644 +#, fuzzy msgid "" -"Here ``floatnumber`` is the form of a Python floating-point literal, " -"described in :ref:`floating`. Case is not significant, so, for example, " -"\"inf\", \"Inf\", \"INFINITY\", and \"iNfINity\" are all acceptable " -"spellings for positive infinity." +"Here ``digit`` is a Unicode decimal digit (character in the Unicode general " +"category ``Nd``). Case is not significant, so, for example, \"inf\", " +"\"Inf\", \"INFINITY\", and \"iNfINity\" are all acceptable spellings for " +"positive infinity." msgstr "" ":ref:`floating` kısmında açıklanan ``floatnumber``, Python floating-point " "tanımının farklı bir biçimidir. Durum önemli değildir, örneğin \"inf\", " "\"Inf\", \"INFINITY\" ve \"iNfINity\" hepsi pozitif sonsuz için kabul " "edilebilir yazımlardır." -#: library/functions.rst:646 +#: library/functions.rst:649 msgid "" "Otherwise, if the argument is an integer or a floating point number, a " "floating point number with the same value (within Python's floating point " @@ -1400,7 +1402,7 @@ msgstr "" "sayı döndürülür. Eğer argüman Python reel sayı aralığının dışındaysa, :exc:" "`OverflowError` hatası ortaya çıkar." -#: library/functions.rst:651 +#: library/functions.rst:654 msgid "" "For a general Python object ``x``, ``float(x)`` delegates to ``x." "__float__()``. If ``__float__()`` is not defined then it falls back to :" @@ -1410,24 +1412,24 @@ msgstr "" "fonksiyonuna delege eder. Eğer ``__float__()`` tanımlanmamışsa, :meth:" "`__index__` 'e geri döner." -#: library/functions.rst:655 +#: library/functions.rst:658 msgid "If no argument is given, ``0.0`` is returned." msgstr "Argüman verilmediyse, ``0.0`` döndürülür." -#: library/functions.rst:657 +#: library/functions.rst:660 msgid "Examples::" msgstr "Örnekler::" -#: library/functions.rst:670 +#: library/functions.rst:673 msgid "The float type is described in :ref:`typesnumeric`." msgstr "Float tipi :ref:`typesnumeric` kısmında açıklandı." -#: library/functions.rst:678 +#: library/functions.rst:681 msgid "Falls back to :meth:`__index__` if :meth:`__float__` is not defined." msgstr "" ":meth:`__float__` tanımlanmadıysa, :meth:`__index__` konumuna geri döner." -#: library/functions.rst:688 +#: library/functions.rst:691 msgid "" "Convert a *value* to a \"formatted\" representation, as controlled by " "*format_spec*. The interpretation of *format_spec* will depend on the type " @@ -1440,7 +1442,7 @@ msgstr "" "tiplerde kullanılan :ref:`formatspec` adında bir standart biçimlendirme " "sözdizimi var." -#: library/functions.rst:693 +#: library/functions.rst:696 msgid "" "The default *format_spec* is an empty string which usually gives the same " "effect as calling :func:`str(value) `." @@ -1448,7 +1450,7 @@ msgstr "" "Varsayılan *format_spec*, :func:`str(value) ` fonksiyonunu çağırmakla " "aynı etkiyi gösteren boş bir dizedir." -#: library/functions.rst:696 +#: library/functions.rst:699 msgid "" "A call to ``format(value, format_spec)`` is translated to ``type(value)." "__format__(value, format_spec)`` which bypasses the instance dictionary when " @@ -1463,7 +1465,7 @@ msgstr "" "*format_spec* boş değilse, veya *format_spec* veya döndürülen değer dize " "değilse, :exc:`TypeError` hatası ortaya çıkar." -#: library/functions.rst:703 +#: library/functions.rst:706 msgid "" "``object().__format__(format_spec)`` raises :exc:`TypeError` if " "*format_spec* is not an empty string." @@ -1471,7 +1473,7 @@ msgstr "" "*format_spec* boş bir dize değilse, ``object().__format__(format_spec)``, :" "exc:`TypeError` hatasını ortaya çıkartır." -#: library/functions.rst:712 +#: library/functions.rst:715 msgid "" "Return a new :class:`frozenset` object, optionally with elements taken from " "*iterable*. ``frozenset`` is a built-in class. See :class:`frozenset` and :" @@ -1482,7 +1484,7 @@ msgstr "" "hakkında dokümantasyona ulaşmak için :class:`frozenset` ve :ref:`types-set` " "'e bakınız." -#: library/functions.rst:716 +#: library/functions.rst:719 msgid "" "For other containers see the built-in :class:`set`, :class:`list`, :class:" "`tuple`, and :class:`dict` classes, as well as the :mod:`collections` module." @@ -1491,7 +1493,7 @@ msgstr "" "`tuple`, ve :class:`dict` sınıflarına, ayrıca :mod:`collections` modülüne " "bakabilirsiniz." -#: library/functions.rst:723 +#: library/functions.rst:726 #, fuzzy msgid "" "Return the value of the named attribute of *object*. *name* must be a " @@ -1508,7 +1510,7 @@ msgstr "" "*default* sağlanmışsa döndürülür, aksi takdirde :exc:`AttributeError` hatası " "ortaya çıkar." -#: library/functions.rst:732 +#: library/functions.rst:735 msgid "" "Since :ref:`private name mangling ` happens at " "compilation time, one must manually mangle a private attribute's (attributes " @@ -1519,7 +1521,7 @@ msgstr "" "gerçekleştiğinden dolayı, :func:`getattr` ile almak için özel bir niteliğin " "(baştaki iki alt çizgili nitelikler) adını manuel olarak değiştirmek gerekir." -#: library/functions.rst:740 +#: library/functions.rst:743 msgid "" "Return the dictionary implementing the current module namespace. For code " "within functions, this is set when the function is defined and remains the " @@ -1529,7 +1531,7 @@ msgstr "" "için, bu fonksiyon tanımlandığında ayarlanır ve fonksiyonun çağrıldığı " "yerden bağımsız olarak aynı kalır." -#: library/functions.rst:747 +#: library/functions.rst:750 msgid "" "The arguments are an object and a string. The result is ``True`` if the " "string is the name of one of the object's attributes, ``False`` if not. " @@ -1541,7 +1543,7 @@ msgstr "" "'i çağırarak uygulanır ve :exc:`AttributeError` hatası oluşup oluşmayacağı " "görülür.)" -#: library/functions.rst:755 +#: library/functions.rst:758 msgid "" "Return the hash value of the object (if it has one). Hash values are " "integers. They are used to quickly compare dictionary keys during a " @@ -1554,7 +1556,7 @@ msgstr "" "değerler aynı karma değere sahiptir (1 ve 1.0 durumunda olduğu gibi farklı " "veri tiplerinde olsalar bile)." -#: library/functions.rst:762 +#: library/functions.rst:765 msgid "" "For objects with custom :meth:`__hash__` methods, note that :func:`hash` " "truncates the return value based on the bit width of the host machine. See :" @@ -1564,7 +1566,7 @@ msgstr "" "makinenin bit genişliğine göre döndürdüğü değeri kestiğini unutmayın. " "Detaylar için :meth:`__hash__` 'e bakınız." -#: library/functions.rst:768 +#: library/functions.rst:771 msgid "" "Invoke the built-in help system. (This function is intended for interactive " "use.) If no argument is given, the interactive help system starts on the " @@ -1580,7 +1582,7 @@ msgstr "" "dizeye bakılır ve bir yardım sayfası konsola bastırılır. Eğer argüman başka " "tipte bir nesne ise, nesne üzerinde bir yardım sayfası oluşturulur." -#: library/functions.rst:775 +#: library/functions.rst:778 msgid "" "Note that if a slash(/) appears in the parameter list of a function when " "invoking :func:`help`, it means that the parameters prior to the slash are " @@ -1593,13 +1595,13 @@ msgstr "" "konumsalparametrelerle ilgili SSS girişi ` " "'ne bakınız." -#: library/functions.rst:780 +#: library/functions.rst:783 msgid "" "This function is added to the built-in namespace by the :mod:`site` module." msgstr "" "Bu fonksiyon :mod:`site` modülü tarafından yerleşik ad alanına eklenir." -#: library/functions.rst:782 +#: library/functions.rst:785 msgid "" "Changes to :mod:`pydoc` and :mod:`inspect` mean that the reported signatures " "for callables are now more comprehensive and consistent." @@ -1608,7 +1610,7 @@ msgstr "" "için rapor edilen damgaların artık daha kapsamlı ve tutarlı olduğunu ifade " "eder." -#: library/functions.rst:789 +#: library/functions.rst:792 msgid "" "Convert an integer number to a lowercase hexadecimal string prefixed with " "\"0x\". If *x* is not a Python :class:`int` object, it has to define an :" @@ -1618,7 +1620,7 @@ msgstr "" "dizeye dönüştürür. Eğer *x* Python :class:`int` nesnesi değilse, tam sayı " "döndüren bir :meth:`__index__` metoduna sahip olmalidir. Bazı örnekler:" -#: library/functions.rst:798 +#: library/functions.rst:801 msgid "" "If you want to convert an integer number to an uppercase or lower " "hexadecimal string with prefix or not, you can use either of the following " @@ -1627,7 +1629,7 @@ msgstr "" "Eğer bir tam sayıyı büyük harf-küçük harf, önekli-öneksiz bir onaltılık " "sayıya dönüştürmek istiyorsanız, aşağıdaki yolları kullanabilirsiniz:" -#: library/functions.rst:810 +#: library/functions.rst:813 msgid "" "See also :func:`int` for converting a hexadecimal string to an integer using " "a base of 16." @@ -1635,7 +1637,7 @@ msgstr "" "Ayrıca onaltılık bir dizgiyi 16 tabanını kullanarak bir tam sayıya " "dönüştürmek için :func:`int` 'e bakınız." -#: library/functions.rst:815 +#: library/functions.rst:818 msgid "" "To obtain a hexadecimal string representation for a float, use the :meth:" "`float.hex` method." @@ -1643,7 +1645,7 @@ msgstr "" "Bir gerçel sayıdan onaltılık bir dize gösterimi elde etmek için :meth:`float." "hex` metodunu kullanın." -#: library/functions.rst:821 +#: library/functions.rst:824 msgid "" "Return the \"identity\" of an object. This is an integer which is " "guaranteed to be unique and constant for this object during its lifetime. " @@ -1654,11 +1656,11 @@ msgstr "" "sabit olduğu garanti edilen bir tam sayıdır. Ömürleri örtüşmeyen iki nesne " "aynı :func:`id` değerine sahip olabilir." -#: library/functions.rst:826 +#: library/functions.rst:829 msgid "This is the address of the object in memory." msgstr "" -#: library/functions.rst:828 +#: library/functions.rst:8 msgid "" "Raises an :ref:`auditing event ` ``builtins.id`` with argument " "``id``." @@ -1666,7 +1668,7 @@ msgstr "" "``id`` argümanıyla beraber bir :ref:`denetleme olayı ` ``builtins." "id`` ortaya çıkartır." -#: library/functions.rst:833 +#: library/functions.rst:836 msgid "" "If the *prompt* argument is present, it is written to standard output " "without a trailing newline. The function then reads a line from input, " @@ -1678,7 +1680,7 @@ msgstr "" "bir dizeye çevirip (sondaki yeni satırı çıkartır) döndürür. EOF " "okunduğunda, :exc:`EOFError` istisnası ortaya çıkar. Örnek::" -#: library/functions.rst:843 +#: library/functions.rst:846 msgid "" "If the :mod:`readline` module was loaded, then :func:`input` will use it to " "provide elaborate line editing and history features." @@ -1686,7 +1688,7 @@ msgstr "" "Eğer :mod:`readline` modülü yüklendiyse, :func:`input` ayrıntılı satır " "düzenleme ve geçmiş özellikleri sağlamak için onu kullanacaktır." -#: library/functions.rst:846 +#: library/functions.rst:14 msgid "" "Raises an :ref:`auditing event ` ``builtins.input`` with argument " "``prompt``." @@ -1694,7 +1696,7 @@ msgstr "" "``prompt`` argümanıyla birlikte bir :ref:`denetleme olayı ` " "``builtins.input`` ortaya çıkartır." -#: library/functions.rst:848 +#: library/functions.rst:851 msgid "" "Raises an :ref:`auditing event ` ``builtins.input`` with argument " "``prompt`` before reading input" @@ -1702,7 +1704,7 @@ msgstr "" "Girişi okumadan önce, ``prompt`` argümanıyla birlikte bir :ref:`denetleme " "olayı ` ``builtins.input`` ortaya çıkartır" -#: library/functions.rst:851 +#: library/functions.rst:19 msgid "" "Raises an :ref:`auditing event ` ``builtins.input/result`` with " "argument ``result``." @@ -1710,7 +1712,7 @@ msgstr "" "``result`` argümanıyla birlikte bir :ref:`denetleme olayı ` " "``builtins.input/result`` ortaya çıkartır." -#: library/functions.rst:853 +#: library/functions.rst:856 #, fuzzy msgid "" "Raises an :ref:`auditing event ` ``builtins.input/result`` with " @@ -1719,7 +1721,7 @@ msgstr "" "Girişi başarıyla okuduktan sonra sonuçla birlikte bir ``builtins.input/" "result`` denetleme olayı ortaya çıkarır." -#: library/functions.rst:860 +#: library/functions.rst:863 msgid "" "Return an integer object constructed from a number or string *x*, or return " "``0`` if no arguments are given. If *x* defines :meth:`__int__`, ``int(x)`` " @@ -1733,20 +1735,28 @@ msgstr "" "__index__()`` 'i döndürür. *x* :meth:`__trunc__` 'ı içeriyorsa, ``x." "__trunc__()`` 'ı döndürür. Gerçel sayılar için, sayı tam sayıya çevrilir." -#: library/functions.rst:867 +#: library/functions.rst:870 msgid "" "If *x* is not a number or if *base* is given, then *x* must be a string, :" -"class:`bytes`, or :class:`bytearray` instance representing an :ref:`integer " -"literal ` in radix *base*. Optionally, the literal can be " -"preceded by ``+`` or ``-`` (with no space in between) and surrounded by " -"whitespace. A base-n literal consists of the digits 0 to n-1, with ``a`` to " -"``z`` (or ``A`` to ``Z``) having values 10 to 35. The default *base* is 10. " -"The allowed values are 0 and 2--36. Base-2, -8, and -16 literals can be " -"optionally prefixed with ``0b``/``0B``, ``0o``/``0O``, or ``0x``/``0X``, as " -"with integer literals in code. Base 0 means to interpret exactly as a code " -"literal, so that the actual base is 2, 8, 10, or 16, and so that " -"``int('010', 0)`` is not legal, while ``int('010')`` is, as well as " -"``int('010', 8)``." +"class:`bytes`, or :class:`bytearray` instance representing an integer in " +"radix *base*. Optionally, the string can be preceded by ``+`` or ``-`` " +"(with no space in between), have leading zeros, be surrounded by whitespace, " +"and have single underscores interspersed between digits." +msgstr "" + +#: library/functions.rst:876 +#, fuzzy +msgid "" +"A base-n integer string contains digits, each representing a value from 0 to " +"n-1. The values 0--9 can be represented by any Unicode decimal digit. The " +"values 10--35 can be represented by ``a`` to ``z`` (or ``A`` to ``Z``). The " +"default *base* is 10. The allowed bases are 0 and 2--36. Base-2, -8, and -16 " +"strings can be optionally prefixed with ``0b``/``0B``, ``0o``/``0O``, or " +"``0x``/``0X``, as with integer literals in code. For base 0, the string is " +"interpreted in a similar way to an :ref:`integer literal in code " +"`, in that the actual base is 2, 8, 10, or 16 as determined by the " +"prefix. Base 0 also disallows leading zeros: ``int('010', 0)`` is not legal, " +"while ``int('010')`` and ``int('010', 8)`` are." msgstr "" "Eğer *x* bir numara değilse veya *base* verildiyse, *x* bir dize, :class:" "`bytes` veya kök *base* 'inde bir :ref:`tamsayı sabiti ` temsil " @@ -1761,11 +1771,11 @@ msgstr "" "``int('010', 0)`` legal değilken, ``int('010')`` veya ``int('010', 8)`` " "legaldir." -#: library/functions.rst:880 +#: library/functions.rst:887 msgid "The integer type is described in :ref:`typesnumeric`." msgstr "Tam sayı tipi :ref:`typesnumeric` kısmında açıklandı." -#: library/functions.rst:882 +#: library/functions.rst:889 msgid "" "If *base* is not an instance of :class:`int` and the *base* object has a :" "meth:`base.__index__ ` method, that method is called to " @@ -1777,11 +1787,11 @@ msgstr "" "tamsayı elde etmek için çağrılır. Önceki sürümler :meth:`base.__index__ " "` yerine :meth:`base.__int__ ` 'i kullandı." -#: library/functions.rst:895 +#: library/functions.rst:902 msgid "Falls back to :meth:`__index__` if :meth:`__int__` is not defined." msgstr ":meth:`__int__` tanımlı değilse :meth:`__index__` konumuna geri döner." -#: library/functions.rst:898 +#: library/functions.rst:905 msgid "" ":class:`int` string inputs and string representations can be limited to help " "avoid denial of service attacks. A :exc:`ValueError` is raised when the " @@ -1791,7 +1801,7 @@ msgid "" "documentation." msgstr "" -#: library/functions.rst:909 +#: library/functions.rst:916 msgid "" "Return ``True`` if the *object* argument is an instance of the *classinfo* " "argument, or of a (direct, indirect, or :term:`virtual `." @@ -1890,7 +1900,7 @@ msgstr "" "``len``, :class:`range(2 ** 100) ` gibi :data:`sys.maxsize` 'dan daha " "geniş uzunluklar için :exc:`OverflowError` hatası ortaya çıkartır." -#: library/functions.rst:980 +#: library/functions.rst:987 msgid "" "Rather than being a function, :class:`list` is actually a mutable sequence " "type, as documented in :ref:`typesseq-list` and :ref:`typesseq`." @@ -1898,7 +1908,7 @@ msgstr "" "Bir fonksiyon görevi görmektense, :ref:`typesseq-list` ve :ref:`typesseq` de " "anlatıldığı gibi :class:`list` bir değiştirebilir dizi çeşididir." -#: library/functions.rst:986 +#: library/functions.rst:993 msgid "" "Update and return a dictionary representing the current local symbol table. " "Free variables are returned by :func:`locals` when it is called in function " @@ -1911,7 +1921,7 @@ msgstr "" "Unutmayın ki modül seviyesinde, :func:`locals` ve :func:`globals` aynı " "sözlüklerdir." -#: library/functions.rst:992 +#: library/functions.rst:999 msgid "" "The contents of this dictionary should not be modified; changes may not " "affect the values of local and free variables used by the interpreter." @@ -1920,7 +1930,7 @@ msgstr "" "tarafından kullanılan yerel ve serbest değişkenlerin değerlerini " "etkilemeyebilir." -#: library/functions.rst:997 +#: library/functions.rst:1004 msgid "" "Return an iterator that applies *function* to every item of *iterable*, " "yielding the results. If additional *iterable* arguments are passed, " @@ -1937,7 +1947,7 @@ msgstr "" "durur. Fonksiyon girdilerinin zaten demetler halinde verildiği durumlar " "için, :func:`itertools.starmap`\\ 'a bakın." -#: library/functions.rst:1008 +#: library/functions.rst:1015 msgid "" "Return the largest item in an iterable or the largest of two or more " "arguments." @@ -1945,7 +1955,7 @@ msgstr "" "Bir yineleyicinin veya birden fazla parametrenin en büyük elementini " "döndürür." -#: library/functions.rst:1011 +#: library/functions.rst:1018 msgid "" "If one positional argument is provided, it should be an :term:`iterable`. " "The largest item in the iterable is returned. If two or more positional " @@ -1956,7 +1966,7 @@ msgstr "" "pozisyonel parametre sağlandıysa, pozisyonel parametrelerin en büyüğü " "döndürülür." -#: library/functions.rst:1053 +#: library/functions.rst:1060 msgid "" "There are two optional keyword-only arguments. The *key* argument specifies " "a one-argument ordering function like that used for :meth:`list.sort`. The " @@ -1970,7 +1980,7 @@ msgstr "" "döndürülecek nesneyi belirtir. Eğer yineleyici boş ve *varsayılan* " "verilmemiş ise, :exc:`ValueError` hatası ortaya çıkar." -#: library/functions.rst:1022 +#: library/functions.rst:1029 msgid "" "If multiple items are maximal, the function returns the first one " "encountered. This is consistent with other sort-stability preserving tools " @@ -1982,15 +1992,15 @@ msgstr "" "iterable, key=keyfunc)`` gibi sıralama kararlılığı muhafaza eden araçlar ile " "uygundur." -#: library/functions.rst:1064 +#: library/functions.rst:1071 msgid "The *default* keyword-only argument." msgstr "*varsayılan* yalnızca anahtar kelime parametresi." -#: library/functions.rst:1067 +#: library/functions.rst:1074 msgid "The *key* can be ``None``." msgstr "*key* ``None`` olabilir." -#: library/functions.rst:1038 +#: library/functions.rst:1045 msgid "" "Return a \"memory view\" object created from the given argument. See :ref:" "`typememoryview` for more information." @@ -1998,7 +2008,7 @@ msgstr "" "Verilen argümandan oluşturulan bir \"memory view\" objesi döndürür. Daha " "fazla bilgi için :ref:`typememoryview` bkz." -#: library/functions.rst:1045 +#: library/functions.rst:1052 msgid "" "Return the smallest item in an iterable or the smallest of two or more " "arguments." @@ -2006,7 +2016,7 @@ msgstr "" "Bir yineleyicideki en küçük elementi veya birden fazla argümandan en " "küçüğünü döndürür." -#: library/functions.rst:1048 +#: library/functions.rst:1055 msgid "" "If one positional argument is provided, it should be an :term:`iterable`. " "The smallest item in the iterable is returned. If two or more positional " @@ -2016,7 +2026,7 @@ msgstr "" "Yineleyicinin en küçük elementi döndürülür. Eğer birden fazla argüman " "sağlandıysa, argümanların en küçüğü döndürülür." -#: library/functions.rst:1059 +#: library/functions.rst:1066 msgid "" "If multiple items are minimal, the function returns the first one " "encountered. This is consistent with other sort-stability preserving tools " @@ -2028,7 +2038,7 @@ msgstr "" "key=keyfunc)`` gibi diğer sıralama kararlılığını koruma araçlarıyla tutarlı " "çalışır." -#: library/functions.rst:1073 +#: library/functions.rst:1080 msgid "" "Retrieve the next item from the :term:`iterator` by calling its :meth:" "`~iterator.__next__` method. If *default* is given, it is returned if the " @@ -2038,7 +2048,7 @@ msgstr "" "elementi getirir. Eğer *default* verildiyse ve yineleyici tükenmiş ise " "*default* döndürülür, aksi takdirde :exc:`StopIteration` hatası ortaya çıkar." -#: library/functions.rst:1080 +#: library/functions.rst:1087 msgid "" "Return a new featureless object. :class:`object` is a base for all classes. " "It has methods that are common to all instances of Python classes. This " @@ -2048,7 +2058,7 @@ msgstr "" "temeldir. Tüm Python sınıflarında bulunan genel metotları içerir. Bu " "fonksiyon hiçbir argüman kabul etmez." -#: library/functions.rst:1086 +#: library/functions.rst:1093 msgid "" ":class:`object` does *not* have a :attr:`~object.__dict__`, so you can't " "assign arbitrary attributes to an instance of the :class:`object` class." @@ -2056,7 +2066,7 @@ msgstr "" ":class:`object`, :attr:`~object.__dict__` özelliğine sahip *değildir*, yani " "bir :class:`object` örneğine keyfi özellikler atayamazsınız." -#: library/functions.rst:1092 +#: library/functions.rst:1099 msgid "" "Convert an integer number to an octal string prefixed with \"0o\". The " "result is a valid Python expression. If *x* is not a Python :class:`int` " @@ -2067,7 +2077,7 @@ msgstr "" "Python ifadesidir. Eğer *x* bir Python :class:`int` nesnesi değilse, tamsayı " "döndüren bir :meth:`__index__` metoduna sahip olmalıdır. Örnek olarak:" -#: library/functions.rst:1102 +#: library/functions.rst:1109 msgid "" "If you want to convert an integer number to an octal string either with the " "prefix \"0o\" or not, you can use either of the following ways." @@ -2075,7 +2085,7 @@ msgstr "" "Eğer bir tamsayıyı \"0o\" ön ekiyle veya ön eksiz oktal bir dizeye " "dönüştürmek istiyorsanız, aşağıdaki yolları kullanabilirsiniz." -#: library/functions.rst:1119 +#: library/functions.rst:1126 msgid "" "Open *file* and return a corresponding :term:`file object`. If the file " "cannot be opened, an :exc:`OSError` is raised. See :ref:`tut-files` for more " @@ -2085,7 +2095,7 @@ msgstr "" "dosya açılamazsa, :exc:`OSError` hatası ortaya çıkar. Bu fonksiyonun nasıl " "kullanıldığına dair daha fazla örnek için :ref:`tut-files` bkz." -#: library/functions.rst:1123 +#: library/functions.rst:1130 msgid "" "*file* is a :term:`path-like object` giving the pathname (absolute or " "relative to the current working directory) of the file to be opened or an " @@ -2099,7 +2109,7 @@ msgstr "" "açıklayıcısı veirldiyse, *closefd*, ``False`` 'a ayarlanmadığı sürece I/O " "nesnesi kapatıldığında kapatılır." -#: library/functions.rst:1129 +#: library/functions.rst:1136 msgid "" "*mode* is an optional string that specifies the mode in which the file is " "opened. It defaults to ``'r'`` which means open for reading in text mode. " @@ -2123,71 +2133,71 @@ msgstr "" "(İşlenmemiş baytlar okumak veya yazmak için ikili modu kullanın ve " "*encoding* 'i boş bırakın. Geçerli modlar:" -#: library/functions.rst:1146 +#: library/functions.rst:1153 msgid "Character" msgstr "Karakter" -#: library/functions.rst:1146 +#: library/functions.rst:1153 msgid "Meaning" msgstr "Anlam" -#: library/functions.rst:1148 +#: library/functions.rst:1155 msgid "``'r'``" msgstr "``'r'``" -#: library/functions.rst:1148 +#: library/functions.rst:1155 msgid "open for reading (default)" msgstr "okumaya açık (varsayılan)" -#: library/functions.rst:1149 +#: library/functions.rst:1156 msgid "``'w'``" msgstr "``'w'``" -#: library/functions.rst:1149 +#: library/functions.rst:1156 msgid "open for writing, truncating the file first" msgstr "yazmaya açık, önce dosyayı keser" -#: library/functions.rst:1150 +#: library/functions.rst:1157 msgid "``'x'``" msgstr "``'x'``" -#: library/functions.rst:1150 +#: library/functions.rst:1157 msgid "open for exclusive creation, failing if the file already exists" msgstr "ayrıcalıklı oluşturma için açık, dosya varsa hata verir" -#: library/functions.rst:1151 +#: library/functions.rst:1158 msgid "``'a'``" msgstr "``'a'``" -#: library/functions.rst:1151 +#: library/functions.rst:1158 msgid "open for writing, appending to the end of file if it exists" msgstr "yazmaya açık, eğer dosya bulunuyorsa dosyaya ekleme yapar" -#: library/functions.rst:1152 +#: library/functions.rst:1159 msgid "``'b'``" msgstr "``'b'``" -#: library/functions.rst:1152 +#: library/functions.rst:1159 msgid "binary mode" msgstr "ikili mod" -#: library/functions.rst:1153 +#: library/functions.rst:1160 msgid "``'t'``" msgstr "``'t'``" -#: library/functions.rst:1153 +#: library/functions.rst:1160 msgid "text mode (default)" msgstr "metin modu (varsayılan)" -#: library/functions.rst:1154 +#: library/functions.rst:1161 msgid "``'+'``" msgstr "``'+'``" -#: library/functions.rst:1154 +#: library/functions.rst:1161 msgid "open for updating (reading and writing)" msgstr "güncellemeye açık (okuma ve yazma)" -#: library/functions.rst:1157 +#: library/functions.rst:1164 msgid "" "The default mode is ``'r'`` (open for reading text, a synonym of ``'rt'``). " "Modes ``'w+'`` and ``'w+b'`` open and truncate the file. Modes ``'r+'`` and " @@ -2197,7 +2207,7 @@ msgstr "" "``'w+'`` ve ``'w+b'`` modları dosyayı açar ve temizlerler. ``'r+'`` ve " "``'r+b'`` modları dosyayı temizlemeden açarlar." -#: library/functions.rst:1161 +#: library/functions.rst:1168 msgid "" "As mentioned in the :ref:`io-overview`, Python distinguishes between binary " "and text I/O. Files opened in binary mode (including ``'b'`` in the *mode* " @@ -2215,7 +2225,7 @@ msgstr "" "platforma bağlı bir kodlayıcı veya belirtilen *encoding* 'i kullanarak " "deşifre edilir." -#: library/functions.rst:1169 +#: library/functions.rst:1176 msgid "" "There is an additional mode character permitted, ``'U'``, which no longer " "has any effect, and is considered deprecated. It previously enabled :term:" @@ -2229,7 +2239,7 @@ msgstr "" "ederdi. Parametrenin detayları için :ref:`newline ` " "sayfasına bakınız." -#: library/functions.rst:1177 +#: library/functions.rst:1184 msgid "" "Python doesn't depend on the underlying operating system's notion of text " "files; all the processing is done by Python itself, and is therefore " @@ -2239,7 +2249,7 @@ msgstr "" "değildir. Tüm işlemler Python'un kendisi tarafından yapılır ve bu yüzden de " "platformdan bağımsızdır." -#: library/functions.rst:1181 +#: library/functions.rst:1188 #, fuzzy msgid "" "*buffering* is an optional integer used to set the buffering policy. Pass 0 " @@ -2259,7 +2269,7 @@ msgstr "" "arabelleğinin bayt cinsinden boyutunu belirtmek için birden büyük bir " "tamsayı veriniz:" -#: library/functions.rst:1191 +#: library/functions.rst:1198 msgid "" "Binary files are buffered in fixed-size chunks; the size of the buffer is " "chosen using a heuristic trying to determine the underlying device's \"block " @@ -2271,7 +2281,7 @@ msgstr "" "kullanılarak seçilir ve :attr:`io.DEFAULT_BUFFER_SIZE` değerine düşer. Çoğu " "sistemde, arabellek 4096 veya 8192 bayt uzunluğunda olacaktır." -#: library/functions.rst:1196 +#: library/functions.rst:1203 msgid "" "\"Interactive\" text files (files for which :meth:`~io.IOBase.isatty` " "returns ``True``) use line buffering. Other text files use the policy " @@ -2281,7 +2291,7 @@ msgstr "" "döndürdüğü dosyalar) satır arabelleğe almayı kullanır. Diğer metin dosyaları " "yukarıda ikili dosyalar için açıklanan poliçeyi kullanırlar." -#: library/functions.rst:1200 +#: library/functions.rst:1207 msgid "" "*encoding* is the name of the encoding used to decode or encode the file. " "This should only be used in text mode. The default encoding is platform " @@ -2296,7 +2306,7 @@ msgstr "" "kullanılabilir. Desteklenen kodlayıcıların listesi için :mod:`codecs` " "modülüne bkz." -#: library/functions.rst:1207 +#: library/functions.rst:1214 msgid "" "*errors* is an optional string that specifies how encoding and decoding " "errors are to be handled—this cannot be used in binary mode. A variety of " @@ -2310,7 +2320,7 @@ msgstr "" "`codecs.register_error` ile kaydedilen herhangi bir hata işleyici ismi de " "geçerlidir. Standart isimler bunları içerir:" -#: library/functions.rst:1215 +#: library/functions.rst:1222 msgid "" "``'strict'`` to raise a :exc:`ValueError` exception if there is an encoding " "error. The default value of ``None`` has the same effect." @@ -2319,7 +2329,7 @@ msgstr "" "yükseltmek için kullanılır. Varsayılan değer ``None`` ile aynı etkiyi " "gösterir." -#: library/functions.rst:1219 +#: library/functions.rst:1226 msgid "" "``'ignore'`` ignores errors. Note that ignoring encoding errors can lead to " "data loss." @@ -2327,7 +2337,7 @@ msgstr "" "``'ignore'`` hataları görmezden gelir. Kodlayıcı hatalarını görmezden " "gelmenin veri kaybı ile sonuçlanabileceğini unutmayın." -#: library/functions.rst:1222 +#: library/functions.rst:1229 msgid "" "``'replace'`` causes a replacement marker (such as ``'?'``) to be inserted " "where there is malformed data." @@ -2336,7 +2346,7 @@ msgstr "" "(``'?'`` gibi) 'nin hatalı biçimlendirilmiş verinin yerine geçmesine neden " "olur." -#: library/functions.rst:1225 +#: library/functions.rst:1232 msgid "" "``'surrogateescape'`` will represent any incorrect bytes as low surrogate " "code units ranging from U+DC80 to U+DCFF. These surrogate code units will " @@ -2350,7 +2360,7 @@ msgstr "" "baytlara geri döndürülecektir. Bu dosyaları bilinmeyen bir kodlayıcıyla " "işlerken kullanışlıdır." -#: library/functions.rst:1232 +#: library/functions.rst:1239 msgid "" "``'xmlcharrefreplace'`` is only supported when writing to a file. Characters " "not supported by the encoding are replaced with the appropriate XML " @@ -2360,7 +2370,7 @@ msgstr "" "Kodlayıcı tarafından desteklenmeyen karakterler uygun XML karakter örneği " "ile değiştirilir." -#: library/functions.rst:1236 +#: library/functions.rst:1243 msgid "" "``'backslashreplace'`` replaces malformed data by Python's backslashed " "escape sequences." @@ -2368,7 +2378,7 @@ msgstr "" "``'backslashreplace'`` Python'un ters slash kaçış karakterleri yüzünden " "oluşan hatalı veriyi değiştirir." -#: library/functions.rst:1239 +#: library/functions.rst:1246 msgid "" "``'namereplace'`` (also only supported when writing) replaces unsupported " "characters with ``\\N{...}`` escape sequences." @@ -2376,7 +2386,7 @@ msgstr "" "``'namereplace'`` (sadece yazarken desteklenir) desteklenmeyen karakterleri " "``\\N{...}`` kaçış karakterleriyle değiştirir." -#: library/functions.rst:1247 +#: library/functions.rst:1254 #, fuzzy msgid "" "*newline* determines how to parse newline characters from the stream. It can " @@ -2387,7 +2397,7 @@ msgstr "" "geçerlidir) nasıl çalışacağını kontrol eder. ``None``, ``''``, ``'\\n'``, " "``'\\r'`` ve ``'\\r\\n'`` olabilir. Aşağıdaki gibi çalışır:" -#: library/functions.rst:1251 +#: library/functions.rst:1258 msgid "" "When reading input from the stream, if *newline* is ``None``, universal " "newlines mode is enabled. Lines in the input can end in ``'\\n'``, " @@ -2405,7 +2415,7 @@ msgstr "" "değer verildiyse, girdi satırları sadece verilen dize ile sonlanır ve satır " "sonu çağrıcıya çevrilmeden döndürülür." -#: library/functions.rst:1259 +#: library/functions.rst:1266 msgid "" "When writing output to the stream, if *newline* is ``None``, any ``'\\n'`` " "characters written are translated to the system default line separator, :" @@ -2419,7 +2429,7 @@ msgstr "" "yapılmaz. Eğer *newline* diğer uygun değerlerden biri ise, tüm ``'\\n'`` " "karakterleri verilen dizeye dönüştürülür." -#: library/functions.rst:1265 +#: library/functions.rst:1272 msgid "" "If *closefd* is ``False`` and a file descriptor rather than a filename was " "given, the underlying file descriptor will be kept open when the file is " @@ -2431,7 +2441,7 @@ msgstr "" "Eğer bir dosya adı verildiyse, *closefd* ``True`` olmalıdır (varsayılan); " "aksi takdirde, bir hata ortaya çıkar." -#: library/functions.rst:1270 +#: library/functions.rst:1277 msgid "" "A custom opener can be used by passing a callable as *opener*. The " "underlying file descriptor for the file object is then obtained by calling " @@ -2445,11 +2455,11 @@ msgstr "" "dosya tanımlayıcısı döndürmelidir (*opener* yerine :mod:`os.open` göndermek " "fonksiyonel olarak ``None`` göndermek ile benzer sonuçlanır)." -#: library/functions.rst:1276 +#: library/functions.rst:1283 msgid "The newly created file is :ref:`non-inheritable `." msgstr "Yeni oluşturulan dosya :ref:`non-inheritable ` 'dir." -#: library/functions.rst:1278 +#: library/functions.rst:1285 msgid "" "The following example uses the :ref:`dir_fd ` parameter of the :func:" "`os.open` function to open a file relative to a given directory::" @@ -2457,7 +2467,7 @@ msgstr "" "Aşağıdaki örnek verilen bir dizine ait bir dosyayı açmak için :func:`os." "open` fonksiyonunun :ref:`dir_fd ` parametresini kullanır:" -#: library/functions.rst:1291 +#: library/functions.rst:1298 msgid "" "The type of :term:`file object` returned by the :func:`open` function " "depends on the mode. When :func:`open` is used to open a file in a text " @@ -2483,7 +2493,7 @@ msgstr "" "olduğunda, ham akış, :class:`io.RawIOBase` 'in alt sınıfı, :class:`io." "FileIO` döndürülür." -#: library/functions.rst:1312 +#: library/functions.rst:1319 msgid "" "See also the file handling modules, such as :mod:`fileinput`, :mod:`io` " "(where :func:`open` is declared), :mod:`os`, :mod:`os.path`, :mod:" @@ -2493,7 +2503,7 @@ msgstr "" "`os`, :mod:`os.path`, :mod:`tempfile`, ve :mod:`shutil` gibi dosya işleme " "modüllerine de bkz." -#: library/functions.rst:1316 +#: library/functions.rst:198 msgid "" "Raises an :ref:`auditing event ` ``open`` with arguments ``file``, " "``mode``, ``flags``." @@ -2501,7 +2511,7 @@ msgstr "" "``file``, ``mode``, ``flags`` parametreleriyle bir :ref:`audition event " "` ``open`` ortaya çıkartır." -#: library/functions.rst:1318 +#: library/functions.rst:1325 msgid "" "The ``mode`` and ``flags`` arguments may have been modified or inferred from " "the original call." @@ -2509,21 +2519,21 @@ msgstr "" "``mode`` ve ``flags`` parametreleri orijinal çağrı tarafından modifiye " "edilmiş veya çıkartılmış olabilir." -#: library/functions.rst:1324 +#: library/functions.rst:1331 msgid "The *opener* parameter was added." msgstr "*opener* parametresi eklendi." -#: library/functions.rst:1325 +#: library/functions.rst:1332 msgid "The ``'x'`` mode was added." msgstr "``'x'`` modu eklendi." -#: library/functions.rst:1326 +#: library/functions.rst:1333 msgid ":exc:`IOError` used to be raised, it is now an alias of :exc:`OSError`." msgstr "" "Eskiden :exc:`IOError` hatası ortaya çıkardı, şimdi :exc:`OSError` 'un takma " "adıdır." -#: library/functions.rst:1327 +#: library/functions.rst:1334 msgid "" ":exc:`FileExistsError` is now raised if the file opened in exclusive " "creation mode (``'x'``) already exists." @@ -2531,15 +2541,15 @@ msgstr "" "Artık eğer özel oluşturma modunda (``'x'``) açılmış dosyalar zaten " "bulunuyorsa :exc:`FileExistsError` hatası ortaya çıkar." -#: library/functions.rst:1333 +#: library/functions.rst:1340 msgid "The file is now non-inheritable." msgstr "Dosya artık miras alınamaz." -#: library/functions.rst:1337 +#: library/functions.rst:1344 msgid "The ``'U'`` mode." msgstr "``'U'`` modu." -#: library/functions.rst:1342 +#: library/functions.rst:1349 msgid "" "If the system call is interrupted and the signal handler does not raise an " "exception, the function now retries the system call instead of raising an :" @@ -2549,15 +2559,15 @@ msgstr "" "çıkartmazsa, artık fonksiyon :exc:`InterruptedError` hatası ortaya çıkartmak " "yerine sistem çağrısını yeniden dener (açıklama için :pep:`475` bkz)." -#: library/functions.rst:1345 +#: library/functions.rst:1352 msgid "The ``'namereplace'`` error handler was added." msgstr "``'namereplace'`` hata işleyicisi eklendi." -#: library/functions.rst:1350 +#: library/functions.rst:1357 msgid "Support added to accept objects implementing :class:`os.PathLike`." msgstr ":class:`os.PathLike` uygulayan nesneleri kabul etme desteği eklendi." -#: library/functions.rst:1351 +#: library/functions.rst:1358 msgid "" "On Windows, opening a console buffer may return a subclass of :class:`io." "RawIOBase` other than :class:`io.FileIO`." @@ -2565,7 +2575,7 @@ msgstr "" "Windows'da, bir konsol arabelleğinin açılması :class:`io.FileIO` dışında " "bir :class:`io.RawIOBase` alt sınıfını döndürebilir." -#: library/functions.rst:1356 +#: library/functions.rst:1363 msgid "" "Given a string representing one Unicode character, return an integer " "representing the Unicode code point of that character. For example, " @@ -2577,7 +2587,7 @@ msgstr "" "tamsayısını döndürür ve ``ord('€')`` (Euro simgesi) ``8364`` tamsayısını " "döndürür. Bu :func:`chr` 'nin tersidir." -#: library/functions.rst:1364 +#: library/functions.rst:1371 msgid "" "Return *base* to the power *exp*; if *mod* is present, return *base* to the " "power *exp*, modulo *mod* (computed more efficiently than ``pow(base, exp) % " @@ -2589,7 +2599,7 @@ msgstr "" "parametreli formu ``pow(base, exp)``, üs operatörü ``base**exp`` kullanmaya " "eşdeğerdir." -#: library/functions.rst:1369 +#: library/functions.rst:1376 msgid "" "The arguments must have numeric types. With mixed operand types, the " "coercion rules for binary arithmetic operators apply. For :class:`int` " @@ -2611,7 +2621,7 @@ msgstr "" "`float` tipinin negatif tabanı için, karmaşık bir sayı çıktı verilir. " "Örneğin, ``pow(-9, 0.5)``, ``3j`` 'ye yakın bir değer döndürür." -#: library/functions.rst:1379 +#: library/functions.rst:1386 msgid "" "For :class:`int` operands *base* and *exp*, if *mod* is present, *mod* must " "also be of integer type and *mod* must be nonzero. If *mod* is present and " @@ -2625,11 +2635,11 @@ msgstr "" "``pow(inv_base,-exp,mod)`` döndürülüri *inv_base, *base* mod *mod* 'un " "tersidir." -#: library/functions.rst:1385 +#: library/functions.rst:1392 msgid "Here's an example of computing an inverse for ``38`` modulo ``97``::" msgstr "Burada ``38`` mod ``97`` 'nin tersini işlemek için bir örnek var::" -#: library/functions.rst:1392 +#: library/functions.rst:1399 msgid "" "For :class:`int` operands, the three-argument form of ``pow`` now allows the " "second argument to be negative, permitting computation of modular inverses." @@ -2637,14 +2647,14 @@ msgstr "" ":class:`int` işlenenleri için, ``pow`` 'un üç parametreli formu artık ikinci " "parametrenin negatif olmasına, modüler terslerin hesaplanmasına izin verir." -#: library/functions.rst:1397 +#: library/functions.rst:1404 msgid "" "Allow keyword arguments. Formerly, only positional arguments were supported." msgstr "" "Anahtar kelime parametrelerine izin ver, önceden sadece pozisyonel " "parametreler desteklenirdi." -#: library/functions.rst:1404 +#: library/functions.rst:1411 msgid "" "Print *objects* to the text stream *file*, separated by *sep* and followed " "by *end*. *sep*, *end*, *file*, and *flush*, if present, must be given as " @@ -2654,7 +2664,7 @@ msgstr "" "şekilde *objects* 'i yazdırır. *sep*, *end, *file*, ve *flush* sunulursa " "anahtar kelime parametreleri olarak verilmelidir." -#: library/functions.rst:1408 +#: library/functions.rst:1415 msgid "" "All non-keyword arguments are converted to strings like :func:`str` does and " "written to the stream, separated by *sep* and followed by *end*. Both *sep* " @@ -2668,7 +2678,7 @@ msgstr "" "varsayılan değerler kullanılır. Eğer *objects* verilmediyse, :func:`print` " "sadece *end* 'i yazdırır." -#: library/functions.rst:1414 +#: library/functions.rst:1421 msgid "" "The *file* argument must be an object with a ``write(string)`` method; if it " "is not present or ``None``, :data:`sys.stdout` will be used. Since printed " @@ -2680,7 +2690,7 @@ msgstr "" "argümanlar metin dizelerine çevrildiğinden, :func:`print` ikili dosya " "nesneleri ile kullanılamaz. Bunlar için, ``file.write(...)`` 'ı kullanın." -#: library/functions.rst:1419 +#: library/functions.rst:1426 msgid "" "Whether the output is buffered is usually determined by *file*, but if the " "*flush* keyword argument is true, the stream is forcibly flushed." @@ -2688,15 +2698,15 @@ msgstr "" "Çıktının arabelleğe alınıp alınmadığı genellikle *file* tarafından " "belirlenir, ama *flush* argümanı doğru ise, akış zorla boşaltılır." -#: library/functions.rst:1422 +#: library/functions.rst:1429 msgid "Added the *flush* keyword argument." msgstr "*flush* anahtar kelimesi argümanı eklendi." -#: library/functions.rst:1428 +#: library/functions.rst:1435 msgid "Return a property attribute." msgstr "Bir özellik özelliği döndürür." -#: library/functions.rst:1430 +#: library/functions.rst:1437 msgid "" "*fget* is a function for getting an attribute value. *fset* is a function " "for setting an attribute value. *fdel* is a function for deleting an " @@ -2707,11 +2717,11 @@ msgstr "" "bir özelliğin değerini silmek için kullanılan bir fonksiyondur, ve *doc* " "özellik için bir belge dizisi oluşturur." -#: library/functions.rst:1434 +#: library/functions.rst:1441 msgid "A typical use is to define a managed attribute ``x``::" msgstr "Yönetilen bir ``x`` özelliği tanımlamak için tipik bir yöntem::" -#: library/functions.rst:1451 +#: library/functions.rst:1458 msgid "" "If *c* is an instance of *C*, ``c.x`` will invoke the getter, ``c.x = " "value`` will invoke the setter, and ``del c.x`` the deleter." @@ -2719,7 +2729,7 @@ msgstr "" "Eğer *c*, *C* 'nin bir örneğiyse, ``c.x``, alıcı fonksiyonu çağıracaktır. " "``c.x = value`` ayarlayıcı fonksiyonu, ``del c.x`` ise siliciyi çağıracaktır." -#: library/functions.rst:1454 +#: library/functions.rst:1461 msgid "" "If given, *doc* will be the docstring of the property attribute. Otherwise, " "the property will copy *fget*'s docstring (if it exists). This makes it " @@ -2731,7 +2741,7 @@ msgstr "" "kopyalayacaktır. Bu :func:`property` 'i :term:`decorator` olarak kullanarak " "kolayca salt-okunur özellikler oluşturmayı mümkün kılar::" -#: library/functions.rst:1467 +#: library/functions.rst:1474 msgid "" "The ``@property`` decorator turns the :meth:`voltage` method into a " "\"getter\" for a read-only attribute with the same name, and it sets the " @@ -2741,7 +2751,7 @@ msgstr "" "bir özellik için \"getter\" metoduna dönüştürür ve *voltage* için doküman " "dizisini \"Get the current voltage.\" olarak ayarlar." -#: library/functions.rst:1471 +#: library/functions.rst:1478 msgid "" "A property object has :attr:`~property.getter`, :attr:`~property.setter`, " "and :attr:`~property.deleter` methods usable as decorators that create a " @@ -2754,7 +2764,7 @@ msgstr "" "`~property.deleter` metotlarını içerir. Bu en iyi şekilde bir örnekle " "açıklanabilir::" -#: library/functions.rst:1493 +#: library/functions.rst:1500 msgid "" "This code is exactly equivalent to the first example. Be sure to give the " "additional functions the same name as the original property (``x`` in this " @@ -2763,7 +2773,7 @@ msgstr "" "Bu kod birinci örneğin tamamen eşdeğeridir. Orijinal özellikte olduğu gibi " "ekstra fonksiyonlara aynı ismi verdiğinizden emin olun (bu durumda ``x``)." -#: library/functions.rst:1497 +#: library/functions.rst:1504 msgid "" "The returned property object also has the attributes ``fget``, ``fset``, and " "``fdel`` corresponding to the constructor arguments." @@ -2771,11 +2781,11 @@ msgstr "" "Döndürülen property nesnesi yapıcı metotta verilen ``fget``, ``fset``, ve " "``fdel`` özelliklerine sahiptir." -#: library/functions.rst:1500 +#: library/functions.rst:1507 msgid "The docstrings of property objects are now writeable." msgstr "Property nesnelerinin doküman dizeleri artık yazılabilir." -#: library/functions.rst:1509 +#: library/functions.rst:1516 msgid "" "Rather than being a function, :class:`range` is actually an immutable " "sequence type, as documented in :ref:`typesseq-range` and :ref:`typesseq`." @@ -2784,7 +2794,7 @@ msgstr "" "tipidir. Daha fazla bilgi için :ref:`typesseq-range` ve :ref:`typesseq` 'e " "bakınız." -#: library/functions.rst:1515 +#: library/functions.rst:1522 #, fuzzy msgid "" "Return a string containing a printable representation of an object. For " @@ -2805,7 +2815,7 @@ msgstr "" "sınıf :meth:`__repr__` metodu tanımlayarak bu metodun örnekleri için ne " "döndüreceğini kontrol edebilir." -#: library/functions.rst:1528 +#: library/functions.rst:1535 msgid "" "Return a reverse :term:`iterator`. *seq* must be an object which has a :" "meth:`__reversed__` method or supports the sequence protocol (the :meth:" @@ -2817,7 +2827,7 @@ msgstr "" "tam sayı argümanları alan bir :meth:`__getitem__` metodu) destekleyen bir " "nesne olmalıdır." -#: library/functions.rst:1536 +#: library/functions.rst:1543 msgid "" "Return *number* rounded to *ndigits* precision after the decimal point. If " "*ndigits* is omitted or is ``None``, it returns the nearest integer to its " @@ -2827,7 +2837,7 @@ msgstr "" "*ndigits* verilmediyse veya ``None`` ise, *number* 'a en yakın tam sayı " "döndürülür." -#: library/functions.rst:1540 +#: library/functions.rst:1547 msgid "" "For the built-in types supporting :func:`round`, values are rounded to the " "closest multiple of 10 to the power minus *ndigits*; if two multiples are " @@ -2845,7 +2855,7 @@ msgstr "" "*ndigits* verilmediyse veya ``None`` ise döndürülen değer bir tam sayıdır. " "Aksi takdirde, döndürülen değerin tipi *number* 'ınkiyle aynıdır." -#: library/functions.rst:1549 +#: library/functions.rst:1556 msgid "" "For a general Python object ``number``, ``round`` delegates to ``number." "__round__``." @@ -2853,7 +2863,7 @@ msgstr "" "Genel bir Python nesnesi için ``number``, ``round`` ``number.__round__`` 'u " "temsil eder." -#: library/functions.rst:1554 +#: library/functions.rst:1561 msgid "" "The behavior of :func:`round` for floats can be surprising: for example, " "``round(2.675, 2)`` gives ``2.67`` instead of the expected ``2.68``. This is " @@ -2867,7 +2877,7 @@ msgstr "" "gösterilemeyeceğinden bu sonucu alıyoruz. Daha fazla bilgi için :ref:`tut-fp-" "issues` 'e bkz." -#: library/functions.rst:1565 +#: library/functions.rst:1572 msgid "" "Return a new :class:`set` object, optionally with elements taken from " "*iterable*. ``set`` is a built-in class. See :class:`set` and :ref:`types-" @@ -2877,7 +2887,7 @@ msgstr "" "nesnesi döndürür. ``set`` yerleşik bir sınıftır. Bu sınıf hakkında " "dokümantasyon için :class:`set` ve :ref:`types-set` 'e bakınız." -#: library/functions.rst:1569 +#: library/functions.rst:1576 msgid "" "For other containers see the built-in :class:`frozenset`, :class:`list`, :" "class:`tuple`, and :class:`dict` classes, as well as the :mod:`collections` " @@ -2887,7 +2897,7 @@ msgstr "" "`tuple` ve :class:`dict` sınıflarını; aynı zamanda :mod:`collections` " "modülüne bakınız." -#: library/functions.rst:1576 +#: library/functions.rst:1583 msgid "" "This is the counterpart of :func:`getattr`. The arguments are an object, a " "string, and an arbitrary value. The string may name an existing attribute " @@ -2900,7 +2910,7 @@ msgstr "" "Fonksiyon, nesnenin izin vermesi koşuluyla, değeri özelliğe atar. Örneğin " "``setattr(x, 'foobar', 123)`` ve ``x.foobar = 123`` eşdeğerdir." -#: library/functions.rst:1582 +#: library/functions.rst:1589 msgid "" "*name* need not be a Python identifier as defined in :ref:`identifiers` " "unless the object chooses to enforce that, for example in a custom :meth:" @@ -2909,7 +2919,7 @@ msgid "" "notation, but is accessible through :func:`getattr` etc.." msgstr "" -#: library/functions.rst:1590 +#: library/functions.rst:1597 msgid "" "Since :ref:`private name mangling ` happens at " "compilation time, one must manually mangle a private attribute's (attributes " @@ -2919,7 +2929,7 @@ msgstr "" "olacağından, :func:`setattr` ile ayarlamak için özel bir niteliğin (iki alt " "çizgi ile başlayan nitelikler) adını manuel olarak değiştirmek gerekir." -#: library/functions.rst:1599 +#: library/functions.rst:1606 msgid "" "Return a :term:`slice` object representing the set of indices specified by " "``range(start, stop, step)``. The *start* and *step* arguments default to " @@ -2942,17 +2952,17 @@ msgstr "" "veya ``a[start:stop, i]``. Yineleyici döndüren alternatif bir versiyon için :" "func:`itertools.islice` 'e bakınız." -#: library/functions.rst:1612 +#: library/functions.rst:1619 msgid "Return a new sorted list from the items in *iterable*." msgstr "" "*iterable* 'ın içindeki elementlerden oluşan sıralı bir liste döndürür." -#: library/functions.rst:1614 +#: library/functions.rst:1621 msgid "" "Has two optional arguments which must be specified as keyword arguments." msgstr "İsimle belirtilmesi gereken 2 opsiyonel parametresi vardır." -#: library/functions.rst:1616 +#: library/functions.rst:1623 msgid "" "*key* specifies a function of one argument that is used to extract a " "comparison key from each element in *iterable* (for example, ``key=str." @@ -2962,7 +2972,7 @@ msgstr "" "için kullanılan bir argümanın fonksiyonunu belirtir (örneğin, ``key=str." "lower``). Varsayılan değer ``None`` 'dır (elementleri direkt karşılaştırır)." -#: library/functions.rst:1620 +#: library/functions.rst:1627 msgid "" "*reverse* is a boolean value. If set to ``True``, then the list elements " "are sorted as if each comparison were reversed." @@ -2970,7 +2980,7 @@ msgstr "" "*reverse* bir boolean değerdir. Eğer ``True`` ise, liste elementleri tüm " "karşılaştırmalar tersine çevrilmiş şekilde sıralanır." -#: library/functions.rst:1623 +#: library/functions.rst:1630 msgid "" "Use :func:`functools.cmp_to_key` to convert an old-style *cmp* function to a " "*key* function." @@ -2978,7 +2988,7 @@ msgstr "" "Eski stil *cmp* fonksiyonunu bir *key* fonksiyonuna dönüştürmek için :func:" "`functools.cmp_to_key` 'yi kullanın." -#: library/functions.rst:1626 +#: library/functions.rst:1633 msgid "" "The built-in :func:`sorted` function is guaranteed to be stable. A sort is " "stable if it guarantees not to change the relative order of elements that " @@ -2990,7 +3000,7 @@ msgstr "" "garantiliyorsa stabildir --- bu çoklu geçişlerle sıralama (örneğin önce " "departman, ardından maaş sıralama) için yardımcıdır." -#: library/functions.rst:1631 +#: library/functions.rst:1638 msgid "" "The sort algorithm uses only ``<`` comparisons between items. While " "defining an :meth:`~object.__lt__` method will suffice for sorting, :PEP:`8` " @@ -3010,18 +3020,18 @@ msgstr "" "uygulamak ayrıca yansıtılan :meth:`~object.__gt__` metodunu çağırabilen " "karmaşık tür karşılaştırmaları için karışıklığı da önler." -#: library/functions.rst:1640 +#: library/functions.rst:1647 msgid "" "For sorting examples and a brief sorting tutorial, see :ref:`sortinghowto`." msgstr "" "Sıralama örnekleri ve kısa sıralama öğreticisi için :ref:`sortinghowto` 'ya " "bakınız." -#: library/functions.rst:1644 +#: library/functions.rst:1651 msgid "Transform a method into a static method." msgstr "Bir metodu statik metoda dönüştürür." -#: library/functions.rst:1646 +#: library/functions.rst:1653 msgid "" "A static method does not receive an implicit first argument. To declare a " "static method, use this idiom::" @@ -3029,7 +3039,7 @@ msgstr "" "Statik bir metot üstü kapalı şekilde bir ilk argüman almaz. Statik metot " "tanımlamak için bu ifadeyi kullanabilirsiniz::" -#: library/functions.rst:1653 +#: library/functions.rst:1660 msgid "" "The ``@staticmethod`` form is a function :term:`decorator` -- see :ref:" "`function` for details." @@ -3037,7 +3047,7 @@ msgstr "" "``@staticmethod`` ifadesi bir :term:`decorator` fonksiyonudur. -- detaylar " "için :ref:`function` bkz." -#: library/functions.rst:1656 +#: library/functions.rst:1663 msgid "" "A static method can be called either on the class (such as ``C.f()``) or on " "an instance (such as ``C().f()``). Moreover, they can be called as regular " @@ -3047,7 +3057,7 @@ msgstr "" "(``C().f()`` gibi) çağırılabilir. Hatta normal fonksiyonlar gibi (``f()``) " "de çağırılabilirler." -#: library/functions.rst:1660 +#: library/functions.rst:1667 msgid "" "Static methods in Python are similar to those found in Java or C++. Also, " "see :func:`classmethod` for a variant that is useful for creating alternate " @@ -3057,7 +3067,7 @@ msgstr "" "için alternatif bir yapıcı metot oluşturmak isterseniz :func:`classmethod` " "bkz." -#: library/functions.rst:1664 +#: library/functions.rst:1671 msgid "" "Like all decorators, it is also possible to call ``staticmethod`` as a " "regular function and do something with its result. This is needed in some " @@ -3071,11 +3081,11 @@ msgstr "" "dönüşümü engellemek istediğinizde işinize yarayabilir. Böyle durumlar için, " "bu ifadeyi kullanabilirsiniz::" -#: library/functions.rst:1676 +#: library/functions.rst:1683 msgid "For more information on static methods, see :ref:`types`." msgstr "Statik metotlar hakkında daha fazla bilgi için, :ref:`types` bkz." -#: library/functions.rst:1678 +#: library/functions.rst:1685 msgid "" "Static methods now inherit the method attributes (``__module__``, " "``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``), have a " @@ -3086,14 +3096,14 @@ msgstr "" "``__wrapped__`` özellikleri var ve artık normal fonksiyonlar gibi " "çağırılabilirler." -#: library/functions.rst:1693 +#: library/functions.rst:1700 msgid "" "Return a :class:`str` version of *object*. See :func:`str` for details." msgstr "" "*object* 'in :class:`str` versiyonunu döndürür. Detaylar için :func:`str` " "bkz." -#: library/functions.rst:1695 +#: library/functions.rst:1702 msgid "" "``str`` is the built-in string :term:`class`. For general information about " "strings, see :ref:`textseq`." @@ -3101,7 +3111,7 @@ msgstr "" "``str`` yerleşik dize :term:`class` 'ıdır. Dizeler hakkında genel bilgi " "için, :ref:`textseq` bkz." -#: library/functions.rst:1701 +#: library/functions.rst:1708 msgid "" "Sums *start* and the items of an *iterable* from left to right and returns " "the total. The *iterable*'s items are normally numbers, and the start value " @@ -3111,7 +3121,7 @@ msgstr "" "döndürür. *iterable* 'ın elemanları normal olarak numaralardır ve başlangıç " "değeri bir dize olamaz." -#: library/functions.rst:1705 +#: library/functions.rst:1712 msgid "" "For some use cases, there are good alternatives to :func:`sum`. The " "preferred, fast way to concatenate a sequence of strings is by calling ``''." @@ -3126,11 +3136,11 @@ msgstr "" "nesnelerden oluşan bir diziyi birleştirmek istiyorsanız, :func:`itertools." "chain` fonksiyonunu kullanmayı göz önünde bulundurun." -#: library/functions.rst:1711 +#: library/functions.rst:1718 msgid "The *start* parameter can be specified as a keyword argument." msgstr "*start* parametresi bir anahtar kelime argümanı olarak belirtilebilir." -#: library/functions.rst:1716 +#: library/functions.rst:1723 msgid "" "Return a proxy object that delegates method calls to a parent or sibling " "class of *type*. This is useful for accessing inherited methods that have " @@ -3140,7 +3150,7 @@ msgstr "" "eden bir proxy objesi döndürür. Bu bir sınıfta üzerine yazılmış kalıtılan " "metotlara erişmek için kullanışlıdır." -#: library/functions.rst:1720 +#: library/functions.rst:1727 msgid "" "The *object-or-type* determines the :term:`method resolution order` to be " "searched. The search starts from the class right after the *type*." @@ -3148,7 +3158,7 @@ msgstr "" "*object-or-type* aranacak :term:`yöntem çözümleme sırası ` 'nı belirler. Arama *type* 'dan sonraki ilk sınıftan başlar." -#: library/functions.rst:1724 +#: library/functions.rst:1731 msgid "" "For example, if :attr:`~class.__mro__` of *object-or-type* is ``D -> B -> C -" "> A -> object`` and the value of *type* is ``B``, then :func:`super` " @@ -3158,7 +3168,7 @@ msgstr "" "> B -> C -> A -> object`` ise ve *type* değeri ``B`` ise, :func:`super` ``C -" "> A -> object`` 'i arar." -#: library/functions.rst:1728 +#: library/functions.rst:1735 msgid "" "The :attr:`~class.__mro__` attribute of the *object-or-type* lists the " "method resolution search order used by both :func:`getattr` and :func:" @@ -3170,7 +3180,7 @@ msgstr "" "listeler. Özellik dinamiktir ve kalıtım hiyerarşisi her güncellendiğinde " "değişebilir." -#: library/functions.rst:1733 +#: library/functions.rst:1740 msgid "" "If the second argument is omitted, the super object returned is unbound. If " "the second argument is an object, ``isinstance(obj, type)`` must be true. " @@ -3182,7 +3192,7 @@ msgstr "" "zorundadır. Eğer ikinci parametre bir tür ise, ``issubclass(type2, type)`` " "doğru olmak zorundadır (bu sınıf metotları için kullanışlıdır)." -#: library/functions.rst:1738 +#: library/functions.rst:1745 msgid "" "There are two typical use cases for *super*. In a class hierarchy with " "single inheritance, *super* can be used to refer to parent classes without " @@ -3193,7 +3203,7 @@ msgstr "" "hiyerarşisinde *super* üst sınıfları açıkça adlandırmadan onlara başvurmak " "için kullanılabilir. böylece kodu daha sürdürülebilir hale getirir." -#: library/functions.rst:1743 +#: library/functions.rst:1750 msgid "" "The second use case is to support cooperative multiple inheritance in a " "dynamic execution environment. This use case is unique to Python and is not " @@ -3214,12 +3224,12 @@ msgstr "" "sıra sınıf hiyerarşisindeki değişikliklere uyarlanır ve çalışma zamanından " "önce bilinmeyen kardeş sınıfları içerebilir) dikte eder." -#: library/functions.rst:1753 +#: library/functions.rst:1760 msgid "For both use cases, a typical superclass call looks like this::" msgstr "" "İki kullanım durumu için de, tipik bir üst sınıf çağrısı bu şekildedir::" -#: library/functions.rst:1760 +#: library/functions.rst:1767 msgid "" "In addition to method lookups, :func:`super` also works for attribute " "lookups. One possible use case for this is calling :term:`descriptors " @@ -3229,7 +3239,7 @@ msgstr "" "çalışır. Bunun kullanım şekli ebeveyn veya kardeş bir sınıfta :term:" "`tanımlayıcılar ` 'i çağırmaktır." -#: library/functions.rst:1764 +#: library/functions.rst:1771 msgid "" "Note that :func:`super` is implemented as part of the binding process for " "explicit dotted attribute lookups such as ``super().__getitem__(name)``. It " @@ -3245,7 +3255,7 @@ msgstr "" "`super`, ifadeler veya ``super()[name]`` gibi operatörler kullanarak kesin " "aramalar için tanımsızdır." -#: library/functions.rst:1771 +#: library/functions.rst:1778 msgid "" "Also note that, aside from the zero argument form, :func:`super` is not " "limited to use inside methods. The two argument form specifies the " @@ -3260,7 +3270,7 @@ msgstr "" "tanımının içinde çalışır, derleyici tanımlanan sınıfı doğru şekilde almak ve " "sıradan yöntemlere geçerli örnekten erişmek için gerekli detayları doldurur." -#: library/functions.rst:1778 +#: library/functions.rst:1785 msgid "" "For practical suggestions on how to design cooperative classes using :func:" "`super`, see `guide to using super() `_ bkz." -#: library/functions.rst:1787 +#: library/functions.rst:1794 msgid "" "Rather than being a function, :class:`tuple` is actually an immutable " "sequence type, as documented in :ref:`typesseq-tuple` and :ref:`typesseq`." @@ -3278,7 +3288,7 @@ msgstr "" "Bir fonksiyon olmaktansa, :class:`tuple` :ref:`typesseq-tuple` ve :ref:" "`typesseq` 'de gösterildiği gibi düzenlenemez bir dizi türüdür." -#: library/functions.rst:1796 +#: library/functions.rst:1803 msgid "" "With one argument, return the type of an *object*. The return value is a " "type object and generally the same object as returned by :attr:`object." @@ -3288,7 +3298,7 @@ msgstr "" "türüdür ve genellikle :attr:`object.__class__ ` " "tarafından döndürülen obje ile aynıdır." -#: library/functions.rst:1800 +#: library/functions.rst:1807 msgid "" "The :func:`isinstance` built-in function is recommended for testing the type " "of an object, because it takes subclasses into account." @@ -3296,7 +3306,7 @@ msgstr "" ":func:`isinstance` yerleşik fonksiyonu bir objenin türünü test etmek için " "önerilir. Çünkü altsınıfları hesaba katar." -#: library/functions.rst:1804 +#: library/functions.rst:1811 msgid "" "With three arguments, return a new type object. This is essentially a " "dynamic form of the :keyword:`class` statement. The *name* string is the " @@ -3317,11 +3327,11 @@ msgstr "" "özelliği yerine geçmeden önce kopyalanabilir veya sarılabilir. Aşağıdaki iki " "ifade birebir aynı :class:`type` nesneleri oluşturur:" -#: library/functions.rst:1819 +#: library/functions.rst:1826 msgid "See also :ref:`bltin-type-objects`." msgstr ":ref:`bltin-type-objects` 'e de bkz." -#: library/functions.rst:1821 +#: library/functions.rst:1828 msgid "" "Keyword arguments provided to the three argument form are passed to the " "appropriate metaclass machinery (usually :meth:`~object.__init_subclass__`) " @@ -3333,11 +3343,11 @@ msgstr "" "tanımındaki anahtar sözcüklerin (*metaclass* dışında) yapacağı şekilde " "iletilir." -#: library/functions.rst:1826 +#: library/functions.rst:1833 msgid "See also :ref:`class-customization`." msgstr ":ref:`class-customization` 'a da bkz." -#: library/functions.rst:1828 +#: library/functions.rst:1835 msgid "" "Subclasses of :class:`type` which don't override ``type.__new__`` may no " "longer use the one-argument form to get the type of an object." @@ -3345,7 +3355,7 @@ msgstr "" "``type.__new__`` 'in üzerine yazmayan :class:`type` altsınıfları artık bir " "objenin türünü almak için tek argümanlı formu kullanamaz." -#: library/functions.rst:1834 +#: library/functions.rst:1841 msgid "" "Return the :attr:`~object.__dict__` attribute for a module, class, instance, " "or any other object with a :attr:`~object.__dict__` attribute." @@ -3353,7 +3363,7 @@ msgstr "" "Bir modül, sınıf, örnek veya :attr:`~object.__dict__` özelliği bulunan " "herhangi bir obje için, :attr:`~object.__dict__` özelliğini döndürür." -#: library/functions.rst:1837 +#: library/functions.rst:1844 msgid "" "Objects such as modules and instances have an updateable :attr:`~object." "__dict__` attribute; however, other objects may have write restrictions on " @@ -3366,7 +3376,7 @@ msgstr "" "sınıflar doğrudan sözlük güncellemelerini önlemek için :class:`types." "MappingProxyType` sınıfını kullanırlar)." -#: library/functions.rst:1842 +#: library/functions.rst:1849 msgid "" "Without an argument, :func:`vars` acts like :func:`locals`. Note, the " "locals dictionary is only useful for reads since updates to the locals " @@ -3376,7 +3386,7 @@ msgstr "" "ona yapılan güncellemeler görmezden gelindiğinden ötürü, sadece okuma işlemi " "için kullanışlıdır." -#: library/functions.rst:1846 +#: library/functions.rst:1853 msgid "" "A :exc:`TypeError` exception is raised if an object is specified but it " "doesn't have a :attr:`~object.__dict__` attribute (for example, if its class " @@ -3386,7 +3396,7 @@ msgstr "" "(örneğin, :attr:`~object.__slots__` özelliğini tanımlayan bir sınıf ise), :" "exc:`TypeError` hatası ortaya çıkar." -#: library/functions.rst:1852 +#: library/functions.rst:1859 msgid "" "Iterate over several iterables in parallel, producing tuples with an item " "from each one." @@ -3394,11 +3404,11 @@ msgstr "" "Paralel olarak birkaç yinelenebilir nesneyi yineler ve hepsinden bir element " "alarak bir demet üretir." -#: library/functions.rst:1855 +#: library/functions.rst:1862 msgid "Example::" msgstr "Örnek::" -#: library/functions.rst:1864 +#: library/functions.rst:1871 msgid "" "More formally: :func:`zip` returns an iterator of tuples, where the *i*-th " "tuple contains the *i*-th element from each of the argument iterables." @@ -3407,7 +3417,7 @@ msgstr "" "parametre yineleyicisinden *i* 'inci elementi içerdiği bir yineleyici " "döndürür." -#: library/functions.rst:1867 +#: library/functions.rst:1874 msgid "" "Another way to think of :func:`zip` is that it turns rows into columns, and " "columns into rows. This is similar to `transposing a matrix `_ 'a benzer." -#: library/functions.rst:1871 +#: library/functions.rst:1878 msgid "" ":func:`zip` is lazy: The elements won't be processed until the iterable is " "iterated on, e.g. by a :keyword:`!for` loop or by wrapping in a :class:" @@ -3427,7 +3437,7 @@ msgstr "" "döngüsü veya :class:`list` tarafından sarılarak yinelenmediği sürece " "elementler işlenmez." -#: library/functions.rst:1875 +#: library/functions.rst:1882 msgid "" "One thing to consider is that the iterables passed to :func:`zip` could have " "different lengths; sometimes by design, and sometimes because of a bug in " @@ -3439,7 +3449,7 @@ msgstr "" "kodda oluşan bir hatadan dolayı farklı uzunluklarda olabilirler. Python " "bununla başa çıkmak için üç farklı yaklaşım sunar:" -#: library/functions.rst:1880 +#: library/functions.rst:1887 msgid "" "By default, :func:`zip` stops when the shortest iterable is exhausted. It " "will ignore the remaining items in the longer iterables, cutting off the " @@ -3449,7 +3459,7 @@ msgstr "" "durur. Daha uzun yinelebilirlerde kalan elementleri görmezden gelecektir ve " "sonucu en kısa yineleyicinin uzunluğuna eşitleyecektir::" -#: library/functions.rst:1887 +#: library/functions.rst:1894 msgid "" ":func:`zip` is often used in cases where the iterables are assumed to be of " "equal length. In such cases, it's recommended to use the ``strict=True`` " @@ -3459,15 +3469,13 @@ msgstr "" "kullanılır. Bu gibi durumlarda, ``strict=True`` opsiyonunu kullanmak " "önerilir. Çıktısı sıradan :func:`zip` ile aynıdır::" -#: library/functions.rst:1894 +#: library/functions.rst:1901 msgid "" -"Unlike the default behavior, it checks that the lengths of iterables are " -"identical, raising a :exc:`ValueError` if they aren't:" +"Unlike the default behavior, it raises a :exc:`ValueError` if one iterable " +"is exhausted before the others:" msgstr "" -"Varsayılan davranışın aksine, yineleyicilerin uzunluklarının özdeş olup " -"olmadığını kontrol eder, değilse :exc:`ValueError` hatası ortaya çıkartır:" -#: library/functions.rst:1902 +#: library/functions.rst:1919 msgid "" "Without the ``strict=True`` argument, any bug that results in iterables of " "different lengths will be silenced, possibly manifesting as a hard-to-find " @@ -3477,7 +3485,7 @@ msgstr "" "sonuçlanan hatalar susturulacaktır. Mümkün olduğunca programın başka bir " "bölümünde bulunması zor bir hata olarak tezahür ediyor." -#: library/functions.rst:1906 +#: library/functions.rst:1923 msgid "" "Shorter iterables can be padded with a constant value to make all the " "iterables have the same length. This is done by :func:`itertools." @@ -3487,7 +3495,7 @@ msgstr "" "uzunlukta olması için sabit bir değerle doldurulabilirler. Bu :func:" "`itertools.zip_longest` tarafından yapılır." -#: library/functions.rst:1910 +#: library/functions.rst:1927 msgid "" "Edge cases: With a single iterable argument, :func:`zip` returns an iterator " "of 1-tuples. With no arguments, it returns an empty iterator." @@ -3496,11 +3504,11 @@ msgstr "" "bir demetin yineleyicisini döndürür. Argüman verilmezse, boş bir yineleyici " "döndürür." -#: library/functions.rst:1913 +#: library/functions.rst:1930 msgid "Tips and tricks:" msgstr "İpucu ve hileler:" -#: library/functions.rst:1915 +#: library/functions.rst:1932 msgid "" "The left-to-right evaluation order of the iterables is guaranteed. This " "makes possible an idiom for clustering a data series into n-length groups " @@ -3515,7 +3523,7 @@ msgstr "" "sayıda çağrı yapmış olur. Bu, girdiyi n-uzunluklu parçalara bölme etkisine " "sahiptir." -#: library/functions.rst:1921 +#: library/functions.rst:1938 msgid "" ":func:`zip` in conjunction with the ``*`` operator can be used to unzip a " "list::" @@ -3523,11 +3531,11 @@ msgstr "" ":func:`zip`, bir listeyi açmak için ``*`` operatörüyle birlikte " "kullanılabilir::" -#: library/functions.rst:1932 +#: library/functions.rst:1949 msgid "Added the ``strict`` argument." msgstr "``strict`` argümanı eklendi." -#: library/functions.rst:1944 +#: library/functions.rst:1961 msgid "" "This is an advanced function that is not needed in everyday Python " "programming, unlike :func:`importlib.import_module`." @@ -3535,7 +3543,7 @@ msgstr "" "Bu :func:`importlib.import_module` 'un aksine günlük Python programlamasında " "genel olarak kullanılmayan gelişmiş bir fonksiyondur." -#: library/functions.rst:1947 +#: library/functions.rst:1964 msgid "" "This function is invoked by the :keyword:`import` statement. It can be " "replaced (by importing the :mod:`builtins` module and assigning to " @@ -3554,7 +3562,7 @@ msgstr "" "neden olmayacağından tavsiye **edilmez**. :func:`__import__` 'un doğrudan " "kullanımı da :func:`importlib.import_module` 'ın lehine tavsiye edilmez." -#: library/functions.rst:1956 +#: library/functions.rst:1973 msgid "" "The function imports the module *name*, potentially using the given " "*globals* and *locals* to determine how to interpret the name in a package " @@ -3570,7 +3578,7 @@ msgstr "" "*locals* argümanını kullanmaya teşebbüs etmez ve *globals* 'i :keyword:" "`import` ifadesinin paket bağlamını belirlemek için kullanır." -#: library/functions.rst:1963 +#: library/functions.rst:1980 msgid "" "*level* specifies whether to use absolute or relative imports. ``0`` (the " "default) means only perform absolute imports. Positive values for *level* " @@ -3584,7 +3592,7 @@ msgstr "" "dizinine göre aranacak üst dizinlerin sayısını gösterir (detaylar için :pep:" "`328` 'e bakınız)." -#: library/functions.rst:1969 +#: library/functions.rst:1986 msgid "" "When the *name* variable is of the form ``package.module``, normally, the " "top-level package (the name up till the first dot) is returned, *not* the " @@ -3595,7 +3603,7 @@ msgstr "" "((ilk noktaya kadar olan isim) döndürülür, *name* isimli modül *değil*. Boş " "olmayan bir *fromlist* argümanı verildiğinde, *name* isimli modül döndürülür." -#: library/functions.rst:1974 +#: library/functions.rst:1991 msgid "" "For example, the statement ``import spam`` results in bytecode resembling " "the following code::" @@ -3603,11 +3611,11 @@ msgstr "" "Örnek olarak, ``import spam`` ifadesi aşağıdaki koda benzeyen bayt koduyla " "sonuçlanır::" -#: library/functions.rst:1979 +#: library/functions.rst:1996 msgid "The statement ``import spam.ham`` results in this call::" msgstr "``import spam.ham`` ifadesi şu çağrıyla sonuçlanır::" -#: library/functions.rst:1983 +#: library/functions.rst:2000 msgid "" "Note how :func:`__import__` returns the toplevel module here because this is " "the object that is bound to a name by the :keyword:`import` statement." @@ -3616,7 +3624,7 @@ msgstr "" "dikkat edin, çünkü bu, :keyword:`import` ifadesiyle bir ada bağlanan " "nesnedir." -#: library/functions.rst:1986 +#: library/functions.rst:2003 msgid "" "On the other hand, the statement ``from spam.ham import eggs, sausage as " "saus`` results in ::" @@ -3624,7 +3632,7 @@ msgstr "" "Diğer yandan, ``from spam.ham import eggs, sausage as saus`` ifadesi şöyle " "sonuçlanır::" -#: library/functions.rst:1993 +#: library/functions.rst:2010 msgid "" "Here, the ``spam.ham`` module is returned from :func:`__import__`. From " "this object, the names to import are retrieved and assigned to their " @@ -3633,7 +3641,7 @@ msgstr "" "Burada, ``spam.ham`` modülü :func:`__import__` 'dan döndürülür. Bu objeden, " "içeri aktarılacak isimler alınır ve sırasıyla adlarına atanır." -#: library/functions.rst:1997 +#: library/functions.rst:2014 msgid "" "If you simply want to import a module (potentially within a package) by " "name, use :func:`importlib.import_module`." @@ -3641,7 +3649,7 @@ msgstr "" "Eğer ismiyle bir modülü (potansiyel olarak bir paket içinde) içe aktarmak " "istiyorsanız, :func:`importlib.import_module` 'i kullanın." -#: library/functions.rst:2000 +#: library/functions.rst:2017 msgid "" "Negative values for *level* are no longer supported (which also changes the " "default value to 0)." @@ -3649,7 +3657,7 @@ msgstr "" "*level* için negatif değerler artık desteklenmiyor (bu, varsayılan değeri 0 " "olarak da değiştirir)." -#: library/functions.rst:2004 +#: library/functions.rst:2021 msgid "" "When the command line options :option:`-E` or :option:`-I` are being used, " "the environment variable :envvar:`PYTHONCASEOK` is now ignored." @@ -3657,11 +3665,11 @@ msgstr "" "Komut satırı opsiyonlarından :option:`-E` veya :option:`-I` kullanıldığında, " "ortam değişkeni :envvar:`PYTHONCASEOK` görmezden gelinir." -#: library/functions.rst:2009 +#: library/functions.rst:2026 msgid "Footnotes" msgstr "Dipnotlar" -#: library/functions.rst:2010 +#: library/functions.rst:2027 msgid "" "Note that the parser only accepts the Unix-style end of line convention. If " "you are reading the code from a file, make sure to use newline conversion " @@ -3671,3 +3679,10 @@ msgstr "" "unutmayın. Eğer bir dosyadan kod okuyorsanız, Windows veya Mac tarzı yeni " "satırları dönüştürmek için yeni satır dönüştürme modunu kullandığınızdan " "emin olun." + +#~ msgid "" +#~ "Unlike the default behavior, it checks that the lengths of iterables are " +#~ "identical, raising a :exc:`ValueError` if they aren't:" +#~ msgstr "" +#~ "Varsayılan davranışın aksine, yineleyicilerin uzunluklarının özdeş olup " +#~ "olmadığını kontrol eder, değilse :exc:`ValueError` hatası ortaya çıkartır:" diff --git a/library/gc.po b/library/gc.po index fc0030902..87335d1fe 100644 --- a/library/gc.po +++ b/library/gc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -88,7 +88,7 @@ msgstr "" msgid "New *generation* parameter." msgstr "" -#: library/gc.rst:75 +#: library/gc.rst:8 msgid "" "Raises an :ref:`auditing event ` ``gc.get_objects`` with argument " "``generation``." @@ -179,7 +179,7 @@ msgid "" "other than debugging." msgstr "" -#: library/gc.rst:146 +#: library/gc.rst:17 msgid "" "Raises an :ref:`auditing event ` ``gc.get_referrers`` with " "argument ``objs``." @@ -197,7 +197,7 @@ msgid "" "object may or may not appear in the result list." msgstr "" -#: library/gc.rst:159 +#: library/gc.rst:9 msgid "" "Raises an :ref:`auditing event ` ``gc.get_referents`` with " "argument ``objs``." diff --git a/library/glob.po b/library/glob.po index a8ca792c6..e90129259 100644 --- a/library/glob.po +++ b/library/glob.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -86,13 +86,13 @@ msgid "" "will not match." msgstr "" -#: library/glob.rst:89 +#: library/glob.rst:27 msgid "" "Raises an :ref:`auditing event ` ``glob.glob`` with arguments " "``pathname``, ``recursive``." msgstr "" -#: library/glob.rst:90 +#: library/glob.rst:28 msgid "" "Raises an :ref:`auditing event ` ``glob.glob/2`` with arguments " "``pathname``, ``recursive``, ``root_dir``, ``dir_fd``." diff --git a/library/hashlib.po b/library/hashlib.po index 779c9db28..dde0c012f 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -500,7 +500,7 @@ msgid "" "(``False`` for sequential mode)." msgstr "" -#: library/hashlib.rst:None +#: library/hashlib.rst:-1 msgid "Explanation of tree mode parameters." msgstr "" diff --git a/library/http.client.po b/library/http.client.po index 5c33455fb..09ca8fc57 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -395,7 +395,7 @@ msgid "" "already have a connection." msgstr "" -#: library/http.client.rst:371 +#: library/http.client.rst:5 msgid "" "Raises an :ref:`auditing event ` ``http.client.connect`` with " "arguments ``self``, ``host``, ``port``." @@ -471,7 +471,7 @@ msgid "" "`endheaders` method has been called and before :meth:`getresponse` is called." msgstr "" -#: library/http.client.rst:442 +#: library/http.client.rst:5 msgid "" "Raises an :ref:`auditing event ` ``http.client.send`` with " "arguments ``self``, ``data``." diff --git a/library/http.server.po b/library/http.server.po index 449cc6679..ae65e5c84 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -595,3 +595,16 @@ msgid "" "requests, this makes it possible for files outside of the specified " "directory to be served." msgstr "" + +#: library/http.server.rst:503 +msgid "" +"Earlier versions of Python did not scrub control characters from the log " +"messages emitted to stderr from ``python -m http.server`` or the default :" +"class:`BaseHTTPRequestHandler` ``.log_message`` implementation. This could " +"allow remote clients connecting to your server to send nefarious control " +"codes to your terminal." +msgstr "" + +#: library/http.server.rst:509 +msgid "Control characters are scrubbed in stderr logs." +msgstr "" diff --git a/library/imaplib.po b/library/imaplib.po index 719ca7b0c..3bedb7d72 100644 --- a/library/imaplib.po +++ b/library/imaplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -416,7 +416,7 @@ msgid "" "method." msgstr "" -#: library/imaplib.rst:379 +#: library/imaplib.rst:11 msgid "" "Raises an :ref:`auditing event ` ``imaplib.open`` with arguments " "``self``, ``host``, ``port``." @@ -488,7 +488,7 @@ msgstr "" msgid "Sends ``data`` to the remote server. You may override this method." msgstr "" -#: library/imaplib.rst:452 +#: library/imaplib.rst:3 msgid "" "Raises an :ref:`auditing event ` ``imaplib.send`` with arguments " "``self``, ``data``." diff --git a/library/io.po b/library/io.po index ebb3f863a..15402b0cd 100644 --- a/library/io.po +++ b/library/io.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -223,7 +223,7 @@ msgstr "" msgid "This is an alias for the builtin :func:`open` function." msgstr "" -#: library/io.rst:173 +#: library/io.rst:3 msgid "" "Raises an :ref:`auditing event ` ``open`` with arguments ``path``, " "``mode``, ``flags``." diff --git a/library/locale.po b/library/locale.po index 6feee5a01..a654f4ca0 100644 --- a/library/locale.po +++ b/library/locale.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -699,7 +699,13 @@ msgid "" "affected by this category." msgstr "" -#: library/locale.rst:490 +#: library/locale.rst:487 +msgid "" +"This value may not be available on operating systems not conforming to the " +"POSIX standard, most notably Windows." +msgstr "" + +#: library/locale.rst:493 msgid "" "Locale category for formatting numbers. The functions :func:`.format`, :" "func:`atoi`, :func:`atof` and :func:`.str` of the :mod:`locale` module are " @@ -707,7 +713,7 @@ msgid "" "affected." msgstr "" -#: library/locale.rst:498 +#: library/locale.rst:501 msgid "" "Combination of all locale settings. If this flag is used when the locale is " "changed, setting the locale for all categories is attempted. If that fails " @@ -717,21 +723,21 @@ msgid "" "settings." msgstr "" -#: library/locale.rst:507 +#: library/locale.rst:510 msgid "" "This is a symbolic constant used for different values returned by :func:" "`localeconv`." msgstr "" -#: library/locale.rst:511 +#: library/locale.rst:514 msgid "Example::" msgstr "" -#: library/locale.rst:524 +#: library/locale.rst:527 msgid "Background, details, hints, tips and caveats" msgstr "" -#: library/locale.rst:526 +#: library/locale.rst:529 msgid "" "The C standard defines the locale as a program-wide property that may be " "relatively expensive to change. On top of that, some implementations are " @@ -739,7 +745,7 @@ msgid "" "This makes the locale somewhat painful to use correctly." msgstr "" -#: library/locale.rst:531 +#: library/locale.rst:534 msgid "" "Initially, when a program is started, the locale is the ``C`` locale, no " "matter what the user's preferred locale is. There is one exception: the :" @@ -749,7 +755,7 @@ msgid "" "categories by calling ``setlocale(LC_ALL, '')``." msgstr "" -#: library/locale.rst:538 +#: library/locale.rst:541 msgid "" "It is generally a bad idea to call :func:`setlocale` in some library " "routine, since as a side effect it affects the entire program. Saving and " @@ -757,7 +763,7 @@ msgid "" "that happen to run before the settings have been restored." msgstr "" -#: library/locale.rst:543 +#: library/locale.rst:546 msgid "" "If, when coding a module for general use, you need a locale independent " "version of an operation that is affected by the locale (such as certain " @@ -768,14 +774,14 @@ msgid "" "settings." msgstr "" -#: library/locale.rst:550 +#: library/locale.rst:553 msgid "" "The only way to perform numeric operations according to the locale is to use " "the special functions defined by this module: :func:`atof`, :func:`atoi`, :" "func:`.format`, :func:`.str`." msgstr "" -#: library/locale.rst:554 +#: library/locale.rst:557 msgid "" "There is no way to perform case conversions and character classifications " "according to the locale. For (Unicode) text strings these are done " @@ -786,11 +792,11 @@ msgid "" "whitespace." msgstr "" -#: library/locale.rst:565 +#: library/locale.rst:568 msgid "For extension writers and programs that embed Python" msgstr "" -#: library/locale.rst:567 +#: library/locale.rst:570 msgid "" "Extension modules should never call :func:`setlocale`, except to find out " "what the current locale is. But since the return value can only be used " @@ -798,7 +804,7 @@ msgid "" "whether or not the locale is ``C``)." msgstr "" -#: library/locale.rst:572 +#: library/locale.rst:575 msgid "" "When Python code uses the :mod:`locale` module to change the locale, this " "also affects the embedding application. If the embedding application " @@ -808,11 +814,11 @@ msgid "" "accessible as a shared library." msgstr "" -#: library/locale.rst:583 +#: library/locale.rst:586 msgid "Access to message catalogs" msgstr "" -#: library/locale.rst:591 +#: library/locale.rst:594 msgid "" "The locale module exposes the C library's gettext interface on systems that " "provide this interface. It consists of the functions :func:`!gettext`, :" @@ -823,7 +829,7 @@ msgid "" "for locating message catalogs." msgstr "" -#: library/locale.rst:598 +#: library/locale.rst:601 msgid "" "Python applications should normally find no need to invoke these functions, " "and should use :mod:`gettext` instead. A known exception to this rule are " diff --git a/library/logging.config.po b/library/logging.config.po index 735398e37..bc19581cb 100644 --- a/library/logging.config.po +++ b/library/logging.config.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -655,13 +655,21 @@ msgstr "" #: library/logging.config.rst:522 msgid "" +"The values for keys such as ``bar``, ``spam`` and ``answer`` in the above " +"example should not be configuration dictionaries or references such as " +"``cfg://foo`` or ``ext://bar``, because they will not be processed by the " +"configuration machinery, but passed to the callable as-is." +msgstr "" + +#: library/logging.config.rst:527 +msgid "" "The key ``'()'`` has been used as the special key because it is not a valid " "keyword parameter name, and so will not clash with the names of the keyword " "arguments used in the call. The ``'()'`` also serves as a mnemonic that the " "corresponding value is a callable." msgstr "" -#: library/logging.config.rst:527 +#: library/logging.config.rst:532 msgid "" "You can also specify a special key ``'.'`` whose value is a dictionary is a " "mapping of attribute names to values. If found, the specified attributes " @@ -669,17 +677,50 @@ msgid "" "following configuration::" msgstr "" -#: library/logging.config.rst:543 +#: library/logging.config.rst:548 msgid "" "the returned formatter will have attribute ``foo`` set to ``'bar'`` and " "attribute ``baz`` set to ``'bozz'``." msgstr "" -#: library/logging.config.rst:550 +#: library/logging.config.rst:551 +msgid "" +"The values for attributes such as ``foo`` and ``baz`` in the above example " +"should not be configuration dictionaries or references such as ``cfg://foo`` " +"or ``ext://bar``, because they will not be processed by the configuration " +"machinery, but set as attribute values as-is." +msgstr "" + +#: library/logging.config.rst:560 +msgid "Handler configuration order" +msgstr "" + +#: library/logging.config.rst:562 +msgid "" +"Handlers are configured in alphabetical order of their keys, and a " +"configured handler replaces the configuration dictionary in (a working copy " +"of) the ``handlers`` dictionary in the schema. If you use a construct such " +"as ``cfg://handlers.foo``, then initially ``handlers['foo']`` points to the " +"configuration dictionary for the handler named ``foo``, and later (once that " +"handler has been configured) it points to the configured handler instance. " +"Thus, ``cfg://handlers.foo`` could resolve to either a dictionary or a " +"handler instance. In general, it is wise to name handlers in a way such that " +"dependent handlers are configured _after_ any handlers they depend on; that " +"allows something like ``cfg://handlers.foo`` to be used in configuring a " +"handler that depends on handler ``foo``. If that dependent handler were " +"named ``bar``, problems would result, because the configuration of ``bar`` " +"would be attempted before that of ``foo``, and ``foo`` would not yet have " +"been configured. However, if the dependent handler were named ``foobar``, it " +"would be configured after ``foo``, with the result that ``cfg://handlers." +"foo`` would resolve to configured handler ``foo``, and not its configuration " +"dictionary." +msgstr "" + +#: library/logging.config.rst:583 msgid "Access to external objects" msgstr "" -#: library/logging.config.rst:552 +#: library/logging.config.rst:585 msgid "" "There are times where a configuration needs to refer to objects external to " "the configuration, for example ``sys.stderr``. If the configuration dict is " @@ -694,7 +735,7 @@ msgid "" "import mechanisms." msgstr "" -#: library/logging.config.rst:565 +#: library/logging.config.rst:598 msgid "" "The handling of such prefixes is done in a way analogous to protocol " "handling: there is a generic mechanism to look for prefixes which match the " @@ -704,11 +745,11 @@ msgid "" "prefix is not recognised, then the string value will be left as-is." msgstr "" -#: library/logging.config.rst:577 +#: library/logging.config.rst:610 msgid "Access to internal objects" msgstr "" -#: library/logging.config.rst:579 +#: library/logging.config.rst:612 msgid "" "As well as external objects, there is sometimes also a need to refer to " "objects in the configuration. This will be done implicitly by the " @@ -719,7 +760,7 @@ msgid "" "and resolve to the appropriate destination object." msgstr "" -#: library/logging.config.rst:587 +#: library/logging.config.rst:620 msgid "" "However, a more generic mechanism is needed for user-defined objects which " "are not known to the :mod:`logging` module. For example, consider :class:" @@ -733,7 +774,7 @@ msgid "" "resolution system allows the user to specify:" msgstr "" -#: library/logging.config.rst:609 +#: library/logging.config.rst:642 msgid "" "The literal string ``'cfg://handlers.file'`` will be resolved in an " "analogous way to strings with the ``ext://`` prefix, but looking in the " @@ -742,7 +783,7 @@ msgid "" "format``. Thus, given the following snippet:" msgstr "" -#: library/logging.config.rst:627 +#: library/logging.config.rst:660 msgid "" "in the configuration, the string ``'cfg://handlers'`` would resolve to the " "dict with key ``handlers``, the string ``'cfg://handlers.email`` would " @@ -758,7 +799,7 @@ msgid "" "to the string value if needed." msgstr "" -#: library/logging.config.rst:641 +#: library/logging.config.rst:674 msgid "" "Given a string ``cfg://handlers.myhandler.mykey.123``, this will resolve to " "``config_dict['handlers']['myhandler']['mykey']['123']``. If the string is " @@ -768,11 +809,11 @@ msgid "" "['mykey']['123']`` if that fails." msgstr "" -#: library/logging.config.rst:653 +#: library/logging.config.rst:686 msgid "Import resolution and custom importers" msgstr "" -#: library/logging.config.rst:655 +#: library/logging.config.rst:688 msgid "" "Import resolution, by default, uses the builtin :func:`__import__` function " "to do its importing. You may want to replace this with your own importing " @@ -784,17 +825,17 @@ msgid "" "instance level, you need to wrap it with :func:`staticmethod`. For example::" msgstr "" -#: library/logging.config.rst:670 +#: library/logging.config.rst:703 msgid "" "You don't need to wrap with :func:`staticmethod` if you're setting the " "import callable on a configurator *instance*." msgstr "" -#: library/logging.config.rst:677 +#: library/logging.config.rst:710 msgid "Configuration file format" msgstr "" -#: library/logging.config.rst:679 +#: library/logging.config.rst:712 msgid "" "The configuration file format understood by :func:`fileConfig` is based on :" "mod:`configparser` functionality. The file must contain sections called " @@ -811,7 +852,7 @@ msgid "" "specified in a section called ``[logger_root]``." msgstr "" -#: library/logging.config.rst:694 +#: library/logging.config.rst:727 msgid "" "The :func:`fileConfig` API is older than the :func:`dictConfig` API and does " "not provide functionality to cover certain aspects of logging. For example, " @@ -824,17 +865,17 @@ msgid "" "when it's convenient to do so." msgstr "" -#: library/logging.config.rst:704 +#: library/logging.config.rst:737 msgid "Examples of these sections in the file are given below." msgstr "" -#: library/logging.config.rst:717 +#: library/logging.config.rst:750 msgid "" "The root logger must specify a level and a list of handlers. An example of a " "root logger section is given below." msgstr "" -#: library/logging.config.rst:726 +#: library/logging.config.rst:759 msgid "" "The ``level`` entry can be one of ``DEBUG, INFO, WARNING, ERROR, CRITICAL`` " "or ``NOTSET``. For the root logger only, ``NOTSET`` means that all messages " @@ -842,7 +883,7 @@ msgid "" "``logging`` package's namespace." msgstr "" -#: library/logging.config.rst:731 +#: library/logging.config.rst:764 msgid "" "The ``handlers`` entry is a comma-separated list of handler names, which " "must appear in the ``[handlers]`` section. These names must appear in the " @@ -850,13 +891,13 @@ msgid "" "file." msgstr "" -#: library/logging.config.rst:736 +#: library/logging.config.rst:769 msgid "" "For loggers other than the root logger, some additional information is " "required. This is illustrated by the following example." msgstr "" -#: library/logging.config.rst:747 +#: library/logging.config.rst:780 msgid "" "The ``level`` and ``handlers`` entries are interpreted as for the root " "logger, except that if a non-root logger's level is specified as ``NOTSET``, " @@ -869,20 +910,20 @@ msgid "" "application to get the logger." msgstr "" -#: library/logging.config.rst:756 +#: library/logging.config.rst:789 msgid "" "Sections which specify handler configuration are exemplified by the " "following." msgstr "" -#: library/logging.config.rst:766 +#: library/logging.config.rst:799 msgid "" "The ``class`` entry indicates the handler's class (as determined by :func:" "`eval` in the ``logging`` package's namespace). The ``level`` is interpreted " "as for loggers, and ``NOTSET`` is taken to mean 'log everything'." msgstr "" -#: library/logging.config.rst:770 +#: library/logging.config.rst:803 msgid "" "The ``formatter`` entry indicates the key name of the formatter for this " "handler. If blank, a default formatter (``logging._defaultFormatter``) is " @@ -890,7 +931,7 @@ msgid "" "and have a corresponding section in the configuration file." msgstr "" -#: library/logging.config.rst:775 +#: library/logging.config.rst:808 msgid "" "The ``args`` entry, when :func:`eval`\\ uated in the context of the " "``logging`` package's namespace, is the list of arguments to the constructor " @@ -899,26 +940,26 @@ msgid "" "provided, it defaults to ``()``." msgstr "" -#: library/logging.config.rst:781 +#: library/logging.config.rst:814 msgid "" "The optional ``kwargs`` entry, when :func:`eval`\\ uated in the context of " "the ``logging`` package's namespace, is the keyword argument dict to the " "constructor for the handler class. If not provided, it defaults to ``{}``." msgstr "" -#: library/logging.config.rst:838 +#: library/logging.config.rst:871 msgid "" "Sections which specify formatter configuration are typified by the following." msgstr "" -#: library/logging.config.rst:849 +#: library/logging.config.rst:882 msgid "" "The arguments for the formatter configuration are the same as the keys in " "the dictionary schema :ref:`formatters section `." msgstr "" -#: library/logging.config.rst:855 +#: library/logging.config.rst:888 msgid "" "Due to the use of :func:`eval` as described above, there are potential " "security risks which result from using the :func:`listen` to send and " @@ -927,18 +968,18 @@ msgid "" "`listen` documentation for more information." msgstr "" -#: library/logging.config.rst:864 +#: library/logging.config.rst:897 msgid "Module :mod:`logging`" msgstr "" -#: library/logging.config.rst:864 +#: library/logging.config.rst:897 msgid "API reference for the logging module." msgstr "" -#: library/logging.config.rst:866 +#: library/logging.config.rst:899 msgid "Module :mod:`logging.handlers`" msgstr "" -#: library/logging.config.rst:867 +#: library/logging.config.rst:900 msgid "Useful handlers included with the logging module." msgstr "" diff --git a/library/logging.po b/library/logging.po index 2ad491b65..baef683d1 100644 --- a/library/logging.po +++ b/library/logging.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1098,7 +1098,7 @@ msgstr "" msgid "Description" msgstr "" -#: library/logging.rst:0 +#: library/logging.rst:881 msgid "args" msgstr "" @@ -1142,7 +1142,7 @@ msgid "" "time`)." msgstr "" -#: library/logging.rst:0 +#: library/logging.rst:895 msgid "exc_info" msgstr "" @@ -1255,7 +1255,7 @@ msgid "" "Millisecond portion of the time when the :class:`LogRecord` was created." msgstr "" -#: library/logging.rst:0 +#: library/logging.rst:923 msgid "msg" msgstr "" @@ -1266,7 +1266,7 @@ msgid "" "messages`)." msgstr "" -#: library/logging.rst:0 +#: library/logging.rst:928 msgid "name" msgstr "" diff --git a/library/marshal.po b/library/marshal.po index b8af69a55..adc180a3c 100644 --- a/library/marshal.po +++ b/library/marshal.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -96,7 +96,7 @@ msgid "" "(see below)." msgstr "" -#: library/marshal.rst:101 +#: library/marshal.rst:11 msgid "" "Raises an :ref:`auditing event ` ``marshal.dumps`` with arguments " "``value``, ``version``." @@ -110,7 +110,7 @@ msgid "" "file must be a readable :term:`binary file`." msgstr "" -#: library/marshal.rst:79 +#: library/marshal.rst:6 msgid "" "Raises an :ref:`auditing event ` ``marshal.load`` with no " "arguments." @@ -148,7 +148,7 @@ msgid "" "bytes in the input are ignored." msgstr "" -#: library/marshal.rst:110 +#: library/marshal.rst:5 msgid "" "Raises an :ref:`auditing event ` ``marshal.loads`` with argument " "``bytes``." diff --git a/library/mmap.po b/library/mmap.po index 799fb9abc..e8ab67dd6 100644 --- a/library/mmap.po +++ b/library/mmap.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -106,7 +106,7 @@ msgid "" "`ALLOCATIONGRANULARITY`." msgstr "" -#: library/mmap.rst:161 +#: library/mmap.rst:87 msgid "" "Raises an :ref:`auditing event ` ``mmap.__new__`` with arguments " "``fileno``, ``length``, ``access``, ``offset``." diff --git a/library/msvcrt.po b/library/msvcrt.po index 3366095ab..f96f518f7 100644 --- a/library/msvcrt.po +++ b/library/msvcrt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -63,7 +63,7 @@ msgid "" "individually." msgstr "" -#: library/msvcrt.rst:45 +#: library/msvcrt.rst:8 msgid "" "Raises an :ref:`auditing event ` ``msvcrt.locking`` with arguments " "``fd``, ``mode``, ``nbytes``." @@ -101,7 +101,7 @@ msgid "" "as a parameter to :func:`os.fdopen` to create a file object." msgstr "" -#: library/msvcrt.rst:82 +#: library/msvcrt.rst:6 msgid "" "Raises an :ref:`auditing event ` ``msvcrt.open_osfhandle`` with " "arguments ``handle``, ``flags``." @@ -113,7 +113,7 @@ msgid "" "if *fd* is not recognized." msgstr "" -#: library/msvcrt.rst:90 +#: library/msvcrt.rst:4 msgid "" "Raises an :ref:`auditing event ` ``msvcrt.get_osfhandle`` with " "argument ``fd``." diff --git a/library/nntplib.po b/library/nntplib.po index 3697390c2..39d6c4238 100644 --- a/library/nntplib.po +++ b/library/nntplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -70,13 +70,13 @@ msgid "" "close the NNTP connection when done, e.g.:" msgstr "" -#: library/nntplib.rst:118 +#: library/nntplib.rst:24 msgid "" "Raises an :ref:`auditing event ` ``nntplib.connect`` with " "arguments ``self``, ``host``, ``port``." msgstr "" -#: library/nntplib.rst:120 +#: library/nntplib.rst:26 msgid "" "Raises an :ref:`auditing event ` ``nntplib.putline`` with " "arguments ``self``, ``line``." diff --git a/library/optparse.po b/library/optparse.po index e1e1435db..20044912f 100644 --- a/library/optparse.po +++ b/library/optparse.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -522,7 +522,7 @@ msgid "``\"store_const\"``" msgstr "" #: library/optparse.rst:928 -msgid "store a constant value" +msgid "store a constant value, pre-set via :attr:`Option.const`" msgstr "" #: library/optparse.rst:937 @@ -1118,7 +1118,7 @@ msgid "``\"append_const\"``" msgstr "" #: library/optparse.rst:940 -msgid "append a constant value to a list" +msgid "append a constant value to a list, pre-set via :attr:`Option.const`" msgstr "" #: library/optparse.rst:1226 diff --git a/library/os.path.po b/library/os.path.po index db8330f04..8bac621f0 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -89,9 +89,9 @@ msgstr "" #: library/os.path.rst:76 library/os.path.rst:125 library/os.path.rst:151 #: library/os.path.rst:197 library/os.path.rst:226 library/os.path.rst:245 -#: library/os.path.rst:265 library/os.path.rst:294 library/os.path.rst:344 -#: library/os.path.rst:389 library/os.path.rst:420 library/os.path.rst:452 -#: library/os.path.rst:508 +#: library/os.path.rst:265 library/os.path.rst:294 library/os.path.rst:345 +#: library/os.path.rst:390 library/os.path.rst:421 library/os.path.rst:453 +#: library/os.path.rst:509 msgid "Accepts a :term:`path-like object`." msgstr "" @@ -112,7 +112,7 @@ msgid "" "empty. Unlike :func:`commonprefix`, this returns a valid path." msgstr "" -#: library/os.path.rst:388 library/os.path.rst:416 library/os.path.rst:432 +#: library/os.path.rst:389 library/os.path.rst:417 library/os.path.rst:433 msgid ":ref:`Availability `: Unix, Windows." msgstr "" @@ -286,36 +286,37 @@ msgstr "" #: library/os.path.rst:300 msgid "" -"Join one or more path components intelligently. The return value is the " -"concatenation of *path* and any members of *\\*paths* with exactly one " -"directory separator following each non-empty part except the last, meaning " -"that the result will only end in a separator if the last part is empty. If " -"a component is an absolute path, all previous components are thrown away and " -"joining continues from the absolute path component." +"Join one or more path segments intelligently. The return value is the " +"concatenation of *path* and all members of *\\*paths*, with exactly one " +"directory separator following each non-empty part, except the last. That is, " +"the result will only end in a separator if the last part is either empty or " +"ends in a separator. If a segment is an absolute path (which on Windows " +"requires both a drive and a root), then all previous segments are ignored " +"and joining continues from the absolute path segment." msgstr "" -#: library/os.path.rst:307 +#: library/os.path.rst:308 msgid "" -"On Windows, the drive letter is not reset when an absolute path component (e." -"g., ``r'\\foo'``) is encountered. If a component contains a drive letter, " -"all previous components are thrown away and the drive letter is reset. Note " -"that since there is a current directory for each drive, ``os.path.join(\"c:" -"\", \"foo\")`` represents a path relative to the current directory on drive :" -"file:`C:` (:file:`c:foo`), not :file:`c:\\\\foo`." +"On Windows, the drive is not reset when a rooted path segment (e.g., " +"``r'\\foo'``) is encountered. If a segment is on a different drive or is an " +"absolute path, all previous segments are ignored and the drive is reset. " +"Note that since there is a current directory for each drive, ``os.path." +"join(\"c:\", \"foo\")`` represents a path relative to the current directory " +"on drive :file:`C:` (:file:`c:foo`), not :file:`c:\\\\foo`." msgstr "" -#: library/os.path.rst:314 +#: library/os.path.rst:315 msgid "Accepts a :term:`path-like object` for *path* and *paths*." msgstr "" -#: library/os.path.rst:320 +#: library/os.path.rst:321 msgid "" "Normalize the case of a pathname. On Windows, convert all characters in the " "pathname to lowercase, and also convert forward slashes to backward slashes. " "On other operating systems, return the path unchanged." msgstr "" -#: library/os.path.rst:330 +#: library/os.path.rst:331 msgid "" "Normalize a pathname by collapsing redundant separators and up-level " "references so that ``A//B``, ``A/B/``, ``A/./B`` and ``A/foo/../B`` all " @@ -324,7 +325,7 @@ msgid "" "backward slashes. To normalize case, use :func:`normcase`." msgstr "" -#: library/os.path.rst:337 +#: library/os.path.rst:338 msgid "" "On POSIX systems, in accordance with `IEEE Std 1003.1 2013 Edition; 4.13 " "Pathname Resolution \n" @@ -272,15 +272,15 @@ msgstr "" #: library/os.rst:1221 library/os.rst:1405 library/os.rst:1437 #: library/os.rst:1497 library/os.rst:1514 library/os.rst:1798 #: library/os.rst:1881 library/os.rst:1921 library/os.rst:1949 -#: library/os.rst:2160 library/os.rst:2215 library/os.rst:3046 -#: library/os.rst:3672 library/os.rst:3687 library/os.rst:3701 -#: library/os.rst:3715 library/os.rst:3730 library/os.rst:3745 -#: library/os.rst:3761 library/os.rst:3777 library/os.rst:3791 -#: library/os.rst:3867 library/os.rst:3895 library/os.rst:4059 -#: library/os.rst:4312 library/os.rst:4343 library/os.rst:4413 -#: library/os.rst:4465 library/os.rst:4495 library/os.rst:4518 -#: library/os.rst:4534 library/os.rst:4552 library/os.rst:4707 -#: library/os.rst:4737 library/os.rst:4756 +#: library/os.rst:2160 library/os.rst:2215 library/os.rst:3048 +#: library/os.rst:3674 library/os.rst:3689 library/os.rst:3703 +#: library/os.rst:3717 library/os.rst:3732 library/os.rst:3747 +#: library/os.rst:3763 library/os.rst:3779 library/os.rst:3793 +#: library/os.rst:3869 library/os.rst:3897 library/os.rst:4061 +#: library/os.rst:4314 library/os.rst:4345 library/os.rst:4415 +#: library/os.rst:4467 library/os.rst:4497 library/os.rst:4520 +#: library/os.rst:4536 library/os.rst:4554 library/os.rst:4709 +#: library/os.rst:4739 library/os.rst:4758 msgid ":ref:`Availability `: Unix." msgstr "" @@ -512,8 +512,8 @@ msgid "" msgstr "" #: library/os.rst:439 library/os.rst:952 library/os.rst:1576 -#: library/os.rst:2238 library/os.rst:3060 library/os.rst:4144 -#: library/os.rst:4249 library/os.rst:4273 +#: library/os.rst:2238 library/os.rst:3062 library/os.rst:4146 +#: library/os.rst:4251 library/os.rst:4275 msgid ":ref:`Availability `: Unix, Windows." msgstr "" @@ -604,7 +604,7 @@ msgid "" "cause memory leaks. Refer to the system documentation for :c:func:`putenv`." msgstr "" -#: library/os.rst:531 +#: library/os.rst:18 msgid "" "Raises an :ref:`auditing event ` ``os.putenv`` with arguments " "``key``, ``value``." @@ -762,7 +762,7 @@ msgstr "" msgid ":ref:`Availability `: recent flavors of Unix." msgstr "" -#: library/os.rst:4274 +#: library/os.rst:4276 msgid "" "Return type changed from a tuple to a tuple-like object with named " "attributes." @@ -783,7 +783,7 @@ msgid "" "items of :data:`os.environ`." msgstr "" -#: library/os.rst:728 +#: library/os.rst:12 msgid "" "Raises an :ref:`auditing event ` ``os.unsetenv`` with argument " "``key``." @@ -940,7 +940,7 @@ msgid "" "this is equivalent to ``os.chmod(fd, mode)``." msgstr "" -#: library/os.rst:1842 library/os.rst:1933 +#: library/os.rst:35 msgid "" "Raises an :ref:`auditing event ` ``os.chmod`` with arguments " "``path``, ``mode``, ``dir_fd``." @@ -953,7 +953,7 @@ msgid "" "`chown`. As of Python 3.3, this is equivalent to ``os.chown(fd, uid, gid)``." msgstr "" -#: library/os.rst:1864 library/os.rst:1946 +#: library/os.rst:11 msgid "" "Raises an :ref:`auditing event ` ``os.chown`` with arguments " "``path``, ``uid``, ``gid``, ``dir_fd``." @@ -1034,13 +1034,13 @@ msgid "" "truncate(fd, length)``." msgstr "" -#: library/os.rst:949 +#: library/os.rst:5 msgid "" "Raises an :ref:`auditing event ` ``os.truncate`` with arguments " "``fd``, ``length``." msgstr "" -#: library/os.rst:3063 +#: library/os.rst:3065 msgid "Added support for Windows" msgstr "" @@ -1068,7 +1068,7 @@ msgid "" "specifies the section of the file to lock." msgstr "" -#: library/os.rst:983 +#: library/os.rst:7 msgid "" "Raises an :ref:`auditing event ` ``os.lockf`` with arguments " "``fd``, ``cmd``, ``len``." @@ -1122,7 +1122,7 @@ msgid "" "` with the *dir_fd* parameter." msgstr "" -#: library/os.rst:1038 +#: library/os.rst:14 msgid "" "Raises an :ref:`auditing event ` ``open`` with arguments ``path``, " "``mode``, ``flags``." @@ -1140,7 +1140,7 @@ msgstr "" msgid "The *dir_fd* argument." msgstr "" -#: library/os.rst:1372 library/os.rst:4395 +#: library/os.rst:1372 library/os.rst:4397 msgid "" "If the system call is interrupted and the signal handler does not raise an " "exception, the function now retries the system call instead of raising an :" @@ -1150,8 +1150,8 @@ msgstr "" #: library/os.rst:1739 library/os.rst:1802 library/os.rst:1882 #: library/os.rst:1937 library/os.rst:2009 library/os.rst:2074 #: library/os.rst:2142 library/os.rst:2205 library/os.rst:2295 -#: library/os.rst:2654 library/os.rst:3066 library/os.rst:3122 -#: library/os.rst:3282 library/os.rst:3644 library/os.rst:4132 +#: library/os.rst:2656 library/os.rst:3068 library/os.rst:3124 +#: library/os.rst:3284 library/os.rst:3646 library/os.rst:4134 msgid "Accepts a :term:`path-like object`." msgstr "" @@ -1211,7 +1211,7 @@ msgid "" "more portable approach, use the :mod:`pty` module." msgstr "" -#: library/os.rst:1168 library/os.rst:3829 +#: library/os.rst:1168 library/os.rst:3831 msgid ":ref:`Availability `: some flavors of Unix." msgstr "" @@ -1669,7 +1669,7 @@ msgstr "" msgid "Get the \"inheritable\" flag of the specified handle (a boolean)." msgstr "" -#: library/os.rst:1631 library/os.rst:4167 library/os.rst:4213 +#: library/os.rst:1631 library/os.rst:4169 library/os.rst:4215 msgid ":ref:`Availability `: Windows." msgstr "" @@ -1820,7 +1820,7 @@ msgid "" "`FileNotFoundError`, :exc:`PermissionError`, and :exc:`NotADirectoryError`." msgstr "" -#: library/os.rst:1892 +#: library/os.rst:11 msgid "" "Raises an :ref:`auditing event ` ``os.chdir`` with argument " "``path``." @@ -1891,7 +1891,7 @@ msgid "" "This function can support :ref:`not following symlinks `." msgstr "" -#: library/os.rst:1918 +#: library/os.rst:19 msgid "" "Raises an :ref:`auditing event ` ``os.chflags`` with arguments " "``path``, ``flags``." @@ -1984,7 +1984,7 @@ msgstr "" msgid ":data:`stat.S_IXOTH`" msgstr "" -#: library/os.rst:1857 library/os.rst:3112 +#: library/os.rst:1857 library/os.rst:3114 msgid "" "This function can support :ref:`specifying a file descriptor `, :" "ref:`paths relative to directory descriptors ` and :ref:`not " @@ -2079,7 +2079,7 @@ msgid "" "`not following symlinks `." msgstr "" -#: library/os.rst:1962 +#: library/os.rst:7 msgid "" "Raises an :ref:`auditing event ` ``os.link`` with arguments " "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." @@ -2093,7 +2093,7 @@ msgstr "" msgid "Added the *src_dir_fd*, *dst_dir_fd*, and *follow_symlinks* arguments." msgstr "" -#: library/os.rst:2325 library/os.rst:3034 +#: library/os.rst:2327 library/os.rst:3036 msgid "Accepts a :term:`path-like object` for *src* and *dst*." msgstr "" @@ -2114,13 +2114,13 @@ msgid "" "circumstances, they will be of type ``str``." msgstr "" -#: library/os.rst:2410 +#: library/os.rst:2412 msgid "" "This function can also support :ref:`specifying a file descriptor " "`; the file descriptor must refer to a directory." msgstr "" -#: library/os.rst:1992 +#: library/os.rst:15 msgid "" "Raises an :ref:`auditing event ` ``os.listdir`` with argument " "``path``." @@ -2140,7 +2140,7 @@ msgstr "" msgid "The *path* parameter became optional." msgstr "" -#: library/os.rst:2896 +#: library/os.rst:2898 msgid "Added support for specifying *path* as an open file descriptor." msgstr "" @@ -2169,7 +2169,7 @@ msgid "" "`." msgstr "" -#: library/os.rst:2239 library/os.rst:3027 +#: library/os.rst:2239 library/os.rst:3029 msgid "Added support for Windows 6.0 (Vista) symbolic links." msgstr "" @@ -2211,7 +2211,7 @@ msgid "" "module's :func:`tempfile.mkdtemp` function." msgstr "" -#: library/os.rst:2103 +#: library/os.rst:24 msgid "" "Raises an :ref:`auditing event ` ``os.mkdir`` with arguments " "``path``, ``mode``, ``dir_fd``." @@ -2320,7 +2320,7 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:2889 library/os.rst:3055 +#: library/os.rst:2891 library/os.rst:3057 msgid "" "This function can support :ref:`specifying a file descriptor `." msgstr "" @@ -2376,7 +2376,7 @@ msgid "" "does not exist, a :exc:`FileNotFoundError` is raised." msgstr "" -#: library/os.rst:2373 library/os.rst:3009 +#: library/os.rst:2375 library/os.rst:3011 msgid "" "This function can support :ref:`paths relative to directory descriptors " "`." @@ -2394,7 +2394,7 @@ msgstr "" msgid "This function is semantically identical to :func:`unlink`." msgstr "" -#: library/os.rst:2293 library/os.rst:3077 +#: library/os.rst:14 msgid "" "Raises an :ref:`auditing event ` ``os.remove`` with arguments " "``path``, ``dir_fd``." @@ -2419,10 +2419,13 @@ msgid "" msgstr "" #: library/os.rst:2304 -msgid "On Windows, if *dst* exists a :exc:`FileExistsError` is always raised." +msgid "" +"On Windows, if *dst* exists a :exc:`FileExistsError` is always raised. The " +"operation may fail if *src* and *dst* are on different filesystems. Use :" +"func:`shutil.move` to support moves to a different filesystem." msgstr "" -#: library/os.rst:2306 +#: library/os.rst:2308 msgid "" "On Unix, if *src* is a file and *dst* is a directory or vice-versa, an :exc:" "`IsADirectoryError` or a :exc:`NotADirectoryError` will be raised " @@ -2434,29 +2437,29 @@ msgid "" "operation (this is a POSIX requirement)." msgstr "" -#: library/os.rst:2355 +#: library/os.rst:2357 msgid "" "This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to " "supply :ref:`paths relative to directory descriptors `." msgstr "" -#: library/os.rst:2318 +#: library/os.rst:2320 msgid "" "If you want cross-platform overwriting of the destination, use :func:" "`replace`." msgstr "" -#: library/os.rst:2341 library/os.rst:2358 +#: library/os.rst:22 msgid "" "Raises an :ref:`auditing event ` ``os.rename`` with arguments " "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." msgstr "" -#: library/os.rst:2322 +#: library/os.rst:2324 msgid "The *src_dir_fd* and *dst_dir_fd* arguments." msgstr "" -#: library/os.rst:2331 +#: library/os.rst:2333 msgid "" "Recursive directory or file renaming function. Works like :func:`rename`, " "except creation of any intermediate directories needed to make the new " @@ -2465,17 +2468,17 @@ msgid "" "using :func:`removedirs`." msgstr "" -#: library/os.rst:2338 +#: library/os.rst:2340 msgid "" "This function can fail with the new directory structure made if you lack " "permissions needed to remove the leaf directory or file." msgstr "" -#: library/os.rst:2343 +#: library/os.rst:2345 msgid "Accepts a :term:`path-like object` for *old* and *new*." msgstr "" -#: library/os.rst:2349 +#: library/os.rst:2351 msgid "" "Rename the file or directory *src* to *dst*. If *dst* is a non-empty " "directory, :exc:`OSError` will be raised. If *dst* exists and is a file, it " @@ -2484,7 +2487,7 @@ msgid "" "renaming will be an atomic operation (this is a POSIX requirement)." msgstr "" -#: library/os.rst:2368 +#: library/os.rst:2370 msgid "" "Remove (delete) the directory *path*. If the directory does not exist or is " "not empty, an :exc:`FileNotFoundError` or an :exc:`OSError` is raised " @@ -2492,17 +2495,17 @@ msgid "" "rmtree` can be used." msgstr "" -#: library/os.rst:2376 +#: library/os.rst:9 msgid "" "Raises an :ref:`auditing event ` ``os.rmdir`` with arguments " "``path``, ``dir_fd``." msgstr "" -#: library/os.rst:3079 +#: library/os.rst:3081 msgid "The *dir_fd* parameter." msgstr "" -#: library/os.rst:2387 +#: library/os.rst:2389 msgid "" "Return an iterator of :class:`os.DirEntry` objects corresponding to the " "entries in the directory given by *path*. The entries are yielded in " @@ -2512,7 +2515,7 @@ msgid "" "unspecified." msgstr "" -#: library/os.rst:2394 +#: library/os.rst:2396 msgid "" "Using :func:`scandir` instead of :func:`listdir` can significantly increase " "the performance of code that also needs file type or file attribute " @@ -2524,7 +2527,7 @@ msgid "" "Unix but only requires one for symbolic links on Windows." msgstr "" -#: library/os.rst:2404 +#: library/os.rst:2406 msgid "" "*path* may be a :term:`path-like object`. If *path* is of type ``bytes`` " "(directly or indirectly through the :class:`PathLike` interface), the type " @@ -2533,30 +2536,30 @@ msgid "" "they will be of type ``str``." msgstr "" -#: library/os.rst:2413 +#: library/os.rst:27 msgid "" "Raises an :ref:`auditing event ` ``os.scandir`` with argument " "``path``." msgstr "" -#: library/os.rst:2415 +#: library/os.rst:2417 msgid "" "The :func:`scandir` iterator supports the :term:`context manager` protocol " "and has the following method:" msgstr "" -#: library/os.rst:2420 +#: library/os.rst:2422 msgid "Close the iterator and free acquired resources." msgstr "" -#: library/os.rst:2422 +#: library/os.rst:2424 msgid "" "This is called automatically when the iterator is exhausted or garbage " "collected, or when an error happens during iterating. However it is " "advisable to call it explicitly or use the :keyword:`with` statement." msgstr "" -#: library/os.rst:2429 +#: library/os.rst:2431 msgid "" "The following example shows a simple use of :func:`scandir` to display all " "the files (excluding directories) in the given *path* that don't start with " @@ -2564,7 +2567,7 @@ msgid "" "system call::" msgstr "" -#: library/os.rst:2441 +#: library/os.rst:2443 msgid "" "On Unix-based systems, :func:`scandir` uses the system's `opendir() `_ and " @@ -2575,7 +2578,7 @@ msgid "" "desktop/aa364428(v=vs.85).aspx>`_ functions." msgstr "" -#: library/os.rst:2453 +#: library/os.rst:2455 msgid "" "Added support for the :term:`context manager` protocol and the :func:" "`~scandir.close()` method. If a :func:`scandir` iterator is neither " @@ -2583,28 +2586,28 @@ msgid "" "its destructor." msgstr "" -#: library/os.rst:2459 +#: library/os.rst:2461 msgid "The function accepts a :term:`path-like object`." msgstr "" -#: library/os.rst:2461 +#: library/os.rst:2463 msgid "Added support for :ref:`file descriptors ` on Unix." msgstr "" -#: library/os.rst:2467 +#: library/os.rst:2469 msgid "" "Object yielded by :func:`scandir` to expose the file path and other file " "attributes of a directory entry." msgstr "" -#: library/os.rst:2470 +#: library/os.rst:2472 msgid "" ":func:`scandir` will provide as much of this information as possible without " "making additional system calls. When a ``stat()`` or ``lstat()`` system call " "is made, the ``os.DirEntry`` object will cache the result." msgstr "" -#: library/os.rst:2474 +#: library/os.rst:2476 msgid "" "``os.DirEntry`` instances are not intended to be stored in long-lived data " "structures; if you know the file metadata has changed or if a long time has " @@ -2612,7 +2615,7 @@ msgid "" "up-to-date information." msgstr "" -#: library/os.rst:2479 +#: library/os.rst:2481 msgid "" "Because the ``os.DirEntry`` methods can make operating system calls, they " "may also raise :exc:`OSError`. If you need very fine-grained control over " @@ -2620,29 +2623,29 @@ msgid "" "methods and handle as appropriate." msgstr "" -#: library/os.rst:2484 +#: library/os.rst:2486 msgid "" "To be directly usable as a :term:`path-like object`, ``os.DirEntry`` " "implements the :class:`PathLike` interface." msgstr "" -#: library/os.rst:2487 +#: library/os.rst:2489 msgid "Attributes and methods on a ``os.DirEntry`` instance are as follows:" msgstr "" -#: library/os.rst:2491 +#: library/os.rst:2493 msgid "" "The entry's base filename, relative to the :func:`scandir` *path* argument." msgstr "" -#: library/os.rst:2494 +#: library/os.rst:2496 msgid "" "The :attr:`name` attribute will be ``bytes`` if the :func:`scandir` *path* " "argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os." "fsdecode` to decode byte filenames." msgstr "" -#: library/os.rst:2500 +#: library/os.rst:2502 msgid "" "The entry's full path name: equivalent to ``os.path.join(scandir_path, entry." "name)`` where *scandir_path* is the :func:`scandir` *path* argument. The " @@ -2652,51 +2655,51 @@ msgid "" "attribute." msgstr "" -#: library/os.rst:2507 +#: library/os.rst:2509 msgid "" "The :attr:`path` attribute will be ``bytes`` if the :func:`scandir` *path* " "argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os." "fsdecode` to decode byte filenames." msgstr "" -#: library/os.rst:2513 +#: library/os.rst:2515 msgid "Return the inode number of the entry." msgstr "" -#: library/os.rst:2515 +#: library/os.rst:2517 msgid "" "The result is cached on the ``os.DirEntry`` object. Use ``os.stat(entry." "path, follow_symlinks=False).st_ino`` to fetch up-to-date information." msgstr "" -#: library/os.rst:2519 +#: library/os.rst:2521 msgid "" "On the first, uncached call, a system call is required on Windows but not on " "Unix." msgstr "" -#: library/os.rst:2524 +#: library/os.rst:2526 msgid "" "Return ``True`` if this entry is a directory or a symbolic link pointing to " "a directory; return ``False`` if the entry is or points to any other kind of " "file, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2528 +#: library/os.rst:2530 msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if this entry is a " "directory (without following symlinks); return ``False`` if the entry is any " "other kind of file or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2532 +#: library/os.rst:2534 msgid "" "The result is cached on the ``os.DirEntry`` object, with a separate cache " "for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` along " "with :func:`stat.S_ISDIR` to fetch up-to-date information." msgstr "" -#: library/os.rst:2536 +#: library/os.rst:2538 msgid "" "On the first, uncached call, no system call is required in most cases. " "Specifically, for non-symlinks, neither Windows or Unix require a system " @@ -2706,46 +2709,46 @@ msgid "" "is ``False``." msgstr "" -#: library/os.rst:2573 +#: library/os.rst:2575 msgid "" "This method can raise :exc:`OSError`, such as :exc:`PermissionError`, but :" "exc:`FileNotFoundError` is caught and not raised." msgstr "" -#: library/os.rst:2548 +#: library/os.rst:2550 msgid "" "Return ``True`` if this entry is a file or a symbolic link pointing to a " "file; return ``False`` if the entry is or points to a directory or other non-" "file entry, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2552 +#: library/os.rst:2554 msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if this entry is a " "file (without following symlinks); return ``False`` if the entry is a " "directory or other non-file entry, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2556 +#: library/os.rst:2558 msgid "" "The result is cached on the ``os.DirEntry`` object. Caching, system calls " "made, and exceptions raised are as per :func:`~os.DirEntry.is_dir`." msgstr "" -#: library/os.rst:2561 +#: library/os.rst:2563 msgid "" "Return ``True`` if this entry is a symbolic link (even if broken); return " "``False`` if the entry points to a directory or any kind of file, or if it " "doesn't exist anymore." msgstr "" -#: library/os.rst:2565 +#: library/os.rst:2567 msgid "" "The result is cached on the ``os.DirEntry`` object. Call :func:`os.path." "islink` to fetch up-to-date information." msgstr "" -#: library/os.rst:2568 +#: library/os.rst:2570 msgid "" "On the first, uncached call, no system call is required in most cases. " "Specifically, neither Windows or Unix require a system call, except on " @@ -2753,35 +2756,35 @@ msgid "" "``dirent.d_type == DT_UNKNOWN``." msgstr "" -#: library/os.rst:2578 +#: library/os.rst:2580 msgid "" "Return a :class:`stat_result` object for this entry. This method follows " "symbolic links by default; to stat a symbolic link add the " "``follow_symlinks=False`` argument." msgstr "" -#: library/os.rst:2582 +#: library/os.rst:2584 msgid "" "On Unix, this method always requires a system call. On Windows, it only " "requires a system call if *follow_symlinks* is ``True`` and the entry is a " "reparse point (for example, a symbolic link or directory junction)." msgstr "" -#: library/os.rst:2587 +#: library/os.rst:2589 msgid "" "On Windows, the ``st_ino``, ``st_dev`` and ``st_nlink`` attributes of the :" "class:`stat_result` are always set to zero. Call :func:`os.stat` to get " "these attributes." msgstr "" -#: library/os.rst:2591 +#: library/os.rst:2593 msgid "" "The result is cached on the ``os.DirEntry`` object, with a separate cache " "for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` to fetch " "up-to-date information." msgstr "" -#: library/os.rst:2595 +#: library/os.rst:2597 msgid "" "Note that there is a nice correspondence between several attributes and " "methods of ``os.DirEntry`` and of :class:`pathlib.Path`. In particular, the " @@ -2789,13 +2792,13 @@ msgid "" "``is_file()``, ``is_symlink()`` and ``stat()`` methods." msgstr "" -#: library/os.rst:2603 +#: library/os.rst:2605 msgid "" "Added support for the :class:`~os.PathLike` interface. Added support for :" "class:`bytes` paths on Windows." msgstr "" -#: library/os.rst:2610 +#: library/os.rst:2612 msgid "" "Get the status of a file or a file descriptor. Perform the equivalent of a :" "c:func:`stat` system call on the given path. *path* may be specified as " @@ -2804,19 +2807,19 @@ msgid "" "`stat_result` object." msgstr "" -#: library/os.rst:2616 +#: library/os.rst:2618 msgid "" "This function normally follows symlinks; to stat a symlink add the argument " "``follow_symlinks=False``, or use :func:`lstat`." msgstr "" -#: library/os.rst:3444 library/os.rst:3476 library/os.rst:3496 +#: library/os.rst:3446 library/os.rst:3478 library/os.rst:3498 msgid "" "This function can support :ref:`specifying a file descriptor ` and :" "ref:`not following symlinks `." msgstr "" -#: library/os.rst:2622 +#: library/os.rst:2624 msgid "" "On Windows, passing ``follow_symlinks=False`` will disable following all " "name-surrogate reparse points, which includes symlinks and directory " @@ -2830,21 +2833,21 @@ msgid "" "junction points, which will raise the usual exceptions." msgstr "" -#: library/os.rst:3364 +#: library/os.rst:3366 msgid "Example::" msgstr "" -#: library/os.rst:2648 +#: library/os.rst:2650 msgid ":func:`fstat` and :func:`lstat` functions." msgstr "" -#: library/os.rst:2650 +#: library/os.rst:2652 msgid "" "Added the *dir_fd* and *follow_symlinks* arguments, specifying a file " "descriptor instead of a path." msgstr "" -#: library/os.rst:2657 +#: library/os.rst:2659 msgid "" "On Windows, all reparse points that can be resolved by the operating system " "are now followed, and passing ``follow_symlinks=False`` disables following " @@ -2854,100 +2857,100 @@ msgid "" "of raising an error." msgstr "" -#: library/os.rst:2668 +#: library/os.rst:2670 msgid "" "Object whose attributes correspond roughly to the members of the :c:type:" "`stat` structure. It is used for the result of :func:`os.stat`, :func:`os." "fstat` and :func:`os.lstat`." msgstr "" -#: library/os.rst:2672 +#: library/os.rst:2674 msgid "Attributes:" msgstr "" -#: library/os.rst:2676 +#: library/os.rst:2678 msgid "File mode: file type and file mode bits (permissions)." msgstr "" -#: library/os.rst:2680 +#: library/os.rst:2682 msgid "" "Platform dependent, but if non-zero, uniquely identifies the file for a " "given value of ``st_dev``. Typically:" msgstr "" -#: library/os.rst:2683 +#: library/os.rst:2685 msgid "the inode number on Unix," msgstr "" -#: library/os.rst:2684 +#: library/os.rst:2686 msgid "" "the `file index `_ on " "Windows" msgstr "" -#: library/os.rst:2690 +#: library/os.rst:2692 msgid "Identifier of the device on which this file resides." msgstr "" -#: library/os.rst:2694 +#: library/os.rst:2696 msgid "Number of hard links." msgstr "" -#: library/os.rst:2698 +#: library/os.rst:2700 msgid "User identifier of the file owner." msgstr "" -#: library/os.rst:2702 +#: library/os.rst:2704 msgid "Group identifier of the file owner." msgstr "" -#: library/os.rst:2706 +#: library/os.rst:2708 msgid "" "Size of the file in bytes, if it is a regular file or a symbolic link. The " "size of a symbolic link is the length of the pathname it contains, without a " "terminating null byte." msgstr "" -#: library/os.rst:2710 +#: library/os.rst:2712 msgid "Timestamps:" msgstr "" -#: library/os.rst:2714 +#: library/os.rst:2716 msgid "Time of most recent access expressed in seconds." msgstr "" -#: library/os.rst:2718 +#: library/os.rst:2720 msgid "Time of most recent content modification expressed in seconds." msgstr "" -#: library/os.rst:2738 +#: library/os.rst:2740 msgid "Platform dependent:" msgstr "" -#: library/os.rst:2740 +#: library/os.rst:2742 msgid "the time of most recent metadata change on Unix," msgstr "" -#: library/os.rst:2725 +#: library/os.rst:2727 msgid "the time of creation on Windows, expressed in seconds." msgstr "" -#: library/os.rst:2729 +#: library/os.rst:2731 msgid "Time of most recent access expressed in nanoseconds as an integer." msgstr "" -#: library/os.rst:2733 +#: library/os.rst:2735 msgid "" "Time of most recent content modification expressed in nanoseconds as an " "integer." msgstr "" -#: library/os.rst:2741 +#: library/os.rst:2743 msgid "" "the time of creation on Windows, expressed in nanoseconds as an integer." msgstr "" -#: library/os.rst:2746 +#: library/os.rst:2748 msgid "" "The exact meaning and resolution of the :attr:`st_atime`, :attr:`st_mtime`, " "and :attr:`st_ctime` attributes depend on the operating system and the file " @@ -2956,7 +2959,7 @@ msgid "" "only 1-day resolution. See your operating system documentation for details." msgstr "" -#: library/os.rst:2753 +#: library/os.rst:2755 msgid "" "Similarly, although :attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:" "`st_ctime_ns` are always expressed in nanoseconds, many systems do not " @@ -2967,78 +2970,78 @@ msgid "" "attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:`st_ctime_ns`." msgstr "" -#: library/os.rst:2762 +#: library/os.rst:2764 msgid "" "On some Unix systems (such as Linux), the following attributes may also be " "available:" msgstr "" -#: library/os.rst:2767 +#: library/os.rst:2769 msgid "" "Number of 512-byte blocks allocated for file. This may be smaller than :attr:" "`st_size`/512 when the file has holes." msgstr "" -#: library/os.rst:2772 +#: library/os.rst:2774 msgid "" "\"Preferred\" blocksize for efficient file system I/O. Writing to a file in " "smaller chunks may cause an inefficient read-modify-rewrite." msgstr "" -#: library/os.rst:2777 +#: library/os.rst:2779 msgid "Type of device if an inode device." msgstr "" -#: library/os.rst:2781 +#: library/os.rst:2783 msgid "User defined flags for file." msgstr "" -#: library/os.rst:2783 +#: library/os.rst:2785 msgid "" "On other Unix systems (such as FreeBSD), the following attributes may be " "available (but may be only filled out if root tries to use them):" msgstr "" -#: library/os.rst:2788 +#: library/os.rst:2790 msgid "File generation number." msgstr "" -#: library/os.rst:2792 +#: library/os.rst:2794 msgid "Time of file creation." msgstr "" -#: library/os.rst:2794 +#: library/os.rst:2796 msgid "" "On Solaris and derivatives, the following attributes may also be available:" msgstr "" -#: library/os.rst:2799 +#: library/os.rst:2801 msgid "" "String that uniquely identifies the type of the filesystem that contains the " "file." msgstr "" -#: library/os.rst:2802 +#: library/os.rst:2804 msgid "On macOS systems, the following attributes may also be available:" msgstr "" -#: library/os.rst:2806 +#: library/os.rst:2808 msgid "Real size of the file." msgstr "" -#: library/os.rst:2810 +#: library/os.rst:2812 msgid "Creator of the file." msgstr "" -#: library/os.rst:2814 +#: library/os.rst:2816 msgid "File type." msgstr "" -#: library/os.rst:2816 +#: library/os.rst:2818 msgid "On Windows systems, the following attributes are also available:" msgstr "" -#: library/os.rst:2820 +#: library/os.rst:2822 msgid "" "Windows file attributes: ``dwFileAttributes`` member of the " "``BY_HANDLE_FILE_INFORMATION`` structure returned by :c:func:" @@ -3046,21 +3049,21 @@ msgid "" "mod:`stat` module." msgstr "" -#: library/os.rst:2827 +#: library/os.rst:2829 msgid "" "When :attr:`st_file_attributes` has the ``FILE_ATTRIBUTE_REPARSE_POINT`` " "set, this field contains the tag identifying the type of reparse point. See " "the ``IO_REPARSE_TAG_*`` constants in the :mod:`stat` module." msgstr "" -#: library/os.rst:2831 +#: library/os.rst:2833 msgid "" "The standard module :mod:`stat` defines functions and constants that are " "useful for extracting information from a :c:type:`stat` structure. (On " "Windows, some items are filled with dummy values.)" msgstr "" -#: library/os.rst:2835 +#: library/os.rst:2837 msgid "" "For backward compatibility, a :class:`stat_result` instance is also " "accessible as a tuple of at least 10 integers giving the most important (and " @@ -3072,35 +3075,35 @@ msgid "" "class:`stat_result` as a tuple always returns integers." msgstr "" -#: library/os.rst:2844 +#: library/os.rst:2846 msgid "" "Added the :attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:`st_ctime_ns` " "members." msgstr "" -#: library/os.rst:2848 +#: library/os.rst:2850 msgid "Added the :attr:`st_file_attributes` member on Windows." msgstr "" -#: library/os.rst:2851 +#: library/os.rst:2853 msgid "Windows now returns the file index as :attr:`st_ino` when available." msgstr "" -#: library/os.rst:2855 +#: library/os.rst:2857 msgid "Added the :attr:`st_fstype` member to Solaris/derivatives." msgstr "" -#: library/os.rst:2858 +#: library/os.rst:2860 msgid "Added the :attr:`st_reparse_tag` member on Windows." msgstr "" -#: library/os.rst:2861 +#: library/os.rst:2863 msgid "" "On Windows, the :attr:`st_mode` member now identifies special files as :" "const:`S_IFCHR`, :const:`S_IFIFO` or :const:`S_IFBLK` as appropriate." msgstr "" -#: library/os.rst:2868 +#: library/os.rst:2870 msgid "" "Perform a :c:func:`statvfs` system call on the given path. The return value " "is an object whose attributes describe the filesystem on the given path, and " @@ -3110,7 +3113,7 @@ msgid "" "`f_flag`, :attr:`f_namemax`, :attr:`f_fsid`." msgstr "" -#: library/os.rst:2875 +#: library/os.rst:2877 msgid "" "Two module-level constants are defined for the :attr:`f_flag` attribute's " "bit-flags: if :const:`ST_RDONLY` is set, the filesystem is mounted read-" @@ -3118,7 +3121,7 @@ msgid "" "are disabled or not supported." msgstr "" -#: library/os.rst:2880 +#: library/os.rst:2882 msgid "" "Additional module-level constants are defined for GNU/glibc based systems. " "These are :const:`ST_NODEV` (disallow access to device special files), :" @@ -3131,11 +3134,11 @@ msgid "" "relative to mtime/ctime)." msgstr "" -#: library/os.rst:2893 +#: library/os.rst:2895 msgid "The :const:`ST_RDONLY` and :const:`ST_NOSUID` constants were added." msgstr "" -#: library/os.rst:2899 +#: library/os.rst:2901 msgid "" "The :const:`ST_NODEV`, :const:`ST_NOEXEC`, :const:`ST_SYNCHRONOUS`, :const:" "`ST_MANDLOCK`, :const:`ST_WRITE`, :const:`ST_APPEND`, :const:" @@ -3143,11 +3146,11 @@ msgid "" "`ST_RELATIME` constants were added." msgstr "" -#: library/os.rst:2908 +#: library/os.rst:2910 msgid "Added :attr:`f_fsid`." msgstr "" -#: library/os.rst:2914 +#: library/os.rst:2916 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "accept an open file descriptor for their *dir_fd* parameter. Different " @@ -3159,7 +3162,7 @@ msgid "" "(Specifying ``None`` for *dir_fd* is always supported on all platforms.)" msgstr "" -#: library/os.rst:2924 +#: library/os.rst:2926 msgid "" "To check whether a particular function accepts an open file descriptor for " "its *dir_fd* parameter, use the ``in`` operator on ``supports_dir_fd``. As " @@ -3167,13 +3170,13 @@ msgid "" "open file descriptors for *dir_fd* on the local platform::" msgstr "" -#: library/os.rst:2931 +#: library/os.rst:2933 msgid "" "Currently *dir_fd* parameters only work on Unix platforms; none of them work " "on Windows." msgstr "" -#: library/os.rst:2939 +#: library/os.rst:2941 msgid "" "A :class:`set` object indicating whether :func:`os.access` permits " "specifying ``True`` for its *effective_ids* parameter on the local platform. " @@ -3182,19 +3185,19 @@ msgid "" "func:`os.access`; otherwise it will be empty." msgstr "" -#: library/os.rst:2945 +#: library/os.rst:2947 msgid "" "This expression evaluates to ``True`` if :func:`os.access` supports " "``effective_ids=True`` on the local platform::" msgstr "" -#: library/os.rst:2950 +#: library/os.rst:2952 msgid "" "Currently *effective_ids* is only supported on Unix platforms; it does not " "work on Windows." msgstr "" -#: library/os.rst:2958 +#: library/os.rst:2960 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "permit specifying their *path* parameter as an open file descriptor on the " @@ -3203,7 +3206,7 @@ msgid "" "*path* arguments is not available on all platforms Python supports." msgstr "" -#: library/os.rst:2965 +#: library/os.rst:2967 msgid "" "To determine whether a particular function permits specifying an open file " "descriptor for its *path* parameter, use the ``in`` operator on " @@ -3212,7 +3215,7 @@ msgid "" "platform::" msgstr "" -#: library/os.rst:2978 +#: library/os.rst:2980 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "accept ``False`` for their *follow_symlinks* parameter on the local " @@ -3225,7 +3228,7 @@ msgid "" "on all platforms.)" msgstr "" -#: library/os.rst:2988 +#: library/os.rst:2990 msgid "" "To check whether a particular function accepts ``False`` for its " "*follow_symlinks* parameter, use the ``in`` operator on " @@ -3234,11 +3237,11 @@ msgid "" "stat` on the local platform::" msgstr "" -#: library/os.rst:3001 +#: library/os.rst:3003 msgid "Create a symbolic link pointing to *src* named *dst*." msgstr "" -#: library/os.rst:3003 +#: library/os.rst:3005 msgid "" "On Windows, a symlink represents either a file or a directory, and does not " "morph to the target dynamically. If the target is present, the type of the " @@ -3248,7 +3251,7 @@ msgid "" "ignored." msgstr "" -#: library/os.rst:3014 +#: library/os.rst:3016 msgid "" "On newer versions of Windows 10, unprivileged accounts can create symlinks " "if Developer Mode is enabled. When Developer Mode is not available/enabled, " @@ -3256,83 +3259,83 @@ msgid "" "must be run as an administrator." msgstr "" -#: library/os.rst:3020 +#: library/os.rst:3022 msgid "" ":exc:`OSError` is raised when the function is called by an unprivileged user." msgstr "" -#: library/os.rst:3023 +#: library/os.rst:23 msgid "" "Raises an :ref:`auditing event ` ``os.symlink`` with arguments " "``src``, ``dst``, ``dir_fd``." msgstr "" -#: library/os.rst:3030 +#: library/os.rst:3032 msgid "" "Added the *dir_fd* argument, and now allow *target_is_directory* on non-" "Windows platforms." msgstr "" -#: library/os.rst:3037 +#: library/os.rst:3039 msgid "Added support for unelevated symlinks on Windows with Developer Mode." msgstr "" -#: library/os.rst:3043 +#: library/os.rst:3045 msgid "Force write of everything to disk." msgstr "" -#: library/os.rst:3052 +#: library/os.rst:3054 msgid "" "Truncate the file corresponding to *path*, so that it is at most *length* " "bytes in size." msgstr "" -#: library/os.rst:3057 +#: library/os.rst:6 msgid "" "Raises an :ref:`auditing event ` ``os.truncate`` with arguments " "``path``, ``length``." msgstr "" -#: library/os.rst:3072 +#: library/os.rst:3074 msgid "" "Remove (delete) the file *path*. This function is semantically identical " "to :func:`remove`; the ``unlink`` name is its traditional Unix name. Please " "see the documentation for :func:`remove` for further information." msgstr "" -#: library/os.rst:3088 +#: library/os.rst:3090 msgid "Set the access and modified times of the file specified by *path*." msgstr "" -#: library/os.rst:3090 +#: library/os.rst:3092 msgid "" ":func:`utime` takes two optional parameters, *times* and *ns*. These specify " "the times set on *path* and are used as follows:" msgstr "" -#: library/os.rst:3093 +#: library/os.rst:3095 msgid "" "If *ns* is specified, it must be a 2-tuple of the form ``(atime_ns, " "mtime_ns)`` where each member is an int expressing nanoseconds." msgstr "" -#: library/os.rst:3096 +#: library/os.rst:3098 msgid "" "If *times* is not ``None``, it must be a 2-tuple of the form ``(atime, " "mtime)`` where each member is an int or float expressing seconds." msgstr "" -#: library/os.rst:3099 +#: library/os.rst:3101 msgid "" "If *times* is ``None`` and *ns* is unspecified, this is equivalent to " "specifying ``ns=(atime_ns, mtime_ns)`` where both times are the current time." msgstr "" -#: library/os.rst:3103 +#: library/os.rst:3105 msgid "It is an error to specify tuples for both *times* and *ns*." msgstr "" -#: library/os.rst:3105 +#: library/os.rst:3107 msgid "" "Note that the exact times you set here may not be returned by a subsequent :" "func:`~os.stat` call, depending on the resolution with which your operating " @@ -3342,19 +3345,19 @@ msgid "" "func:`utime`." msgstr "" -#: library/os.rst:3116 +#: library/os.rst:29 msgid "" "Raises an :ref:`auditing event ` ``os.utime`` with arguments " "``path``, ``times``, ``ns``, ``dir_fd``." msgstr "" -#: library/os.rst:3118 +#: library/os.rst:3120 msgid "" "Added support for specifying *path* as an open file descriptor, and the " "*dir_fd*, *follow_symlinks*, and *ns* parameters." msgstr "" -#: library/os.rst:3132 +#: library/os.rst:3134 msgid "" "Generate the file names in a directory tree by walking the tree either top-" "down or bottom-up. For each directory in the tree rooted at directory *top* " @@ -3362,7 +3365,7 @@ msgid "" "filenames)``." msgstr "" -#: library/os.rst:3137 +#: library/os.rst:3139 msgid "" "*dirpath* is a string, the path to the directory. *dirnames* is a list of " "the names of the subdirectories in *dirpath* (including symlinks to " @@ -3376,7 +3379,7 @@ msgid "" "unspecified." msgstr "" -#: library/os.rst:3148 +#: library/os.rst:3150 msgid "" "If optional argument *topdown* is ``True`` or not specified, the triple for " "a directory is generated before the triples for any of its subdirectories " @@ -3387,7 +3390,7 @@ msgid "" "its subdirectories are generated." msgstr "" -#: library/os.rst:3156 +#: library/os.rst:3158 msgid "" "When *topdown* is ``True``, the caller can modify the *dirnames* list in-" "place (perhaps using :keyword:`del` or slice assignment), and :func:`walk` " @@ -3400,7 +3403,7 @@ msgid "" "itself is generated." msgstr "" -#: library/os.rst:3165 +#: library/os.rst:3167 msgid "" "By default, errors from the :func:`scandir` call are ignored. If optional " "argument *onerror* is specified, it should be a function; it will be called " @@ -3410,66 +3413,66 @@ msgid "" "object." msgstr "" -#: library/os.rst:3171 +#: library/os.rst:3173 msgid "" "By default, :func:`walk` will not walk down into symbolic links that resolve " "to directories. Set *followlinks* to ``True`` to visit directories pointed " "to by symlinks, on systems that support them." msgstr "" -#: library/os.rst:3177 +#: library/os.rst:3179 msgid "" "Be aware that setting *followlinks* to ``True`` can lead to infinite " "recursion if a link points to a parent directory of itself. :func:`walk` " "does not keep track of the directories it visited already." msgstr "" -#: library/os.rst:3183 +#: library/os.rst:3185 msgid "" "If you pass a relative pathname, don't change the current working directory " "between resumptions of :func:`walk`. :func:`walk` never changes the current " "directory, and assumes that its caller doesn't either." msgstr "" -#: library/os.rst:3248 +#: library/os.rst:3250 msgid "" "This example displays the number of bytes taken by non-directory files in " "each directory under the starting directory, except that it doesn't look " "under any CVS subdirectory::" msgstr "" -#: library/os.rst:3200 +#: library/os.rst:3202 msgid "" "In the next example (simple implementation of :func:`shutil.rmtree`), " "walking the tree bottom-up is essential, :func:`rmdir` doesn't allow " "deleting a directory before the directory is empty::" msgstr "" -#: library/os.rst:3215 +#: library/os.rst:88 msgid "" "Raises an :ref:`auditing event ` ``os.walk`` with arguments " "``top``, ``topdown``, ``onerror``, ``followlinks``." msgstr "" -#: library/os.rst:3217 +#: library/os.rst:3219 msgid "" "This function now calls :func:`os.scandir` instead of :func:`os.listdir`, " "making it faster by reducing the number of calls to :func:`os.stat`." msgstr "" -#: library/os.rst:3231 +#: library/os.rst:3233 msgid "" "This behaves exactly like :func:`walk`, except that it yields a 4-tuple " "``(dirpath, dirnames, filenames, dirfd)``, and it supports ``dir_fd``." msgstr "" -#: library/os.rst:3234 +#: library/os.rst:3236 msgid "" "*dirpath*, *dirnames* and *filenames* are identical to :func:`walk` output, " "and *dirfd* is a file descriptor referring to the directory *dirpath*." msgstr "" -#: library/os.rst:3237 +#: library/os.rst:3239 msgid "" "This function always supports :ref:`paths relative to directory descriptors " "` and :ref:`not following symlinks `. Note however " @@ -3477,30 +3480,30 @@ msgid "" "*follow_symlinks* is ``False``." msgstr "" -#: library/os.rst:3244 +#: library/os.rst:3246 msgid "" "Since :func:`fwalk` yields file descriptors, those are only valid until the " "next iteration step, so you should duplicate them (e.g. with :func:`dup`) if " "you want to keep them longer." msgstr "" -#: library/os.rst:3261 +#: library/os.rst:3263 msgid "" "In the next example, walking the tree bottom-up is essential: :func:`rmdir` " "doesn't allow deleting a directory before the directory is empty::" msgstr "" -#: library/os.rst:3276 +#: library/os.rst:50 msgid "" "Raises an :ref:`auditing event ` ``os.fwalk`` with arguments " "``top``, ``topdown``, ``onerror``, ``follow_symlinks``, ``dir_fd``." msgstr "" -#: library/os.rst:3285 +#: library/os.rst:3287 msgid "Added support for :class:`bytes` paths." msgstr "" -#: library/os.rst:3291 +#: library/os.rst:3293 msgid "" "Create an anonymous file and return a file descriptor that refers to it. " "*flags* must be one of the ``os.MFD_*`` constants available on the system " @@ -3508,7 +3511,7 @@ msgid "" "descriptor is :ref:`non-inheritable `." msgstr "" -#: library/os.rst:3296 +#: library/os.rst:3298 msgid "" "The name supplied in *name* is used as a filename and will be displayed as " "the target of the corresponding symbolic link in the directory ``/proc/self/" @@ -3518,23 +3521,23 @@ msgid "" "side effects." msgstr "" -#: library/os.rst:3304 +#: library/os.rst:3306 msgid "" ":ref:`Availability `: Linux 3.17 or newer with glibc 2.27 or " "newer." msgstr "" -#: library/os.rst:3326 +#: library/os.rst:3328 msgid "These flags can be passed to :func:`memfd_create`." msgstr "" -#: library/os.rst:3330 +#: library/os.rst:3332 msgid "" ":ref:`Availability `: Linux 3.17 or newer with glibc 2.27 or " "newer. The ``MFD_HUGE*`` flags are only available since Linux 4.14." msgstr "" -#: library/os.rst:3336 +#: library/os.rst:3338 msgid "" "Create and return an event file descriptor. The file descriptors supports " "raw :func:`read` and :func:`write` with a buffer size of 8, :func:`~select." @@ -3543,7 +3546,7 @@ msgid "" "ref:`non-inheritable `." msgstr "" -#: library/os.rst:3342 +#: library/os.rst:3344 msgid "" "*initval* is the initial value of the event counter. The initial value must " "be an 32 bit unsigned integer. Please note that the initial value is limited " @@ -3551,90 +3554,90 @@ msgid "" "integer with a maximum value of 2\\ :sup:`64`\\ -\\ 2." msgstr "" -#: library/os.rst:3347 +#: library/os.rst:3349 msgid "" "*flags* can be constructed from :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK`, " "and :const:`EFD_SEMAPHORE`." msgstr "" -#: library/os.rst:3350 +#: library/os.rst:3352 msgid "" "If :const:`EFD_SEMAPHORE` is specified and the event counter is non-zero, :" "func:`eventfd_read` returns 1 and decrements the counter by one." msgstr "" -#: library/os.rst:3353 +#: library/os.rst:3355 msgid "" "If :const:`EFD_SEMAPHORE` is not specified and the event counter is non-" "zero, :func:`eventfd_read` returns the current event counter value and " "resets the counter to zero." msgstr "" -#: library/os.rst:3357 +#: library/os.rst:3359 msgid "" "If the event counter is zero and :const:`EFD_NONBLOCK` is not specified, :" "func:`eventfd_read` blocks." msgstr "" -#: library/os.rst:3360 +#: library/os.rst:3362 msgid "" ":func:`eventfd_write` increments the event counter. Write blocks if the " "write operation would increment the counter to a value larger than 2\\ :sup:" "`64`\\ -\\ 2." msgstr "" -#: library/os.rst:3382 +#: library/os.rst:3384 msgid "" ":ref:`Availability `: Linux 2.6.27 or newer with glibc 2.8 or " "newer." msgstr "" -#: library/os.rst:3387 +#: library/os.rst:3389 msgid "" "Read value from an :func:`eventfd` file descriptor and return a 64 bit " "unsigned int. The function does not verify that *fd* is an :func:`eventfd`." msgstr "" -#: library/os.rst:3400 library/os.rst:3417 +#: library/os.rst:3402 library/os.rst:3419 msgid ":ref:`Availability `: See :func:`eventfd`" msgstr "" -#: library/os.rst:3396 +#: library/os.rst:3398 msgid "" "Add value to an :func:`eventfd` file descriptor. *value* must be a 64 bit " "unsigned int. The function does not verify that *fd* is an :func:`eventfd`." msgstr "" -#: library/os.rst:3405 +#: library/os.rst:3407 msgid "Set close-on-exec flag for new :func:`eventfd` file descriptor." msgstr "" -#: library/os.rst:3413 +#: library/os.rst:3415 msgid "" "Set :const:`O_NONBLOCK` status flag for new :func:`eventfd` file descriptor." msgstr "" -#: library/os.rst:3422 +#: library/os.rst:3424 msgid "" "Provide semaphore-like semantics for reads from a :func:`eventfd` file " "descriptor. On read the internal counter is decremented by one." msgstr "" -#: library/os.rst:3426 +#: library/os.rst:3428 msgid "" ":ref:`Availability `: Linux 2.6.30 or newer with glibc 2.8 or " "newer." msgstr "" -#: library/os.rst:3431 +#: library/os.rst:3433 msgid "Linux extended attributes" msgstr "" -#: library/os.rst:3435 +#: library/os.rst:3437 msgid "These functions are all available on Linux only." msgstr "" -#: library/os.rst:3439 +#: library/os.rst:3441 msgid "" "Return the value of the extended filesystem attribute *attribute* for " "*path*. *attribute* can be bytes or str (directly or indirectly through the :" @@ -3642,17 +3645,17 @@ msgid "" "encoding." msgstr "" -#: library/os.rst:3447 +#: library/os.rst:9 msgid "" "Raises an :ref:`auditing event ` ``os.getxattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: library/os.rst:3481 library/os.rst:3506 +#: library/os.rst:3483 library/os.rst:3508 msgid "Accepts a :term:`path-like object` for *path* and *attribute*." msgstr "" -#: library/os.rst:3455 +#: library/os.rst:3457 msgid "" "Return a list of the extended filesystem attributes on *path*. The " "attributes in the list are represented as strings decoded with the " @@ -3660,13 +3663,13 @@ msgid "" "the current directory." msgstr "" -#: library/os.rst:3463 +#: library/os.rst:9 msgid "" "Raises an :ref:`auditing event ` ``os.listxattr`` with argument " "``path``." msgstr "" -#: library/os.rst:3471 +#: library/os.rst:3473 msgid "" "Removes the extended filesystem attribute *attribute* from *path*. " "*attribute* should be bytes or str (directly or indirectly through the :" @@ -3674,13 +3677,13 @@ msgid "" "`filesystem encoding and error handler`." msgstr "" -#: library/os.rst:3479 +#: library/os.rst:9 msgid "" "Raises an :ref:`auditing event ` ``os.removexattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: library/os.rst:3487 +#: library/os.rst:3489 msgid "" "Set the extended filesystem attribute *attribute* on *path* to *value*. " "*attribute* must be a bytes or str with no embedded NULs (directly or " @@ -3692,45 +3695,45 @@ msgid "" "will not be created and ``EEXISTS`` will be raised." msgstr "" -#: library/os.rst:3501 +#: library/os.rst:3503 msgid "" "A bug in Linux kernel versions less than 2.6.39 caused the flags argument to " "be ignored on some filesystems." msgstr "" -#: library/os.rst:3504 +#: library/os.rst:18 msgid "" "Raises an :ref:`auditing event ` ``os.setxattr`` with arguments " "``path``, ``attribute``, ``value``, ``flags``." msgstr "" -#: library/os.rst:3512 +#: library/os.rst:3514 msgid "" "The maximum size the value of an extended attribute can be. Currently, this " "is 64 KiB on Linux." msgstr "" -#: library/os.rst:3518 +#: library/os.rst:3520 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must create an attribute." msgstr "" -#: library/os.rst:3524 +#: library/os.rst:3526 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must replace an existing attribute." msgstr "" -#: library/os.rst:3531 +#: library/os.rst:3533 msgid "Process Management" msgstr "" -#: library/os.rst:3533 +#: library/os.rst:3535 msgid "These functions may be used to create and manage processes." msgstr "" -#: library/os.rst:3535 +#: library/os.rst:3537 msgid "" "The various :func:`exec\\* ` functions take a list of arguments for " "the new program loaded into the process. In each case, the first of these " @@ -3741,7 +3744,7 @@ msgid "" "standard output; ``foo`` will seem to be ignored." msgstr "" -#: library/os.rst:3546 +#: library/os.rst:3548 msgid "" "Generate a :const:`SIGABRT` signal to the current process. On Unix, the " "default behavior is to produce a core dump; on Windows, the process " @@ -3750,37 +3753,37 @@ msgid "" "`SIGABRT` with :func:`signal.signal`." msgstr "" -#: library/os.rst:3555 +#: library/os.rst:3557 msgid "Add a path to the DLL search path." msgstr "" -#: library/os.rst:3557 +#: library/os.rst:3559 msgid "" "This search path is used when resolving dependencies for imported extension " "modules (the module itself is resolved through :data:`sys.path`), and also " "by :mod:`ctypes`." msgstr "" -#: library/os.rst:3561 +#: library/os.rst:3563 msgid "" "Remove the directory by calling **close()** on the returned object or using " "it in a :keyword:`with` statement." msgstr "" -#: library/os.rst:3564 +#: library/os.rst:3566 msgid "" "See the `Microsoft documentation `_ for more information about how " "DLLs are loaded." msgstr "" -#: library/os.rst:3568 +#: library/os.rst:14 msgid "" "Raises an :ref:`auditing event ` ``os.add_dll_directory`` with " "argument ``path``." msgstr "" -#: library/os.rst:3572 +#: library/os.rst:3574 msgid "" "Previous versions of CPython would resolve DLLs using the default behavior " "for the current process. This led to inconsistencies, such as only sometimes " @@ -3788,14 +3791,14 @@ msgid "" "such as ``AddDllDirectory`` having no effect." msgstr "" -#: library/os.rst:3579 +#: library/os.rst:3581 msgid "" "In 3.8, the two primary ways DLLs are loaded now explicitly override the " "process-wide behavior to ensure consistency. See the :ref:`porting notes " "` for information on updating libraries." msgstr "" -#: library/os.rst:3594 +#: library/os.rst:3596 msgid "" "These functions all execute a new program, replacing the current process; " "they do not return. On Unix, the new executable is loaded into the current " @@ -3803,7 +3806,7 @@ msgid "" "reported as :exc:`OSError` exceptions." msgstr "" -#: library/os.rst:3599 +#: library/os.rst:3601 msgid "" "The current process is replaced immediately. Open file objects and " "descriptors are not flushed, so if there may be data buffered on these open " @@ -3811,7 +3814,7 @@ msgid "" "fsync` before calling an :func:`exec\\* ` function." msgstr "" -#: library/os.rst:3605 +#: library/os.rst:3607 msgid "" "The \"l\" and \"v\" variants of the :func:`exec\\* ` functions differ " "in how command-line arguments are passed. The \"l\" variants are perhaps " @@ -3824,7 +3827,7 @@ msgid "" "enforced." msgstr "" -#: library/os.rst:3614 +#: library/os.rst:3616 msgid "" "The variants which include a \"p\" near the end (:func:`execlp`, :func:" "`execlpe`, :func:`execvp`, and :func:`execvpe`) will use the :envvar:`PATH` " @@ -3837,7 +3840,7 @@ msgid "" "absolute or relative path." msgstr "" -#: library/os.rst:3624 +#: library/os.rst:3626 msgid "" "For :func:`execle`, :func:`execlpe`, :func:`execve`, and :func:`execvpe` " "(note that these all end in \"e\"), the *env* parameter must be a mapping " @@ -3847,7 +3850,7 @@ msgid "" "process to inherit the environment of the current process." msgstr "" -#: library/os.rst:3631 +#: library/os.rst:3633 msgid "" "For :func:`execve` on some platforms, *path* may also be specified as an " "open file descriptor. This functionality may not be supported on your " @@ -3856,31 +3859,31 @@ msgid "" "`NotImplementedError`." msgstr "" -#: library/os.rst:3636 +#: library/os.rst:43 msgid "" "Raises an :ref:`auditing event ` ``os.exec`` with arguments " "``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:3640 +#: library/os.rst:3642 msgid "" "Added support for specifying *path* as an open file descriptor for :func:" "`execve`." msgstr "" -#: library/os.rst:3649 +#: library/os.rst:3651 msgid "" "Exit the process with status *n*, without calling cleanup handlers, flushing " "stdio buffers, etc." msgstr "" -#: library/os.rst:3654 +#: library/os.rst:3656 msgid "" "The standard way to exit is ``sys.exit(n)``. :func:`_exit` should normally " "only be used in the child process after a :func:`fork`." msgstr "" -#: library/os.rst:3657 +#: library/os.rst:3659 msgid "" "The following exit codes are defined and can be used with :func:`_exit`, " "although they are not required. These are typically used for system " @@ -3888,123 +3891,123 @@ msgid "" "delivery program." msgstr "" -#: library/os.rst:3663 +#: library/os.rst:3665 msgid "" "Some of these may not be available on all Unix platforms, since there is " "some variation. These constants are defined where they are defined by the " "underlying platform." msgstr "" -#: library/os.rst:3670 +#: library/os.rst:3672 msgid "Exit code that means no error occurred." msgstr "" -#: library/os.rst:3677 +#: library/os.rst:3679 msgid "" "Exit code that means the command was used incorrectly, such as when the " "wrong number of arguments are given." msgstr "" -#: library/os.rst:3685 +#: library/os.rst:3687 msgid "Exit code that means the input data was incorrect." msgstr "" -#: library/os.rst:3692 +#: library/os.rst:3694 msgid "Exit code that means an input file did not exist or was not readable." msgstr "" -#: library/os.rst:3699 +#: library/os.rst:3701 msgid "Exit code that means a specified user did not exist." msgstr "" -#: library/os.rst:3706 +#: library/os.rst:3708 msgid "Exit code that means a specified host did not exist." msgstr "" -#: library/os.rst:3713 +#: library/os.rst:3715 msgid "Exit code that means that a required service is unavailable." msgstr "" -#: library/os.rst:3720 +#: library/os.rst:3722 msgid "Exit code that means an internal software error was detected." msgstr "" -#: library/os.rst:3727 +#: library/os.rst:3729 msgid "" "Exit code that means an operating system error was detected, such as the " "inability to fork or create a pipe." msgstr "" -#: library/os.rst:3735 +#: library/os.rst:3737 msgid "" "Exit code that means some system file did not exist, could not be opened, or " "had some other kind of error." msgstr "" -#: library/os.rst:3743 +#: library/os.rst:3745 msgid "Exit code that means a user specified output file could not be created." msgstr "" -#: library/os.rst:3750 +#: library/os.rst:3752 msgid "" "Exit code that means that an error occurred while doing I/O on some file." msgstr "" -#: library/os.rst:3757 +#: library/os.rst:3759 msgid "" "Exit code that means a temporary failure occurred. This indicates something " "that may not really be an error, such as a network connection that couldn't " "be made during a retryable operation." msgstr "" -#: library/os.rst:3766 +#: library/os.rst:3768 msgid "" "Exit code that means that a protocol exchange was illegal, invalid, or not " "understood." msgstr "" -#: library/os.rst:3774 +#: library/os.rst:3776 msgid "" "Exit code that means that there were insufficient permissions to perform the " "operation (but not intended for file system problems)." msgstr "" -#: library/os.rst:3782 +#: library/os.rst:3784 msgid "Exit code that means that some kind of configuration error occurred." msgstr "" -#: library/os.rst:3789 +#: library/os.rst:3791 msgid "Exit code that means something like \"an entry was not found\"." msgstr "" -#: library/os.rst:3796 +#: library/os.rst:3798 msgid "" "Fork a child process. Return ``0`` in the child and the child's process id " "in the parent. If an error occurs :exc:`OSError` is raised." msgstr "" -#: library/os.rst:3799 +#: library/os.rst:3801 msgid "" "Note that some platforms including FreeBSD <= 6.3 and Cygwin have known " "issues when using ``fork()`` from a thread." msgstr "" -#: library/os.rst:3802 +#: library/os.rst:7 msgid "" "Raises an :ref:`auditing event ` ``os.fork`` with no arguments." msgstr "" -#: library/os.rst:3804 +#: library/os.rst:3806 msgid "" "Calling ``fork()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:3810 +#: library/os.rst:3812 msgid "See :mod:`ssl` for applications that use the SSL module with fork()." msgstr "" -#: library/os.rst:3817 +#: library/os.rst:3819 msgid "" "Fork a child process, using a new pseudo-terminal as the child's controlling " "terminal. Return a pair of ``(pid, fd)``, where *pid* is ``0`` in the child, " @@ -4013,24 +4016,24 @@ msgid "" "the :mod:`pty` module. If an error occurs :exc:`OSError` is raised." msgstr "" -#: library/os.rst:3823 +#: library/os.rst:7 msgid "" "Raises an :ref:`auditing event ` ``os.forkpty`` with no arguments." msgstr "" -#: library/os.rst:3825 +#: library/os.rst:3827 msgid "" "Calling ``forkpty()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:3838 +#: library/os.rst:3840 msgid "" "Send signal *sig* to the process *pid*. Constants for the specific signals " "available on the host platform are defined in the :mod:`signal` module." msgstr "" -#: library/os.rst:3841 +#: library/os.rst:3843 msgid "" "Windows: The :data:`signal.CTRL_C_EVENT` and :data:`signal.CTRL_BREAK_EVENT` " "signals are special signals which can only be sent to console processes " @@ -4040,36 +4043,36 @@ msgid "" "version of :func:`kill` additionally takes process handles to be killed." msgstr "" -#: library/os.rst:3849 +#: library/os.rst:3851 msgid "See also :func:`signal.pthread_kill`." msgstr "" -#: library/os.rst:3851 +#: library/os.rst:18 msgid "" "Raises an :ref:`auditing event ` ``os.kill`` with arguments " "``pid``, ``sig``." msgstr "" -#: library/os.rst:3853 +#: library/os.rst:3855 msgid "Windows support." msgstr "" -#: library/os.rst:3863 +#: library/os.rst:3865 msgid "Send the signal *sig* to the process group *pgid*." msgstr "" -#: library/os.rst:3865 +#: library/os.rst:7 msgid "" "Raises an :ref:`auditing event ` ``os.killpg`` with arguments " "``pgid``, ``sig``." msgstr "" -#: library/os.rst:3872 +#: library/os.rst:3874 msgid "" "Add *increment* to the process's \"niceness\". Return the new niceness." msgstr "" -#: library/os.rst:3879 +#: library/os.rst:3881 msgid "" "Return a file descriptor referring to the process *pid*. This descriptor " "can be used to perform process management without races and signals. The " @@ -4077,21 +4080,21 @@ msgid "" "currently defined." msgstr "" -#: library/os.rst:3884 +#: library/os.rst:3886 msgid "See the :manpage:`pidfd_open(2)` man page for more details." msgstr "" -#: library/os.rst:3886 +#: library/os.rst:3888 msgid ":ref:`Availability `: Linux 5.3+" msgstr "" -#: library/os.rst:3892 +#: library/os.rst:3894 msgid "" "Lock program segments into memory. The value of *op* (defined in ````) determines which segments are locked." msgstr "" -#: library/os.rst:3900 +#: library/os.rst:3902 msgid "" "Open a pipe to or from command *cmd*. The return value is an open file " "object connected to the pipe, which can be read or written depending on " @@ -4101,7 +4104,7 @@ msgid "" "bytes." msgstr "" -#: library/os.rst:3907 +#: library/os.rst:3909 msgid "" "The ``close`` method returns :const:`None` if the subprocess exited " "successfully, or the subprocess's return code if there was an error. On " @@ -4113,43 +4116,43 @@ msgid "" "contains the signed integer return code from the child process." msgstr "" -#: library/os.rst:3917 +#: library/os.rst:3919 msgid "" "On Unix, :func:`waitstatus_to_exitcode` can be used to convert the ``close`` " "method result (exit status) into an exit code if it is not ``None``. On " "Windows, the ``close`` method result is directly the exit code (or ``None``)." msgstr "" -#: library/os.rst:3922 +#: library/os.rst:3924 msgid "" "This is implemented using :class:`subprocess.Popen`; see that class's " "documentation for more powerful ways to manage and communicate with " "subprocesses." msgstr "" -#: library/os.rst:3931 +#: library/os.rst:3933 msgid "Wraps the :c:func:`posix_spawn` C library API for use from Python." msgstr "" -#: library/os.rst:3933 +#: library/os.rst:3935 msgid "" "Most users should use :func:`subprocess.run` instead of :func:`posix_spawn`." msgstr "" -#: library/os.rst:3935 +#: library/os.rst:3937 msgid "" "The positional-only arguments *path*, *args*, and *env* are similar to :func:" "`execve`." msgstr "" -#: library/os.rst:3938 +#: library/os.rst:3940 msgid "" "The *path* parameter is the path to the executable file. The *path* should " "contain a directory. Use :func:`posix_spawnp` to pass an executable file " "without directory." msgstr "" -#: library/os.rst:3942 +#: library/os.rst:3944 msgid "" "The *file_actions* argument may be a sequence of tuples describing actions " "to take on specific file descriptors in the child process between the C " @@ -4158,31 +4161,31 @@ msgid "" "describing the remaining tuple elements:" msgstr "" -#: library/os.rst:3950 +#: library/os.rst:3952 msgid "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)" msgstr "" -#: library/os.rst:3952 +#: library/os.rst:3954 msgid "Performs ``os.dup2(os.open(path, flags, mode), fd)``." msgstr "" -#: library/os.rst:3956 +#: library/os.rst:3958 msgid "(``os.POSIX_SPAWN_CLOSE``, *fd*)" msgstr "" -#: library/os.rst:3958 +#: library/os.rst:3960 msgid "Performs ``os.close(fd)``." msgstr "" -#: library/os.rst:3962 +#: library/os.rst:3964 msgid "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)" msgstr "" -#: library/os.rst:3964 +#: library/os.rst:3966 msgid "Performs ``os.dup2(fd, new_fd)``." msgstr "" -#: library/os.rst:3966 +#: library/os.rst:3968 msgid "" "These tuples correspond to the C library :c:func:" "`posix_spawn_file_actions_addopen`, :c:func:" @@ -4191,7 +4194,7 @@ msgid "" "`posix_spawn` call itself." msgstr "" -#: library/os.rst:3972 +#: library/os.rst:3974 msgid "" "The *setpgroup* argument will set the process group of the child to the " "value specified. If the value specified is 0, the child's process group ID " @@ -4200,7 +4203,7 @@ msgid "" "corresponds to the C library :c:data:`POSIX_SPAWN_SETPGROUP` flag." msgstr "" -#: library/os.rst:3978 +#: library/os.rst:3980 msgid "" "If the *resetids* argument is ``True`` it will reset the effective UID and " "GID of the child to the real UID and GID of the parent process. If the " @@ -4211,7 +4214,7 @@ msgid "" "library :c:data:`POSIX_SPAWN_RESETIDS` flag." msgstr "" -#: library/os.rst:3986 +#: library/os.rst:3988 msgid "" "If the *setsid* argument is ``True``, it will create a new session ID for " "``posix_spawn``. *setsid* requires :c:data:`POSIX_SPAWN_SETSID` or :c:data:" @@ -4219,7 +4222,7 @@ msgid "" "raised." msgstr "" -#: library/os.rst:3991 +#: library/os.rst:3993 msgid "" "The *setsigmask* argument will set the signal mask to the signal set " "specified. If the parameter is not used, then the child inherits the " @@ -4227,14 +4230,14 @@ msgid "" "`POSIX_SPAWN_SETSIGMASK` flag." msgstr "" -#: library/os.rst:3996 +#: library/os.rst:3998 msgid "" "The *sigdef* argument will reset the disposition of all signals in the set " "specified. This argument corresponds to the C library :c:data:" "`POSIX_SPAWN_SETSIGDEF` flag." msgstr "" -#: library/os.rst:4000 +#: library/os.rst:4002 msgid "" "The *scheduler* argument must be a tuple containing the (optional) scheduler " "policy and an instance of :class:`sched_param` with the scheduler " @@ -4244,79 +4247,79 @@ msgid "" "`POSIX_SPAWN_SETSCHEDULER` flags." msgstr "" -#: library/os.rst:4023 +#: library/os.rst:77 msgid "" "Raises an :ref:`auditing event ` ``os.posix_spawn`` with arguments " "``path``, ``argv``, ``env``." msgstr "" -#: library/os.rst:4017 +#: library/os.rst:4019 msgid "Wraps the :c:func:`posix_spawnp` C library API for use from Python." msgstr "" -#: library/os.rst:4019 +#: library/os.rst:4021 msgid "" "Similar to :func:`posix_spawn` except that the system searches for the " "*executable* file in the list of directories specified by the :envvar:`PATH` " "environment variable (in the same way as for ``execvp(3)``)." msgstr "" -#: library/os.rst:4027 +#: library/os.rst:4029 msgid "" ":ref:`Availability `: See :func:`posix_spawn` documentation." msgstr "" -#: library/os.rst:4033 +#: library/os.rst:4035 msgid "" "Register callables to be executed when a new child process is forked using :" "func:`os.fork` or similar process cloning APIs. The parameters are optional " "and keyword-only. Each specifies a different call point." msgstr "" -#: library/os.rst:4038 +#: library/os.rst:4040 msgid "*before* is a function called before forking a child process." msgstr "" -#: library/os.rst:4039 +#: library/os.rst:4041 msgid "" "*after_in_parent* is a function called from the parent process after forking " "a child process." msgstr "" -#: library/os.rst:4041 +#: library/os.rst:4043 msgid "*after_in_child* is a function called from the child process." msgstr "" -#: library/os.rst:4043 +#: library/os.rst:4045 msgid "" "These calls are only made if control is expected to return to the Python " "interpreter. A typical :mod:`subprocess` launch will not trigger them as " "the child is not going to re-enter the interpreter." msgstr "" -#: library/os.rst:4047 +#: library/os.rst:4049 msgid "" "Functions registered for execution before forking are called in reverse " "registration order. Functions registered for execution after forking " "(either in the parent or in the child) are called in registration order." msgstr "" -#: library/os.rst:4052 +#: library/os.rst:4054 msgid "" "Note that :c:func:`fork` calls made by third-party C code may not call those " "functions, unless it explicitly calls :c:func:`PyOS_BeforeFork`, :c:func:" "`PyOS_AfterFork_Parent` and :c:func:`PyOS_AfterFork_Child`." msgstr "" -#: library/os.rst:4056 +#: library/os.rst:4058 msgid "There is no way to unregister a function." msgstr "" -#: library/os.rst:4072 +#: library/os.rst:4074 msgid "Execute the program *path* in a new process." msgstr "" -#: library/os.rst:4074 +#: library/os.rst:4076 msgid "" "(Note that the :mod:`subprocess` module provides more powerful facilities " "for spawning new processes and retrieving their results; using that module " @@ -4324,7 +4327,7 @@ msgid "" "`subprocess-replacements` section.)" msgstr "" -#: library/os.rst:4079 +#: library/os.rst:4081 msgid "" "If *mode* is :const:`P_NOWAIT`, this function returns the process id of the " "new process; if *mode* is :const:`P_WAIT`, returns the process's exit code " @@ -4333,13 +4336,13 @@ msgid "" "handle, so can be used with the :func:`waitpid` function." msgstr "" -#: library/os.rst:4085 +#: library/os.rst:4087 msgid "" "Note on VxWorks, this function doesn't return ``-signal`` when the new " "process is killed. Instead it raises OSError exception." msgstr "" -#: library/os.rst:4088 +#: library/os.rst:4090 msgid "" "The \"l\" and \"v\" variants of the :func:`spawn\\* ` functions " "differ in how command-line arguments are passed. The \"l\" variants are " @@ -4351,7 +4354,7 @@ msgid "" "to the child process must start with the name of the command being run." msgstr "" -#: library/os.rst:4097 +#: library/os.rst:4099 msgid "" "The variants which include a second \"p\" near the end (:func:`spawnlp`, :" "func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) will use the :envvar:" @@ -4364,7 +4367,7 @@ msgid "" "appropriate absolute or relative path." msgstr "" -#: library/os.rst:4107 +#: library/os.rst:4109 msgid "" "For :func:`spawnle`, :func:`spawnlpe`, :func:`spawnve`, and :func:`spawnvpe` " "(note that these all end in \"e\"), the *env* parameter must be a mapping " @@ -4376,19 +4379,19 @@ msgid "" "values will cause the function to fail, with a return value of ``127``." msgstr "" -#: library/os.rst:4116 +#: library/os.rst:4118 msgid "" "As an example, the following calls to :func:`spawnlp` and :func:`spawnvpe` " "are equivalent::" msgstr "" -#: library/os.rst:4125 +#: library/os.rst:54 msgid "" "Raises an :ref:`auditing event ` ``os.spawn`` with arguments " "``mode``, ``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:4131 +#: library/os.rst:4133 msgid "" ":ref:`Availability `: Unix, Windows. :func:`spawnlp`, :func:" "`spawnlpe`, :func:`spawnvp` and :func:`spawnvpe` are not available on " @@ -4396,7 +4399,7 @@ msgid "" "Windows; we advise you to use the :mod:`subprocess` module instead." msgstr "" -#: library/os.rst:4139 +#: library/os.rst:4141 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If either of these values is given, the :func:" @@ -4404,7 +4407,7 @@ msgid "" "created, with the process id as the return value." msgstr "" -#: library/os.rst:4149 +#: library/os.rst:4151 msgid "" "Possible value for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If this is given as *mode*, the :func:`spawn\\*` " @@ -4413,7 +4416,7 @@ msgid "" "signal`` if a signal kills the process." msgstr "" -#: library/os.rst:4161 +#: library/os.rst:4163 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. These are less portable than those listed above. :" @@ -4423,11 +4426,11 @@ msgid "" "function will not return." msgstr "" -#: library/os.rst:4172 +#: library/os.rst:4174 msgid "Start a file with its associated application." msgstr "" -#: library/os.rst:4174 +#: library/os.rst:4176 msgid "" "When *operation* is not specified or ``'open'``, this acts like double-" "clicking the file in Windows Explorer, or giving the file name as an " @@ -4436,7 +4439,7 @@ msgid "" "associated." msgstr "" -#: library/os.rst:4179 +#: library/os.rst:4181 msgid "" "When another *operation* is given, it must be a \"command verb\" that " "specifies what should be done with the file. Common verbs documented by " @@ -4444,28 +4447,28 @@ msgid "" "``'explore'`` and ``'find'`` (to be used on directories)." msgstr "" -#: library/os.rst:4184 +#: library/os.rst:4186 msgid "" "When launching an application, specify *arguments* to be passed as a single " "string. This argument may have no effect when using this function to launch " "a document." msgstr "" -#: library/os.rst:4188 +#: library/os.rst:4190 msgid "" "The default working directory is inherited, but may be overridden by the " "*cwd* argument. This should be an absolute path. A relative *path* will be " "resolved against this argument." msgstr "" -#: library/os.rst:4192 +#: library/os.rst:4194 msgid "" "Use *show_cmd* to override the default window style. Whether this has any " "effect will depend on the application being launched. Values are integers as " "supported by the Win32 :c:func:`ShellExecute` function." msgstr "" -#: library/os.rst:4196 +#: library/os.rst:4198 msgid "" ":func:`startfile` returns as soon as the associated application is launched. " "There is no option to wait for the application to close, and no way to " @@ -4476,32 +4479,32 @@ msgid "" "encoded for Win32." msgstr "" -#: library/os.rst:4204 +#: library/os.rst:4206 msgid "" "To reduce interpreter startup overhead, the Win32 :c:func:`ShellExecute` " "function is not resolved until this function is first called. If the " "function cannot be resolved, :exc:`NotImplementedError` will be raised." msgstr "" -#: library/os.rst:4208 +#: library/os.rst:37 msgid "" "Raises an :ref:`auditing event ` ``os.startfile`` with arguments " "``path``, ``operation``." msgstr "" -#: library/os.rst:4210 +#: library/os.rst:39 msgid "" "Raises an :ref:`auditing event ` ``os.startfile/2`` with arguments " "``path``, ``operation``, ``arguments``, ``cwd``, ``show_cmd``." msgstr "" -#: library/os.rst:4214 +#: library/os.rst:4216 msgid "" "Added the *arguments*, *cwd* and *show_cmd* arguments, and the ``os." "startfile/2`` audit event." msgstr "" -#: library/os.rst:4221 +#: library/os.rst:4223 msgid "" "Execute the command (a string) in a subshell. This is implemented by " "calling the Standard C function :c:func:`system`, and has the same " @@ -4512,13 +4515,13 @@ msgid "" "value of the Python function is system-dependent." msgstr "" -#: library/os.rst:4229 +#: library/os.rst:4231 msgid "" "On Unix, the return value is the exit status of the process encoded in the " "format specified for :func:`wait`." msgstr "" -#: library/os.rst:4232 +#: library/os.rst:4234 msgid "" "On Windows, the return value is that returned by the system shell after " "running *command*. The shell is given by the Windows environment variable :" @@ -4527,7 +4530,7 @@ msgid "" "shell documentation." msgstr "" -#: library/os.rst:4238 +#: library/os.rst:4240 msgid "" "The :mod:`subprocess` module provides more powerful facilities for spawning " "new processes and retrieving their results; using that module is preferable " @@ -4535,53 +4538,53 @@ msgid "" "the :mod:`subprocess` documentation for some helpful recipes." msgstr "" -#: library/os.rst:4243 +#: library/os.rst:4245 msgid "" "On Unix, :func:`waitstatus_to_exitcode` can be used to convert the result " "(exit status) into an exit code. On Windows, the result is directly the exit " "code." msgstr "" -#: library/os.rst:4247 +#: library/os.rst:27 msgid "" "Raises an :ref:`auditing event ` ``os.system`` with argument " "``command``." msgstr "" -#: library/os.rst:4254 +#: library/os.rst:4256 msgid "" "Returns the current global process times. The return value is an object with " "five attributes:" msgstr "" -#: library/os.rst:4257 +#: library/os.rst:4259 msgid ":attr:`!user` - user time" msgstr "" -#: library/os.rst:4258 +#: library/os.rst:4260 msgid ":attr:`!system` - system time" msgstr "" -#: library/os.rst:4259 +#: library/os.rst:4261 msgid ":attr:`!children_user` - user time of all child processes" msgstr "" -#: library/os.rst:4260 +#: library/os.rst:4262 msgid ":attr:`!children_system` - system time of all child processes" msgstr "" -#: library/os.rst:4261 +#: library/os.rst:4263 msgid ":attr:`!elapsed` - elapsed real time since a fixed point in the past" msgstr "" -#: library/os.rst:4263 +#: library/os.rst:4265 msgid "" "For backwards compatibility, this object also behaves like a five-tuple " "containing :attr:`!user`, :attr:`!system`, :attr:`!children_user`, :attr:`!" "children_system`, and :attr:`!elapsed` in that order." msgstr "" -#: library/os.rst:4267 +#: library/os.rst:4269 msgid "" "See the Unix manual page :manpage:`times(2)` and `times(3) `_ manual page on Unix or `the " @@ -4591,7 +4594,7 @@ msgid "" "attributes are zero." msgstr "" -#: library/os.rst:4281 +#: library/os.rst:4283 msgid "" "Wait for completion of a child process, and return a tuple containing its " "pid and exit status indication: a 16-bit number, whose low byte is the " @@ -4600,19 +4603,19 @@ msgid "" "if a core file was produced." msgstr "" -#: library/os.rst:4392 +#: library/os.rst:4394 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exit code." msgstr "" -#: library/os.rst:4294 +#: library/os.rst:4296 msgid "" ":func:`waitpid` can be used to wait for the completion of a specific child " "process and has more options." msgstr "" -#: library/os.rst:4299 +#: library/os.rst:4301 msgid "" "Wait for the completion of one or more child processes. *idtype* can be :" "data:`P_PID`, :data:`P_PGID`, :data:`P_ALL`, or :data:`P_PIDFD` on Linux. " @@ -4625,43 +4628,43 @@ msgid "" "`WNOHANG` is specified and there are no children in a waitable state." msgstr "" -#: library/os.rst:4319 +#: library/os.rst:4321 msgid "" "These are the possible values for *idtype* in :func:`waitid`. They affect " "how *id* is interpreted." msgstr "" -#: library/os.rst:4328 +#: library/os.rst:4330 msgid "" "This is a Linux-specific *idtype* that indicates that *id* is a file " "descriptor that refers to a process." msgstr "" -#: library/os.rst:4332 +#: library/os.rst:4334 msgid ":ref:`Availability `: Linux 5.4+" msgstr "" -#: library/os.rst:4339 +#: library/os.rst:4341 msgid "" "Flags that can be used in *options* in :func:`waitid` that specify what " "child signal to wait for." msgstr "" -#: library/os.rst:4354 +#: library/os.rst:4356 msgid "" "These are the possible values for :attr:`si_code` in the result returned by :" "func:`waitid`." msgstr "" -#: library/os.rst:4361 +#: library/os.rst:4363 msgid "Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values." msgstr "" -#: library/os.rst:4367 +#: library/os.rst:4369 msgid "The details of this function differ on Unix and Windows." msgstr "" -#: library/os.rst:4369 +#: library/os.rst:4371 msgid "" "On Unix: Wait for completion of a child process given by process id *pid*, " "and return a tuple containing its process id and exit status indication " @@ -4670,7 +4673,7 @@ msgid "" "operation." msgstr "" -#: library/os.rst:4374 +#: library/os.rst:4376 msgid "" "If *pid* is greater than ``0``, :func:`waitpid` requests status information " "for that specific process. If *pid* is ``0``, the request is for the status " @@ -4680,13 +4683,13 @@ msgid "" "group ``-pid`` (the absolute value of *pid*)." msgstr "" -#: library/os.rst:4381 +#: library/os.rst:4383 msgid "" "An :exc:`OSError` is raised with the value of errno when the syscall returns " "-1." msgstr "" -#: library/os.rst:4384 +#: library/os.rst:4386 msgid "" "On Windows: Wait for completion of a process given by process handle *pid*, " "and return a tuple containing *pid*, and its exit status shifted left by 8 " @@ -4698,7 +4701,7 @@ msgid "" "process handles." msgstr "" -#: library/os.rst:4403 +#: library/os.rst:4405 msgid "" "Similar to :func:`waitpid`, except no process id argument is given and a 3-" "element tuple containing the child's process id, exit status indication, and " @@ -4707,13 +4710,13 @@ msgid "" "argument is the same as that provided to :func:`waitpid` and :func:`wait4`." msgstr "" -#: library/os.rst:4424 +#: library/os.rst:4426 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exitcode." msgstr "" -#: library/os.rst:4418 +#: library/os.rst:4420 msgid "" "Similar to :func:`waitpid`, except a 3-element tuple, containing the child's " "process id, exit status indication, and resource usage information is " @@ -4722,22 +4725,22 @@ msgid "" "the same as those provided to :func:`waitpid`." msgstr "" -#: library/os.rst:4432 +#: library/os.rst:4434 msgid "Convert a wait status to an exit code." msgstr "" -#: library/os.rst:4434 +#: library/os.rst:4436 msgid "On Unix:" msgstr "" -#: library/os.rst:4436 +#: library/os.rst:4438 msgid "" "If the process exited normally (if ``WIFEXITED(status)`` is true), return " "the process exit status (return ``WEXITSTATUS(status)``): result greater " "than or equal to 0." msgstr "" -#: library/os.rst:4439 +#: library/os.rst:4441 msgid "" "If the process was terminated by a signal (if ``WIFSIGNALED(status)`` is " "true), return ``-signum`` where *signum* is the number of the signal that " @@ -4745,15 +4748,15 @@ msgid "" "than 0." msgstr "" -#: library/os.rst:4443 +#: library/os.rst:4445 msgid "Otherwise, raise a :exc:`ValueError`." msgstr "" -#: library/os.rst:4445 +#: library/os.rst:4447 msgid "On Windows, return *status* shifted right by 8 bits." msgstr "" -#: library/os.rst:4447 +#: library/os.rst:4449 msgid "" "On Unix, if the process is being traced or if :func:`waitpid` was called " "with :data:`WUNTRACED` option, the caller must first check if " @@ -4761,240 +4764,240 @@ msgid "" "``WIFSTOPPED(status)`` is true." msgstr "" -#: library/os.rst:4454 +#: library/os.rst:4456 msgid "" ":func:`WIFEXITED`, :func:`WEXITSTATUS`, :func:`WIFSIGNALED`, :func:" "`WTERMSIG`, :func:`WIFSTOPPED`, :func:`WSTOPSIG` functions." msgstr "" -#: library/os.rst:4462 +#: library/os.rst:4464 msgid "" "The option for :func:`waitpid` to return immediately if no child process " "status is available immediately. The function returns ``(0, 0)`` in this " "case." msgstr "" -#: library/os.rst:4470 +#: library/os.rst:4472 msgid "" "This option causes child processes to be reported if they have been " "continued from a job control stop since their status was last reported." msgstr "" -#: library/os.rst:4473 +#: library/os.rst:4475 msgid ":ref:`Availability `: some Unix systems." msgstr "" -#: library/os.rst:4478 +#: library/os.rst:4480 msgid "" "This option causes child processes to be reported if they have been stopped " "but their current state has not been reported since they were stopped." msgstr "" -#: library/os.rst:4484 +#: library/os.rst:4486 msgid "" "The following functions take a process status code as returned by :func:" "`system`, :func:`wait`, or :func:`waitpid` as a parameter. They may be used " "to determine the disposition of a process." msgstr "" -#: library/os.rst:4490 +#: library/os.rst:4492 msgid "" "Return ``True`` if a core dump was generated for the process, otherwise " "return ``False``." msgstr "" -#: library/os.rst:4559 +#: library/os.rst:4561 msgid "This function should be employed only if :func:`WIFSIGNALED` is true." msgstr "" -#: library/os.rst:4500 +#: library/os.rst:4502 msgid "" "Return ``True`` if a stopped child has been resumed by delivery of :data:" "`~signal.SIGCONT` (if the process has been continued from a job control " "stop), otherwise return ``False``." msgstr "" -#: library/os.rst:4504 +#: library/os.rst:4506 msgid "See :data:`WCONTINUED` option." msgstr "" -#: library/os.rst:4511 +#: library/os.rst:4513 msgid "" "Return ``True`` if the process was stopped by delivery of a signal, " "otherwise return ``False``." msgstr "" -#: library/os.rst:4514 +#: library/os.rst:4516 msgid "" ":func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was " "done using :data:`WUNTRACED` option or when the process is being traced " "(see :manpage:`ptrace(2)`)." msgstr "" -#: library/os.rst:4522 +#: library/os.rst:4524 msgid "" "Return ``True`` if the process was terminated by a signal, otherwise return " "``False``." msgstr "" -#: library/os.rst:4530 +#: library/os.rst:4532 msgid "" "Return ``True`` if the process exited terminated normally, that is, by " "calling ``exit()`` or ``_exit()``, or by returning from ``main()``; " "otherwise return ``False``." msgstr "" -#: library/os.rst:4539 +#: library/os.rst:4541 msgid "Return the process exit status." msgstr "" -#: library/os.rst:4541 +#: library/os.rst:4543 msgid "This function should be employed only if :func:`WIFEXITED` is true." msgstr "" -#: library/os.rst:4548 +#: library/os.rst:4550 msgid "Return the signal which caused the process to stop." msgstr "" -#: library/os.rst:4550 +#: library/os.rst:4552 msgid "This function should be employed only if :func:`WIFSTOPPED` is true." msgstr "" -#: library/os.rst:4557 +#: library/os.rst:4559 msgid "Return the number of the signal that caused the process to terminate." msgstr "" -#: library/os.rst:4565 +#: library/os.rst:4567 msgid "Interface to the scheduler" msgstr "" -#: library/os.rst:4567 +#: library/os.rst:4569 msgid "" "These functions control how a process is allocated CPU time by the operating " "system. They are only available on some Unix platforms. For more detailed " "information, consult your Unix manpages." msgstr "" -#: library/os.rst:4573 +#: library/os.rst:4575 msgid "" "The following scheduling policies are exposed if they are supported by the " "operating system." msgstr "" -#: library/os.rst:4578 +#: library/os.rst:4580 msgid "The default scheduling policy." msgstr "" -#: library/os.rst:4582 +#: library/os.rst:4584 msgid "" "Scheduling policy for CPU-intensive processes that tries to preserve " "interactivity on the rest of the computer." msgstr "" -#: library/os.rst:4587 +#: library/os.rst:4589 msgid "Scheduling policy for extremely low priority background tasks." msgstr "" -#: library/os.rst:4591 +#: library/os.rst:4593 msgid "Scheduling policy for sporadic server programs." msgstr "" -#: library/os.rst:4595 +#: library/os.rst:4597 msgid "A First In First Out scheduling policy." msgstr "" -#: library/os.rst:4599 +#: library/os.rst:4601 msgid "A round-robin scheduling policy." msgstr "" -#: library/os.rst:4603 +#: library/os.rst:4605 msgid "" "This flag can be OR'ed with any other scheduling policy. When a process with " "this flag set forks, its child's scheduling policy and priority are reset to " "the default." msgstr "" -#: library/os.rst:4610 +#: library/os.rst:4612 msgid "" "This class represents tunable scheduling parameters used in :func:" "`sched_setparam`, :func:`sched_setscheduler`, and :func:`sched_getparam`. It " "is immutable." msgstr "" -#: library/os.rst:4614 +#: library/os.rst:4616 msgid "At the moment, there is only one possible parameter:" msgstr "" -#: library/os.rst:4618 +#: library/os.rst:4620 msgid "The scheduling priority for a scheduling policy." msgstr "" -#: library/os.rst:4623 +#: library/os.rst:4625 msgid "" "Get the minimum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: library/os.rst:4629 +#: library/os.rst:4631 msgid "" "Get the maximum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: library/os.rst:4635 +#: library/os.rst:4637 msgid "" "Set the scheduling policy for the process with PID *pid*. A *pid* of 0 means " "the calling process. *policy* is one of the scheduling policy constants " "above. *param* is a :class:`sched_param` instance." msgstr "" -#: library/os.rst:4642 +#: library/os.rst:4644 msgid "" "Return the scheduling policy for the process with PID *pid*. A *pid* of 0 " "means the calling process. The result is one of the scheduling policy " "constants above." msgstr "" -#: library/os.rst:4649 +#: library/os.rst:4651 msgid "" "Set the scheduling parameters for the process with PID *pid*. A *pid* of 0 " "means the calling process. *param* is a :class:`sched_param` instance." msgstr "" -#: library/os.rst:4655 +#: library/os.rst:4657 msgid "" "Return the scheduling parameters as a :class:`sched_param` instance for the " "process with PID *pid*. A *pid* of 0 means the calling process." msgstr "" -#: library/os.rst:4661 +#: library/os.rst:4663 msgid "" "Return the round-robin quantum in seconds for the process with PID *pid*. A " "*pid* of 0 means the calling process." msgstr "" -#: library/os.rst:4667 +#: library/os.rst:4669 msgid "Voluntarily relinquish the CPU." msgstr "" -#: library/os.rst:4672 +#: library/os.rst:4674 msgid "" "Restrict the process with PID *pid* (or the current process if zero) to a " "set of CPUs. *mask* is an iterable of integers representing the set of CPUs " "to which the process should be restricted." msgstr "" -#: library/os.rst:4679 +#: library/os.rst:4681 msgid "" "Return the set of CPUs the process with PID *pid* (or the current process if " "zero) is restricted to." msgstr "" -#: library/os.rst:4686 +#: library/os.rst:4688 msgid "Miscellaneous System Information" msgstr "" -#: library/os.rst:4691 +#: library/os.rst:4693 msgid "" "Return string-valued system configuration values. *name* specifies the " "configuration value to retrieve; it may be a string which is the name of a " @@ -5005,13 +5008,13 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:4699 +#: library/os.rst:4701 msgid "" "If the configuration value specified by *name* isn't defined, ``None`` is " "returned." msgstr "" -#: library/os.rst:4702 +#: library/os.rst:4704 msgid "" "If *name* is a string and is not known, :exc:`ValueError` is raised. If a " "specific value for *name* is not supported by the host system, even if it is " @@ -5019,33 +5022,33 @@ msgid "" "`errno.EINVAL` for the error number." msgstr "" -#: library/os.rst:4712 +#: library/os.rst:4714 msgid "" "Dictionary mapping names accepted by :func:`confstr` to the integer values " "defined for those names by the host operating system. This can be used to " "determine the set of names known to the system." msgstr "" -#: library/os.rst:4721 +#: library/os.rst:4723 msgid "" "Return the number of CPUs in the system. Returns ``None`` if undetermined." msgstr "" -#: library/os.rst:4723 +#: library/os.rst:4725 msgid "" "This number is not equivalent to the number of CPUs the current process can " "use. The number of usable CPUs can be obtained with ``len(os." "sched_getaffinity(0))``" msgstr "" -#: library/os.rst:4733 +#: library/os.rst:4735 msgid "" "Return the number of processes in the system run queue averaged over the " "last 1, 5, and 15 minutes or raises :exc:`OSError` if the load average was " "unobtainable." msgstr "" -#: library/os.rst:4742 +#: library/os.rst:4744 msgid "" "Return integer-valued system configuration values. If the configuration " "value specified by *name* isn't defined, ``-1`` is returned. The comments " @@ -5054,40 +5057,40 @@ msgid "" "``sysconf_names``." msgstr "" -#: library/os.rst:4752 +#: library/os.rst:4754 msgid "" "Dictionary mapping names accepted by :func:`sysconf` to the integer values " "defined for those names by the host operating system. This can be used to " "determine the set of names known to the system." msgstr "" -#: library/os.rst:4758 +#: library/os.rst:4760 msgid "" "The following data values are used to support path manipulation operations. " "These are defined for all platforms." msgstr "" -#: library/os.rst:4761 +#: library/os.rst:4763 msgid "" "Higher-level operations on pathnames are defined in the :mod:`os.path` " "module." msgstr "" -#: library/os.rst:4767 +#: library/os.rst:4769 msgid "" "The constant string used by the operating system to refer to the current " "directory. This is ``'.'`` for Windows and POSIX. Also available via :mod:" "`os.path`." msgstr "" -#: library/os.rst:4775 +#: library/os.rst:4777 msgid "" "The constant string used by the operating system to refer to the parent " "directory. This is ``'..'`` for Windows and POSIX. Also available via :mod:" "`os.path`." msgstr "" -#: library/os.rst:4784 +#: library/os.rst:4786 msgid "" "The character used by the operating system to separate pathname components. " "This is ``'/'`` for POSIX and ``'\\\\'`` for Windows. Note that knowing " @@ -5096,7 +5099,7 @@ msgid "" "useful. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:4794 +#: library/os.rst:4796 msgid "" "An alternative character used by the operating system to separate pathname " "components, or ``None`` if only one separator character exists. This is set " @@ -5104,27 +5107,27 @@ msgid "" "via :mod:`os.path`." msgstr "" -#: library/os.rst:4803 +#: library/os.rst:4805 msgid "" "The character which separates the base filename from the extension; for " "example, the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:4811 +#: library/os.rst:4813 msgid "" "The character conventionally used by the operating system to separate search " "path components (as in :envvar:`PATH`), such as ``':'`` for POSIX or ``';'`` " "for Windows. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:4818 +#: library/os.rst:4820 msgid "" "The default search path used by :func:`exec\\*p\\* ` and :func:" "`spawn\\*p\\* ` if the environment doesn't have a ``'PATH'`` key. " "Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:4825 +#: library/os.rst:4827 msgid "" "The string used to separate (or, rather, terminate) lines on the current " "platform. This may be a single character, such as ``'\\n'`` for POSIX, or " @@ -5133,36 +5136,36 @@ msgid "" "default); use a single ``'\\n'`` instead, on all platforms." msgstr "" -#: library/os.rst:4834 +#: library/os.rst:4836 msgid "" "The file path of the null device. For example: ``'/dev/null'`` for POSIX, " "``'nul'`` for Windows. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:4845 +#: library/os.rst:4847 msgid "" "Flags for use with the :func:`~sys.setdlopenflags` and :func:`~sys." "getdlopenflags` functions. See the Unix manual page :manpage:`dlopen(3)` " "for what the different flags mean." msgstr "" -#: library/os.rst:4853 +#: library/os.rst:4855 msgid "Random numbers" msgstr "" -#: library/os.rst:4858 +#: library/os.rst:4860 msgid "" "Get up to *size* random bytes. The function can return less bytes than " "requested." msgstr "" -#: library/os.rst:4861 +#: library/os.rst:4863 msgid "" "These bytes can be used to seed user-space random number generators or for " "cryptographic purposes." msgstr "" -#: library/os.rst:4864 +#: library/os.rst:4866 msgid "" "``getrandom()`` relies on entropy gathered from device drivers and other " "sources of environmental noise. Unnecessarily reading large quantities of " @@ -5170,36 +5173,36 @@ msgid "" "``/dev/urandom`` devices." msgstr "" -#: library/os.rst:4869 +#: library/os.rst:4871 msgid "" "The flags argument is a bit mask that can contain zero or more of the " "following values ORed together: :py:data:`os.GRND_RANDOM` and :py:data:" "`GRND_NONBLOCK`." msgstr "" -#: library/os.rst:4873 +#: library/os.rst:4875 msgid "" "See also the `Linux getrandom() manual page `_." msgstr "" -#: library/os.rst:4877 +#: library/os.rst:4879 msgid ":ref:`Availability `: Linux 3.17 and newer." msgstr "" -#: library/os.rst:4882 +#: library/os.rst:4884 msgid "" "Return a bytestring of *size* random bytes suitable for cryptographic use." msgstr "" -#: library/os.rst:4884 +#: library/os.rst:4886 msgid "" "This function returns random bytes from an OS-specific randomness source. " "The returned data should be unpredictable enough for cryptographic " "applications, though its exact quality depends on the OS implementation." msgstr "" -#: library/os.rst:4888 +#: library/os.rst:4890 msgid "" "On Linux, if the ``getrandom()`` syscall is available, it is used in " "blocking mode: block until the system urandom entropy pool is initialized " @@ -5209,57 +5212,57 @@ msgid "" "to poll until the system urandom entropy pool is initialized." msgstr "" -#: library/os.rst:4895 +#: library/os.rst:4897 msgid "" "On a Unix-like system, random bytes are read from the ``/dev/urandom`` " "device. If the ``/dev/urandom`` device is not available or not readable, " "the :exc:`NotImplementedError` exception is raised." msgstr "" -#: library/os.rst:4899 +#: library/os.rst:4901 msgid "On Windows, it will use ``CryptGenRandom()``." msgstr "" -#: library/os.rst:4902 +#: library/os.rst:4904 msgid "" "The :mod:`secrets` module provides higher level functions. For an easy-to-" "use interface to the random number generator provided by your platform, " "please see :class:`random.SystemRandom`." msgstr "" -#: library/os.rst:4906 +#: library/os.rst:4908 msgid "" "On Linux, ``getrandom()`` is now used in blocking mode to increase the " "security." msgstr "" -#: library/os.rst:4910 +#: library/os.rst:4912 msgid "" "On Linux, if the ``getrandom()`` syscall blocks (the urandom entropy pool is " "not initialized yet), fall back on reading ``/dev/urandom``." msgstr "" -#: library/os.rst:4914 +#: library/os.rst:4916 msgid "" "On Linux 3.17 and newer, the ``getrandom()`` syscall is now used when " "available. On OpenBSD 5.6 and newer, the C ``getentropy()`` function is now " "used. These functions avoid the usage of an internal file descriptor." msgstr "" -#: library/os.rst:4922 +#: library/os.rst:4924 msgid "" "By default, when reading from ``/dev/random``, :func:`getrandom` blocks if " "no random bytes are available, and when reading from ``/dev/urandom``, it " "blocks if the entropy pool has not yet been initialized." msgstr "" -#: library/os.rst:4926 +#: library/os.rst:4928 msgid "" "If the :py:data:`GRND_NONBLOCK` flag is set, then :func:`getrandom` does not " "block in these cases, but instead immediately raises :exc:`BlockingIOError`." msgstr "" -#: library/os.rst:4933 +#: library/os.rst:4935 msgid "" "If this bit is set, then random bytes are drawn from the ``/dev/" "random`` pool instead of the ``/dev/urandom`` pool." diff --git a/library/pathlib.po b/library/pathlib.po index 84e9748be..78bb25ed5 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -127,14 +127,14 @@ msgstr "" #: library/pathlib.rst:121 msgid "" -"When several absolute paths are given, the last is taken as an anchor " -"(mimicking :func:`os.path.join`'s behaviour)::" +"If a segment is an absolute path, all previous segments are ignored (like :" +"func:`os.path.join`)::" msgstr "" #: library/pathlib.rst:129 msgid "" -"However, in a Windows path, changing the local root doesn't discard the " -"previous drive setting::" +"On Windows, the drive is not reset when a rooted relative path segment (e." +"g., ``r'\\foo'``) is encountered::" msgstr "" #: library/pathlib.rst:135 @@ -167,7 +167,7 @@ msgid "" "filesystem paths::" msgstr "" -#: library/pathlib.rst:178 library/pathlib.rst:674 library/pathlib.rst:684 +#: library/pathlib.rst:178 library/pathlib.rst:681 library/pathlib.rst:691 msgid "*pathsegments* is specified similarly to :class:`PurePath`." msgstr "" @@ -204,295 +204,297 @@ msgstr "" #: library/pathlib.rst:215 msgid "" -"The slash operator helps create child paths, similarly to :func:`os.path." -"join`::" +"The slash operator helps create child paths, like :func:`os.path.join`. If " +"the argument is an absolute path, the previous path is ignored. On Windows, " +"the drive is not reset when the argument is a rooted relative path (e.g., " +"``r'\\foo'``)::" msgstr "" -#: library/pathlib.rst:226 +#: library/pathlib.rst:233 msgid "" "A path object can be used anywhere an object implementing :class:`os." "PathLike` is accepted::" msgstr "" -#: library/pathlib.rst:234 +#: library/pathlib.rst:241 msgid "" "The string representation of a path is the raw filesystem path itself (in " "native form, e.g. with backslashes under Windows), which you can pass to any " "function taking a file path as a string::" msgstr "" -#: library/pathlib.rst:245 +#: library/pathlib.rst:252 msgid "" "Similarly, calling :class:`bytes` on a path gives the raw filesystem path as " "a bytes object, as encoded by :func:`os.fsencode`::" msgstr "" -#: library/pathlib.rst:252 +#: library/pathlib.rst:259 msgid "" "Calling :class:`bytes` is only recommended under Unix. Under Windows, the " "unicode form is the canonical representation of filesystem paths." msgstr "" -#: library/pathlib.rst:257 +#: library/pathlib.rst:264 msgid "Accessing individual parts" msgstr "" -#: library/pathlib.rst:259 +#: library/pathlib.rst:266 msgid "" "To access the individual \"parts\" (components) of a path, use the following " "property:" msgstr "" -#: library/pathlib.rst:264 +#: library/pathlib.rst:271 msgid "A tuple giving access to the path's various components::" msgstr "" -#: library/pathlib.rst:274 +#: library/pathlib.rst:281 msgid "(note how the drive and local root are regrouped in a single part)" msgstr "" -#: library/pathlib.rst:278 +#: library/pathlib.rst:285 msgid "Methods and properties" msgstr "" -#: library/pathlib.rst:284 +#: library/pathlib.rst:291 msgid "Pure paths provide the following methods and properties:" msgstr "" -#: library/pathlib.rst:288 +#: library/pathlib.rst:295 msgid "A string representing the drive letter or name, if any::" msgstr "" -#: library/pathlib.rst:297 +#: library/pathlib.rst:304 msgid "UNC shares are also considered drives::" msgstr "" -#: library/pathlib.rst:304 +#: library/pathlib.rst:311 msgid "A string representing the (local or global) root, if any::" msgstr "" -#: library/pathlib.rst:313 +#: library/pathlib.rst:320 msgid "UNC shares always have a root::" msgstr "" -#: library/pathlib.rst:318 +#: library/pathlib.rst:325 msgid "" "If the path starts with more than two successive slashes, :class:`~pathlib." "PurePosixPath` collapses them::" msgstr "" -#: library/pathlib.rst:330 +#: library/pathlib.rst:337 msgid "" "This behavior conforms to *The Open Group Base Specifications Issue 6*, " "paragraph `4.11 Pathname Resolution `_:" msgstr "" -#: library/pathlib.rst:334 +#: library/pathlib.rst:341 msgid "" "*\"A pathname that begins with two successive slashes may be interpreted in " "an implementation-defined manner, although more than two leading slashes " "shall be treated as a single slash.\"*" msgstr "" -#: library/pathlib.rst:340 +#: library/pathlib.rst:347 msgid "The concatenation of the drive and root::" msgstr "" -#: library/pathlib.rst:354 +#: library/pathlib.rst:361 msgid "" "An immutable sequence providing access to the logical ancestors of the path::" msgstr "" -#: library/pathlib.rst:365 +#: library/pathlib.rst:372 msgid "" "The parents sequence now supports :term:`slices ` and negative index " "values." msgstr "" -#: library/pathlib.rst:370 +#: library/pathlib.rst:377 msgid "The logical parent of the path::" msgstr "" -#: library/pathlib.rst:376 +#: library/pathlib.rst:383 msgid "You cannot go past an anchor, or empty path::" msgstr "" -#: library/pathlib.rst:386 +#: library/pathlib.rst:393 msgid "This is a purely lexical operation, hence the following behaviour::" msgstr "" -#: library/pathlib.rst:392 +#: library/pathlib.rst:399 msgid "" "If you want to walk an arbitrary filesystem path upwards, it is recommended " "to first call :meth:`Path.resolve` so as to resolve symlinks and eliminate " "`\"..\"` components." msgstr "" -#: library/pathlib.rst:399 +#: library/pathlib.rst:406 msgid "" "A string representing the final path component, excluding the drive and " "root, if any::" msgstr "" -#: library/pathlib.rst:405 +#: library/pathlib.rst:412 msgid "UNC drive names are not considered::" msgstr "" -#: library/pathlib.rst:415 +#: library/pathlib.rst:422 msgid "The file extension of the final component, if any::" msgstr "" -#: library/pathlib.rst:427 +#: library/pathlib.rst:434 msgid "A list of the path's file extensions::" msgstr "" -#: library/pathlib.rst:439 +#: library/pathlib.rst:446 msgid "The final path component, without its suffix::" msgstr "" -#: library/pathlib.rst:451 +#: library/pathlib.rst:458 msgid "" "Return a string representation of the path with forward slashes (``/``)::" msgstr "" -#: library/pathlib.rst:462 +#: library/pathlib.rst:469 msgid "" "Represent the path as a ``file`` URI. :exc:`ValueError` is raised if the " "path isn't absolute." msgstr "" -#: library/pathlib.rst:475 +#: library/pathlib.rst:482 msgid "" "Return whether the path is absolute or not. A path is considered absolute " "if it has both a root and (if the flavour allows) a drive::" msgstr "" -#: library/pathlib.rst:495 +#: library/pathlib.rst:502 msgid "Return whether or not this path is relative to the *other* path." msgstr "" -#: library/pathlib.rst:508 +#: library/pathlib.rst:515 msgid "" "With :class:`PureWindowsPath`, return ``True`` if the path is considered " "reserved under Windows, ``False`` otherwise. With :class:`PurePosixPath`, " "``False`` is always returned." msgstr "" -#: library/pathlib.rst:517 +#: library/pathlib.rst:524 msgid "" "File system calls on reserved paths can fail mysteriously or have unintended " "effects." msgstr "" -#: library/pathlib.rst:523 +#: library/pathlib.rst:530 msgid "" "Calling this method is equivalent to combining the path with each of the " "*other* arguments in turn::" msgstr "" -#: library/pathlib.rst:538 +#: library/pathlib.rst:545 msgid "" "Match this path against the provided glob-style pattern. Return ``True`` if " "matching is successful, ``False`` otherwise." msgstr "" -#: library/pathlib.rst:541 +#: library/pathlib.rst:548 msgid "" "If *pattern* is relative, the path can be either relative or absolute, and " "matching is done from the right::" msgstr "" -#: library/pathlib.rst:551 +#: library/pathlib.rst:558 msgid "" "If *pattern* is absolute, the path must be absolute, and the whole path must " "match::" msgstr "" -#: library/pathlib.rst:559 +#: library/pathlib.rst:566 msgid "As with other methods, case-sensitivity follows platform defaults::" msgstr "" -#: library/pathlib.rst:569 +#: library/pathlib.rst:576 msgid "" "Compute a version of this path relative to the path represented by *other*. " "If it's impossible, ValueError is raised::" msgstr "" -#: library/pathlib.rst:584 +#: library/pathlib.rst:591 msgid "" "NOTE: This function is part of :class:`PurePath` and works with strings. It " "does not check or access the underlying file structure." msgstr "" -#: library/pathlib.rst:589 +#: library/pathlib.rst:596 msgid "" "Return a new path with the :attr:`name` changed. If the original path " "doesn't have a name, ValueError is raised::" msgstr "" -#: library/pathlib.rst:606 +#: library/pathlib.rst:613 msgid "" "Return a new path with the :attr:`stem` changed. If the original path " "doesn't have a name, ValueError is raised::" msgstr "" -#: library/pathlib.rst:630 +#: library/pathlib.rst:637 msgid "" "Return a new path with the :attr:`suffix` changed. If the original path " "doesn't have a suffix, the new *suffix* is appended instead. If the " "*suffix* is an empty string, the original suffix is removed::" msgstr "" -#: library/pathlib.rst:649 +#: library/pathlib.rst:656 msgid "Concrete paths" msgstr "" -#: library/pathlib.rst:651 +#: library/pathlib.rst:658 msgid "" "Concrete paths are subclasses of the pure path classes. In addition to " "operations provided by the latter, they also provide methods to do system " "calls on path objects. There are three ways to instantiate concrete paths:" msgstr "" -#: library/pathlib.rst:657 +#: library/pathlib.rst:664 msgid "" "A subclass of :class:`PurePath`, this class represents concrete paths of the " "system's path flavour (instantiating it creates either a :class:`PosixPath` " "or a :class:`WindowsPath`)::" msgstr "" -#: library/pathlib.rst:668 +#: library/pathlib.rst:675 msgid "" "A subclass of :class:`Path` and :class:`PurePosixPath`, this class " "represents concrete non-Windows filesystem paths::" msgstr "" -#: library/pathlib.rst:678 +#: library/pathlib.rst:685 msgid "" "A subclass of :class:`Path` and :class:`PureWindowsPath`, this class " "represents concrete Windows filesystem paths::" msgstr "" -#: library/pathlib.rst:686 +#: library/pathlib.rst:693 msgid "" "You can only instantiate the class flavour that corresponds to your system " "(allowing system calls on non-compatible path flavours could lead to bugs or " "failures in your application)::" msgstr "" -#: library/pathlib.rst:706 +#: library/pathlib.rst:713 msgid "Methods" msgstr "" -#: library/pathlib.rst:708 +#: library/pathlib.rst:715 msgid "" "Concrete paths provide the following methods in addition to pure paths " "methods. Many of these methods can raise an :exc:`OSError` if a system call " "fails (for example because the path doesn't exist)." msgstr "" -#: library/pathlib.rst:714 +#: library/pathlib.rst:721 msgid "" ":meth:`~Path.exists()`, :meth:`~Path.is_dir()`, :meth:`~Path.is_file()`, :" "meth:`~Path.is_mount()`, :meth:`~Path.is_symlink()`, :meth:`~Path." @@ -502,114 +504,114 @@ msgid "" "the OS level." msgstr "" -#: library/pathlib.rst:724 +#: library/pathlib.rst:731 msgid "" "Return a new path object representing the current directory (as returned by :" "func:`os.getcwd`)::" msgstr "" -#: library/pathlib.rst:733 +#: library/pathlib.rst:740 msgid "" "Return a new path object representing the user's home directory (as returned " "by :func:`os.path.expanduser` with ``~`` construct). If the home directory " "can't be resolved, :exc:`RuntimeError` is raised." msgstr "" -#: library/pathlib.rst:747 +#: library/pathlib.rst:754 msgid "" "Return a :class:`os.stat_result` object containing information about this " "path, like :func:`os.stat`. The result is looked up at each call to this " "method." msgstr "" -#: library/pathlib.rst:750 +#: library/pathlib.rst:757 msgid "" "This method normally follows symlinks; to stat a symlink add the argument " "``follow_symlinks=False``, or use :meth:`~Path.lstat`." msgstr "" -#: library/pathlib.rst:781 +#: library/pathlib.rst:788 msgid "The *follow_symlinks* parameter was added." msgstr "" -#: library/pathlib.rst:766 +#: library/pathlib.rst:773 msgid "Change the file mode and permissions, like :func:`os.chmod`." msgstr "" -#: library/pathlib.rst:768 +#: library/pathlib.rst:775 msgid "" "This method normally follows symlinks. Some Unix flavours support changing " "permissions on the symlink itself; on these platforms you may add the " "argument ``follow_symlinks=False``, or use :meth:`~Path.lchmod`." msgstr "" -#: library/pathlib.rst:786 +#: library/pathlib.rst:793 msgid "Whether the path points to an existing file or directory::" msgstr "" -#: library/pathlib.rst:798 +#: library/pathlib.rst:805 msgid "" "If the path points to a symlink, :meth:`exists` returns whether the symlink " "*points to* an existing file or directory." msgstr "" -#: library/pathlib.rst:804 +#: library/pathlib.rst:811 msgid "" "Return a new path with expanded ``~`` and ``~user`` constructs, as returned " "by :meth:`os.path.expanduser`. If a home directory can't be resolved, :exc:" "`RuntimeError` is raised." msgstr "" -#: library/pathlib.rst:819 +#: library/pathlib.rst:826 msgid "" "Glob the given relative *pattern* in the directory represented by this path, " "yielding all matching files (of any kind)::" msgstr "" -#: library/pathlib.rst:827 +#: library/pathlib.rst:834 msgid "" "Patterns are the same as for :mod:`fnmatch`, with the addition of \"``**``\" " "which means \"this directory and all subdirectories, recursively\". In " "other words, it enables recursive globbing::" msgstr "" -#: library/pathlib.rst:839 +#: library/pathlib.rst:846 msgid "" "Using the \"``**``\" pattern in large directory trees may consume an " "inordinate amount of time." msgstr "" -#: library/pathlib.rst:842 +#: library/pathlib.rst:24 msgid "" "Raises an :ref:`auditing event ` ``pathlib.Path.glob`` with " "arguments ``self``, ``pattern``." msgstr "" -#: library/pathlib.rst:847 +#: library/pathlib.rst:854 msgid "" "Return the name of the group owning the file. :exc:`KeyError` is raised if " "the file's gid isn't found in the system database." msgstr "" -#: library/pathlib.rst:853 +#: library/pathlib.rst:860 msgid "" "Return ``True`` if the path points to a directory (or a symbolic link " "pointing to a directory), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:865 library/pathlib.rst:903 library/pathlib.rst:921 +#: library/pathlib.rst:872 library/pathlib.rst:910 library/pathlib.rst:928 msgid "" "``False`` is also returned if the path doesn't exist or is a broken symlink; " "other errors (such as permission errors) are propagated." msgstr "" -#: library/pathlib.rst:862 +#: library/pathlib.rst:869 msgid "" "Return ``True`` if the path points to a regular file (or a symbolic link " "pointing to a regular file), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:871 +#: library/pathlib.rst:878 msgid "" "Return ``True`` if the path is a :dfn:`mount point`: a point in a file " "system where a different file system has been mounted. On POSIX, the " @@ -619,49 +621,49 @@ msgid "" "and POSIX variants. Not implemented on Windows." msgstr "" -#: library/pathlib.rst:883 +#: library/pathlib.rst:890 msgid "" "Return ``True`` if the path points to a symbolic link, ``False`` otherwise." msgstr "" -#: library/pathlib.rst:885 +#: library/pathlib.rst:892 msgid "" "``False`` is also returned if the path doesn't exist; other errors (such as " "permission errors) are propagated." msgstr "" -#: library/pathlib.rst:891 +#: library/pathlib.rst:898 msgid "" "Return ``True`` if the path points to a Unix socket (or a symbolic link " "pointing to a Unix socket), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:900 +#: library/pathlib.rst:907 msgid "" "Return ``True`` if the path points to a FIFO (or a symbolic link pointing to " "a FIFO), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:909 +#: library/pathlib.rst:916 msgid "" "Return ``True`` if the path points to a block device (or a symbolic link " "pointing to a block device), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:918 +#: library/pathlib.rst:925 msgid "" "Return ``True`` if the path points to a character device (or a symbolic link " "pointing to a character device), ``False`` if it points to another kind of " "file." msgstr "" -#: library/pathlib.rst:927 +#: library/pathlib.rst:934 msgid "" "When the path points to a directory, yield path objects of the directory " "contents::" msgstr "" -#: library/pathlib.rst:941 +#: library/pathlib.rst:948 msgid "" "The children are yielded in arbitrary order, and the special entries ``'.'`` " "and ``'..'`` are not included. If a file is removed from or added to the " @@ -669,88 +671,88 @@ msgid "" "be included is unspecified." msgstr "" -#: library/pathlib.rst:948 +#: library/pathlib.rst:955 msgid "" "Like :meth:`Path.chmod` but, if the path points to a symbolic link, the " "symbolic link's mode is changed rather than its target's." msgstr "" -#: library/pathlib.rst:954 +#: library/pathlib.rst:961 msgid "" "Like :meth:`Path.stat` but, if the path points to a symbolic link, return " "the symbolic link's information rather than its target's." msgstr "" -#: library/pathlib.rst:960 +#: library/pathlib.rst:967 msgid "" "Create a new directory at this given path. If *mode* is given, it is " "combined with the process' ``umask`` value to determine the file mode and " "access flags. If the path already exists, :exc:`FileExistsError` is raised." msgstr "" -#: library/pathlib.rst:965 +#: library/pathlib.rst:972 msgid "" "If *parents* is true, any missing parents of this path are created as " "needed; they are created with the default permissions without taking *mode* " "into account (mimicking the POSIX ``mkdir -p`` command)." msgstr "" -#: library/pathlib.rst:969 +#: library/pathlib.rst:976 msgid "" "If *parents* is false (the default), a missing parent raises :exc:" "`FileNotFoundError`." msgstr "" -#: library/pathlib.rst:972 +#: library/pathlib.rst:979 msgid "" "If *exist_ok* is false (the default), :exc:`FileExistsError` is raised if " "the target directory already exists." msgstr "" -#: library/pathlib.rst:975 +#: library/pathlib.rst:982 msgid "" "If *exist_ok* is true, :exc:`FileExistsError` exceptions will be ignored " "(same behavior as the POSIX ``mkdir -p`` command), but only if the last path " "component is not an existing non-directory file." msgstr "" -#: library/pathlib.rst:979 +#: library/pathlib.rst:986 msgid "The *exist_ok* parameter was added." msgstr "" -#: library/pathlib.rst:985 +#: library/pathlib.rst:992 msgid "" "Open the file pointed to by the path, like the built-in :func:`open` " "function does::" msgstr "" -#: library/pathlib.rst:997 +#: library/pathlib.rst:1004 msgid "" "Return the name of the user owning the file. :exc:`KeyError` is raised if " "the file's uid isn't found in the system database." msgstr "" -#: library/pathlib.rst:1003 +#: library/pathlib.rst:1010 msgid "Return the binary contents of the pointed-to file as a bytes object::" msgstr "" -#: library/pathlib.rst:1016 +#: library/pathlib.rst:1023 msgid "Return the decoded contents of the pointed-to file as a string::" msgstr "" -#: library/pathlib.rst:1024 +#: library/pathlib.rst:1031 msgid "" "The file is opened and then closed. The optional parameters have the same " "meaning as in :func:`open`." msgstr "" -#: library/pathlib.rst:1032 +#: library/pathlib.rst:1039 msgid "" "Return the path to which the symbolic link points (as returned by :func:`os." "readlink`)::" msgstr "" -#: library/pathlib.rst:1045 +#: library/pathlib.rst:1052 msgid "" "Rename this file or directory to the given *target*, and return a new Path " "instance pointing to *target*. On Unix, if *target* exists and is a file, " @@ -759,37 +761,43 @@ msgid "" "either a string or another path object::" msgstr "" -#: library/pathlib.rst:1074 +#: library/pathlib.rst:1083 msgid "" "The target path may be absolute or relative. Relative paths are interpreted " "relative to the current working directory, *not* the directory of the Path " "object." msgstr "" -#: library/pathlib.rst:1078 +#: library/pathlib.rst:1071 +msgid "" +"It is implemented in terms of :func:`os.rename` and gives the same " +"guarantees." +msgstr "" + +#: library/pathlib.rst:1087 msgid "Added return value, return the new Path instance." msgstr "" -#: library/pathlib.rst:1070 +#: library/pathlib.rst:1079 msgid "" "Rename this file or directory to the given *target*, and return a new Path " "instance pointing to *target*. If *target* points to an existing file or " "empty directory, it will be unconditionally replaced." msgstr "" -#: library/pathlib.rst:1084 +#: library/pathlib.rst:1093 msgid "" "Make the path absolute, resolving any symlinks. A new path object is " "returned::" msgstr "" -#: library/pathlib.rst:1093 +#: library/pathlib.rst:1102 msgid "" "\"``..``\" components are also eliminated (this is the only method to do " "so)::" msgstr "" -#: library/pathlib.rst:1099 +#: library/pathlib.rst:1108 msgid "" "If the path doesn't exist and *strict* is ``True``, :exc:`FileNotFoundError` " "is raised. If *strict* is ``False``, the path is resolved as far as " @@ -798,65 +806,65 @@ msgid "" "`RuntimeError` is raised." msgstr "" -#: library/pathlib.rst:1105 +#: library/pathlib.rst:1114 msgid "The *strict* argument (pre-3.6 behavior is strict)." msgstr "" -#: library/pathlib.rst:1110 +#: library/pathlib.rst:1119 msgid "" "This is like calling :func:`Path.glob` with \"``**/``\" added in front of " "the given relative *pattern*::" msgstr "" -#: library/pathlib.rst:1120 +#: library/pathlib.rst:11 msgid "" "Raises an :ref:`auditing event ` ``pathlib.Path.rglob`` with " "arguments ``self``, ``pattern``." msgstr "" -#: library/pathlib.rst:1125 +#: library/pathlib.rst:1134 msgid "Remove this directory. The directory must be empty." msgstr "" -#: library/pathlib.rst:1130 +#: library/pathlib.rst:1139 msgid "" "Return whether this path points to the same file as *other_path*, which can " "be either a Path object, or a string. The semantics are similar to :func:" "`os.path.samefile` and :func:`os.path.samestat`." msgstr "" -#: library/pathlib.rst:1134 +#: library/pathlib.rst:1143 msgid "" "An :exc:`OSError` can be raised if either file cannot be accessed for some " "reason." msgstr "" -#: library/pathlib.rst:1151 +#: library/pathlib.rst:1160 msgid "" "Make this path a symbolic link to *target*. Under Windows, " "*target_is_directory* must be true (default ``False``) if the link's target " "is a directory. Under POSIX, *target_is_directory*'s value is ignored." msgstr "" -#: library/pathlib.rst:1167 +#: library/pathlib.rst:1176 msgid "" "The order of arguments (link, target) is the reverse of :func:`os.symlink`'s." msgstr "" -#: library/pathlib.rst:1172 +#: library/pathlib.rst:1181 msgid "Make this path a hard link to the same file as *target*." msgstr "" -#: library/pathlib.rst:1175 +#: library/pathlib.rst:1184 msgid "" "The order of arguments (link, target) is the reverse of :func:`os.link`'s." msgstr "" -#: library/pathlib.rst:1182 +#: library/pathlib.rst:1191 msgid "Make *target* a hard link to this path." msgstr "" -#: library/pathlib.rst:1186 +#: library/pathlib.rst:1195 msgid "" "This function does not make this path a hard link to *target*, despite the " "implication of the function and argument names. The argument order (target, " @@ -864,14 +872,14 @@ msgid "" "hardlink_to`, but matches that of :func:`os.link`." msgstr "" -#: library/pathlib.rst:1195 +#: library/pathlib.rst:1204 msgid "" "This method is deprecated in favor of :meth:`Path.hardlink_to`, as the " "argument order of :meth:`Path.link_to` does not match that of :meth:`Path." "symlink_to`." msgstr "" -#: library/pathlib.rst:1202 +#: library/pathlib.rst:1211 msgid "" "Create a file at this given path. If *mode* is given, it is combined with " "the process' ``umask`` value to determine the file mode and access flags. " @@ -880,65 +888,65 @@ msgid "" "`FileExistsError` is raised." msgstr "" -#: library/pathlib.rst:1211 +#: library/pathlib.rst:1220 msgid "" "Remove this file or symbolic link. If the path points to a directory, use :" "func:`Path.rmdir` instead." msgstr "" -#: library/pathlib.rst:1214 +#: library/pathlib.rst:1223 msgid "" "If *missing_ok* is false (the default), :exc:`FileNotFoundError` is raised " "if the path does not exist." msgstr "" -#: library/pathlib.rst:1217 +#: library/pathlib.rst:1226 msgid "" "If *missing_ok* is true, :exc:`FileNotFoundError` exceptions will be ignored " "(same behavior as the POSIX ``rm -f`` command)." msgstr "" -#: library/pathlib.rst:1220 +#: library/pathlib.rst:1229 msgid "The *missing_ok* parameter was added." msgstr "" -#: library/pathlib.rst:1226 +#: library/pathlib.rst:1235 msgid "" "Open the file pointed to in bytes mode, write *data* to it, and close the " "file::" msgstr "" -#: library/pathlib.rst:1235 +#: library/pathlib.rst:1244 msgid "An existing file of the same name is overwritten." msgstr "" -#: library/pathlib.rst:1242 +#: library/pathlib.rst:1251 msgid "" "Open the file pointed to in text mode, write *data* to it, and close the " "file::" msgstr "" -#: library/pathlib.rst:1251 +#: library/pathlib.rst:1260 msgid "" "An existing file of the same name is overwritten. The optional parameters " "have the same meaning as in :func:`open`." msgstr "" -#: library/pathlib.rst:1256 +#: library/pathlib.rst:1265 msgid "The *newline* parameter was added." msgstr "" -#: library/pathlib.rst:1260 +#: library/pathlib.rst:1269 msgid "Correspondence to tools in the :mod:`os` module" msgstr "" -#: library/pathlib.rst:1262 +#: library/pathlib.rst:1271 msgid "" "Below is a table mapping various :mod:`os` functions to their corresponding :" "class:`PurePath`/:class:`Path` equivalent." msgstr "" -#: library/pathlib.rst:1267 +#: library/pathlib.rst:1276 msgid "" "Not all pairs of functions/methods below are equivalent. Some of them, " "despite having some overlapping use-cases, have different semantics. They " @@ -946,229 +954,229 @@ msgid "" "relpath` and :meth:`PurePath.relative_to`." msgstr "" -#: library/pathlib.rst:1273 +#: library/pathlib.rst:1282 msgid ":mod:`os` and :mod:`os.path`" msgstr "" -#: library/pathlib.rst:1273 +#: library/pathlib.rst:1282 msgid ":mod:`pathlib`" msgstr "" -#: library/pathlib.rst:1275 +#: library/pathlib.rst:1284 msgid ":func:`os.path.abspath`" msgstr "" -#: library/pathlib.rst:1275 +#: library/pathlib.rst:1284 msgid ":meth:`Path.resolve` [#]_" msgstr "" -#: library/pathlib.rst:1276 +#: library/pathlib.rst:1285 msgid ":func:`os.chmod`" msgstr "" -#: library/pathlib.rst:1276 +#: library/pathlib.rst:1285 msgid ":meth:`Path.chmod`" msgstr "" -#: library/pathlib.rst:1277 +#: library/pathlib.rst:1286 msgid ":func:`os.mkdir`" msgstr "" -#: library/pathlib.rst:1278 +#: library/pathlib.rst:1287 msgid ":meth:`Path.mkdir`" msgstr "" -#: library/pathlib.rst:1278 +#: library/pathlib.rst:1287 msgid ":func:`os.makedirs`" msgstr "" -#: library/pathlib.rst:1279 +#: library/pathlib.rst:1288 msgid ":func:`os.rename`" msgstr "" -#: library/pathlib.rst:1279 +#: library/pathlib.rst:1288 msgid ":meth:`Path.rename`" msgstr "" -#: library/pathlib.rst:1280 +#: library/pathlib.rst:1289 msgid ":func:`os.replace`" msgstr "" -#: library/pathlib.rst:1280 +#: library/pathlib.rst:1289 msgid ":meth:`Path.replace`" msgstr "" -#: library/pathlib.rst:1281 +#: library/pathlib.rst:1290 msgid ":func:`os.rmdir`" msgstr "" -#: library/pathlib.rst:1281 +#: library/pathlib.rst:1290 msgid ":meth:`Path.rmdir`" msgstr "" -#: library/pathlib.rst:1282 +#: library/pathlib.rst:1291 msgid ":func:`os.remove`, :func:`os.unlink`" msgstr "" -#: library/pathlib.rst:1282 +#: library/pathlib.rst:1291 msgid ":meth:`Path.unlink`" msgstr "" -#: library/pathlib.rst:1283 +#: library/pathlib.rst:1292 msgid ":func:`os.getcwd`" msgstr "" -#: library/pathlib.rst:1283 +#: library/pathlib.rst:1292 msgid ":func:`Path.cwd`" msgstr "" -#: library/pathlib.rst:1284 +#: library/pathlib.rst:1293 msgid ":func:`os.path.exists`" msgstr "" -#: library/pathlib.rst:1284 +#: library/pathlib.rst:1293 msgid ":meth:`Path.exists`" msgstr "" -#: library/pathlib.rst:1285 +#: library/pathlib.rst:1294 msgid ":func:`os.path.expanduser`" msgstr "" -#: library/pathlib.rst:1285 +#: library/pathlib.rst:1294 msgid ":meth:`Path.expanduser` and :meth:`Path.home`" msgstr "" -#: library/pathlib.rst:1287 +#: library/pathlib.rst:1296 msgid ":func:`os.listdir`" msgstr "" -#: library/pathlib.rst:1287 +#: library/pathlib.rst:1296 msgid ":meth:`Path.iterdir`" msgstr "" -#: library/pathlib.rst:1288 +#: library/pathlib.rst:1297 msgid ":func:`os.path.isdir`" msgstr "" -#: library/pathlib.rst:1288 +#: library/pathlib.rst:1297 msgid ":meth:`Path.is_dir`" msgstr "" -#: library/pathlib.rst:1289 +#: library/pathlib.rst:1298 msgid ":func:`os.path.isfile`" msgstr "" -#: library/pathlib.rst:1289 +#: library/pathlib.rst:1298 msgid ":meth:`Path.is_file`" msgstr "" -#: library/pathlib.rst:1290 +#: library/pathlib.rst:1299 msgid ":func:`os.path.islink`" msgstr "" -#: library/pathlib.rst:1290 +#: library/pathlib.rst:1299 msgid ":meth:`Path.is_symlink`" msgstr "" -#: library/pathlib.rst:1291 +#: library/pathlib.rst:1300 msgid ":func:`os.link`" msgstr "" -#: library/pathlib.rst:1291 +#: library/pathlib.rst:1300 msgid ":meth:`Path.hardlink_to`" msgstr "" -#: library/pathlib.rst:1292 +#: library/pathlib.rst:1301 msgid ":func:`os.symlink`" msgstr "" -#: library/pathlib.rst:1292 +#: library/pathlib.rst:1301 msgid ":meth:`Path.symlink_to`" msgstr "" -#: library/pathlib.rst:1293 +#: library/pathlib.rst:1302 msgid ":func:`os.readlink`" msgstr "" -#: library/pathlib.rst:1293 +#: library/pathlib.rst:1302 msgid ":meth:`Path.readlink`" msgstr "" -#: library/pathlib.rst:1294 +#: library/pathlib.rst:1303 msgid ":func:`os.path.relpath`" msgstr "" -#: library/pathlib.rst:1294 +#: library/pathlib.rst:1303 msgid ":meth:`PurePath.relative_to` [#]_" msgstr "" -#: library/pathlib.rst:1295 +#: library/pathlib.rst:1304 msgid ":func:`os.stat`" msgstr "" -#: library/pathlib.rst:1295 +#: library/pathlib.rst:1304 msgid ":meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group`" msgstr "" -#: library/pathlib.rst:1298 +#: library/pathlib.rst:1307 msgid ":func:`os.path.isabs`" msgstr "" -#: library/pathlib.rst:1298 +#: library/pathlib.rst:1307 msgid ":meth:`PurePath.is_absolute`" msgstr "" -#: library/pathlib.rst:1299 +#: library/pathlib.rst:1308 msgid ":func:`os.path.join`" msgstr "" -#: library/pathlib.rst:1299 +#: library/pathlib.rst:1308 msgid ":func:`PurePath.joinpath`" msgstr "" -#: library/pathlib.rst:1300 +#: library/pathlib.rst:1309 msgid ":func:`os.path.basename`" msgstr "" -#: library/pathlib.rst:1300 -msgid ":data:`PurePath.name`" +#: library/pathlib.rst:1309 +msgid ":attr:`PurePath.name`" msgstr "" -#: library/pathlib.rst:1301 +#: library/pathlib.rst:1310 msgid ":func:`os.path.dirname`" msgstr "" -#: library/pathlib.rst:1301 -msgid ":data:`PurePath.parent`" +#: library/pathlib.rst:1310 +msgid ":attr:`PurePath.parent`" msgstr "" -#: library/pathlib.rst:1302 +#: library/pathlib.rst:1311 msgid ":func:`os.path.samefile`" msgstr "" -#: library/pathlib.rst:1302 +#: library/pathlib.rst:1311 msgid ":meth:`Path.samefile`" msgstr "" -#: library/pathlib.rst:1303 +#: library/pathlib.rst:1312 msgid ":func:`os.path.splitext`" msgstr "" -#: library/pathlib.rst:1303 -msgid ":data:`PurePath.stem` and :data:`PurePath.suffix`" +#: library/pathlib.rst:1312 +msgid ":attr:`PurePath.stem` and :attr:`PurePath.suffix`" msgstr "" -#: library/pathlib.rst:1308 +#: library/pathlib.rst:1317 msgid "Footnotes" msgstr "" -#: library/pathlib.rst:1309 +#: library/pathlib.rst:1318 msgid "" ":func:`os.path.abspath` does not resolve symbolic links while :meth:`Path." "resolve` does." msgstr "" -#: library/pathlib.rst:1310 +#: library/pathlib.rst:1319 msgid "" ":meth:`PurePath.relative_to` requires ``self`` to be the subpath of the " "argument, but :func:`os.path.relpath` does not." diff --git a/library/pdb.po b/library/pdb.po index 40c13c8f4..4e71edef3 100644 --- a/library/pdb.po +++ b/library/pdb.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -41,26 +41,46 @@ msgid "" "source. The extension interface uses the modules :mod:`bdb` and :mod:`cmd`." msgstr "" -#: library/pdb.rst:30 +#: library/pdb.rst:34 +msgid "Module :mod:`faulthandler`" +msgstr "" + +#: library/pdb.rst:33 +msgid "" +"Used to dump Python tracebacks explicitly, on a fault, after a timeout, or " +"on a user signal." +msgstr "" + +#: library/pdb.rst:36 +msgid "Module :mod:`traceback`" +msgstr "" + +#: library/pdb.rst:37 +msgid "" +"Standard interface to extract, format and print stack traces of Python " +"programs." +msgstr "" + +#: library/pdb.rst:39 msgid "" "The debugger's prompt is ``(Pdb)``. Typical usage to run a program under " "control of the debugger is::" msgstr "" -#: library/pdb.rst:44 +#: library/pdb.rst:53 msgid "" "Tab-completion via the :mod:`readline` module is available for commands and " "command arguments, e.g. the current global and local names are offered as " "arguments of the ``p`` command." msgstr "" -#: library/pdb.rst:49 +#: library/pdb.rst:58 msgid "" ":file:`pdb.py` can also be invoked as a script to debug other scripts. For " "example::" msgstr "" -#: library/pdb.rst:54 +#: library/pdb.rst:63 msgid "" "When invoked as a script, pdb will automatically enter post-mortem debugging " "if the program being debugged exits abnormally. After post-mortem debugging " @@ -69,47 +89,47 @@ msgid "" "cases is more useful than quitting the debugger upon program's exit." msgstr "" -#: library/pdb.rst:60 +#: library/pdb.rst:69 msgid "" ":file:`pdb.py` now accepts a ``-c`` option that executes commands as if " "given in a :file:`.pdbrc` file, see :ref:`debugger-commands`." msgstr "" -#: library/pdb.rst:64 +#: library/pdb.rst:73 msgid "" ":file:`pdb.py` now accepts a ``-m`` option that execute modules similar to " "the way ``python3 -m`` does. As with a script, the debugger will pause " "execution just before the first line of the module." msgstr "" -#: library/pdb.rst:70 +#: library/pdb.rst:79 msgid "The typical usage to break into the debugger is to insert::" msgstr "" -#: library/pdb.rst:74 +#: library/pdb.rst:83 msgid "" "at the location you want to break into the debugger, and then run the " "program. You can then step through the code following this statement, and " "continue running without the debugger using the :pdbcmd:`continue` command." msgstr "" -#: library/pdb.rst:78 +#: library/pdb.rst:87 msgid "" "The built-in :func:`breakpoint()`, when called with defaults, can be used " "instead of ``import pdb; pdb.set_trace()``." msgstr "" -#: library/pdb.rst:82 +#: library/pdb.rst:91 msgid "The typical usage to inspect a crashed program is::" msgstr "" -#: library/pdb.rst:100 +#: library/pdb.rst:109 msgid "" "The module defines the following functions; each enters the debugger in a " "slightly different way:" msgstr "" -#: library/pdb.rst:105 +#: library/pdb.rst:114 msgid "" "Execute the *statement* (given as a string or a code object) under debugger " "control. The debugger prompt appears before any code is executed; you can " @@ -121,14 +141,14 @@ msgid "" "`exec` or :func:`eval` functions.)" msgstr "" -#: library/pdb.rst:117 +#: library/pdb.rst:126 msgid "" "Evaluate the *expression* (given as a string or a code object) under " "debugger control. When :func:`runeval` returns, it returns the value of the " "expression. Otherwise this function is similar to :func:`run`." msgstr "" -#: library/pdb.rst:124 +#: library/pdb.rst:133 msgid "" "Call the *function* (a function or method object, not a string) with the " "given arguments. When :func:`runcall` returns, it returns whatever the " @@ -136,7 +156,7 @@ msgid "" "is entered." msgstr "" -#: library/pdb.rst:132 +#: library/pdb.rst:141 msgid "" "Enter the debugger at the calling stack frame. This is useful to hard-code " "a breakpoint at a given point in a program, even if the code is not " @@ -144,11 +164,11 @@ msgid "" "is printed to the console just before debugging begins." msgstr "" -#: library/pdb.rst:137 +#: library/pdb.rst:146 msgid "The keyword-only argument *header*." msgstr "" -#: library/pdb.rst:143 +#: library/pdb.rst:152 msgid "" "Enter post-mortem debugging of the given *traceback* object. If no " "*traceback* is given, it uses the one of the exception that is currently " @@ -156,37 +176,37 @@ msgid "" "used)." msgstr "" -#: library/pdb.rst:151 +#: library/pdb.rst:160 msgid "" "Enter post-mortem debugging of the traceback found in :data:`sys." "last_traceback`." msgstr "" -#: library/pdb.rst:155 +#: library/pdb.rst:164 msgid "" "The ``run*`` functions and :func:`set_trace` are aliases for instantiating " "the :class:`Pdb` class and calling the method of the same name. If you want " "to access further features, you have to do this yourself:" msgstr "" -#: library/pdb.rst:162 +#: library/pdb.rst:171 msgid ":class:`Pdb` is the debugger class." msgstr "" -#: library/pdb.rst:164 +#: library/pdb.rst:173 msgid "" "The *completekey*, *stdin* and *stdout* arguments are passed to the " "underlying :class:`cmd.Cmd` class; see the description there." msgstr "" -#: library/pdb.rst:167 +#: library/pdb.rst:176 msgid "" "The *skip* argument, if given, must be an iterable of glob-style module name " "patterns. The debugger will not step into frames that originate in a module " "that matches one of these patterns. [1]_" msgstr "" -#: library/pdb.rst:171 +#: library/pdb.rst:180 msgid "" "By default, Pdb sets a handler for the SIGINT signal (which is sent when the " "user presses :kbd:`Ctrl-C` on the console) when you give a ``continue`` " @@ -195,43 +215,43 @@ msgid "" "to true." msgstr "" -#: library/pdb.rst:176 +#: library/pdb.rst:185 msgid "" "The *readrc* argument defaults to true and controls whether Pdb will load ." "pdbrc files from the filesystem." msgstr "" -#: library/pdb.rst:179 +#: library/pdb.rst:188 msgid "Example call to enable tracing with *skip*::" msgstr "" -#: library/pdb.rst:183 +#: library/pdb.rst:22 msgid "" "Raises an :ref:`auditing event ` ``pdb.Pdb`` with no arguments." msgstr "" -#: library/pdb.rst:185 +#: library/pdb.rst:194 msgid "The *skip* argument." msgstr "" -#: library/pdb.rst:188 +#: library/pdb.rst:197 msgid "" "The *nosigint* argument. Previously, a SIGINT handler was never set by Pdb." msgstr "" -#: library/pdb.rst:192 +#: library/pdb.rst:201 msgid "The *readrc* argument." msgstr "" -#: library/pdb.rst:200 +#: library/pdb.rst:209 msgid "See the documentation for the functions explained above." msgstr "" -#: library/pdb.rst:206 +#: library/pdb.rst:215 msgid "Debugger Commands" msgstr "" -#: library/pdb.rst:208 +#: library/pdb.rst:217 msgid "" "The commands recognized by the debugger are listed below. Most commands can " "be abbreviated to one or two letters as indicated; e.g. ``h(elp)`` means " @@ -243,13 +263,13 @@ msgid "" "are separated by a vertical bar (``|``)." msgstr "" -#: library/pdb.rst:217 +#: library/pdb.rst:226 msgid "" "Entering a blank line repeats the last command entered. Exception: if the " "last command was a :pdbcmd:`list` command, the next 11 lines are listed." msgstr "" -#: library/pdb.rst:220 +#: library/pdb.rst:229 msgid "" "Commands that the debugger doesn't recognize are assumed to be Python " "statements and are executed in the context of the program being debugged. " @@ -260,14 +280,14 @@ msgid "" "is not changed." msgstr "" -#: library/pdb.rst:228 +#: library/pdb.rst:237 msgid "" "The debugger supports :ref:`aliases `. Aliases can have " "parameters which allows one a certain level of adaptability to the context " "under examination." msgstr "" -#: library/pdb.rst:232 +#: library/pdb.rst:241 msgid "" "Multiple commands may be entered on a single line, separated by ``;;``. (A " "single ``;`` is not used as it is the separator for multiple commands in a " @@ -278,7 +298,7 @@ msgid "" "\"\";\"``." msgstr "" -#: library/pdb.rst:243 +#: library/pdb.rst:252 msgid "" "If a file :file:`.pdbrc` exists in the user's home directory or in the " "current directory, it is read in and executed as if it had been typed at the " @@ -287,14 +307,14 @@ msgid "" "can be overridden by the local file." msgstr "" -#: library/pdb.rst:249 +#: library/pdb.rst:258 msgid "" ":file:`.pdbrc` can now contain commands that continue debugging, such as :" "pdbcmd:`continue` or :pdbcmd:`next`. Previously, these commands had no " "effect." msgstr "" -#: library/pdb.rst:257 +#: library/pdb.rst:266 msgid "" "Without argument, print the list of available commands. With a *command* as " "argument, print help about that command. ``help pdb`` displays the full " @@ -303,25 +323,25 @@ msgid "" "the ``!`` command." msgstr "" -#: library/pdb.rst:265 +#: library/pdb.rst:274 msgid "" "Print a stack trace, with the most recent frame at the bottom. An arrow " "indicates the current frame, which determines the context of most commands." msgstr "" -#: library/pdb.rst:270 +#: library/pdb.rst:279 msgid "" "Move the current frame *count* (default one) levels down in the stack trace " "(to a newer frame)." msgstr "" -#: library/pdb.rst:275 +#: library/pdb.rst:284 msgid "" "Move the current frame *count* (default one) levels up in the stack trace " "(to an older frame)." msgstr "" -#: library/pdb.rst:280 +#: library/pdb.rst:289 msgid "" "With a *lineno* argument, set a break there in the current file. With a " "*function* argument, set a break at the first executable statement within " @@ -332,33 +352,33 @@ msgid "" "refer." msgstr "" -#: library/pdb.rst:287 +#: library/pdb.rst:296 msgid "" "If a second argument is present, it is an expression which must evaluate to " "true before the breakpoint is honored." msgstr "" -#: library/pdb.rst:290 +#: library/pdb.rst:299 msgid "" "Without argument, list all breaks, including for each breakpoint, the number " "of times that breakpoint has been hit, the current ignore count, and the " "associated condition if any." msgstr "" -#: library/pdb.rst:296 +#: library/pdb.rst:305 msgid "" "Temporary breakpoint, which is removed automatically when it is first hit. " "The arguments are the same as for :pdbcmd:`break`." msgstr "" -#: library/pdb.rst:301 +#: library/pdb.rst:310 msgid "" "With a *filename:lineno* argument, clear all the breakpoints at this line. " "With a space separated list of breakpoint numbers, clear those breakpoints. " "Without argument, clear all breaks (but first ask confirmation)." msgstr "" -#: library/pdb.rst:307 +#: library/pdb.rst:316 msgid "" "Disable the breakpoints given as a space separated list of breakpoint " "numbers. Disabling a breakpoint means it cannot cause the program to stop " @@ -366,11 +386,11 @@ msgid "" "breakpoints and can be (re-)enabled." msgstr "" -#: library/pdb.rst:314 +#: library/pdb.rst:323 msgid "Enable the breakpoints specified." msgstr "" -#: library/pdb.rst:318 +#: library/pdb.rst:327 msgid "" "Set the ignore count for the given breakpoint number. If count is omitted, " "the ignore count is set to 0. A breakpoint becomes active when the ignore " @@ -379,39 +399,39 @@ msgid "" "condition evaluates to true." msgstr "" -#: library/pdb.rst:326 +#: library/pdb.rst:335 msgid "" "Set a new *condition* for the breakpoint, an expression which must evaluate " "to true before the breakpoint is honored. If *condition* is absent, any " "existing condition is removed; i.e., the breakpoint is made unconditional." msgstr "" -#: library/pdb.rst:332 +#: library/pdb.rst:341 msgid "" "Specify a list of commands for breakpoint number *bpnumber*. The commands " "themselves appear on the following lines. Type a line containing just " "``end`` to terminate the commands. An example::" msgstr "" -#: library/pdb.rst:341 +#: library/pdb.rst:350 msgid "" "To remove all commands from a breakpoint, type ``commands`` and follow it " "immediately with ``end``; that is, give no commands." msgstr "" -#: library/pdb.rst:344 +#: library/pdb.rst:353 msgid "" "With no *bpnumber* argument, ``commands`` refers to the last breakpoint set." msgstr "" -#: library/pdb.rst:346 +#: library/pdb.rst:355 msgid "" "You can use breakpoint commands to start your program up again. Simply use " "the :pdbcmd:`continue` command, or :pdbcmd:`step`, or any other command that " "resumes execution." msgstr "" -#: library/pdb.rst:350 +#: library/pdb.rst:359 msgid "" "Specifying any command resuming execution (currently :pdbcmd:`continue`, :" "pdbcmd:`step`, :pdbcmd:`next`, :pdbcmd:`return`, :pdbcmd:`jump`, :pdbcmd:" @@ -422,7 +442,7 @@ msgid "" "ambiguities about which list to execute." msgstr "" -#: library/pdb.rst:359 +#: library/pdb.rst:368 msgid "" "If you use the 'silent' command in the command list, the usual message about " "stopping at a breakpoint is not printed. This may be desirable for " @@ -431,13 +451,13 @@ msgid "" "was reached." msgstr "" -#: library/pdb.rst:366 +#: library/pdb.rst:375 msgid "" "Execute the current line, stop at the first possible occasion (either in a " "function that is called or on the next line in the current function)." msgstr "" -#: library/pdb.rst:371 +#: library/pdb.rst:380 msgid "" "Continue execution until the next line in the current function is reached or " "it returns. (The difference between :pdbcmd:`next` and :pdbcmd:`step` is " @@ -446,46 +466,46 @@ msgid "" "line in the current function.)" msgstr "" -#: library/pdb.rst:379 +#: library/pdb.rst:388 msgid "" "Without argument, continue execution until the line with a number greater " "than the current one is reached." msgstr "" -#: library/pdb.rst:382 +#: library/pdb.rst:391 msgid "" "With a line number, continue execution until a line with a number greater or " "equal to that is reached. In both cases, also stop when the current frame " "returns." msgstr "" -#: library/pdb.rst:386 +#: library/pdb.rst:395 msgid "Allow giving an explicit line number." msgstr "" -#: library/pdb.rst:391 +#: library/pdb.rst:400 msgid "Continue execution until the current function returns." msgstr "" -#: library/pdb.rst:395 +#: library/pdb.rst:404 msgid "Continue execution, only stop when a breakpoint is encountered." msgstr "" -#: library/pdb.rst:399 +#: library/pdb.rst:408 msgid "" "Set the next line that will be executed. Only available in the bottom-most " "frame. This lets you jump back and execute code again, or jump forward to " "skip code that you don't want to run." msgstr "" -#: library/pdb.rst:403 +#: library/pdb.rst:412 msgid "" "It should be noted that not all jumps are allowed -- for instance it is not " "possible to jump into the middle of a :keyword:`for` loop or out of a :" "keyword:`finally` clause." msgstr "" -#: library/pdb.rst:409 +#: library/pdb.rst:418 msgid "" "List source code for the current file. Without arguments, list 11 lines " "around the current line or continue the previous listing. With ``.`` as " @@ -494,7 +514,7 @@ msgid "" "second argument is less than the first, it is interpreted as a count." msgstr "" -#: library/pdb.rst:415 +#: library/pdb.rst:424 msgid "" "The current line in the current frame is indicated by ``->``. If an " "exception is being debugged, the line where the exception was originally " @@ -502,68 +522,68 @@ msgid "" "line." msgstr "" -#: library/pdb.rst:420 +#: library/pdb.rst:429 msgid "The ``>>`` marker." msgstr "" -#: library/pdb.rst:425 +#: library/pdb.rst:434 msgid "" "List all source code for the current function or frame. Interesting lines " "are marked as for :pdbcmd:`list`." msgstr "" -#: library/pdb.rst:432 +#: library/pdb.rst:441 msgid "Print the argument list of the current function." msgstr "" -#: library/pdb.rst:436 +#: library/pdb.rst:445 msgid "Evaluate the *expression* in the current context and print its value." msgstr "" -#: library/pdb.rst:440 +#: library/pdb.rst:449 msgid "" "``print()`` can also be used, but is not a debugger command --- this " "executes the Python :func:`print` function." msgstr "" -#: library/pdb.rst:446 +#: library/pdb.rst:455 msgid "" "Like the :pdbcmd:`p` command, except the value of the expression is pretty-" "printed using the :mod:`pprint` module." msgstr "" -#: library/pdb.rst:451 +#: library/pdb.rst:460 msgid "Print the type of the *expression*." msgstr "" -#: library/pdb.rst:455 +#: library/pdb.rst:464 msgid "Try to get source code for the given object and display it." msgstr "" -#: library/pdb.rst:461 +#: library/pdb.rst:470 msgid "" "Display the value of the expression if it changed, each time execution stops " "in the current frame." msgstr "" -#: library/pdb.rst:464 +#: library/pdb.rst:473 msgid "Without expression, list all display expressions for the current frame." msgstr "" -#: library/pdb.rst:470 +#: library/pdb.rst:479 msgid "" "Do not display the expression any more in the current frame. Without " "expression, clear all display expressions for the current frame." msgstr "" -#: library/pdb.rst:477 +#: library/pdb.rst:486 msgid "" "Start an interactive interpreter (using the :mod:`code` module) whose global " "namespace contains all the (global and local) names found in the current " "scope." msgstr "" -#: library/pdb.rst:487 +#: library/pdb.rst:496 msgid "" "Create an alias called *name* that executes *command*. The command must " "*not* be enclosed in quotes. Replaceable parameters can be indicated by " @@ -572,7 +592,7 @@ msgid "" "arguments are given, all aliases are listed." msgstr "" -#: library/pdb.rst:493 +#: library/pdb.rst:502 msgid "" "Aliases may be nested and can contain anything that can be legally typed at " "the pdb prompt. Note that internal pdb commands *can* be overridden by " @@ -581,17 +601,17 @@ msgid "" "other words in the line are left alone." msgstr "" -#: library/pdb.rst:499 +#: library/pdb.rst:508 msgid "" "As an example, here are two useful aliases (especially when placed in the :" "file:`.pdbrc` file)::" msgstr "" -#: library/pdb.rst:509 +#: library/pdb.rst:518 msgid "Delete the specified alias." msgstr "" -#: library/pdb.rst:513 +#: library/pdb.rst:522 msgid "" "Execute the (one-line) *statement* in the context of the current stack " "frame. The exclamation point can be omitted unless the first word of the " @@ -600,7 +620,7 @@ msgid "" "line, e.g.::" msgstr "" -#: library/pdb.rst:525 +#: library/pdb.rst:534 msgid "" "Restart the debugged Python program. If an argument is supplied, it is " "split with :mod:`shlex` and the result is used as the new :data:`sys.argv`. " @@ -608,25 +628,25 @@ msgid "" "`restart` is an alias for :pdbcmd:`run`." msgstr "" -#: library/pdb.rst:532 +#: library/pdb.rst:541 msgid "Quit from the debugger. The program being executed is aborted." msgstr "" -#: library/pdb.rst:536 +#: library/pdb.rst:545 msgid "" "Enter a recursive debugger that steps through the code argument (which is an " "arbitrary expression or statement to be executed in the current environment)." msgstr "" -#: library/pdb.rst:542 +#: library/pdb.rst:551 msgid "Print the return value for the last return of a function." msgstr "" -#: library/pdb.rst:545 +#: library/pdb.rst:554 msgid "Footnotes" msgstr "" -#: library/pdb.rst:546 +#: library/pdb.rst:555 msgid "" "Whether a frame is considered to originate in a certain module is determined " "by the ``__name__`` in the frame globals." diff --git a/library/pickle.po b/library/pickle.po index 6561ac85d..f631f59bd 100644 --- a/library/pickle.po +++ b/library/pickle.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -612,7 +612,7 @@ msgid "" "`pickle-restrict` for details." msgstr "" -#: library/pickle.rst:460 +#: library/pickle.rst:10 msgid "" "Raises an :ref:`auditing event ` ``pickle.find_class`` with " "arguments ``module``, ``name``." diff --git a/library/poplib.po b/library/poplib.po index ba36dc7c1..650b50c79 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -62,13 +62,13 @@ msgid "" "timeout setting will be used)." msgstr "" -#: library/poplib.rst:68 +#: library/poplib.rst:13 msgid "" "Raises an :ref:`auditing event ` ``poplib.connect`` with arguments " "``self``, ``host``, ``port``." msgstr "" -#: library/poplib.rst:70 +#: library/poplib.rst:15 msgid "" "Raises an :ref:`auditing event ` ``poplib.putline`` with arguments " "``self``, ``line``." diff --git a/library/pty.po b/library/pty.po index 13415a9dc..ad4bae82d 100644 --- a/library/pty.po +++ b/library/pty.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -112,7 +112,7 @@ msgid "" "an exit code." msgstr "" -#: library/pty.rst:77 +#: library/pty.rst:34 msgid "" "Raises an :ref:`auditing event ` ``pty.spawn`` with argument " "``argv``." diff --git a/library/pydoc.po b/library/pydoc.po index 3729daf84..7c7496fa3 100644 --- a/library/pydoc.po +++ b/library/pydoc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -97,27 +97,27 @@ msgstr "" msgid "" "You can also use :program:`pydoc` to start an HTTP server on the local " "machine that will serve documentation to visiting web browsers. :program:" -"`pydoc -p 1234` will start a HTTP server on port 1234, allowing you to " -"browse the documentation at ``http://localhost:1234/`` in your preferred web " -"browser. Specifying ``0`` as the port number will select an arbitrary unused " -"port." +"`python -m pydoc -p 1234` will start a HTTP server on port 1234, allowing " +"you to browse the documentation at ``http://localhost:1234/`` in your " +"preferred web browser. Specifying ``0`` as the port number will select an " +"arbitrary unused port." msgstr "" #: library/pydoc.rst:73 msgid "" -":program:`pydoc -n ` will start the server listening at the given " -"hostname. By default the hostname is 'localhost' but if you want the server " -"to be reached from other machines, you may want to change the host name that " -"the server responds to. During development this is especially useful if you " -"want to run pydoc from within a container." +":program:`python -m pydoc -n ` will start the server listening at " +"the given hostname. By default the hostname is 'localhost' but if you want " +"the server to be reached from other machines, you may want to change the " +"host name that the server responds to. During development this is " +"especially useful if you want to run pydoc from within a container." msgstr "" #: library/pydoc.rst:79 msgid "" -":program:`pydoc -b` will start the server and additionally open a web " -"browser to a module index page. Each served page has a navigation bar at " -"the top where you can *Get* help on an individual item, *Search* all modules " -"with a keyword in their synopsis line, and go to the *Module index*, " +":program:`python -m pydoc -b` will start the server and additionally open a " +"web browser to a module index page. Each served page has a navigation bar " +"at the top where you can *Get* help on an individual item, *Search* all " +"modules with a keyword in their synopsis line, and go to the *Module index*, " "*Topics* and *Keywords* pages." msgstr "" diff --git a/library/re.po b/library/re.po index 0b8b7c704..cf1aeee25 100644 --- a/library/re.po +++ b/library/re.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -143,7 +143,7 @@ msgstr "" msgid "The special characters are:" msgstr "" -#: library/re.rst:1435 +#: library/re.rst:1434 msgid "``.``" msgstr "" @@ -698,7 +698,7 @@ msgstr "" msgid "``\\d``" msgstr "" -#: library/re.rst:512 library/re.rst:532 +#: library/re.rst:512 library/re.rst:531 msgid "For Unicode (str) patterns:" msgstr "" @@ -710,7 +710,7 @@ msgid "" "matched." msgstr "" -#: library/re.rst:516 library/re.rst:538 +#: library/re.rst:516 library/re.rst:537 msgid "For 8-bit (bytes) patterns:" msgstr "" @@ -758,18 +758,18 @@ msgid "" "equivalent of ``[^ \\t\\n\\r\\f\\v]``." msgstr "" -#: library/re.rst:538 +#: library/re.rst:537 msgid "``\\w``" msgstr "" #: library/re.rst:529 msgid "" -"Matches Unicode word characters; this includes most characters that can be " -"part of a word in any language, as well as numbers and the underscore. If " -"the :const:`ASCII` flag is used, only ``[a-zA-Z0-9_]`` is matched." +"Matches Unicode word characters; this includes alphanumeric characters (as " +"defined by :meth:`str.isalnum`) as well as the underscore (``_``). If the :" +"const:`ASCII` flag is used, only ``[a-zA-Z0-9_]`` is matched." msgstr "" -#: library/re.rst:535 +#: library/re.rst:534 msgid "" "Matches characters considered alphanumeric in the ASCII character set; this " "is equivalent to ``[a-zA-Z0-9_]``. If the :const:`LOCALE` flag is used, " @@ -777,11 +777,11 @@ msgid "" "underscore." msgstr "" -#: library/re.rst:547 +#: library/re.rst:546 msgid "``\\W``" msgstr "" -#: library/re.rst:543 +#: library/re.rst:542 msgid "" "Matches any character which is not a word character. This is the opposite of " "``\\w``. If the :const:`ASCII` flag is used this becomes the equivalent of " @@ -789,34 +789,34 @@ msgid "" "which are neither alphanumeric in the current locale nor the underscore." msgstr "" -#: library/re.rst:552 +#: library/re.rst:551 msgid "``\\Z``" msgstr "" -#: library/re.rst:552 +#: library/re.rst:551 msgid "Matches only at the end of the string." msgstr "" -#: library/re.rst:568 +#: library/re.rst:567 msgid "" "Most of the standard escapes supported by Python string literals are also " "accepted by the regular expression parser::" msgstr "" -#: library/re.rst:575 +#: library/re.rst:574 msgid "" "(Note that ``\\b`` is used to represent word boundaries, and means " "\"backspace\" only inside character classes.)" msgstr "" -#: library/re.rst:578 +#: library/re.rst:577 msgid "" "``'\\u'``, ``'\\U'``, and ``'\\N'`` escape sequences are only recognized in " "Unicode patterns. In bytes patterns they are errors. Unknown escapes of " "ASCII letters are reserved for future use and treated as errors." msgstr "" -#: library/re.rst:582 +#: library/re.rst:581 msgid "" "Octal escapes are included in a limited form. If the first digit is a 0, or " "if there are three octal digits, it is considered an octal escape. " @@ -824,26 +824,26 @@ msgid "" "are always at most three digits in length." msgstr "" -#: library/re.rst:587 +#: library/re.rst:586 msgid "The ``'\\u'`` and ``'\\U'`` escape sequences have been added." msgstr "" -#: library/re.rst:590 +#: library/re.rst:589 msgid "" "Unknown escapes consisting of ``'\\'`` and an ASCII letter now are errors." msgstr "" -#: library/re.rst:593 +#: library/re.rst:592 msgid "" "The ``'\\N{name}'`` escape sequence has been added. As in string literals, " "it expands to the named Unicode character (e.g. ``'\\N{EM DASH}'``)." msgstr "" -#: library/re.rst:601 +#: library/re.rst:600 msgid "Module Contents" msgstr "" -#: library/re.rst:603 +#: library/re.rst:602 msgid "" "The module defines several functions, constants, and an exception. Some of " "the functions are simplified versions of the full featured methods for " @@ -851,17 +851,17 @@ msgid "" "compiled form." msgstr "" -#: library/re.rst:610 +#: library/re.rst:609 msgid "Flags" msgstr "" -#: library/re.rst:612 +#: library/re.rst:611 msgid "" "Flag constants are now instances of :class:`RegexFlag`, which is a subclass " "of :class:`enum.IntFlag`." msgstr "" -#: library/re.rst:621 +#: library/re.rst:620 msgid "" "Make ``\\w``, ``\\W``, ``\\b``, ``\\B``, ``\\d``, ``\\D``, ``\\s`` and " "``\\S`` perform ASCII-only matching instead of full Unicode matching. This " @@ -869,7 +869,7 @@ msgid "" "Corresponds to the inline flag ``(?a)``." msgstr "" -#: library/re.rst:626 +#: library/re.rst:625 msgid "" "Note that for backward compatibility, the :const:`re.U` flag still exists " "(as well as its synonym :const:`re.UNICODE` and its embedded counterpart ``(?" @@ -877,13 +877,13 @@ msgid "" "default for strings (and Unicode matching isn't allowed for bytes)." msgstr "" -#: library/re.rst:635 +#: library/re.rst:634 msgid "" "Display debug information about compiled expression. No corresponding inline " "flag." msgstr "" -#: library/re.rst:642 +#: library/re.rst:641 msgid "" "Perform case-insensitive matching; expressions like ``[A-Z]`` will also " "match lowercase letters. Full Unicode matching (such as ``Ü`` matching " @@ -893,7 +893,7 @@ msgid "" "flag ``(?i)``." msgstr "" -#: library/re.rst:649 +#: library/re.rst:648 msgid "" "Note that when the Unicode patterns ``[a-z]`` or ``[A-Z]`` are used in " "combination with the :const:`IGNORECASE` flag, they will match the 52 ASCII " @@ -904,7 +904,7 @@ msgid "" "matched." msgstr "" -#: library/re.rst:660 +#: library/re.rst:659 msgid "" "Make ``\\w``, ``\\W``, ``\\b``, ``\\B`` and case-insensitive matching " "dependent on the current locale. This flag can be used only with bytes " @@ -915,20 +915,20 @@ msgid "" "locales/languages. Corresponds to the inline flag ``(?L)``." msgstr "" -#: library/re.rst:669 +#: library/re.rst:668 msgid "" ":const:`re.LOCALE` can be used only with bytes patterns and is not " "compatible with :const:`re.ASCII`." msgstr "" -#: library/re.rst:673 +#: library/re.rst:672 msgid "" "Compiled regular expression objects with the :const:`re.LOCALE` flag no " "longer depend on the locale at compile time. Only the locale at matching " "time affects the result of matching." msgstr "" -#: library/re.rst:682 +#: library/re.rst:681 msgid "" "When specified, the pattern character ``'^'`` matches at the beginning of " "the string and at the beginning of each line (immediately following each " @@ -939,14 +939,14 @@ msgid "" "the end of the string. Corresponds to the inline flag ``(?m)``." msgstr "" -#: library/re.rst:694 +#: library/re.rst:693 msgid "" "Make the ``'.'`` special character match any character at all, including a " "newline; without this flag, ``'.'`` will match anything *except* a newline. " "Corresponds to the inline flag ``(?s)``." msgstr "" -#: library/re.rst:704 +#: library/re.rst:703 msgid "" "This flag allows you to write regular expressions that look nicer and are " "more readable by allowing you to visually separate logical sections of the " @@ -959,50 +959,50 @@ msgid "" "ignored." msgstr "" -#: library/re.rst:714 +#: library/re.rst:713 msgid "" "This means that the two following regular expression objects that match a " "decimal number are functionally equal::" msgstr "" -#: library/re.rst:722 +#: library/re.rst:721 msgid "Corresponds to the inline flag ``(?x)``." msgstr "" -#: library/re.rst:726 +#: library/re.rst:725 msgid "Functions" msgstr "" -#: library/re.rst:730 +#: library/re.rst:729 msgid "" "Compile a regular expression pattern into a :ref:`regular expression object " "`, which can be used for matching using its :func:`~Pattern." "match`, :func:`~Pattern.search` and other methods, described below." msgstr "" -#: library/re.rst:735 +#: library/re.rst:734 msgid "" "The expression's behaviour can be modified by specifying a *flags* value. " "Values can be any of the following variables, combined using bitwise OR (the " "``|`` operator)." msgstr "" -#: library/re.rst:739 +#: library/re.rst:738 msgid "The sequence ::" msgstr "" -#: library/re.rst:744 +#: library/re.rst:743 msgid "is equivalent to ::" msgstr "" -#: library/re.rst:748 +#: library/re.rst:747 msgid "" "but using :func:`re.compile` and saving the resulting regular expression " "object for reuse is more efficient when the expression will be used several " "times in a single program." msgstr "" -#: library/re.rst:754 +#: library/re.rst:753 msgid "" "The compiled versions of the most recent patterns passed to :func:`re." "compile` and the module-level matching functions are cached, so programs " @@ -1010,7 +1010,7 @@ msgid "" "compiling regular expressions." msgstr "" -#: library/re.rst:762 +#: library/re.rst:761 msgid "" "Scan through *string* looking for the first location where the regular " "expression *pattern* produces a match, and return a corresponding :ref:" @@ -1019,7 +1019,7 @@ msgid "" "length match at some point in the string." msgstr "" -#: library/re.rst:771 +#: library/re.rst:770 msgid "" "If zero or more characters at the beginning of *string* match the regular " "expression *pattern*, return a corresponding :ref:`match object `. Return ``None`` if the " @@ -1047,7 +1047,7 @@ msgid "" "length match." msgstr "" -#: library/re.rst:795 +#: library/re.rst:794 msgid "" "Split *string* by the occurrences of *pattern*. If capturing parentheses " "are used in *pattern*, then the text of all groups in the pattern are also " @@ -1056,42 +1056,42 @@ msgid "" "final element of the list. ::" msgstr "" -#: library/re.rst:810 +#: library/re.rst:809 msgid "" "If there are capturing groups in the separator and it matches at the start " "of the string, the result will start with an empty string. The same holds " "for the end of the string::" msgstr "" -#: library/re.rst:817 +#: library/re.rst:816 msgid "" "That way, separator components are always found at the same relative indices " "within the result list." msgstr "" -#: library/re.rst:820 +#: library/re.rst:819 msgid "" "Empty matches for the pattern split the string only when not adjacent to a " "previous empty match." msgstr "" -#: library/re.rst:920 library/re.rst:944 +#: library/re.rst:919 library/re.rst:943 msgid "Added the optional flags argument." msgstr "" -#: library/re.rst:833 +#: library/re.rst:832 msgid "" "Added support of splitting on a pattern that could match an empty string." msgstr "" -#: library/re.rst:839 +#: library/re.rst:838 msgid "" "Return all non-overlapping matches of *pattern* in *string*, as a list of " "strings or tuples. The *string* is scanned left-to-right, and matches are " "returned in the order found. Empty matches are included in the result." msgstr "" -#: library/re.rst:843 +#: library/re.rst:842 msgid "" "The result depends on the number of capturing groups in the pattern. If " "there are no groups, return a list of strings matching the whole pattern. " @@ -1101,11 +1101,11 @@ msgid "" "result." msgstr "" -#: library/re.rst:866 +#: library/re.rst:865 msgid "Non-empty matches can now start just after a previous empty match." msgstr "" -#: library/re.rst:861 +#: library/re.rst:860 msgid "" "Return an :term:`iterator` yielding :ref:`match objects ` " "over all non-overlapping matches for the RE *pattern* in *string*. The " @@ -1113,7 +1113,7 @@ msgid "" "found. Empty matches are included in the result." msgstr "" -#: library/re.rst:872 +#: library/re.rst:871 msgid "" "Return the string obtained by replacing the leftmost non-overlapping " "occurrences of *pattern* in *string* by the replacement *repl*. If the " @@ -1127,18 +1127,18 @@ msgid "" "For example::" msgstr "" -#: library/re.rst:888 +#: library/re.rst:887 msgid "" "If *repl* is a function, it is called for every non-overlapping occurrence " "of *pattern*. The function takes a single :ref:`match object ` argument, and returns the replacement string. For example::" msgstr "" -#: library/re.rst:900 +#: library/re.rst:899 msgid "The pattern may be a string or a :ref:`pattern object `." msgstr "" -#: library/re.rst:902 +#: library/re.rst:901 msgid "" "The optional argument *count* is the maximum number of pattern occurrences " "to be replaced; *count* must be a non-negative integer. If omitted or zero, " @@ -1147,7 +1147,7 @@ msgid "" "'abxd')`` returns ``'-a-b--d-'``." msgstr "" -#: library/re.rst:910 +#: library/re.rst:909 msgid "" "In string-type *repl* arguments, in addition to the character escapes and " "backreferences described above, ``\\g`` will use the substring matched " @@ -1160,52 +1160,52 @@ msgid "" "RE." msgstr "" -#: library/re.rst:947 library/re.rst:1181 +#: library/re.rst:946 library/re.rst:1180 msgid "Unmatched groups are replaced with an empty string." msgstr "" -#: library/re.rst:926 +#: library/re.rst:925 msgid "" "Unknown escapes in *pattern* consisting of ``'\\'`` and an ASCII letter now " "are errors." msgstr "" -#: library/re.rst:930 +#: library/re.rst:929 msgid "" "Unknown escapes in *repl* consisting of ``'\\'`` and an ASCII letter now are " "errors." msgstr "" -#: library/re.rst:934 +#: library/re.rst:933 msgid "" "Empty matches for the pattern are replaced when adjacent to a previous non-" "empty match." msgstr "" -#: library/re.rst:941 +#: library/re.rst:940 msgid "" "Perform the same operation as :func:`sub`, but return a tuple ``(new_string, " "number_of_subs_made)``." msgstr "" -#: library/re.rst:953 +#: library/re.rst:952 msgid "" "Escape special characters in *pattern*. This is useful if you want to match " "an arbitrary literal string that may have regular expression metacharacters " "in it. For example::" msgstr "" -#: library/re.rst:968 +#: library/re.rst:967 msgid "" "This function must not be used for the replacement string in :func:`sub` " "and :func:`subn`, only backslashes should be escaped. For example::" msgstr "" -#: library/re.rst:976 +#: library/re.rst:975 msgid "The ``'_'`` character is no longer escaped." msgstr "" -#: library/re.rst:979 +#: library/re.rst:978 msgid "" "Only characters that can have special meaning in a regular expression are " "escaped. As a result, ``'!'``, ``'\"'``, ``'%'``, ``\"'\"``, ``','``, " @@ -1213,15 +1213,15 @@ msgid "" "are no longer escaped." msgstr "" -#: library/re.rst:988 +#: library/re.rst:987 msgid "Clear the regular expression cache." msgstr "" -#: library/re.rst:992 +#: library/re.rst:991 msgid "Exceptions" msgstr "" -#: library/re.rst:996 +#: library/re.rst:995 msgid "" "Exception raised when a string passed to one of the functions here is not a " "valid regular expression (for example, it might contain unmatched " @@ -1230,41 +1230,41 @@ msgid "" "pattern. The error instance has the following additional attributes:" msgstr "" -#: library/re.rst:1004 +#: library/re.rst:1003 msgid "The unformatted error message." msgstr "" -#: library/re.rst:1008 +#: library/re.rst:1007 msgid "The regular expression pattern." msgstr "" -#: library/re.rst:1012 +#: library/re.rst:1011 msgid "The index in *pattern* where compilation failed (may be ``None``)." msgstr "" -#: library/re.rst:1016 +#: library/re.rst:1015 msgid "The line corresponding to *pos* (may be ``None``)." msgstr "" -#: library/re.rst:1020 +#: library/re.rst:1019 msgid "The column corresponding to *pos* (may be ``None``)." msgstr "" -#: library/re.rst:1022 +#: library/re.rst:1021 msgid "Added additional attributes." msgstr "" -#: library/re.rst:1028 +#: library/re.rst:1027 msgid "Regular Expression Objects" msgstr "" -#: library/re.rst:1030 +#: library/re.rst:1029 msgid "" "Compiled regular expression objects support the following methods and " "attributes:" msgstr "" -#: library/re.rst:1035 +#: library/re.rst:1034 msgid "" "Scan through *string* looking for the first location where this regular " "expression produces a match, and return a corresponding :ref:`match object " @@ -1273,7 +1273,7 @@ msgid "" "some point in the string." msgstr "" -#: library/re.rst:1041 +#: library/re.rst:1040 msgid "" "The optional second parameter *pos* gives an index in the string where the " "search is to start; it defaults to ``0``. This is not completely equivalent " @@ -1282,7 +1282,7 @@ msgid "" "necessarily at the index where the search is to start." msgstr "" -#: library/re.rst:1047 +#: library/re.rst:1046 msgid "" "The optional parameter *endpos* limits how far the string will be searched; " "it will be as if the string is *endpos* characters long, so only the " @@ -1292,7 +1292,7 @@ msgid "" "equivalent to ``rx.search(string[:50], 0)``. ::" msgstr "" -#: library/re.rst:1062 +#: library/re.rst:1061 msgid "" "If zero or more characters at the *beginning* of *string* match this regular " "expression, return a corresponding :ref:`match object `. " @@ -1300,19 +1300,19 @@ msgid "" "different from a zero-length match." msgstr "" -#: library/re.rst:1085 +#: library/re.rst:1084 msgid "" "The optional *pos* and *endpos* parameters have the same meaning as for the :" "meth:`~Pattern.search` method. ::" msgstr "" -#: library/re.rst:1075 +#: library/re.rst:1074 msgid "" "If you want to locate a match anywhere in *string*, use :meth:`~Pattern." "search` instead (see also :ref:`search-vs-match`)." msgstr "" -#: library/re.rst:1081 +#: library/re.rst:1080 msgid "" "If the whole *string* matches this regular expression, return a " "corresponding :ref:`match object `. Return ``None`` if the " @@ -1320,76 +1320,76 @@ msgid "" "length match." msgstr "" -#: library/re.rst:1099 +#: library/re.rst:1098 msgid "Identical to the :func:`split` function, using the compiled pattern." msgstr "" -#: library/re.rst:1104 +#: library/re.rst:1103 msgid "" "Similar to the :func:`findall` function, using the compiled pattern, but " "also accepts optional *pos* and *endpos* parameters that limit the search " "region like for :meth:`search`." msgstr "" -#: library/re.rst:1111 +#: library/re.rst:1110 msgid "" "Similar to the :func:`finditer` function, using the compiled pattern, but " "also accepts optional *pos* and *endpos* parameters that limit the search " "region like for :meth:`search`." msgstr "" -#: library/re.rst:1118 +#: library/re.rst:1117 msgid "Identical to the :func:`sub` function, using the compiled pattern." msgstr "" -#: library/re.rst:1123 +#: library/re.rst:1122 msgid "Identical to the :func:`subn` function, using the compiled pattern." msgstr "" -#: library/re.rst:1128 +#: library/re.rst:1127 msgid "" "The regex matching flags. This is a combination of the flags given to :func:" "`.compile`, any ``(?...)`` inline flags in the pattern, and implicit flags " "such as :data:`UNICODE` if the pattern is a Unicode string." msgstr "" -#: library/re.rst:1135 +#: library/re.rst:1134 msgid "The number of capturing groups in the pattern." msgstr "" -#: library/re.rst:1140 +#: library/re.rst:1139 msgid "" "A dictionary mapping any symbolic group names defined by ``(?P)`` to " "group numbers. The dictionary is empty if no symbolic groups were used in " "the pattern." msgstr "" -#: library/re.rst:1147 +#: library/re.rst:1146 msgid "The pattern string from which the pattern object was compiled." msgstr "" -#: library/re.rst:1150 +#: library/re.rst:1149 msgid "" "Added support of :func:`copy.copy` and :func:`copy.deepcopy`. Compiled " "regular expression objects are considered atomic." msgstr "" -#: library/re.rst:1158 +#: library/re.rst:1157 msgid "Match Objects" msgstr "" -#: library/re.rst:1160 +#: library/re.rst:1159 msgid "" "Match objects always have a boolean value of ``True``. Since :meth:`~Pattern." "match` and :meth:`~Pattern.search` return ``None`` when there is no match, " "you can test whether there was a match with a simple ``if`` statement::" msgstr "" -#: library/re.rst:1169 +#: library/re.rst:1168 msgid "Match objects support the following methods and attributes:" msgstr "" -#: library/re.rst:1174 +#: library/re.rst:1173 msgid "" "Return the string obtained by doing backslash substitution on the template " "string *template*, as done by the :meth:`~Pattern.sub` method. Escapes such " @@ -1398,7 +1398,7 @@ msgid "" "``\\g``) are replaced by the contents of the corresponding group." msgstr "" -#: library/re.rst:1186 +#: library/re.rst:1185 msgid "" "Returns one or more subgroups of the match. If there is a single argument, " "the result is a single string; if there are multiple arguments, the result " @@ -1413,7 +1413,7 @@ msgid "" "the pattern that matched multiple times, the last match is returned. ::" msgstr "" -#: library/re.rst:1208 +#: library/re.rst:1207 msgid "" "If the regular expression uses the ``(?P...)`` syntax, the *groupN* " "arguments may also be strings identifying groups by their group name. If a " @@ -1421,50 +1421,50 @@ msgid "" "`IndexError` exception is raised." msgstr "" -#: library/re.rst:1213 +#: library/re.rst:1212 msgid "A moderately complicated example::" msgstr "" -#: library/re.rst:1221 +#: library/re.rst:1220 msgid "Named groups can also be referred to by their index::" msgstr "" -#: library/re.rst:1228 +#: library/re.rst:1227 msgid "If a group matches multiple times, only the last match is accessible::" msgstr "" -#: library/re.rst:1237 +#: library/re.rst:1236 msgid "" "This is identical to ``m.group(g)``. This allows easier access to an " "individual group from a match::" msgstr "" -#: library/re.rst:1253 +#: library/re.rst:1252 msgid "" "Return a tuple containing all the subgroups of the match, from 1 up to " "however many groups are in the pattern. The *default* argument is used for " "groups that did not participate in the match; it defaults to ``None``." msgstr "" -#: library/re.rst:1482 +#: library/re.rst:1481 msgid "For example::" msgstr "" -#: library/re.rst:1263 +#: library/re.rst:1262 msgid "" "If we make the decimal place and everything after it optional, not all " "groups might participate in the match. These groups will default to " "``None`` unless the *default* argument is given::" msgstr "" -#: library/re.rst:1276 +#: library/re.rst:1275 msgid "" "Return a dictionary containing all the *named* subgroups of the match, keyed " "by the subgroup name. The *default* argument is used for groups that did " "not participate in the match; it defaults to ``None``. For example::" msgstr "" -#: library/re.rst:1288 +#: library/re.rst:1287 msgid "" "Return the indices of the start and end of the substring matched by *group*; " "*group* defaults to zero (meaning the whole matched substring). Return " @@ -1473,7 +1473,7 @@ msgid "" "matched by group *g* (equivalent to ``m.group(g)``) is ::" msgstr "" -#: library/re.rst:1296 +#: library/re.rst:1295 msgid "" "Note that ``m.start(group)`` will equal ``m.end(group)`` if *group* matched " "a null string. For example, after ``m = re.search('b(c?)', 'cba')``, ``m." @@ -1481,32 +1481,32 @@ msgid "" "2, and ``m.start(2)`` raises an :exc:`IndexError` exception." msgstr "" -#: library/re.rst:1301 +#: library/re.rst:1300 msgid "An example that will remove *remove_this* from email addresses::" msgstr "" -#: library/re.rst:1311 +#: library/re.rst:1310 msgid "" "For a match *m*, return the 2-tuple ``(m.start(group), m.end(group))``. Note " "that if *group* did not contribute to the match, this is ``(-1, -1)``. " "*group* defaults to zero, the entire match." msgstr "" -#: library/re.rst:1318 +#: library/re.rst:1317 msgid "" "The value of *pos* which was passed to the :meth:`~Pattern.search` or :meth:" "`~Pattern.match` method of a :ref:`regex object `. This is the " "index into the string at which the RE engine started looking for a match." msgstr "" -#: library/re.rst:1325 +#: library/re.rst:1324 msgid "" "The value of *endpos* which was passed to the :meth:`~Pattern.search` or :" "meth:`~Pattern.match` method of a :ref:`regex object `. This is " "the index into the string beyond which the RE engine will not go." msgstr "" -#: library/re.rst:1332 +#: library/re.rst:1331 msgid "" "The integer index of the last matched capturing group, or ``None`` if no " "group was matched at all. For example, the expressions ``(a)b``, ``((a)" @@ -1515,43 +1515,43 @@ msgid "" "applied to the same string." msgstr "" -#: library/re.rst:1341 +#: library/re.rst:1340 msgid "" "The name of the last matched capturing group, or ``None`` if the group " "didn't have a name, or if no group was matched at all." msgstr "" -#: library/re.rst:1347 +#: library/re.rst:1346 msgid "" "The :ref:`regular expression object ` whose :meth:`~Pattern." "match` or :meth:`~Pattern.search` method produced this match instance." msgstr "" -#: library/re.rst:1353 +#: library/re.rst:1352 msgid "The string passed to :meth:`~Pattern.match` or :meth:`~Pattern.search`." msgstr "" -#: library/re.rst:1356 +#: library/re.rst:1355 msgid "" "Added support of :func:`copy.copy` and :func:`copy.deepcopy`. Match objects " "are considered atomic." msgstr "" -#: library/re.rst:1364 +#: library/re.rst:1363 msgid "Regular Expression Examples" msgstr "" -#: library/re.rst:1368 +#: library/re.rst:1367 msgid "Checking for a Pair" msgstr "" -#: library/re.rst:1370 +#: library/re.rst:1369 msgid "" "In this example, we'll use the following helper function to display match " "objects a little more gracefully::" msgstr "" -#: library/re.rst:1378 +#: library/re.rst:1377 msgid "" "Suppose you are writing a poker program where a player's hand is represented " "as a 5-character string with each character representing a card, \"a\" for " @@ -1559,28 +1559,28 @@ msgid "" "\"2\" through \"9\" representing the card with that value." msgstr "" -#: library/re.rst:1383 +#: library/re.rst:1382 msgid "To see if a given string is a valid hand, one could do the following::" msgstr "" -#: library/re.rst:1393 +#: library/re.rst:1392 msgid "" "That last hand, ``\"727ak\"``, contained a pair, or two of the same valued " "cards. To match this with a regular expression, one could use backreferences " "as such::" msgstr "" -#: library/re.rst:1403 +#: library/re.rst:1402 msgid "" "To find out what card the pair consists of, one could use the :meth:`~Match." "group` method of the match object in the following manner::" msgstr "" -#: library/re.rst:1422 +#: library/re.rst:1421 msgid "Simulating scanf()" msgstr "" -#: library/re.rst:1426 +#: library/re.rst:1425 msgid "" "Python does not currently have an equivalent to :c:func:`scanf`. Regular " "expressions are generally more powerful, though also more verbose, than :c:" @@ -1589,124 +1589,124 @@ msgid "" "expressions." msgstr "" -#: library/re.rst:1433 +#: library/re.rst:1432 msgid ":c:func:`scanf` Token" msgstr "" -#: library/re.rst:1433 +#: library/re.rst:1432 msgid "Regular Expression" msgstr "" -#: library/re.rst:1435 +#: library/re.rst:1434 msgid "``%c``" msgstr "" -#: library/re.rst:1437 +#: library/re.rst:1436 msgid "``%5c``" msgstr "" -#: library/re.rst:1437 +#: library/re.rst:1436 msgid "``.{5}``" msgstr "" -#: library/re.rst:1439 +#: library/re.rst:1438 msgid "``%d``" msgstr "" -#: library/re.rst:1439 +#: library/re.rst:1438 msgid "``[-+]?\\d+``" msgstr "" -#: library/re.rst:1441 +#: library/re.rst:1440 msgid "``%e``, ``%E``, ``%f``, ``%g``" msgstr "" -#: library/re.rst:1441 +#: library/re.rst:1440 msgid "``[-+]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?``" msgstr "" -#: library/re.rst:1443 +#: library/re.rst:1442 msgid "``%i``" msgstr "" -#: library/re.rst:1443 +#: library/re.rst:1442 msgid "``[-+]?(0[xX][\\dA-Fa-f]+|0[0-7]*|\\d+)``" msgstr "" -#: library/re.rst:1445 +#: library/re.rst:1444 msgid "``%o``" msgstr "" -#: library/re.rst:1445 +#: library/re.rst:1444 msgid "``[-+]?[0-7]+``" msgstr "" -#: library/re.rst:1447 +#: library/re.rst:1446 msgid "``%s``" msgstr "" -#: library/re.rst:1447 +#: library/re.rst:1446 msgid "``\\S+``" msgstr "" -#: library/re.rst:1449 +#: library/re.rst:1448 msgid "``%u``" msgstr "" -#: library/re.rst:1449 +#: library/re.rst:1448 msgid "``\\d+``" msgstr "" -#: library/re.rst:1451 +#: library/re.rst:1450 msgid "``%x``, ``%X``" msgstr "" -#: library/re.rst:1451 +#: library/re.rst:1450 msgid "``[-+]?(0[xX])?[\\dA-Fa-f]+``" msgstr "" -#: library/re.rst:1454 +#: library/re.rst:1453 msgid "To extract the filename and numbers from a string like ::" msgstr "" -#: library/re.rst:1458 +#: library/re.rst:1457 msgid "you would use a :c:func:`scanf` format like ::" msgstr "" -#: library/re.rst:1462 +#: library/re.rst:1461 msgid "The equivalent regular expression would be ::" msgstr "" -#: library/re.rst:1470 +#: library/re.rst:1469 msgid "search() vs. match()" msgstr "" -#: library/re.rst:1474 +#: library/re.rst:1473 msgid "" "Python offers different primitive operations based on regular expressions:" msgstr "" -#: library/re.rst:1476 +#: library/re.rst:1475 msgid ":func:`re.match` checks for a match only at the beginning of the string" msgstr "" -#: library/re.rst:1477 +#: library/re.rst:1476 msgid "" ":func:`re.search` checks for a match anywhere in the string (this is what " "Perl does by default)" msgstr "" -#: library/re.rst:1479 +#: library/re.rst:1478 msgid ":func:`re.fullmatch` checks for entire string to be a match" msgstr "" -#: library/re.rst:1491 +#: library/re.rst:1490 msgid "" "Regular expressions beginning with ``'^'`` can be used with :func:`search` " "to restrict the match at the beginning of the string::" msgstr "" -#: library/re.rst:1499 +#: library/re.rst:1498 msgid "" "Note however that in :const:`MULTILINE` mode :func:`match` only matches at " "the beginning of the string, whereas using :func:`search` with a regular " @@ -1714,11 +1714,11 @@ msgid "" "line. ::" msgstr "" -#: library/re.rst:1509 +#: library/re.rst:1508 msgid "Making a Phonebook" msgstr "" -#: library/re.rst:1511 +#: library/re.rst:1510 msgid "" ":func:`split` splits a string into a list delimited by the passed pattern. " "The method is invaluable for converting textual data into data structures " @@ -1726,37 +1726,37 @@ msgid "" "following example that creates a phonebook." msgstr "" -#: library/re.rst:1516 +#: library/re.rst:1515 msgid "" "First, here is the input. Normally it may come from a file, here we are " "using triple-quoted string syntax" msgstr "" -#: library/re.rst:1529 +#: library/re.rst:1528 msgid "" "The entries are separated by one or more newlines. Now we convert the string " "into a list with each nonempty line having its own entry:" msgstr "" -#: library/re.rst:1542 +#: library/re.rst:1541 msgid "" "Finally, split each entry into a list with first name, last name, telephone " "number, and address. We use the ``maxsplit`` parameter of :func:`split` " "because the address has spaces, our splitting pattern, in it:" msgstr "" -#: library/re.rst:1555 +#: library/re.rst:1554 msgid "" "The ``:?`` pattern matches the colon after the last name, so that it does " "not occur in the result list. With a ``maxsplit`` of ``4``, we could " "separate the house number from the street name:" msgstr "" -#: library/re.rst:1570 +#: library/re.rst:1569 msgid "Text Munging" msgstr "" -#: library/re.rst:1572 +#: library/re.rst:1571 msgid "" ":func:`sub` replaces every occurrence of a pattern with a string or the " "result of a function. This example demonstrates using :func:`sub` with a " @@ -1764,11 +1764,11 @@ msgid "" "each word of a sentence except for the first and last characters::" msgstr "" -#: library/re.rst:1589 +#: library/re.rst:1588 msgid "Finding all Adverbs" msgstr "" -#: library/re.rst:1591 +#: library/re.rst:1590 msgid "" ":func:`findall` matches *all* occurrences of a pattern, not just the first " "one as :func:`search` does. For example, if a writer wanted to find all of " @@ -1776,11 +1776,11 @@ msgid "" "manner::" msgstr "" -#: library/re.rst:1602 +#: library/re.rst:1601 msgid "Finding all Adverbs and their Positions" msgstr "" -#: library/re.rst:1604 +#: library/re.rst:1603 msgid "" "If one wants more information about all matches of a pattern than the " "matched text, :func:`finditer` is useful as it provides :ref:`match objects " @@ -1789,11 +1789,11 @@ msgid "" "text, they would use :func:`finditer` in the following manner::" msgstr "" -#: library/re.rst:1618 +#: library/re.rst:1617 msgid "Raw String Notation" msgstr "" -#: library/re.rst:1620 +#: library/re.rst:1619 msgid "" "Raw string notation (``r\"text\"``) keeps regular expressions sane. Without " "it, every backslash (``'\\'``) in a regular expression would have to be " @@ -1801,7 +1801,7 @@ msgid "" "lines of code are functionally identical::" msgstr "" -#: library/re.rst:1630 +#: library/re.rst:1629 msgid "" "When one wants to match a literal backslash, it must be escaped in the " "regular expression. With raw string notation, this means ``r\"\\\\\"``. " @@ -1809,29 +1809,29 @@ msgid "" "following lines of code functionally identical::" msgstr "" -#: library/re.rst:1642 +#: library/re.rst:1641 msgid "Writing a Tokenizer" msgstr "" -#: library/re.rst:1644 +#: library/re.rst:1643 msgid "" "A `tokenizer or scanner `_ " "analyzes a string to categorize groups of characters. This is a useful " "first step in writing a compiler or interpreter." msgstr "" -#: library/re.rst:1648 +#: library/re.rst:1647 msgid "" "The text categories are specified with regular expressions. The technique " "is to combine those into a single master regular expression and to loop over " "successive matches::" msgstr "" -#: library/re.rst:1704 +#: library/re.rst:1703 msgid "The tokenizer produces the following output::" msgstr "" -#: library/re.rst:1727 +#: library/re.rst:1726 msgid "" "Friedl, Jeffrey. Mastering Regular Expressions. 3rd ed., O'Reilly Media, " "2009. The third edition of the book no longer covers Python at all, but the " diff --git a/library/resource.po b/library/resource.po index 4993656ff..eda682d99 100644 --- a/library/resource.po +++ b/library/resource.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -108,7 +108,7 @@ msgstr "" msgid "VxWorks only supports setting :data:`RLIMIT_NOFILE`." msgstr "" -#: library/resource.rst:81 +#: library/resource.rst:20 msgid "" "Raises an :ref:`auditing event ` ``resource.setrlimit`` with " "arguments ``resource``, ``limits``." @@ -137,7 +137,7 @@ msgid "" "process." msgstr "" -#: library/resource.rst:100 +#: library/resource.rst:15 msgid "" "Raises an :ref:`auditing event ` ``resource.prlimit`` with " "arguments ``pid``, ``resource``, ``limits``." diff --git a/library/sched.po b/library/sched.po index 6ff0697cb..0edb974d9 100644 --- a/library/sched.po +++ b/library/sched.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -55,15 +55,15 @@ msgstr "" msgid "Example::" msgstr "" -#: library/sched.rst:61 +#: library/sched.rst:67 msgid "Scheduler Objects" msgstr "" -#: library/sched.rst:63 +#: library/sched.rst:69 msgid ":class:`scheduler` instances have the following methods and attributes:" msgstr "" -#: library/sched.rst:68 +#: library/sched.rst:74 msgid "" "Schedule a new event. The *time* argument should be a numeric type " "compatible with the return value of the *timefunc* function passed to the " @@ -71,59 +71,59 @@ msgid "" "order of their *priority*. A lower number represents a higher priority." msgstr "" -#: library/sched.rst:73 +#: library/sched.rst:79 msgid "" "Executing the event means executing ``action(*argument, **kwargs)``. " "*argument* is a sequence holding the positional arguments for *action*. " "*kwargs* is a dictionary holding the keyword arguments for *action*." msgstr "" -#: library/sched.rst:77 +#: library/sched.rst:83 msgid "" "Return value is an event which may be used for later cancellation of the " "event (see :meth:`cancel`)." msgstr "" -#: library/sched.rst:93 +#: library/sched.rst:99 msgid "*argument* parameter is optional." msgstr "" -#: library/sched.rst:96 +#: library/sched.rst:102 msgid "*kwargs* parameter was added." msgstr "" -#: library/sched.rst:89 +#: library/sched.rst:95 msgid "" "Schedule an event for *delay* more time units. Other than the relative time, " "the other arguments, the effect and the return value are the same as those " "for :meth:`enterabs`." msgstr "" -#: library/sched.rst:101 +#: library/sched.rst:107 msgid "" "Remove the event from the queue. If *event* is not an event currently in the " "queue, this method will raise a :exc:`ValueError`." msgstr "" -#: library/sched.rst:107 +#: library/sched.rst:113 msgid "Return ``True`` if the event queue is empty." msgstr "" -#: library/sched.rst:112 +#: library/sched.rst:118 msgid "" "Run all scheduled events. This method will wait (using the :func:" "`delayfunc` function passed to the constructor) for the next event, then " "execute it and so on until there are no more scheduled events." msgstr "" -#: library/sched.rst:116 +#: library/sched.rst:122 msgid "" "If *blocking* is false executes the scheduled events due to expire soonest " "(if any) and then return the deadline of the next scheduled call in the " "scheduler (if any)." msgstr "" -#: library/sched.rst:120 +#: library/sched.rst:126 msgid "" "Either *action* or *delayfunc* can raise an exception. In either case, the " "scheduler will maintain a consistent state and propagate the exception. If " @@ -131,7 +131,7 @@ msgid "" "future calls to :meth:`run`." msgstr "" -#: library/sched.rst:125 +#: library/sched.rst:131 msgid "" "If a sequence of events takes longer to run than the time available before " "the next event, the scheduler will simply fall behind. No events will be " @@ -139,11 +139,11 @@ msgid "" "longer pertinent." msgstr "" -#: library/sched.rst:130 +#: library/sched.rst:136 msgid "*blocking* parameter was added." msgstr "" -#: library/sched.rst:135 +#: library/sched.rst:141 msgid "" "Read-only attribute returning a list of upcoming events in the order they " "will be run. Each event is shown as a :term:`named tuple` with the " diff --git a/library/shutil.po b/library/shutil.po index d9b94430a..39ee35318 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -90,7 +90,7 @@ msgid "" "link will be created instead of copying the file *src* points to." msgstr "" -#: library/shutil.rst:177 library/shutil.rst:208 +#: library/shutil.rst:18 msgid "" "Raises an :ref:`auditing event ` ``shutil.copyfile`` with " "arguments ``src``, ``dst``." @@ -133,7 +133,7 @@ msgid "" "platform, and it is asked to do so, it will do nothing and return." msgstr "" -#: library/shutil.rst:179 +#: library/shutil.rst:20 msgid "" "Raises an :ref:`auditing event ` ``shutil.copymode`` with " "arguments ``src``, ``dst``." @@ -196,7 +196,7 @@ msgstr "" msgid "Please see :data:`os.supports_follow_symlinks` for more information." msgstr "" -#: library/shutil.rst:210 +#: library/shutil.rst:41 msgid "" "Raises an :ref:`auditing event ` ``shutil.copystat`` with " "arguments ``src``, ``dst``." @@ -339,7 +339,7 @@ msgid "" "*src* tree." msgstr "" -#: library/shutil.rst:275 +#: library/shutil.rst:43 msgid "" "Raises an :ref:`auditing event ` ``shutil.copytree`` with " "arguments ``src``, ``dst``." @@ -395,7 +395,7 @@ msgid "" "exc_info`. Exceptions raised by *onerror* will not be caught." msgstr "" -#: library/shutil.rst:324 +#: library/shutil.rst:28 msgid "" "Raises an :ref:`auditing event ` ``shutil.rmtree`` with argument " "``path``." @@ -452,7 +452,7 @@ msgid "" "the expense of not copying any of the metadata." msgstr "" -#: library/shutil.rst:365 +#: library/shutil.rst:21 msgid "" "Raises an :ref:`auditing event ` ``shutil.move`` with arguments " "``src``, ``dst``." @@ -501,7 +501,7 @@ msgstr "" msgid "See also :func:`os.chown`, the underlying function." msgstr "" -#: library/shutil.rst:406 +#: library/shutil.rst:8 msgid "" "Raises an :ref:`auditing event ` ``shutil.chown`` with arguments " "``path``, ``user``, ``group``." @@ -687,7 +687,7 @@ msgstr "" msgid "The *verbose* argument is unused and deprecated." msgstr "" -#: library/shutil.rst:567 +#: library/shutil.rst:32 msgid "" "Raises an :ref:`auditing event ` ``shutil.make_archive`` with " "arguments ``base_name``, ``format``, ``root_dir``, ``base_dir``." @@ -797,7 +797,7 @@ msgid "" "that extension. In case none is found, a :exc:`ValueError` is raised." msgstr "" -#: library/shutil.rst:637 +#: library/shutil.rst:13 msgid "" "Raises an :ref:`auditing event ` ``shutil.unpack_archive`` with " "arguments ``filename``, ``extract_dir``, ``format``." diff --git a/library/signal.po b/library/signal.po index d9e6fa619..6f8072a8d 100644 --- a/library/signal.po +++ b/library/signal.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -429,7 +429,7 @@ msgid "" "performed; this can be used to check if the target thread is still running." msgstr "" -#: library/signal.rst:389 +#: library/signal.rst:16 msgid "" "Raises an :ref:`auditing event ` ``signal.pthread_kill`` with " "arguments ``thread_id``, ``signalnum``." diff --git a/library/smtplib.po b/library/smtplib.po index 3e73a16b3..d4678ff15 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -65,7 +65,7 @@ msgid "" "keyword:`!with` statement exits. E.g.::" msgstr "" -#: library/smtplib.rst:58 +#: library/smtplib.rst:34 msgid "" "Raises an :ref:`auditing event ` ``smtplib.send`` with arguments " "``self``, ``data``." @@ -297,7 +297,7 @@ msgid "" "connection response." msgstr "" -#: library/smtplib.rst:261 +#: library/smtplib.rst:9 msgid "" "Raises an :ref:`auditing event ` ``smtplib.connect`` with " "arguments ``self``, ``host``, ``port``." diff --git a/library/socket.po b/library/socket.po index 0d69a1ca2..162ca64d7 100644 --- a/library/socket.po +++ b/library/socket.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -705,7 +705,7 @@ msgstr "" msgid "The newly created socket is :ref:`non-inheritable `." msgstr "" -#: library/socket.rst:588 +#: library/socket.rst:22 msgid "" "Raises an :ref:`auditing event ` ``socket.__new__`` with arguments " "``self``, ``family``, ``type``, ``protocol``." @@ -813,7 +813,7 @@ msgstr "" #: library/socket.rst:672 msgid "" "*family* should be either :data:`AF_INET` or :data:`AF_INET6`. *backlog* is " -"the queue size passed to :meth:`socket.listen`; when ``0`` a default " +"the queue size passed to :meth:`socket.listen`; if not specified , a default " "reasonable value is chosen. *reuse_port* dictates whether to set the :data:" "`SO_REUSEPORT` socket option." msgstr "" @@ -929,7 +929,7 @@ msgid "" "be passed to the :meth:`socket.connect` method." msgstr "" -#: library/socket.rst:790 +#: library/socket.rst:30 msgid "" "Raises an :ref:`auditing event ` ``socket.getaddrinfo`` with " "arguments ``host``, ``port``, ``family``, ``type``, ``protocol``." @@ -973,7 +973,7 @@ msgid "" "stack support." msgstr "" -#: library/socket.rst:842 +#: library/socket.rst:10 msgid "" "Raises an :ref:`auditing event ` ``socket.gethostbyname`` with " "argument ``hostname``." @@ -997,7 +997,7 @@ msgid "" "interpreter is currently executing." msgstr "" -#: library/socket.rst:850 +#: library/socket.rst:4 msgid "" "Raises an :ref:`auditing event ` ``socket.gethostname`` with no " "arguments." @@ -1020,7 +1020,7 @@ msgid "" "`gethostbyaddr` supports both IPv4 and IPv6." msgstr "" -#: library/socket.rst:866 +#: library/socket.rst:9 msgid "" "Raises an :ref:`auditing event ` ``socket.gethostbyaddr`` with " "argument ``ip_address``." @@ -1045,7 +1045,7 @@ msgid "" "For more information about *flags* you can consult :manpage:`getnameinfo(3)`." msgstr "" -#: library/socket.rst:881 +#: library/socket.rst:11 msgid "" "Raises an :ref:`auditing event ` ``socket.getnameinfo`` with " "argument ``sockaddr``." @@ -1067,7 +1067,7 @@ msgid "" "``'udp'``, otherwise any protocol will match." msgstr "" -#: library/socket.rst:898 +#: library/socket.rst:5 msgid "" "Raises an :ref:`auditing event ` ``socket.getservbyname`` with " "arguments ``servicename``, ``protocolname``." @@ -1080,7 +1080,7 @@ msgid "" "``'udp'``, otherwise any protocol will match." msgstr "" -#: library/socket.rst:907 +#: library/socket.rst:5 msgid "" "Raises an :ref:`auditing event ` ``socket.getservbyport`` with " "arguments ``port``, ``protocolname``." @@ -1262,7 +1262,7 @@ msgid "" "you don't have enough rights." msgstr "" -#: library/socket.rst:1088 +#: library/socket.rst:4 msgid "" "Raises an :ref:`auditing event ` ``socket.sethostname`` with " "argument ``name``." @@ -1403,7 +1403,7 @@ msgid "" "format of *address* depends on the address family --- see above.)" msgstr "" -#: library/socket.rst:1219 +#: library/socket.rst:4 msgid "" "Raises an :ref:`auditing event ` ``socket.bind`` with arguments " "``self``, ``address``." @@ -1455,7 +1455,7 @@ msgid "" "(or the exception raised by the signal handler)." msgstr "" -#: library/socket.rst:1275 +#: library/socket.rst:11 msgid "" "Raises an :ref:`auditing event ` ``socket.connect`` with arguments " "``self``, ``address``." @@ -1790,7 +1790,7 @@ msgid "" "address family --- see above.)" msgstr "" -#: library/socket.rst:1617 +#: library/socket.rst:7 msgid "" "Raises an :ref:`auditing event ` ``socket.sendto`` with arguments " "``self``, ``address``." @@ -1823,7 +1823,7 @@ msgid "" "mechanism. See also :meth:`recvmsg`. ::" msgstr "" -#: library/socket.rst:1658 +#: library/socket.rst:32 msgid "" "Raises an :ref:`auditing event ` ``socket.sendmsg`` with arguments " "``self``, ``address``." diff --git a/library/sqlite3.po b/library/sqlite3.po index 98ecd5627..d59382f53 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -234,7 +234,7 @@ msgstr "" msgid ":ref:`sqlite3-converters`" msgstr "" -#: library/sqlite3.rst:516 +#: library/sqlite3.rst:515 msgid ":ref:`sqlite3-connection-context-manager`" msgstr "" @@ -301,24 +301,26 @@ msgstr "" #: library/sqlite3.rst:301 msgid "" -"If ``True`` (default), only the creating thread may use the connection. If " -"``False``, the connection may be shared across multiple threads; if so, " -"write operations should be serialized by the user to avoid data corruption." +"If ``True`` (default), :exc:`ProgrammingError` will be raised if the " +"database connection is used by a thread other than the one that created it. " +"If ``False``, the connection may be accessed in multiple threads; write " +"operations may need to be serialized by the user to avoid data corruption. " +"See :attr:`threadsafety` for more information." msgstr "" -#: library/sqlite3.rst:307 +#: library/sqlite3.rst:310 msgid "" "A custom subclass of :class:`Connection` to create the connection with, if " "not the default :class:`Connection` class." msgstr "" -#: library/sqlite3.rst:311 +#: library/sqlite3.rst:314 msgid "" "The number of statements that :mod:`!sqlite3` should internally cache for " "this connection, to avoid parsing overhead. By default, 100 statements." msgstr "" -#: library/sqlite3.rst:316 +#: library/sqlite3.rst:319 msgid "" "If set to ``True``, *database* is interpreted as a :abbr:`URI (Uniform " "Resource Identifier)` with a file path and an optional query string. The " @@ -331,32 +333,32 @@ msgstr "" msgid "Return type" msgstr "" -#: library/sqlite3.rst:327 +#: library/sqlite3.rst:67 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.connect`` with argument " "``database``." msgstr "" -#: library/sqlite3.rst:328 +#: library/sqlite3.rst:68 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.connect/handle`` with " "argument ``connection_handle``." msgstr "" -#: library/sqlite3.rst:330 +#: library/sqlite3.rst:333 msgid "The *uri* parameter." msgstr "" -#: library/sqlite3.rst:333 +#: library/sqlite3.rst:336 msgid "" "*database* can now also be a :term:`path-like object`, not only a string." msgstr "" -#: library/sqlite3.rst:336 +#: library/sqlite3.rst:339 msgid "The ``sqlite3.connect/handle`` auditing event." msgstr "" -#: library/sqlite3.rst:341 +#: library/sqlite3.rst:344 msgid "" "Return ``True`` if the string *statement* appears to contain one or more " "complete SQL statements. No syntactic verification or parsing of any kind is " @@ -364,18 +366,18 @@ msgid "" "and the statement is terminated by a semicolon." msgstr "" -#: library/sqlite3.rst:347 +#: library/sqlite3.rst:350 msgid "For example:" msgstr "" -#: library/sqlite3.rst:356 +#: library/sqlite3.rst:359 msgid "" "This function may be useful during command-line input to determine if the " "entered text seems to form a complete SQL statement, or if additional input " "is needed before calling :meth:`~Cursor.execute`." msgstr "" -#: library/sqlite3.rst:362 +#: library/sqlite3.rst:365 msgid "" "Enable or disable callback tracebacks. By default you will not get any " "tracebacks in user-defined functions, aggregates, converters, authorizer " @@ -384,7 +386,7 @@ msgid "" "on ``sys.stderr``. Use ``False`` to disable the feature again." msgstr "" -#: library/sqlite3.rst:371 +#: library/sqlite3.rst:374 msgid "" "Register an *adapter* callable to adapt the Python type *type* into an " "SQLite type. The adapter is called with a Python object of type *type* as " @@ -392,7 +394,7 @@ msgid "" "natively understands `." msgstr "" -#: library/sqlite3.rst:379 +#: library/sqlite3.rst:382 msgid "" "Register the *converter* callable to convert SQLite objects of type " "*typename* into a Python object of a specific type. The converter is invoked " @@ -402,17 +404,17 @@ msgid "" "type detection works." msgstr "" -#: library/sqlite3.rst:387 +#: library/sqlite3.rst:390 msgid "" "Note: *typename* and the name of the type in your query are matched case-" "insensitively." msgstr "" -#: library/sqlite3.rst:394 +#: library/sqlite3.rst:397 msgid "Module constants" msgstr "" -#: library/sqlite3.rst:398 +#: library/sqlite3.rst:401 msgid "" "Pass this flag value to the *detect_types* parameter of :func:`connect` to " "look up a converter function by using the type name, parsed from the query " @@ -420,13 +422,13 @@ msgid "" "in square brackets (``[]``)." msgstr "" -#: library/sqlite3.rst:408 +#: library/sqlite3.rst:411 msgid "" "This flag may be combined with :const:`PARSE_DECLTYPES` using the ``|`` " "(bitwise or) operator." msgstr "" -#: library/sqlite3.rst:413 +#: library/sqlite3.rst:416 msgid "" "Pass this flag value to the *detect_types* parameter of :func:`connect` to " "look up a converter function using the declared types for each column. The " @@ -435,65 +437,61 @@ msgid "" "the converter dictionary key. For example:" msgstr "" -#: library/sqlite3.rst:429 +#: library/sqlite3.rst:432 msgid "" "This flag may be combined with :const:`PARSE_COLNAMES` using the ``|`` " "(bitwise or) operator." msgstr "" -#: library/sqlite3.rst:436 +#: library/sqlite3.rst:439 msgid "" "Flags that should be returned by the *authorizer_callback* callable passed " "to :meth:`Connection.set_authorizer`, to indicate whether:" msgstr "" -#: library/sqlite3.rst:439 +#: library/sqlite3.rst:442 msgid "Access is allowed (:const:`!SQLITE_OK`)," msgstr "" -#: library/sqlite3.rst:440 +#: library/sqlite3.rst:443 msgid "" "The SQL statement should be aborted with an error (:const:`!SQLITE_DENY`)" msgstr "" -#: library/sqlite3.rst:441 +#: library/sqlite3.rst:444 msgid "" "The column should be treated as a ``NULL`` value (:const:`!SQLITE_IGNORE`)" msgstr "" -#: library/sqlite3.rst:445 +#: library/sqlite3.rst:448 msgid "" "String constant stating the supported DB-API level. Required by the DB-API. " "Hard-coded to ``\"2.0\"``." msgstr "" -#: library/sqlite3.rst:450 +#: library/sqlite3.rst:453 msgid "" "String constant stating the type of parameter marker formatting expected by " "the :mod:`!sqlite3` module. Required by the DB-API. Hard-coded to " "``\"qmark\"``." msgstr "" -#: library/sqlite3.rst:456 -msgid "" -"The :mod:`!sqlite3` module supports ``qmark``, ``numeric``, and ``named`` DB-" -"API parameter styles, because that is what the underlying SQLite library " -"supports. However, the DB-API does not allow multiple values for the " -"``paramstyle`` attribute." +#: library/sqlite3.rst:459 +msgid "The ``named`` DB-API parameter style is also supported." msgstr "" -#: library/sqlite3.rst:464 +#: library/sqlite3.rst:463 msgid "" "Version number of the runtime SQLite library as a :class:`string `." msgstr "" -#: library/sqlite3.rst:468 +#: library/sqlite3.rst:467 msgid "" "Version number of the runtime SQLite library as a :class:`tuple` of :class:" "`integers `." msgstr "" -#: library/sqlite3.rst:473 +#: library/sqlite3.rst:472 msgid "" "Integer constant required by the DB-API, stating the level of thread safety " "the :mod:`!sqlite3` module supports. Currently hard-coded to ``1``, meaning " @@ -502,109 +500,109 @@ msgid "" "time threaded mode using the following query::" msgstr "" -#: library/sqlite3.rst:486 +#: library/sqlite3.rst:485 msgid "" "Note that the `SQLITE_THREADSAFE levels `_ do not match the DB-API 2.0 ``threadsafety`` levels." msgstr "" -#: library/sqlite3.rst:492 +#: library/sqlite3.rst:491 msgid "" "Version number of this module as a :class:`string `. This is not the " "version of the SQLite library." msgstr "" -#: library/sqlite3.rst:497 +#: library/sqlite3.rst:496 msgid "" "Version number of this module as a :class:`tuple` of :class:`integers " "`. This is not the version of the SQLite library." msgstr "" -#: library/sqlite3.rst:504 +#: library/sqlite3.rst:503 msgid "Connection objects" msgstr "" -#: library/sqlite3.rst:508 +#: library/sqlite3.rst:507 msgid "" "Each open SQLite database is represented by a ``Connection`` object, which " "is created using :func:`sqlite3.connect`. Their main purpose is creating :" "class:`Cursor` objects, and :ref:`sqlite3-controlling-transactions`." msgstr "" -#: library/sqlite3.rst:515 +#: library/sqlite3.rst:514 msgid ":ref:`sqlite3-connection-shortcuts`" msgstr "" -#: library/sqlite3.rst:518 +#: library/sqlite3.rst:517 msgid "An SQLite database connection has the following attributes and methods:" msgstr "" -#: library/sqlite3.rst:522 +#: library/sqlite3.rst:521 msgid "" "Create and return a :class:`Cursor` object. The cursor method accepts a " "single optional parameter *factory*. If supplied, this must be a callable " "returning an instance of :class:`Cursor` or its subclasses." msgstr "" -#: library/sqlite3.rst:529 +#: library/sqlite3.rst:528 msgid "" "Commit any pending transaction to the database. If there is no open " "transaction, this method is a no-op." msgstr "" -#: library/sqlite3.rst:534 +#: library/sqlite3.rst:533 msgid "" "Roll back to the start of any pending transaction. If there is no open " "transaction, this method is a no-op." msgstr "" -#: library/sqlite3.rst:539 +#: library/sqlite3.rst:538 msgid "" "Close the database connection. Any pending transaction is not committed " "implicitly; make sure to :meth:`commit` before closing to avoid losing " "pending changes." msgstr "" -#: library/sqlite3.rst:546 +#: library/sqlite3.rst:545 msgid "" "Create a new :class:`Cursor` object and call :meth:`~Cursor.execute` on it " "with the given *sql* and *parameters*. Return the new cursor object." msgstr "" -#: library/sqlite3.rst:552 +#: library/sqlite3.rst:551 msgid "" "Create a new :class:`Cursor` object and call :meth:`~Cursor.executemany` on " "it with the given *sql* and *parameters*. Return the new cursor object." msgstr "" -#: library/sqlite3.rst:558 +#: library/sqlite3.rst:557 msgid "" "Create a new :class:`Cursor` object and call :meth:`~Cursor.executescript` " "on it with the given *sql_script*. Return the new cursor object." msgstr "" -#: library/sqlite3.rst:564 +#: library/sqlite3.rst:563 msgid "Create or remove a user-defined SQL function." msgstr "" -#: library/sqlite3.rst:566 +#: library/sqlite3.rst:565 msgid "The name of the SQL function." msgstr "" -#: library/sqlite3.rst:569 +#: library/sqlite3.rst:568 msgid "" "The number of arguments the SQL function can accept. If ``-1``, it may take " "any number of arguments." msgstr "" -#: library/sqlite3.rst:573 +#: library/sqlite3.rst:572 msgid "" "A callable that is called when the SQL function is invoked. The callable " "must return :ref:`a type natively supported by SQLite `. Set " "to ``None`` to remove an existing SQL function." msgstr "" -#: library/sqlite3.rst:580 +#: library/sqlite3.rst:579 msgid "" "If ``True``, the created SQL function is marked as `deterministic `_, which allows SQLite to perform additional " @@ -615,33 +613,33 @@ msgstr "" msgid "Raises" msgstr "" -#: library/sqlite3.rst:585 +#: library/sqlite3.rst:584 msgid "If *deterministic* is used with SQLite versions older than 3.8.3." msgstr "" -#: library/sqlite3.rst:588 +#: library/sqlite3.rst:587 msgid "The *deterministic* parameter." msgstr "" -#: library/sqlite3.rst:629 library/sqlite3.rst:967 library/sqlite3.rst:1093 +#: library/sqlite3.rst:628 library/sqlite3.rst:966 library/sqlite3.rst:1092 msgid "Example:" msgstr "" -#: library/sqlite3.rst:607 +#: library/sqlite3.rst:606 msgid "Create or remove a user-defined SQL aggregate function." msgstr "" -#: library/sqlite3.rst:609 +#: library/sqlite3.rst:608 msgid "The name of the SQL aggregate function." msgstr "" -#: library/sqlite3.rst:612 +#: library/sqlite3.rst:611 msgid "" "The number of arguments the SQL aggregate function can accept. If ``-1``, it " "may take any number of arguments." msgstr "" -#: library/sqlite3.rst:616 +#: library/sqlite3.rst:615 msgid "" "A class must implement the following methods: * ``step()``: Add a row to " "the aggregate. * ``finalize()``: Return the final result of the aggregate " @@ -650,64 +648,64 @@ msgid "" "*n_arg*. Set to ``None`` to remove an existing SQL aggregate function." msgstr "" -#: library/sqlite3.rst:617 +#: library/sqlite3.rst:616 msgid "A class must implement the following methods:" msgstr "" -#: library/sqlite3.rst:619 +#: library/sqlite3.rst:618 msgid "``step()``: Add a row to the aggregate." msgstr "" -#: library/sqlite3.rst:620 +#: library/sqlite3.rst:619 msgid "" "``finalize()``: Return the final result of the aggregate as :ref:`a type " "natively supported by SQLite `." msgstr "" -#: library/sqlite3.rst:623 +#: library/sqlite3.rst:622 msgid "" "The number of arguments that the ``step()`` method must accept is controlled " "by *n_arg*." msgstr "" -#: library/sqlite3.rst:626 +#: library/sqlite3.rst:625 msgid "Set to ``None`` to remove an existing SQL aggregate function." msgstr "" -#: library/sqlite3.rst:661 +#: library/sqlite3.rst:660 msgid "" "Create a collation named *name* using the collating function *callable*. " "*callable* is passed two :class:`string ` arguments, and it should " "return an :class:`integer `:" msgstr "" -#: library/sqlite3.rst:665 +#: library/sqlite3.rst:664 msgid "``1`` if the first is ordered higher than the second" msgstr "" -#: library/sqlite3.rst:666 +#: library/sqlite3.rst:665 msgid "``-1`` if the first is ordered lower than the second" msgstr "" -#: library/sqlite3.rst:667 +#: library/sqlite3.rst:666 msgid "``0`` if they are ordered equal" msgstr "" -#: library/sqlite3.rst:669 +#: library/sqlite3.rst:668 msgid "The following example shows a reverse sorting collation:" msgstr "" -#: library/sqlite3.rst:697 +#: library/sqlite3.rst:696 msgid "Remove a collation function by setting *callable* to ``None``." msgstr "" -#: library/sqlite3.rst:702 +#: library/sqlite3.rst:701 msgid "" "Call this method from a different thread to abort any queries that might be " "executing on the connection. Aborted queries will raise an exception." msgstr "" -#: library/sqlite3.rst:709 +#: library/sqlite3.rst:708 msgid "" "Register callable *authorizer_callback* to be invoked for each attempt to " "access a column of a table in the database. The callback should return one " @@ -716,7 +714,7 @@ msgid "" "library." msgstr "" -#: library/sqlite3.rst:715 +#: library/sqlite3.rst:714 msgid "" "The first argument to the callback signifies what kind of operation is to be " "authorized. The second and third argument will be arguments or ``None`` " @@ -726,7 +724,7 @@ msgid "" "attempt or ``None`` if this access attempt is directly from input SQL code." msgstr "" -#: library/sqlite3.rst:722 +#: library/sqlite3.rst:721 msgid "" "Please consult the SQLite documentation about the possible values for the " "first argument and the meaning of the second and third argument depending on " @@ -734,7 +732,7 @@ msgid "" "module." msgstr "" -#: library/sqlite3.rst:729 +#: library/sqlite3.rst:728 msgid "" "Register callable *progress_handler* to be invoked for every *n* " "instructions of the SQLite virtual machine. This is useful if you want to " @@ -742,26 +740,26 @@ msgid "" "a GUI." msgstr "" -#: library/sqlite3.rst:734 +#: library/sqlite3.rst:733 msgid "" "If you want to clear any previously installed progress handler, call the " "method with ``None`` for *progress_handler*." msgstr "" -#: library/sqlite3.rst:737 +#: library/sqlite3.rst:736 msgid "" "Returning a non-zero value from the handler function will terminate the " "currently executing query and cause it to raise an :exc:`OperationalError` " "exception." msgstr "" -#: library/sqlite3.rst:744 +#: library/sqlite3.rst:743 msgid "" "Register callable *trace_callback* to be invoked for each SQL statement that " "is actually executed by the SQLite backend." msgstr "" -#: library/sqlite3.rst:747 +#: library/sqlite3.rst:746 msgid "" "The only argument passed to the callback is the statement (as :class:`str`) " "that is being executed. The return value of the callback is ignored. Note " @@ -771,18 +769,18 @@ msgid "" "execution of triggers defined in the current database." msgstr "" -#: library/sqlite3.rst:755 +#: library/sqlite3.rst:754 msgid "Passing ``None`` as *trace_callback* will disable the trace callback." msgstr "" -#: library/sqlite3.rst:758 +#: library/sqlite3.rst:757 msgid "" "Exceptions raised in the trace callback are not propagated. As a development " "and debugging aid, use :meth:`~sqlite3.enable_callback_tracebacks` to enable " "printing tracebacks from exceptions raised in the trace callback." msgstr "" -#: library/sqlite3.rst:768 +#: library/sqlite3.rst:767 msgid "" "Enable the SQLite engine to load SQLite extensions from shared libraries if " "*enabled* is ``True``; else, disallow loading SQLite extensions. SQLite " @@ -791,7 +789,7 @@ msgid "" "distributed with SQLite." msgstr "" -#: library/sqlite3.rst:777 +#: library/sqlite3.rst:776 msgid "" "The :mod:`!sqlite3` module is not built with loadable extension support by " "default, because some platforms (notably macOS) have SQLite libraries which " @@ -800,61 +798,61 @@ msgid "" "program:`configure`." msgstr "" -#: library/sqlite3.rst:784 +#: library/sqlite3.rst:17 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.enable_load_extension`` " "with arguments ``connection``, ``enabled``." msgstr "" -#: library/sqlite3.rst:788 +#: library/sqlite3.rst:787 msgid "Added the ``sqlite3.enable_load_extension`` auditing event." msgstr "" -#: library/sqlite3.rst:831 +#: library/sqlite3.rst:830 msgid "" "Load an SQLite extension from a shared library located at *path*. Enable " "extension loading with :meth:`enable_load_extension` before calling this " "method." msgstr "" -#: library/sqlite3.rst:835 +#: library/sqlite3.rst:5 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.load_extension`` with " "arguments ``connection``, ``path``." msgstr "" -#: library/sqlite3.rst:839 +#: library/sqlite3.rst:838 msgid "Added the ``sqlite3.load_extension`` auditing event." msgstr "" -#: library/sqlite3.rst:844 +#: library/sqlite3.rst:843 msgid "" "Return an :term:`iterator` to dump the database as SQL source code. Useful " "when saving an in-memory database for later restoration. Similar to the ``." "dump`` command in the :program:`sqlite3` shell." msgstr "" -#: library/sqlite3.rst:862 +#: library/sqlite3.rst:861 msgid "Create a backup of an SQLite database." msgstr "" -#: library/sqlite3.rst:864 +#: library/sqlite3.rst:863 msgid "" "Works even if the database is being accessed by other clients or " "concurrently by the same connection." msgstr "" -#: library/sqlite3.rst:867 +#: library/sqlite3.rst:866 msgid "The database connection to save the backup to." msgstr "" -#: library/sqlite3.rst:870 +#: library/sqlite3.rst:869 msgid "" "The number of pages to copy at a time. If equal to or less than ``0``, the " "entire database is copied in a single step. Defaults to ``-1``." msgstr "" -#: library/sqlite3.rst:876 +#: library/sqlite3.rst:875 msgid "" "If set to a callable, it is invoked with three integer arguments for every " "backup iteration: the *status* of the last iteration, the *remaining* number " @@ -862,40 +860,40 @@ msgid "" "``None``." msgstr "" -#: library/sqlite3.rst:885 +#: library/sqlite3.rst:884 msgid "" "The name of the database to back up. Either ``\"main\"`` (the default) for " "the main database, ``\"temp\"`` for the temporary database, or the name of a " "custom database as attached using the ``ATTACH DATABASE`` SQL statement." msgstr "" -#: library/sqlite3.rst:892 +#: library/sqlite3.rst:891 msgid "" "The number of seconds to sleep between successive attempts to back up " "remaining pages." msgstr "" -#: library/sqlite3.rst:896 +#: library/sqlite3.rst:895 msgid "Example 1, copy an existing database into another:" msgstr "" -#: library/sqlite3.rst:915 +#: library/sqlite3.rst:914 msgid "Example 2, copy an existing database into a transient copy:" msgstr "" -#: library/sqlite3.rst:927 +#: library/sqlite3.rst:926 msgid "" "This read-only attribute corresponds to the low-level SQLite `autocommit " "mode`_." msgstr "" -#: library/sqlite3.rst:930 +#: library/sqlite3.rst:929 msgid "" "``True`` if a transaction is active (there are uncommitted changes), " "``False`` otherwise." msgstr "" -#: library/sqlite3.rst:937 +#: library/sqlite3.rst:936 msgid "" "This attribute controls the :ref:`transaction handling ` performed by :mod:`!sqlite3`. If set to ``None``, " @@ -905,13 +903,13 @@ msgid "" "` is performed." msgstr "" -#: library/sqlite3.rst:945 +#: library/sqlite3.rst:944 msgid "" "If not overridden by the *isolation_level* parameter of :func:`connect`, the " "default is ``\"\"``, which is an alias for ``\"DEFERRED\"``." msgstr "" -#: library/sqlite3.rst:950 +#: library/sqlite3.rst:949 msgid "" "The initial :attr:`~Cursor.row_factory` for :class:`Cursor` objects created " "from this connection. Assigning to this attribute does not affect the :attr:" @@ -920,11 +918,11 @@ msgid "" "`tuple`." msgstr "" -#: library/sqlite3.rst:1217 library/sqlite3.rst:1240 +#: library/sqlite3.rst:1216 library/sqlite3.rst:1239 msgid "See :ref:`sqlite3-howto-row-factory` for more details." msgstr "" -#: library/sqlite3.rst:961 +#: library/sqlite3.rst:960 msgid "" "A callable that accepts a :class:`bytes` parameter and returns a text " "representation of it. The callable is invoked for SQLite values with the " @@ -932,17 +930,17 @@ msgid "" "you want to return ``bytes`` instead, set *text_factory* to ``bytes``." msgstr "" -#: library/sqlite3.rst:1001 +#: library/sqlite3.rst:1000 msgid "" "Return the total number of database rows that have been modified, inserted, " "or deleted since the database connection was opened." msgstr "" -#: library/sqlite3.rst:1007 +#: library/sqlite3.rst:1006 msgid "Cursor objects" msgstr "" -#: library/sqlite3.rst:1009 +#: library/sqlite3.rst:1008 msgid "" "A ``Cursor`` object represents a `database cursor`_ which is used to execute " "SQL statements, and manage the context of a fetch operation. Cursors are " @@ -950,25 +948,25 @@ msgid "" "`connection shortcut methods `." msgstr "" -#: library/sqlite3.rst:1016 +#: library/sqlite3.rst:1015 msgid "" "Cursor objects are :term:`iterators `, meaning that if you :meth:" "`~Cursor.execute` a ``SELECT`` query, you can simply iterate over the cursor " "to fetch the resulting rows:" msgstr "" -#: library/sqlite3.rst:1041 +#: library/sqlite3.rst:1040 msgid "A :class:`Cursor` instance has the following attributes and methods." msgstr "" -#: library/sqlite3.rst:1048 +#: library/sqlite3.rst:1047 msgid "" "Execute SQL statement *sql*. Bind values to the statement using :ref:" "`placeholders ` that map to the :term:`sequence` or :" "class:`dict` *parameters*." msgstr "" -#: library/sqlite3.rst:1053 +#: library/sqlite3.rst:1052 msgid "" ":meth:`execute` will only execute a single SQL statement. If you try to " "execute more than one statement with it, it will raise a :exc:`Warning`. " @@ -976,7 +974,7 @@ msgid "" "with one call." msgstr "" -#: library/sqlite3.rst:1058 +#: library/sqlite3.rst:1057 msgid "" "If :attr:`~Connection.isolation_level` is not ``None``, *sql* is an " "``INSERT``, ``UPDATE``, ``DELETE``, or ``REPLACE`` statement, and there is " @@ -984,7 +982,7 @@ msgid "" "*sql*." msgstr "" -#: library/sqlite3.rst:1066 +#: library/sqlite3.rst:1065 msgid "" "Execute :ref:`parameterized ` SQL statement *sql* " "against all parameter sequences or mappings found in the sequence " @@ -993,7 +991,7 @@ msgid "" "handling as :meth:`~Cursor.execute`." msgstr "" -#: library/sqlite3.rst:1085 +#: library/sqlite3.rst:1084 msgid "" "Execute the SQL statements in *sql_script*. If there is a pending " "transaction, an implicit ``COMMIT`` statement is executed first. No other " @@ -1001,24 +999,24 @@ msgid "" "added to *sql_script*." msgstr "" -#: library/sqlite3.rst:1091 +#: library/sqlite3.rst:1090 msgid "*sql_script* must be a :class:`string `." msgstr "" -#: library/sqlite3.rst:1109 +#: library/sqlite3.rst:1108 msgid "" "If :attr:`~Cursor.row_factory` is ``None``, return the next row query result " "set as a :class:`tuple`. Else, pass it to the row factory and return its " "result. Return ``None`` if no more data is available." msgstr "" -#: library/sqlite3.rst:1117 +#: library/sqlite3.rst:1116 msgid "" "Return the next set of rows of a query result as a :class:`list`. Return an " "empty list if no more rows are available." msgstr "" -#: library/sqlite3.rst:1120 +#: library/sqlite3.rst:1119 msgid "" "The number of rows to fetch per call is specified by the *size* parameter. " "If *size* is not given, :attr:`arraysize` determines the number of rows to " @@ -1026,7 +1024,7 @@ msgid "" "available are returned." msgstr "" -#: library/sqlite3.rst:1126 +#: library/sqlite3.rst:1125 msgid "" "Note there are performance considerations involved with the *size* " "parameter. For optimal performance, it is usually best to use the arraysize " @@ -1034,36 +1032,36 @@ msgid "" "the same value from one :meth:`fetchmany` call to the next." msgstr "" -#: library/sqlite3.rst:1133 +#: library/sqlite3.rst:1132 msgid "" "Return all (remaining) rows of a query result as a :class:`list`. Return an " "empty list if no rows are available. Note that the :attr:`arraysize` " "attribute can affect the performance of this operation." msgstr "" -#: library/sqlite3.rst:1140 +#: library/sqlite3.rst:1139 msgid "Close the cursor now (rather than whenever ``__del__`` is called)." msgstr "" -#: library/sqlite3.rst:1142 +#: library/sqlite3.rst:1141 msgid "" "The cursor will be unusable from this point forward; a :exc:" "`ProgrammingError` exception will be raised if any operation is attempted " "with the cursor." msgstr "" -#: library/sqlite3.rst:1151 +#: library/sqlite3.rst:1150 msgid "Required by the DB-API. Does nothing in :mod:`!sqlite3`." msgstr "" -#: library/sqlite3.rst:1155 +#: library/sqlite3.rst:1154 msgid "" "Read/write attribute that controls the number of rows returned by :meth:" "`fetchmany`. The default value is 1 which means a single row would be " "fetched per call." msgstr "" -#: library/sqlite3.rst:1160 +#: library/sqlite3.rst:1159 msgid "" "Read-only attribute that provides the SQLite database :class:`Connection` " "belonging to the cursor. A :class:`Cursor` object created by calling :meth:" @@ -1071,18 +1069,18 @@ msgid "" "that refers to *con*:" msgstr "" -#: library/sqlite3.rst:1174 +#: library/sqlite3.rst:1173 msgid "" "Read-only attribute that provides the column names of the last query. To " "remain compatible with the Python DB API, it returns a 7-tuple for each " "column where the last six items of each tuple are ``None``." msgstr "" -#: library/sqlite3.rst:1178 +#: library/sqlite3.rst:1177 msgid "It is set for ``SELECT`` statements without any matching rows as well." msgstr "" -#: library/sqlite3.rst:1182 +#: library/sqlite3.rst:1181 msgid "" "Read-only attribute that provides the row id of the last inserted row. It is " "only updated after successful ``INSERT`` or ``REPLACE`` statements using " @@ -1092,15 +1090,15 @@ msgid "" "``None``." msgstr "" -#: library/sqlite3.rst:1190 +#: library/sqlite3.rst:1189 msgid "Inserts into ``WITHOUT ROWID`` tables are not recorded." msgstr "" -#: library/sqlite3.rst:1192 +#: library/sqlite3.rst:1191 msgid "Added support for the ``REPLACE`` statement." msgstr "" -#: library/sqlite3.rst:1197 +#: library/sqlite3.rst:1196 msgid "" "Read-only attribute that provides the number of modified rows for " "``INSERT``, ``UPDATE``, ``DELETE``, and ``REPLACE`` statements; is ``-1`` " @@ -1109,7 +1107,7 @@ msgid "" "methods." msgstr "" -#: library/sqlite3.rst:1205 +#: library/sqlite3.rst:1204 msgid "" "Control how a row fetched from this :class:`!Cursor` is represented. If " "``None``, a row is represented as a :class:`tuple`. Can be set to the " @@ -1118,18 +1116,18 @@ msgid "" "and returns a custom object representing an SQLite row." msgstr "" -#: library/sqlite3.rst:1212 +#: library/sqlite3.rst:1211 msgid "" "Defaults to what :attr:`Connection.row_factory` was set to when the :class:`!" "Cursor` was created. Assigning to this attribute does not affect :attr:" "`Connection.row_factory` of the parent connection." msgstr "" -#: library/sqlite3.rst:1228 +#: library/sqlite3.rst:1227 msgid "Row objects" msgstr "" -#: library/sqlite3.rst:1232 +#: library/sqlite3.rst:1231 msgid "" "A :class:`!Row` instance serves as a highly optimized :attr:`~Connection." "row_factory` for :class:`Connection` objects. It supports iteration, " @@ -1137,43 +1135,43 @@ msgid "" "index." msgstr "" -#: library/sqlite3.rst:1237 +#: library/sqlite3.rst:1236 msgid "" "Two :class:`!Row` objects compare equal if they have identical column names " "and values." msgstr "" -#: library/sqlite3.rst:1244 +#: library/sqlite3.rst:1243 msgid "" "Return a :class:`list` of column names as :class:`strings `. " "Immediately after a query, it is the first member of each tuple in :attr:" "`Cursor.description`." msgstr "" -#: library/sqlite3.rst:1248 +#: library/sqlite3.rst:1247 msgid "Added support of slicing." msgstr "" -#: library/sqlite3.rst:1253 +#: library/sqlite3.rst:1252 msgid "PrepareProtocol objects" msgstr "" -#: library/sqlite3.rst:1257 +#: library/sqlite3.rst:1256 msgid "" "The PrepareProtocol type's single purpose is to act as a :pep:`246` style " "adaption protocol for objects that can :ref:`adapt themselves ` to :ref:`native SQLite types `." msgstr "" -#: library/sqlite3.rst:1265 +#: library/sqlite3.rst:1264 msgid "Exceptions" msgstr "" -#: library/sqlite3.rst:1267 +#: library/sqlite3.rst:1266 msgid "The exception hierarchy is defined by the DB-API 2.0 (:pep:`249`)." msgstr "" -#: library/sqlite3.rst:1271 +#: library/sqlite3.rst:1270 msgid "" "This exception is raised by :mod:`!sqlite3` if an SQL query is not a :class:" "`string `, or if multiple statements are passed to :meth:`~Cursor." @@ -1181,21 +1179,21 @@ msgid "" "`Exception`." msgstr "" -#: library/sqlite3.rst:1278 +#: library/sqlite3.rst:1277 msgid "" "The base class of the other exceptions in this module. Use this to catch all " "errors with one single :keyword:`except` statement. ``Error`` is a subclass " "of :exc:`Exception`." msgstr "" -#: library/sqlite3.rst:1284 +#: library/sqlite3.rst:1283 msgid "" "This exception is raised by :mod:`!sqlite3` for fetch across rollback, or " "if :mod:`!sqlite3` is unable to bind parameters. ``InterfaceError`` is a " "subclass of :exc:`Error`." msgstr "" -#: library/sqlite3.rst:1290 +#: library/sqlite3.rst:1289 msgid "" "Exception raised for errors that are related to the database. This serves as " "the base exception for several types of database errors. It is only raised " @@ -1203,14 +1201,14 @@ msgid "" "subclass of :exc:`Error`." msgstr "" -#: library/sqlite3.rst:1297 +#: library/sqlite3.rst:1296 msgid "" "Exception raised for errors caused by problems with the processed data, like " "numeric values out of range, and strings which are too long. ``DataError`` " "is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1303 +#: library/sqlite3.rst:1302 msgid "" "Exception raised for errors that are related to the database's operation, " "and not necessarily under the control of the programmer. For example, the " @@ -1218,20 +1216,20 @@ msgid "" "``OperationalError`` is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1311 +#: library/sqlite3.rst:1310 msgid "" "Exception raised when the relational integrity of the database is affected, " "e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1316 +#: library/sqlite3.rst:1315 msgid "" "Exception raised when SQLite encounters an internal error. If this is " "raised, it may indicate that there is a problem with the runtime SQLite " "library. ``InternalError`` is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1323 +#: library/sqlite3.rst:1322 msgid "" "Exception raised for :mod:`!sqlite3` API programming errors, for example " "trying to operate on a closed :class:`Connection`, or trying to execute non-" @@ -1239,7 +1237,7 @@ msgid "" "subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1330 +#: library/sqlite3.rst:1329 msgid "" "Exception raised in case a method or database API is not supported by the " "underlying SQLite library. For example, setting *deterministic* to ``True`` " @@ -1248,78 +1246,78 @@ msgid "" "subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1340 +#: library/sqlite3.rst:1339 msgid "SQLite and Python types" msgstr "" -#: library/sqlite3.rst:1342 +#: library/sqlite3.rst:1341 msgid "" "SQLite natively supports the following types: ``NULL``, ``INTEGER``, " "``REAL``, ``TEXT``, ``BLOB``." msgstr "" -#: library/sqlite3.rst:1345 +#: library/sqlite3.rst:1344 msgid "" "The following Python types can thus be sent to SQLite without any problem:" msgstr "" -#: library/sqlite3.rst:1365 +#: library/sqlite3.rst:1364 msgid "Python type" msgstr "" -#: library/sqlite3.rst:1365 +#: library/sqlite3.rst:1364 msgid "SQLite type" msgstr "" -#: library/sqlite3.rst:1367 +#: library/sqlite3.rst:1366 msgid "``None``" msgstr "" -#: library/sqlite3.rst:1367 +#: library/sqlite3.rst:1366 msgid "``NULL``" msgstr "" -#: library/sqlite3.rst:1369 +#: library/sqlite3.rst:1368 msgid ":class:`int`" msgstr "" -#: library/sqlite3.rst:1369 +#: library/sqlite3.rst:1368 msgid "``INTEGER``" msgstr "" -#: library/sqlite3.rst:1371 +#: library/sqlite3.rst:1370 msgid ":class:`float`" msgstr "" -#: library/sqlite3.rst:1371 +#: library/sqlite3.rst:1370 msgid "``REAL``" msgstr "" -#: library/sqlite3.rst:1356 +#: library/sqlite3.rst:1355 msgid ":class:`str`" msgstr "" -#: library/sqlite3.rst:1373 +#: library/sqlite3.rst:1372 msgid "``TEXT``" msgstr "" -#: library/sqlite3.rst:1376 +#: library/sqlite3.rst:1375 msgid ":class:`bytes`" msgstr "" -#: library/sqlite3.rst:1376 +#: library/sqlite3.rst:1375 msgid "``BLOB``" msgstr "" -#: library/sqlite3.rst:1362 +#: library/sqlite3.rst:1361 msgid "This is how SQLite types are converted to Python types by default:" msgstr "" -#: library/sqlite3.rst:1373 +#: library/sqlite3.rst:1372 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" msgstr "" -#: library/sqlite3.rst:1379 +#: library/sqlite3.rst:1378 msgid "" "The type system of the :mod:`!sqlite3` module is extensible in two ways: you " "can store additional Python types in an SQLite database via :ref:`object " @@ -1328,42 +1326,42 @@ msgid "" "converters>`." msgstr "" -#: library/sqlite3.rst:1389 +#: library/sqlite3.rst:1388 msgid "Default adapters and converters" msgstr "" -#: library/sqlite3.rst:1391 +#: library/sqlite3.rst:1390 msgid "" "There are default adapters for the date and datetime types in the datetime " "module. They will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" -#: library/sqlite3.rst:1394 +#: library/sqlite3.rst:1393 msgid "" "The default converters are registered under the name \"date\" for :class:" "`datetime.date` and under the name \"timestamp\" for :class:`datetime." "datetime`." msgstr "" -#: library/sqlite3.rst:1398 +#: library/sqlite3.rst:1397 msgid "" "This way, you can use date/timestamps from Python without any additional " "fiddling in most cases. The format of the adapters is also compatible with " "the experimental SQLite date/time functions." msgstr "" -#: library/sqlite3.rst:1402 +#: library/sqlite3.rst:1401 msgid "The following example demonstrates this." msgstr "" -#: library/sqlite3.rst:1406 +#: library/sqlite3.rst:1405 msgid "" "If a timestamp stored in SQLite has a fractional part longer than 6 numbers, " "its value will be truncated to microsecond precision by the timestamp " "converter." msgstr "" -#: library/sqlite3.rst:1412 +#: library/sqlite3.rst:1411 msgid "" "The default \"timestamp\" converter ignores UTC offsets in the database and " "always returns a naive :class:`datetime.datetime` object. To preserve UTC " @@ -1371,50 +1369,59 @@ msgid "" "offset-aware converter with :func:`register_converter`." msgstr "" -#: library/sqlite3.rst:1421 +#: library/sqlite3.rst:1420 msgid "How-to guides" msgstr "" -#: library/sqlite3.rst:1426 +#: library/sqlite3.rst:1425 msgid "How to use placeholders to bind values in SQL queries" msgstr "" -#: library/sqlite3.rst:1428 +#: library/sqlite3.rst:1427 msgid "" "SQL operations usually need to use values from Python variables. However, " "beware of using Python's string operations to assemble queries, as they are " -"vulnerable to `SQL injection attacks`_ (see the `xkcd webcomic `_ for a humorous example of what can go wrong)::" +"vulnerable to `SQL injection attacks`_. For example, an attacker can simply " +"close the single quote and inject ``OR TRUE`` to select all rows::" msgstr "" -#: library/sqlite3.rst:1437 +#: library/sqlite3.rst:1440 msgid "" "Instead, use the DB-API's parameter substitution. To insert a variable into " "a query string, use a placeholder in the string, and substitute the actual " "values into the query by providing them as a :class:`tuple` of values to the " -"second argument of the cursor's :meth:`~Cursor.execute` method. An SQL " -"statement may use one of two kinds of placeholders: question marks (qmark " -"style) or named placeholders (named style). For the qmark style, " -"``parameters`` must be a :term:`sequence `. For the named style, " -"it can be either a :term:`sequence ` or :class:`dict` instance. " -"The length of the :term:`sequence ` must match the number of " -"placeholders, or a :exc:`ProgrammingError` is raised. If a :class:`dict` is " -"given, it must contain keys for all named parameters. Any extra items are " -"ignored. Here's an example of both styles:" -msgstr "" - -#: library/sqlite3.rst:1479 +"second argument of the cursor's :meth:`~Cursor.execute` method." +msgstr "" + +#: library/sqlite3.rst:1445 +msgid "" +"An SQL statement may use one of two kinds of placeholders: question marks " +"(qmark style) or named placeholders (named style). For the qmark style, " +"*parameters* must be a :term:`sequence` whose length must match the number " +"of placeholders, or a :exc:`ProgrammingError` is raised. For the named " +"style, *parameters* should be an instance of a :class:`dict` (or a " +"subclass), which must contain keys for all named parameters; any extra items " +"are ignored. Here's an example of both styles:" +msgstr "" + +#: library/sqlite3.rst:1482 +msgid "" +":pep:`249` numeric placeholders are *not* supported. If used, they will be " +"interpreted as named placeholders." +msgstr "" + +#: library/sqlite3.rst:1489 msgid "How to adapt custom Python types to SQLite values" msgstr "" -#: library/sqlite3.rst:1481 +#: library/sqlite3.rst:1491 msgid "" "SQLite supports only a limited set of data types natively. To store custom " "Python types in SQLite databases, *adapt* them to one of the :ref:`Python " "types SQLite natively understands `." msgstr "" -#: library/sqlite3.rst:1485 +#: library/sqlite3.rst:1495 msgid "" "There are two ways to adapt Python objects to SQLite types: letting your " "object adapt itself, or using an *adapter callable*. The latter will take " @@ -1424,11 +1431,11 @@ msgid "" "custom adapter functions." msgstr "" -#: library/sqlite3.rst:1497 +#: library/sqlite3.rst:1507 msgid "How to write adaptable objects" msgstr "" -#: library/sqlite3.rst:1499 +#: library/sqlite3.rst:1509 msgid "" "Suppose we have a :class:`!Point` class that represents a pair of " "coordinates, ``x`` and ``y``, in a Cartesian coordinate system. The " @@ -1438,84 +1445,84 @@ msgid "" "object passed to *protocol* will be of type :class:`PrepareProtocol`." msgstr "" -#: library/sqlite3.rst:1530 +#: library/sqlite3.rst:1540 msgid "How to register adapter callables" msgstr "" -#: library/sqlite3.rst:1532 +#: library/sqlite3.rst:1542 msgid "" "The other possibility is to create a function that converts the Python " "object to an SQLite-compatible type. This function can then be registered " "using :func:`register_adapter`." msgstr "" -#: library/sqlite3.rst:1562 +#: library/sqlite3.rst:1572 msgid "How to convert SQLite values to custom Python types" msgstr "" -#: library/sqlite3.rst:1564 +#: library/sqlite3.rst:1574 msgid "" "Writing an adapter lets you convert *from* custom Python types *to* SQLite " "values. To be able to convert *from* SQLite values *to* custom Python types, " "we use *converters*." msgstr "" -#: library/sqlite3.rst:1569 +#: library/sqlite3.rst:1579 msgid "" "Let's go back to the :class:`!Point` class. We stored the x and y " "coordinates separated via semicolons as strings in SQLite." msgstr "" -#: library/sqlite3.rst:1572 +#: library/sqlite3.rst:1582 msgid "" "First, we'll define a converter function that accepts the string as a " "parameter and constructs a :class:`!Point` object from it." msgstr "" -#: library/sqlite3.rst:1577 +#: library/sqlite3.rst:1587 msgid "" "Converter functions are **always** passed a :class:`bytes` object, no matter " "the underlying SQLite data type." msgstr "" -#: library/sqlite3.rst:1586 +#: library/sqlite3.rst:1596 msgid "" "We now need to tell :mod:`!sqlite3` when it should convert a given SQLite " "value. This is done when connecting to a database, using the *detect_types* " "parameter of :func:`connect`. There are three options:" msgstr "" -#: library/sqlite3.rst:1590 +#: library/sqlite3.rst:1600 msgid "Implicit: set *detect_types* to :const:`PARSE_DECLTYPES`" msgstr "" -#: library/sqlite3.rst:1591 +#: library/sqlite3.rst:1601 msgid "Explicit: set *detect_types* to :const:`PARSE_COLNAMES`" msgstr "" -#: library/sqlite3.rst:1592 +#: library/sqlite3.rst:1602 msgid "" "Both: set *detect_types* to ``sqlite3.PARSE_DECLTYPES | sqlite3." "PARSE_COLNAMES``. Column names take precedence over declared types." msgstr "" -#: library/sqlite3.rst:1596 +#: library/sqlite3.rst:1606 msgid "The following example illustrates the implicit and explicit approaches:" msgstr "" -#: library/sqlite3.rst:1647 +#: library/sqlite3.rst:1657 msgid "Adapter and converter recipes" msgstr "" -#: library/sqlite3.rst:1649 +#: library/sqlite3.rst:1659 msgid "This section shows recipes for common adapters and converters." msgstr "" -#: library/sqlite3.rst:1711 +#: library/sqlite3.rst:1721 msgid "How to use connection shortcut methods" msgstr "" -#: library/sqlite3.rst:1713 +#: library/sqlite3.rst:1723 msgid "" "Using the :meth:`~Connection.execute`, :meth:`~Connection.executemany`, and :" "meth:`~Connection.executescript` methods of the :class:`Connection` class, " @@ -1527,11 +1534,11 @@ msgid "" "object." msgstr "" -#: library/sqlite3.rst:1754 +#: library/sqlite3.rst:1764 msgid "How to use the connection context manager" msgstr "" -#: library/sqlite3.rst:1756 +#: library/sqlite3.rst:1766 msgid "" "A :class:`Connection` object can be used as a context manager that " "automatically commits or rolls back open transactions when leaving the body " @@ -1541,58 +1548,58 @@ msgid "" "exception, the transaction is rolled back." msgstr "" -#: library/sqlite3.rst:1765 +#: library/sqlite3.rst:1775 msgid "" "If there is no open transaction upon leaving the body of the ``with`` " "statement, the context manager is a no-op." msgstr "" -#: library/sqlite3.rst:1770 +#: library/sqlite3.rst:1780 msgid "" "The context manager neither implicitly opens a new transaction nor closes " "the connection." msgstr "" -#: library/sqlite3.rst:1803 +#: library/sqlite3.rst:1813 msgid "How to work with SQLite URIs" msgstr "" -#: library/sqlite3.rst:1805 +#: library/sqlite3.rst:1815 msgid "Some useful URI tricks include:" msgstr "" -#: library/sqlite3.rst:1807 +#: library/sqlite3.rst:1817 msgid "Open a database in read-only mode:" msgstr "" -#: library/sqlite3.rst:1816 +#: library/sqlite3.rst:1826 msgid "" "Do not implicitly create a new database file if it does not already exist; " "will raise :exc:`~sqlite3.OperationalError` if unable to create a new file:" msgstr "" -#: library/sqlite3.rst:1826 +#: library/sqlite3.rst:1836 msgid "Create a shared named in-memory database:" msgstr "" -#: library/sqlite3.rst:1840 +#: library/sqlite3.rst:1850 msgid "" "More information about this feature, including a list of parameters, can be " "found in the `SQLite URI documentation`_." msgstr "" -#: library/sqlite3.rst:1849 +#: library/sqlite3.rst:1859 msgid "How to create and use row factories" msgstr "" -#: library/sqlite3.rst:1851 +#: library/sqlite3.rst:1861 msgid "" "By default, :mod:`!sqlite3` represents each row as a :class:`tuple`. If a :" "class:`!tuple` does not suit your needs, you can use the :class:`sqlite3." "Row` class or a custom :attr:`~Cursor.row_factory`." msgstr "" -#: library/sqlite3.rst:1856 +#: library/sqlite3.rst:1866 msgid "" "While :attr:`!row_factory` exists as an attribute both on the :class:" "`Cursor` and the :class:`Connection`, it is recommended to set :class:" @@ -1600,7 +1607,7 @@ msgid "" "use the same row factory." msgstr "" -#: library/sqlite3.rst:1861 +#: library/sqlite3.rst:1871 msgid "" ":class:`!Row` provides indexed and case-insensitive named access to columns, " "with minimal memory overhead and performance impact over a :class:`!tuple`. " @@ -1608,51 +1615,51 @@ msgid "" "attribute:" msgstr "" -#: library/sqlite3.rst:1871 +#: library/sqlite3.rst:1881 msgid "Queries now return :class:`!Row` objects:" msgstr "" -#: library/sqlite3.rst:1886 +#: library/sqlite3.rst:1896 msgid "" "You can create a custom :attr:`~Cursor.row_factory` that returns each row as " "a :class:`dict`, with column names mapped to values:" msgstr "" -#: library/sqlite3.rst:1895 +#: library/sqlite3.rst:1905 msgid "" "Using it, queries now return a :class:`!dict` instead of a :class:`!tuple`:" msgstr "" -#: library/sqlite3.rst:1905 +#: library/sqlite3.rst:1915 msgid "The following row factory returns a :term:`named tuple`:" msgstr "" -#: library/sqlite3.rst:1916 +#: library/sqlite3.rst:1926 msgid ":func:`!namedtuple_factory` can be used as follows:" msgstr "" -#: library/sqlite3.rst:1931 +#: library/sqlite3.rst:1941 msgid "" "With some adjustments, the above recipe can be adapted to use a :class:" "`~dataclasses.dataclass`, or any other custom class, instead of a :class:" "`~collections.namedtuple`." msgstr "" -#: library/sqlite3.rst:1939 +#: library/sqlite3.rst:1949 msgid "Explanation" msgstr "" -#: library/sqlite3.rst:1944 +#: library/sqlite3.rst:1954 msgid "Transaction control" msgstr "" -#: library/sqlite3.rst:1946 +#: library/sqlite3.rst:1956 msgid "" "The :mod:`!sqlite3` module does not adhere to the transaction handling " "recommended by :pep:`249`." msgstr "" -#: library/sqlite3.rst:1949 +#: library/sqlite3.rst:1959 msgid "" "If the connection attribute :attr:`~Connection.isolation_level` is not " "``None``, new transactions are implicitly opened before :meth:`~Cursor." @@ -1666,7 +1673,7 @@ msgid "" "attribute." msgstr "" -#: library/sqlite3.rst:1962 +#: library/sqlite3.rst:1972 msgid "" "If :attr:`~Connection.isolation_level` is set to ``None``, no transactions " "are implicitly opened at all. This leaves the underlying SQLite library in " @@ -1676,14 +1683,14 @@ msgid "" "in_transaction` attribute." msgstr "" -#: library/sqlite3.rst:1970 +#: library/sqlite3.rst:1980 msgid "" "The :meth:`~Cursor.executescript` method implicitly commits any pending " "transaction before execution of the given SQL script, regardless of the " "value of :attr:`~Connection.isolation_level`." msgstr "" -#: library/sqlite3.rst:1974 +#: library/sqlite3.rst:1984 msgid "" ":mod:`!sqlite3` used to implicitly commit an open transaction before DDL " "statements. This is no longer the case." diff --git a/library/ssl.po b/library/ssl.po index 563807bac..aa0bd101c 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1200,8 +1200,8 @@ msgstr "" #: library/ssl.rst:1145 msgid "" "The :meth:`shutdown` does not reset the socket timeout each time bytes are " -"received or sent. The socket timeout is now to maximum total duration of the " -"shutdown." +"received or sent. The socket timeout is now the maximum total duration of " +"the shutdown." msgstr "" #: library/ssl.rst:1150 @@ -1249,8 +1249,8 @@ msgstr "" #: library/ssl.rst:1179 msgid "" -"The socket timeout is no more reset each time bytes are received or sent. " -"The socket timeout is now to maximum total duration to read up to *len* " +"The socket timeout is no longer reset each time bytes are received or sent. " +"The socket timeout is now the maximum total duration to read up to *len* " "bytes." msgstr "" @@ -1278,8 +1278,8 @@ msgstr "" #: library/ssl.rst:1198 msgid "" -"The socket timeout is no more reset each time bytes are received or sent. " -"The socket timeout is now to maximum total duration to write *buf*." +"The socket timeout is no longer reset each time bytes are received or sent. " +"The socket timeout is now the maximum total duration to write *buf*." msgstr "" #: library/ssl.rst:1202 @@ -1314,8 +1314,8 @@ msgstr "" #: library/ssl.rst:1226 msgid "" -"The socket timeout is no more reset each time bytes are received or sent. " -"The socket timeout is now to maximum total duration of the handshake." +"The socket timeout is no longer reset each time bytes are received or sent. " +"The socket timeout is now the maximum total duration of the handshake." msgstr "" #: library/ssl.rst:1230 @@ -1323,7 +1323,7 @@ msgid "" "Hostname or IP address is matched by OpenSSL during handshake. The function :" "func:`match_hostname` is no longer used. In case OpenSSL refuses a hostname " "or IP address, the handshake is aborted early and a TLS alert message is " -"send to the peer." +"sent to the peer." msgstr "" #: library/ssl.rst:1238 diff --git a/library/stdtypes.po b/library/stdtypes.po index 390f58812..8d10db4c2 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: 2022-08-15 20:14+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -135,8 +135,8 @@ msgstr "İşlem" msgid "Result" msgstr "Sonuç" -#: library/stdtypes.rst:275 library/stdtypes.rst:883 library/stdtypes.rst:2328 -#: library/stdtypes.rst:3543 +#: library/stdtypes.rst:275 library/stdtypes.rst:883 library/stdtypes.rst:2331 +#: library/stdtypes.rst:3549 msgid "Notes" msgstr "Notlar" @@ -148,8 +148,8 @@ msgstr "``x or y``" msgid "if *x* is false, then *y*, else *x*" msgstr "*x* yanlışsa, *y*, aksi halde *x*" -#: library/stdtypes.rst:285 library/stdtypes.rst:888 library/stdtypes.rst:2334 -#: library/stdtypes.rst:3549 +#: library/stdtypes.rst:285 library/stdtypes.rst:888 library/stdtypes.rst:2337 +#: library/stdtypes.rst:3555 msgid "\\(1)" msgstr "\\(1)" @@ -161,8 +161,8 @@ msgstr "``x and y``" msgid "if *x* is false, then *x*, else *y*" msgstr "*x* yanlışsa, *x*, aksi halde *y*" -#: library/stdtypes.rst:288 library/stdtypes.rst:1127 library/stdtypes.rst:2340 -#: library/stdtypes.rst:3555 +#: library/stdtypes.rst:288 library/stdtypes.rst:1127 library/stdtypes.rst:2343 +#: library/stdtypes.rst:3561 msgid "\\(2)" msgstr "\\(2)" @@ -174,14 +174,14 @@ msgstr "``not x``" msgid "if *x* is false, then ``True``, else ``False``" msgstr "*x* yanlışsa, ``True``, aksi halde ``False``" -#: library/stdtypes.rst:897 library/stdtypes.rst:2342 library/stdtypes.rst:2346 -#: library/stdtypes.rst:3557 library/stdtypes.rst:3561 -#: library/stdtypes.rst:3563 +#: library/stdtypes.rst:897 library/stdtypes.rst:2345 library/stdtypes.rst:2349 +#: library/stdtypes.rst:3563 library/stdtypes.rst:3567 +#: library/stdtypes.rst:3569 msgid "\\(3)" msgstr "\\(3)" -#: library/stdtypes.rst:319 library/stdtypes.rst:934 library/stdtypes.rst:2374 -#: library/stdtypes.rst:3593 +#: library/stdtypes.rst:319 library/stdtypes.rst:934 library/stdtypes.rst:2377 +#: library/stdtypes.rst:3599 msgid "Notes:" msgstr "Notlar:" @@ -232,8 +232,8 @@ msgstr "" msgid "This table summarizes the comparison operations:" msgstr "Bu tablo karşılaştırma operatörlerini özetlemektedir:" -#: library/stdtypes.rst:2305 library/stdtypes.rst:3520 -#: library/stdtypes.rst:3543 +#: library/stdtypes.rst:2308 library/stdtypes.rst:3526 +#: library/stdtypes.rst:3549 msgid "Meaning" msgstr "Anlamı" @@ -567,7 +567,7 @@ msgstr "" "gerçek kısmı *re*, sanal kısmı *im* olan bir karmaşık sayı. *im* varsayılan " "olarak sıfırdır." -#: library/stdtypes.rst:1120 library/stdtypes.rst:3580 +#: library/stdtypes.rst:1120 library/stdtypes.rst:3586 msgid "\\(6)" msgstr "\\(6)" @@ -603,8 +603,8 @@ msgstr "``pow(x, y)``" msgid "*x* to the power *y*" msgstr "*x* üzeri *y*" -#: library/stdtypes.rst:312 library/stdtypes.rst:1112 library/stdtypes.rst:2364 -#: library/stdtypes.rst:3576 library/stdtypes.rst:3583 +#: library/stdtypes.rst:312 library/stdtypes.rst:1112 library/stdtypes.rst:2367 +#: library/stdtypes.rst:3582 library/stdtypes.rst:3589 msgid "\\(5)" msgstr "\\(5)" @@ -772,8 +772,8 @@ msgstr "``x | y``" msgid "bitwise :dfn:`or` of *x* and *y*" msgstr "bit düzeyinde *x* :dfn:`or` *y*" -#: library/stdtypes.rst:419 library/stdtypes.rst:1133 library/stdtypes.rst:2354 -#: library/stdtypes.rst:3569 +#: library/stdtypes.rst:419 library/stdtypes.rst:1133 library/stdtypes.rst:2357 +#: library/stdtypes.rst:3575 msgid "\\(4)" msgstr "\\(4)" @@ -1487,7 +1487,7 @@ msgstr "" "*x* 'in *s* içindeki ilk görüldüğü dizini (*i* dizininde veya sonrasında ve " "*j* dizininden önce)" -#: library/stdtypes.rst:3551 +#: library/stdtypes.rst:3557 msgid "\\(8)" msgstr "\\(8)" @@ -2624,15 +2624,23 @@ msgid "" msgstr "" #: library/stdtypes.rst:1588 +msgid "Return the string encoded to :class:`bytes`." +msgstr "" + +#: library/stdtypes.rst:2723 msgid "" -"Return an encoded version of the string as a bytes object. Default encoding " -"is ``'utf-8'``. *errors* may be given to set a different error handling " -"scheme. The default for *errors* is ``'strict'``, meaning that encoding " -"errors raise a :exc:`UnicodeError`. Other possible values are ``'ignore'``, " -"``'replace'``, ``'xmlcharrefreplace'``, ``'backslashreplace'`` and any other " -"name registered via :func:`codecs.register_error`, see section :ref:`error-" -"handlers`. For a list of possible encodings, see section :ref:`standard-" -"encodings`." +"*encoding* defaults to ``'utf-8'``; see :ref:`standard-encodings` for " +"possible values." +msgstr "" + +#: library/stdtypes.rst:1593 +#, fuzzy +msgid "" +"*errors* controls how encoding errors are handled. If ``'strict'`` (the " +"default), a :exc:`UnicodeError` exception is raised. Other possible values " +"are ``'ignore'``, ``'replace'``, ``'xmlcharrefreplace'``, " +"``'backslashreplace'`` and any other name registered via :func:`codecs." +"register_error`. See :ref:`error-handlers` for details." msgstr "" "Bir bayt nesnesi olarak dizenin kodlanmış bir sürümünü döndürün. Varsayılan " "kodlama ``'utf-8'`` şeklindedir. *hatalar*, farklı bir hata işleme şeması " @@ -2644,30 +2652,27 @@ msgstr "" "Olası kodlamaların listesi için section :ref:`standard-encodings` bölümüne " "bakın." -#: library/stdtypes.rst:1597 +#: library/stdtypes.rst:1600 msgid "" -"By default, the *errors* argument is not checked for best performances, but " -"only used at the first encoding error. Enable the :ref:`Python Development " -"Mode `, or use a :ref:`debug build ` to check *errors*." +"For performance reasons, the value of *errors* is not checked for validity " +"unless an encoding error actually occurs, :ref:`devmode` is enabled or a :" +"ref:`debug build ` is used." msgstr "" -"Varsayılan olarak, *error* argümanı en iyi performans için kontrol edilmez, " -"sadece ilk kodlama hatasında kullanılır. :ref:`Python Geliştirme Modu " -"` öğesini etkinleştirin veya *hataları* kontrol etmek için bir :ref:" -"`hata ayıklama derlemesi ` kullanın." -#: library/stdtypes.rst:1602 -msgid "Support for keyword arguments added." -msgstr "Anahtar kelime argümanları için destek eklendi." +#: library/stdtypes.rst:2742 +msgid "Added support for keyword arguments." +msgstr "" -#: library/stdtypes.rst:2739 +#: library/stdtypes.rst:2745 +#, fuzzy msgid "" -"The *errors* is now checked in development mode and in :ref:`debug mode " -"`." +"The value of the *errors* argument is now checked in :ref:`devmode` and in :" +"ref:`debug mode `." msgstr "" "*Hatalar* şimdi geliştirme modunda ve :ref:`hata ayıklama modunda ` kontrol edilir." -#: library/stdtypes.rst:1612 +#: library/stdtypes.rst:1615 msgid "" "Return ``True`` if the string ends with the specified *suffix*, otherwise " "return ``False``. *suffix* can also be a tuple of suffixes to look for. " @@ -2679,7 +2684,7 @@ msgstr "" "bağlı *start* ile, o konumdan başlayarak test edin. İsteğe bağlı *end* ile, " "o konumda karşılaştırmayı bırakın." -#: library/stdtypes.rst:1620 +#: library/stdtypes.rst:1623 msgid "" "Return a copy of the string where all tab characters are replaced by one or " "more spaces, depending on the current column and the given tab size. Tab " @@ -2706,7 +2711,7 @@ msgstr "" "karakter değiştirilmeden kopyalanır ve mevcut sütun, karakterin " "yazdırıldığında nasıl temsil edildiğine bakılmaksızın bir artırılır." -#: library/stdtypes.rst:1641 +#: library/stdtypes.rst:1644 msgid "" "Return the lowest index in the string where substring *sub* is found within " "the slice ``s[start:end]``. Optional arguments *start* and *end* are " @@ -2716,7 +2721,7 @@ msgstr "" "dizini döndür. İsteğe bağlı argümanlar *start* ve *end*, dilim notasyonunda " "olduğu gibi yorumlanır. *sub* bulunamazsa ``-1`` döndürür." -#: library/stdtypes.rst:1647 +#: library/stdtypes.rst:1650 msgid "" "The :meth:`~str.find` method should be used only if you need to know the " "position of *sub*. To check if *sub* is a substring or not, use the :" @@ -2726,7 +2731,7 @@ msgstr "" "gerekiyorsa kullanılmalıdır. *sub* 'ın bir alt dize olup olmadığını kontrol " "etmek için :keyword:`in` operatörünü kullanın::" -#: library/stdtypes.rst:1657 +#: library/stdtypes.rst:1660 msgid "" "Perform a string formatting operation. The string on which this method is " "called can contain literal text or replacement fields delimited by braces " @@ -2742,7 +2747,7 @@ msgstr "" "değiştirme alanının, karşılık gelen argümanın dize değeriyle değiştirildiği " "dizenin bir kopyasını döndürür." -#: library/stdtypes.rst:1667 +#: library/stdtypes.rst:1670 msgid "" "See :ref:`formatstrings` for a description of the various formatting options " "that can be specified in format strings." @@ -2750,7 +2755,7 @@ msgstr "" "Biçim dizelerinde (f string) belirtilebilecek çeşitli biçimlendirme " "seçeneklerinin açıklaması için bkz. :ref:`formatstrings`." -#: library/stdtypes.rst:1671 +#: library/stdtypes.rst:1674 #, fuzzy msgid "" "When formatting a number (:class:`int`, :class:`float`, :class:`complex`, :" @@ -2769,7 +2774,7 @@ msgstr "" "çözmek için, \"LC_CTYPE\" yerel ayarını geçici olarak ``LC_NUMERIC`` yerel " "ayarına atar. Bu geçici değişiklik diğer iş parçacıklarını da etkiler." -#: library/stdtypes.rst:1680 +#: library/stdtypes.rst:1683 msgid "" "When formatting a number with the ``n`` type, the function sets temporarily " "the ``LC_CTYPE`` locale to the ``LC_NUMERIC`` locale in some cases." @@ -2778,7 +2783,7 @@ msgstr "" "``LC_CTYPE`` yerel ayarını geçici olarak ``LC_NUMERIC`` yerel ayarına " "ayarlar." -#: library/stdtypes.rst:1688 +#: library/stdtypes.rst:1691 msgid "" "Similar to ``str.format(**mapping)``, except that ``mapping`` is used " "directly and not copied to a :class:`dict`. This is useful if for example " @@ -2788,7 +2793,7 @@ msgstr "" "kullanılır ve bir :class:`dict` 'e kopyalanmaz. Örneğin, ``mapping`` bir " "dict alt sınıfı ise bu kullanışlıdır:" -#: library/stdtypes.rst:1704 +#: library/stdtypes.rst:1707 msgid "" "Like :meth:`~str.find`, but raise :exc:`ValueError` when the substring is " "not found." @@ -2796,7 +2801,7 @@ msgstr "" ":meth:`~str.find` gibi, ancak alt dize bulunamadığında :exc:`ValueError` " "yükseltir." -#: library/stdtypes.rst:1710 +#: library/stdtypes.rst:1713 msgid "" "Return ``True`` if all characters in the string are alphanumeric and there " "is at least one character, ``False`` otherwise. A character ``c`` is " @@ -2808,7 +2813,7 @@ msgstr "" "``True`` döndürüyorsa alfasayısaldır: ``c.isalpha()``, ``c.isdecimal()``, " "``c.isdigit()`` veya ``c.isnumeric()``." -#: library/stdtypes.rst:1718 +#: library/stdtypes.rst:1721 msgid "" "Return ``True`` if all characters in the string are alphabetic and there is " "at least one character, ``False`` otherwise. Alphabetic characters are " @@ -2824,7 +2829,7 @@ msgstr "" "karakterlerdir. Bunun Unicode Standardında tanımlanan \"Alfabetik\" " "özelliğinden farklı olduğunu unutmayın." -#: library/stdtypes.rst:1727 +#: library/stdtypes.rst:1730 msgid "" "Return ``True`` if the string is empty or all characters in the string are " "ASCII, ``False`` otherwise. ASCII characters have code points in the range " @@ -2834,7 +2839,7 @@ msgstr "" "``False`` döndürür. ASCII karakterleri U+0000-U+007F aralığında kod " "noktalarına sahiptir." -#: library/stdtypes.rst:1736 +#: library/stdtypes.rst:1739 msgid "" "Return ``True`` if all characters in the string are decimal characters and " "there is at least one character, ``False`` otherwise. Decimal characters are " @@ -2848,7 +2853,7 @@ msgstr "" "ARAPÇA-HİNTÇE RAKAM SIFIR. Resmi olarak bir ondalık karakter Unicode Genel " "Kategorisi \"Nd\" içerisindeki bir karakterdir." -#: library/stdtypes.rst:1746 +#: library/stdtypes.rst:1749 msgid "" "Return ``True`` if all characters in the string are digits and there is at " "least one character, ``False`` otherwise. Digits include decimal characters " @@ -2864,7 +2869,7 @@ msgstr "" "rakamları kapsar. Resmi olarak rakam, Numeric_Type=Digit veya " "Numeric_Type=Decimal özellik değerine sahip bir karakterdir." -#: library/stdtypes.rst:1756 +#: library/stdtypes.rst:1759 msgid "" "Return ``True`` if the string is a valid identifier according to the " "language definition, section :ref:`identifiers`." @@ -2872,7 +2877,7 @@ msgstr "" ":ref:`identifiers` bölümüne göre dizge dil tanımına göre geçerli bir " "tanımlayıcı ise ``True`` döndürür." -#: library/stdtypes.rst:1759 +#: library/stdtypes.rst:1762 msgid "" "Call :func:`keyword.iskeyword` to test whether string ``s`` is a reserved " "identifier, such as :keyword:`def` and :keyword:`class`." @@ -2880,11 +2885,11 @@ msgstr "" ":func:`keyword.iskeyword` çağrısı yaparak ``s`` dizesinin :keyword:`def` ve :" "keyword:`class` gibi ayrılmış bir tanımlayıcı olup olmadığını test eder." -#: library/stdtypes.rst:1762 +#: library/stdtypes.rst:1765 msgid "Example: ::" msgstr "Örnek: ::" -#: library/stdtypes.rst:1775 +#: library/stdtypes.rst:1778 msgid "" "Return ``True`` if all cased characters [4]_ in the string are lowercase and " "there is at least one cased character, ``False`` otherwise." @@ -2892,7 +2897,7 @@ msgstr "" "Dizedeki tüm büyük harfli karakterler [4]_ küçük harfli ise ve en az bir " "büyük harfli karakter varsa ``True``, aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1781 +#: library/stdtypes.rst:1784 msgid "" "Return ``True`` if all characters in the string are numeric characters, and " "there is at least one character, ``False`` otherwise. Numeric characters " @@ -2908,7 +2913,7 @@ msgstr "" "karakterler Numeric_Type=Digit, Numeric_Type=Decimal veya " "Numeric_Type=Numeric özellik değerine sahip karakterlerdir." -#: library/stdtypes.rst:1791 +#: library/stdtypes.rst:1794 msgid "" "Return ``True`` if all characters in the string are printable or the string " "is empty, ``False`` otherwise. Nonprintable characters are those characters " @@ -2927,7 +2932,7 @@ msgstr "" "data:`sys.stdout` veya :data:`sys.stderr` dosyalarına yazılan dizelerin " "işlenmesiyle bir ilgisi yoktur)" -#: library/stdtypes.rst:1802 +#: library/stdtypes.rst:1805 msgid "" "Return ``True`` if there are only whitespace characters in the string and " "there is at least one character, ``False`` otherwise." @@ -2935,7 +2940,7 @@ msgstr "" "Dizede yalnızca boşluk karakterleri varsa ve en az bir karakter varsa " "``True``, aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1805 +#: library/stdtypes.rst:1808 msgid "" "A character is *whitespace* if in the Unicode character database (see :mod:" "`unicodedata`), either its general category is ``Zs`` (\"Separator, " @@ -2945,7 +2950,7 @@ msgstr "" "sınıfı ``WS``, ``B`` veya ``S``’den biri ise Unicode karakter veritabanında " "(bkz. :mod:`unicodedata`) *beyaz boşluk karakteri*’dir." -#: library/stdtypes.rst:1813 +#: library/stdtypes.rst:1816 msgid "" "Return ``True`` if the string is a titlecased string and there is at least " "one character, for example uppercase characters may only follow uncased " @@ -2957,7 +2962,7 @@ msgstr "" "karakterleri ve küçük harfli karakterler sadece büyük harfli karakterleri " "takip edebilir. Aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1820 +#: library/stdtypes.rst:1823 msgid "" "Return ``True`` if all cased characters [4]_ in the string are uppercase and " "there is at least one cased character, ``False`` otherwise." @@ -2965,7 +2970,7 @@ msgstr "" "Dizedeki tüm karakterler [4]_ büyük harfli ise ve en az bir büyük harfli " "karakter varsa ``True``, aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1836 +#: library/stdtypes.rst:1839 msgid "" "Return a string which is the concatenation of the strings in *iterable*. A :" "exc:`TypeError` will be raised if there are any non-string values in " @@ -2977,7 +2982,7 @@ msgstr "" "olmayan değerler varsa bir :exc:`TypeError` oluşacaktır. Öğeler arasındaki " "ayırıcı, bu yöntemi sağlayan dizedir." -#: library/stdtypes.rst:1844 +#: library/stdtypes.rst:1847 msgid "" "Return the string left justified in a string of length *width*. Padding is " "done using the specified *fillchar* (default is an ASCII space). The " @@ -2988,7 +2993,7 @@ msgstr "" "boşluğudur). *width*, ``len(s)`` değerinden küçük veya ona eşitse orijinal " "dize döndürülür." -#: library/stdtypes.rst:1851 +#: library/stdtypes.rst:1854 msgid "" "Return a copy of the string with all the cased characters [4]_ converted to " "lowercase." @@ -2996,14 +3001,14 @@ msgstr "" "Dizenin tüm büyük harfli karakterlerini [4]_ küçük harfe dönüştürerek bir " "kopyasını döndürür." -#: library/stdtypes.rst:1854 +#: library/stdtypes.rst:1857 msgid "" "The lowercasing algorithm used is described in section 3.13 of the Unicode " "Standard." msgstr "" "Harf küçültme algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:1860 +#: library/stdtypes.rst:1863 msgid "" "Return a copy of the string with leading characters removed. The *chars* " "argument is a string specifying the set of characters to be removed. If " @@ -3017,7 +3022,7 @@ msgstr "" "boşlukları kaldırır. *chars* bağımsız değişkeni bir ön ek değildir; bunun " "yerine, değerlerinin tüm kombinasyonları çıkarılır::" -#: library/stdtypes.rst:1870 +#: library/stdtypes.rst:1873 msgid "" "See :meth:`str.removeprefix` for a method that will remove a single prefix " "string rather than all of a set of characters. For example::" @@ -3026,7 +3031,7 @@ msgstr "" "kaldıracak bir yöntem için :meth:`str.removeprefix` bölümüne bakın. " "Örneğin::" -#: library/stdtypes.rst:1881 +#: library/stdtypes.rst:1884 msgid "" "This static method returns a translation table usable for :meth:`str." "translate`." @@ -3034,7 +3039,7 @@ msgstr "" "Bu statik yöntem :meth:`str.translate` için kullanılabilecek bir çeviri " "tablosu döndürür." -#: library/stdtypes.rst:1883 +#: library/stdtypes.rst:1886 msgid "" "If there is only one argument, it must be a dictionary mapping Unicode " "ordinals (integers) or characters (strings of length 1) to Unicode ordinals, " @@ -3047,7 +3052,7 @@ msgstr "" "sözlük olmalıdır. Karakter anahtarları daha sonra sıradanlara " "dönüştürülecektir." -#: library/stdtypes.rst:1888 +#: library/stdtypes.rst:1891 msgid "" "If there are two arguments, they must be strings of equal length, and in the " "resulting dictionary, each character in x will be mapped to the character at " @@ -3059,7 +3064,7 @@ msgstr "" "eşlenecektir. Üçüncü bir bağımsız değişken varsa, karakterleri sonuçta " "``None`` ile eşlenecek bir dizge olmalıdır." -#: library/stdtypes.rst:1896 +#: library/stdtypes.rst:1899 msgid "" "Split the string at the first occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself, and the part " @@ -3071,7 +3076,7 @@ msgstr "" "Ayırıcı bulunamazsa, dizenin kendisini ve ardından iki boş dizeyi içeren bir " "3'lü döndürür." -#: library/stdtypes.rst:1904 +#: library/stdtypes.rst:1907 msgid "" "If the string starts with the *prefix* string, return " "``string[len(prefix):]``. Otherwise, return a copy of the original string::" @@ -3079,7 +3084,7 @@ msgstr "" "Eğer dize *prefix* dizesi ile başlıyorsa, ``dize[len(prefix):]`` döndürür. " "Aksi takdirde, orijinal dizgenin bir kopyasını döndürür::" -#: library/stdtypes.rst:1918 +#: library/stdtypes.rst:1921 msgid "" "If the string ends with the *suffix* string and that *suffix* is not empty, " "return ``string[:-len(suffix)]``. Otherwise, return a copy of the original " @@ -3089,7 +3094,7 @@ msgstr "" "``dize[:-len(suffix)]`` döndürür. Aksi takdirde, orijinal dizenin bir " "kopyasını döndürür::" -#: library/stdtypes.rst:1932 +#: library/stdtypes.rst:1935 msgid "" "Return a copy of the string with all occurrences of substring *old* replaced " "by *new*. If the optional argument *count* is given, only the first *count* " @@ -3099,7 +3104,7 @@ msgstr "" "kopyasını döndürür. İsteğe bağlı olarak *count* bağımsız değişkeni " "verilirse, yalnızca ilk *count* oluşumu değiştirilir." -#: library/stdtypes.rst:1939 +#: library/stdtypes.rst:1942 msgid "" "Return the highest index in the string where substring *sub* is found, such " "that *sub* is contained within ``s[start:end]``. Optional arguments *start* " @@ -3110,7 +3115,7 @@ msgstr "" "*end* dilim gösterimindeki gibi yorumlanır. Başarısızlık durumunda ``-1`` " "döndürür." -#: library/stdtypes.rst:1946 +#: library/stdtypes.rst:1949 msgid "" "Like :meth:`rfind` but raises :exc:`ValueError` when the substring *sub* is " "not found." @@ -3118,7 +3123,7 @@ msgstr "" ":meth:`rfind` gibi, ancak *sub* alt dizesi bulunamadığında :exc:`ValueError` " "yükseltir." -#: library/stdtypes.rst:1952 +#: library/stdtypes.rst:1955 msgid "" "Return the string right justified in a string of length *width*. Padding is " "done using the specified *fillchar* (default is an ASCII space). The " @@ -3129,7 +3134,7 @@ msgstr "" "boşluğudur). *width*, ``len(s)`` değerinden küçük veya ona eşitse orijinal " "dize döndürülür." -#: library/stdtypes.rst:1959 +#: library/stdtypes.rst:1962 msgid "" "Split the string at the last occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself, and the part " @@ -3141,7 +3146,7 @@ msgstr "" "Ayırıcı bulunamazsa, dizenin kendisini ve ardından iki boş dizeyi içeren bir " "3'lü döndürür." -#: library/stdtypes.rst:1967 +#: library/stdtypes.rst:1970 msgid "" "Return a list of the words in the string, using *sep* as the delimiter " "string. If *maxsplit* is given, at most *maxsplit* splits are done, the " @@ -3155,7 +3160,7 @@ msgstr "" "herhangi bir boşluk dizesi ayırıcıdır. Sağdan bölme dışında, :meth:`rsplit` " "aşağıda ayrıntılı olarak açıklanan :meth:`split` gibi davranır." -#: library/stdtypes.rst:1976 +#: library/stdtypes.rst:1979 msgid "" "Return a copy of the string with trailing characters removed. The *chars* " "argument is a string specifying the set of characters to be removed. If " @@ -3169,7 +3174,7 @@ msgstr "" "boşlukları kaldırır. *chars* bağımsız değişkeni bir ön ek değildir; bunun " "yerine, değerlerinin tüm kombinasyonları çıkarılır::" -#: library/stdtypes.rst:1986 +#: library/stdtypes.rst:1989 msgid "" "See :meth:`str.removesuffix` for a method that will remove a single suffix " "string rather than all of a set of characters. For example::" @@ -3178,7 +3183,7 @@ msgstr "" "kaldıracak bir yöntem için :meth:`str.removeprefix` bölümüne bakın. " "Örneğin::" -#: library/stdtypes.rst:1996 +#: library/stdtypes.rst:1999 msgid "" "Return a list of the words in the string, using *sep* as the delimiter " "string. If *maxsplit* is given, at most *maxsplit* splits are done (thus, " @@ -3192,7 +3197,7 @@ msgstr "" "Eğer *maxsplit* belirtilmemişse veya ``-1`` ise, bölme sayısında bir " "sınırlama yoktur (tüm olası bölmeler yapılır)." -#: library/stdtypes.rst:2002 +#: library/stdtypes.rst:2005 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty strings (for example, ``'1,,2'.split(',')`` returns " @@ -3206,15 +3211,15 @@ msgstr "" "(örneğin, ``'1<>2<>3'.split('<>')``, ``['1', '2', '3']`` döndürür). Boş bir " "dizeyi belirtilen bir ayırıcıyla bölmek ``['']`` döndürür." -#: library/stdtypes.rst:2024 library/stdtypes.rst:2144 -#: library/stdtypes.rst:3055 library/stdtypes.rst:3162 -#: library/stdtypes.rst:3203 library/stdtypes.rst:3245 -#: library/stdtypes.rst:3277 library/stdtypes.rst:3327 -#: library/stdtypes.rst:3396 library/stdtypes.rst:3420 +#: library/stdtypes.rst:2027 library/stdtypes.rst:2147 +#: library/stdtypes.rst:3061 library/stdtypes.rst:3168 +#: library/stdtypes.rst:3209 library/stdtypes.rst:3251 +#: library/stdtypes.rst:3283 library/stdtypes.rst:3333 +#: library/stdtypes.rst:3402 library/stdtypes.rst:3426 msgid "For example::" msgstr "Örneğin: ::" -#: library/stdtypes.rst:2017 +#: library/stdtypes.rst:2020 msgid "" "If *sep* is not specified or is ``None``, a different splitting algorithm is " "applied: runs of consecutive whitespace are regarded as a single separator, " @@ -3229,7 +3234,7 @@ msgstr "" "dizeler olmaz. Dolayısıyla, boş bir dizeyi veya sadece beyaz boşluktan " "oluşan bir dizeyi ``None`` ayırıcısıyla bölmek ``[]`` döndürür." -#: library/stdtypes.rst:2039 +#: library/stdtypes.rst:2042 msgid "" "Return a list of the lines in the string, breaking at line boundaries. Line " "breaks are not included in the resulting list unless *keepends* is given and " @@ -3239,7 +3244,7 @@ msgstr "" "Satır sonları için *keepends* belirtilmediği ve true değerinde olmadığı " "sürece, satır sonları sonuç listesine dahil edilmez." -#: library/stdtypes.rst:2043 +#: library/stdtypes.rst:2046 msgid "" "This method splits on the following line boundaries. In particular, the " "boundaries are a superset of :term:`universal newlines`." @@ -3247,107 +3252,107 @@ msgstr "" "Bu yöntem aşağıdaki satır sınırlarında bölme yapar. Spesifik olarak, " "sınırlar :term:`universal newlines` 'ın bir üst kümesidir." -#: library/stdtypes.rst:2047 +#: library/stdtypes.rst:2050 msgid "Representation" msgstr "Temsil" -#: library/stdtypes.rst:2047 +#: library/stdtypes.rst:2050 msgid "Description" msgstr "Açıklama" -#: library/stdtypes.rst:2049 +#: library/stdtypes.rst:2052 msgid "``\\n``" msgstr "``\\n``" -#: library/stdtypes.rst:2049 +#: library/stdtypes.rst:2052 msgid "Line Feed" msgstr "Satır Atlama" -#: library/stdtypes.rst:2051 +#: library/stdtypes.rst:2054 msgid "``\\r``" msgstr "``\\r``" -#: library/stdtypes.rst:2051 +#: library/stdtypes.rst:2054 msgid "Carriage Return" msgstr "Satır Başına Alma" -#: library/stdtypes.rst:2053 +#: library/stdtypes.rst:2056 msgid "``\\r\\n``" msgstr "``\\r\\n``" -#: library/stdtypes.rst:2053 +#: library/stdtypes.rst:2056 msgid "Carriage Return + Line Feed" msgstr "Satır Başına Alma + Satır Atlama" -#: library/stdtypes.rst:2055 +#: library/stdtypes.rst:2058 msgid "``\\v`` or ``\\x0b``" msgstr "``\\v`` or ``\\x0b``" -#: library/stdtypes.rst:2055 +#: library/stdtypes.rst:2058 msgid "Line Tabulation" msgstr "Satır Tablolama" -#: library/stdtypes.rst:2057 +#: library/stdtypes.rst:2060 msgid "``\\f`` or ``\\x0c``" msgstr "``\\f`` or ``\\x0c``" -#: library/stdtypes.rst:2057 +#: library/stdtypes.rst:2060 msgid "Form Feed" msgstr "Form Besleme" -#: library/stdtypes.rst:2059 +#: library/stdtypes.rst:2062 msgid "``\\x1c``" msgstr "``\\x1c``" -#: library/stdtypes.rst:2059 +#: library/stdtypes.rst:2062 msgid "File Separator" msgstr "Dosya Ayırıcı" -#: library/stdtypes.rst:2061 +#: library/stdtypes.rst:2064 msgid "``\\x1d``" msgstr "``\\x1d``" -#: library/stdtypes.rst:2061 +#: library/stdtypes.rst:2064 msgid "Group Separator" msgstr "Grup Ayırıcı" -#: library/stdtypes.rst:2063 +#: library/stdtypes.rst:2066 msgid "``\\x1e``" msgstr "``\\x1e``" -#: library/stdtypes.rst:2063 +#: library/stdtypes.rst:2066 msgid "Record Separator" msgstr "Kayıt Ayırıcı" -#: library/stdtypes.rst:2065 +#: library/stdtypes.rst:2068 msgid "``\\x85``" msgstr "``\\x85``" -#: library/stdtypes.rst:2065 +#: library/stdtypes.rst:2068 msgid "Next Line (C1 Control Code)" msgstr "Yeni Satır (C1 Denetim Kodu)" -#: library/stdtypes.rst:2067 +#: library/stdtypes.rst:2070 msgid "``\\u2028``" msgstr "``\\u2028``" -#: library/stdtypes.rst:2067 +#: library/stdtypes.rst:2070 msgid "Line Separator" msgstr "Satır Ayrıcı" -#: library/stdtypes.rst:2069 +#: library/stdtypes.rst:2072 msgid "``\\u2029``" msgstr "``\\u2029``" -#: library/stdtypes.rst:2069 +#: library/stdtypes.rst:2072 msgid "Paragraph Separator" msgstr "Paragraf Ayırıcı" -#: library/stdtypes.rst:2074 +#: library/stdtypes.rst:2077 msgid "``\\v`` and ``\\f`` added to list of line boundaries." msgstr "``\\v`` ve ``\\f`` satır sınırlarına eklenir." -#: library/stdtypes.rst:2083 +#: library/stdtypes.rst:2086 msgid "" "Unlike :meth:`~str.split` when a delimiter string *sep* is given, this " "method returns an empty list for the empty string, and a terminal line break " @@ -3357,11 +3362,11 @@ msgstr "" "farklı olarak, bu yöntem boş dize için boş bir liste döndürür ve bir " "terminal satır sonu fazladan bir satır ile sonuçlanmaz::" -#: library/stdtypes.rst:2092 +#: library/stdtypes.rst:2095 msgid "For comparison, ``split('\\n')`` gives::" msgstr "Kıyaslayacak olursak ``split(‘\\n’)`` şu değeri verir::" -#: library/stdtypes.rst:2102 +#: library/stdtypes.rst:2105 msgid "" "Return ``True`` if string starts with the *prefix*, otherwise return " "``False``. *prefix* can also be a tuple of prefixes to look for. With " @@ -3373,7 +3378,7 @@ msgstr "" "İsteğe bağlı *start* ile, o konumdan başlayan dizeyi sınar. İsteğe bağlı " "*end* ile, dizeyi o konumda karşılaştırmayı durdurur." -#: library/stdtypes.rst:2110 +#: library/stdtypes.rst:2113 msgid "" "Return a copy of the string with the leading and trailing characters " "removed. The *chars* argument is a string specifying the set of characters " @@ -3388,7 +3393,7 @@ msgstr "" "veya son ek değildir; bunun yerine, değerlerinin tüm kombinasyonları " "çıkarılır::" -#: library/stdtypes.rst:2121 +#: library/stdtypes.rst:2124 msgid "" "The outermost leading and trailing *chars* argument values are stripped from " "the string. Characters are removed from the leading end until reaching a " @@ -3400,7 +3405,7 @@ msgstr "" "karakterine ulaşılana kadar önde gelen uçtan çıkarılır. Benzer bir işlem son " "uçta da gerçekleşir. Örneğin::" -#: library/stdtypes.rst:2134 +#: library/stdtypes.rst:2137 msgid "" "Return a copy of the string with uppercase characters converted to lowercase " "and vice versa. Note that it is not necessarily true that ``s.swapcase()." @@ -3410,7 +3415,7 @@ msgstr "" "dizenin bir kopyasını döndürür. ``s.swapcase().swapcase() == s`` ifadesinin " "mutlaka doğru olması gerekmediğine dikkat edin." -#: library/stdtypes.rst:2141 +#: library/stdtypes.rst:2144 msgid "" "Return a titlecased version of the string where words start with an " "uppercase character and the remaining characters are lowercase." @@ -3418,7 +3423,7 @@ msgstr "" "Sözcüklerin büyük harfle başladığı ve kalan karakterlerin küçük harf olduğu " "dizenin başlıklandırılmış bir sürümünü döndürür." -#: library/stdtypes.rst:3364 +#: library/stdtypes.rst:3370 msgid "" "The algorithm uses a simple language-independent definition of a word as " "groups of consecutive letters. The definition works in many contexts but it " @@ -3430,13 +3435,13 @@ msgstr "" "kısaltmalar ve iyeliklerdeki kesme işaretlerinin kelime sınırları " "oluşturduğu anlamına gelir ve bu istenen sonuç olmayabilir::" -#: library/stdtypes.rst:2157 +#: library/stdtypes.rst:2160 msgid "" "The :func:`string.capwords` function does not have this problem, as it " "splits words on spaces only." msgstr "" -#: library/stdtypes.rst:2160 +#: library/stdtypes.rst:2163 #, fuzzy msgid "" "Alternatively, a workaround for apostrophes can be constructed using regular " @@ -3445,7 +3450,7 @@ msgstr "" "Kesme işaretleri için geçici bir çözüm düzenli ifadeler kullanılarak " "oluşturulabilir::" -#: library/stdtypes.rst:2175 +#: library/stdtypes.rst:2178 msgid "" "Return a copy of the string in which each character has been mapped through " "the given translation table. The table must be an object that implements " @@ -3466,19 +3471,19 @@ msgstr "" "veya karakteri kendisiyle eşlemek için bir :exc:`LookupError` istisnası " "oluşturmak." -#: library/stdtypes.rst:2184 +#: library/stdtypes.rst:2187 msgid "" "You can use :meth:`str.maketrans` to create a translation map from character-" "to-character mappings in different formats." msgstr "" -#: library/stdtypes.rst:2187 +#: library/stdtypes.rst:2190 msgid "" "See also the :mod:`codecs` module for a more flexible approach to custom " "character mappings." msgstr "" -#: library/stdtypes.rst:2193 +#: library/stdtypes.rst:2196 msgid "" "Return a copy of the string with all the cased characters [4]_ converted to " "uppercase. Note that ``s.upper().isupper()`` might be ``False`` if ``s`` " @@ -3487,14 +3492,14 @@ msgid "" "titlecase)." msgstr "" -#: library/stdtypes.rst:2199 +#: library/stdtypes.rst:2202 msgid "" "The uppercasing algorithm used is described in section 3.13 of the Unicode " "Standard." msgstr "" "Harf büyütme algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:2205 +#: library/stdtypes.rst:2208 msgid "" "Return a copy of the string left filled with ASCII ``'0'`` digits to make a " "string of length *width*. A leading sign prefix (``'+'``/``'-'``) is handled " @@ -3502,11 +3507,11 @@ msgid "" "original string is returned if *width* is less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:2223 +#: library/stdtypes.rst:2226 msgid "``printf``-style String Formatting" msgstr "" -#: library/stdtypes.rst:2236 +#: library/stdtypes.rst:2239 msgid "" "The formatting operations described here exhibit a variety of quirks that " "lead to a number of common errors (such as failing to display tuples and " @@ -3517,7 +3522,7 @@ msgid "" "or extensibility." msgstr "" -#: library/stdtypes.rst:2244 +#: library/stdtypes.rst:2247 msgid "" "String objects have one unique built-in operation: the ``%`` operator " "(modulo). This is also known as the string *formatting* or *interpolation* " @@ -3527,7 +3532,7 @@ msgid "" "in the C language." msgstr "" -#: library/stdtypes.rst:2250 +#: library/stdtypes.rst:2253 msgid "" "If *format* requires a single argument, *values* may be a single non-tuple " "object. [5]_ Otherwise, *values* must be a tuple with exactly the number of " @@ -3535,36 +3540,36 @@ msgid "" "example, a dictionary)." msgstr "" -#: library/stdtypes.rst:3475 +#: library/stdtypes.rst:3481 msgid "" "A conversion specifier contains two or more characters and has the following " "components, which must occur in this order:" msgstr "" -#: library/stdtypes.rst:3478 +#: library/stdtypes.rst:3484 msgid "The ``'%'`` character, which marks the start of the specifier." msgstr "" -#: library/stdtypes.rst:3480 +#: library/stdtypes.rst:3486 msgid "" "Mapping key (optional), consisting of a parenthesised sequence of characters " "(for example, ``(somename)``)." msgstr "" -#: library/stdtypes.rst:3483 +#: library/stdtypes.rst:3489 msgid "" "Conversion flags (optional), which affect the result of some conversion " "types." msgstr "" -#: library/stdtypes.rst:3486 +#: library/stdtypes.rst:3492 msgid "" "Minimum field width (optional). If specified as an ``'*'`` (asterisk), the " "actual width is read from the next element of the tuple in *values*, and the " "object to convert comes after the minimum field width and optional precision." msgstr "" -#: library/stdtypes.rst:3490 +#: library/stdtypes.rst:3496 msgid "" "Precision (optional), given as a ``'.'`` (dot) followed by the precision. " "If specified as ``'*'`` (an asterisk), the actual precision is read from the " @@ -3572,15 +3577,15 @@ msgid "" "the precision." msgstr "" -#: library/stdtypes.rst:3495 +#: library/stdtypes.rst:3501 msgid "Length modifier (optional)." msgstr "" -#: library/stdtypes.rst:3497 +#: library/stdtypes.rst:3503 msgid "Conversion type." msgstr "" -#: library/stdtypes.rst:2284 +#: library/stdtypes.rst:2287 msgid "" "When the right argument is a dictionary (or other mapping type), then the " "formats in the string *must* include a parenthesised mapping key into that " @@ -3588,277 +3593,277 @@ msgid "" "selects the value to be formatted from the mapping. For example:" msgstr "" -#: library/stdtypes.rst:3508 +#: library/stdtypes.rst:3514 msgid "" "In this case no ``*`` specifiers may occur in a format (since they require a " "sequential parameter list)." msgstr "" -#: library/stdtypes.rst:3511 +#: library/stdtypes.rst:3517 msgid "The conversion flag characters are:" msgstr "" -#: library/stdtypes.rst:3520 +#: library/stdtypes.rst:3526 msgid "Flag" msgstr "" -#: library/stdtypes.rst:3522 +#: library/stdtypes.rst:3528 msgid "``'#'``" msgstr "" -#: library/stdtypes.rst:3522 +#: library/stdtypes.rst:3528 msgid "" "The value conversion will use the \"alternate form\" (where defined below)." msgstr "" -#: library/stdtypes.rst:3525 +#: library/stdtypes.rst:3531 msgid "``'0'``" msgstr "" -#: library/stdtypes.rst:3525 +#: library/stdtypes.rst:3531 msgid "The conversion will be zero padded for numeric values." msgstr "" -#: library/stdtypes.rst:3527 +#: library/stdtypes.rst:3533 msgid "``'-'``" msgstr "" -#: library/stdtypes.rst:3527 +#: library/stdtypes.rst:3533 msgid "" "The converted value is left adjusted (overrides the ``'0'`` conversion if " "both are given)." msgstr "" -#: library/stdtypes.rst:3530 +#: library/stdtypes.rst:3536 msgid "``' '``" msgstr "" -#: library/stdtypes.rst:3530 +#: library/stdtypes.rst:3536 msgid "" "(a space) A blank should be left before a positive number (or empty string) " "produced by a signed conversion." msgstr "" -#: library/stdtypes.rst:3533 +#: library/stdtypes.rst:3539 msgid "``'+'``" msgstr "" -#: library/stdtypes.rst:3533 +#: library/stdtypes.rst:3539 msgid "" "A sign character (``'+'`` or ``'-'``) will precede the conversion (overrides " "a \"space\" flag)." msgstr "" -#: library/stdtypes.rst:3537 +#: library/stdtypes.rst:3543 msgid "" "A length modifier (``h``, ``l``, or ``L``) may be present, but is ignored as " "it is not necessary for Python -- so e.g. ``%ld`` is identical to ``%d``." msgstr "" -#: library/stdtypes.rst:3540 +#: library/stdtypes.rst:3546 msgid "The conversion types are:" msgstr "" -#: library/stdtypes.rst:3543 +#: library/stdtypes.rst:3549 msgid "Conversion" msgstr "" -#: library/stdtypes.rst:3545 +#: library/stdtypes.rst:3551 msgid "``'d'``" msgstr "" -#: library/stdtypes.rst:2332 library/stdtypes.rst:3547 +#: library/stdtypes.rst:2335 library/stdtypes.rst:3553 msgid "Signed integer decimal." msgstr "" -#: library/stdtypes.rst:3547 +#: library/stdtypes.rst:3553 msgid "``'i'``" msgstr "" -#: library/stdtypes.rst:3549 +#: library/stdtypes.rst:3555 msgid "``'o'``" msgstr "" -#: library/stdtypes.rst:3549 +#: library/stdtypes.rst:3555 msgid "Signed octal value." msgstr "" -#: library/stdtypes.rst:3551 +#: library/stdtypes.rst:3557 msgid "``'u'``" msgstr "" -#: library/stdtypes.rst:3551 +#: library/stdtypes.rst:3557 msgid "Obsolete type -- it is identical to ``'d'``." msgstr "" -#: library/stdtypes.rst:3553 +#: library/stdtypes.rst:3559 msgid "``'x'``" msgstr "" -#: library/stdtypes.rst:3553 +#: library/stdtypes.rst:3559 msgid "Signed hexadecimal (lowercase)." msgstr "" -#: library/stdtypes.rst:3555 +#: library/stdtypes.rst:3561 msgid "``'X'``" msgstr "" -#: library/stdtypes.rst:3555 +#: library/stdtypes.rst:3561 msgid "Signed hexadecimal (uppercase)." msgstr "" -#: library/stdtypes.rst:3557 +#: library/stdtypes.rst:3563 msgid "``'e'``" msgstr "" -#: library/stdtypes.rst:3557 +#: library/stdtypes.rst:3563 msgid "Floating point exponential format (lowercase)." msgstr "" -#: library/stdtypes.rst:3559 +#: library/stdtypes.rst:3565 msgid "``'E'``" msgstr "" -#: library/stdtypes.rst:3559 +#: library/stdtypes.rst:3565 msgid "Floating point exponential format (uppercase)." msgstr "" -#: library/stdtypes.rst:3561 +#: library/stdtypes.rst:3567 msgid "``'f'``" msgstr "" -#: library/stdtypes.rst:2348 library/stdtypes.rst:3563 +#: library/stdtypes.rst:2351 library/stdtypes.rst:3569 msgid "Floating point decimal format." msgstr "" -#: library/stdtypes.rst:3563 +#: library/stdtypes.rst:3569 msgid "``'F'``" msgstr "" -#: library/stdtypes.rst:3565 +#: library/stdtypes.rst:3571 msgid "``'g'``" msgstr "" -#: library/stdtypes.rst:3565 +#: library/stdtypes.rst:3571 msgid "" "Floating point format. Uses lowercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." msgstr "" -#: library/stdtypes.rst:3569 +#: library/stdtypes.rst:3575 msgid "``'G'``" msgstr "" -#: library/stdtypes.rst:3569 +#: library/stdtypes.rst:3575 msgid "" "Floating point format. Uses uppercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." msgstr "" -#: library/stdtypes.rst:3573 +#: library/stdtypes.rst:3579 msgid "``'c'``" msgstr "" -#: library/stdtypes.rst:2358 +#: library/stdtypes.rst:2361 msgid "Single character (accepts integer or single character string)." msgstr "" -#: library/stdtypes.rst:3586 +#: library/stdtypes.rst:3592 msgid "``'r'``" msgstr "" -#: library/stdtypes.rst:2361 +#: library/stdtypes.rst:2364 msgid "String (converts any Python object using :func:`repr`)." msgstr "" -#: library/stdtypes.rst:3580 +#: library/stdtypes.rst:3586 msgid "``'s'``" msgstr "" -#: library/stdtypes.rst:2364 +#: library/stdtypes.rst:2367 msgid "String (converts any Python object using :func:`str`)." msgstr "" -#: library/stdtypes.rst:3583 +#: library/stdtypes.rst:3589 msgid "``'a'``" msgstr "" -#: library/stdtypes.rst:2367 +#: library/stdtypes.rst:2370 msgid "String (converts any Python object using :func:`ascii`)." msgstr "" -#: library/stdtypes.rst:3589 +#: library/stdtypes.rst:3595 msgid "``'%'``" msgstr "" -#: library/stdtypes.rst:3589 +#: library/stdtypes.rst:3595 msgid "No argument is converted, results in a ``'%'`` character in the result." msgstr "" -#: library/stdtypes.rst:3596 +#: library/stdtypes.rst:3602 msgid "" "The alternate form causes a leading octal specifier (``'0o'``) to be " "inserted before the first digit." msgstr "" -#: library/stdtypes.rst:3600 +#: library/stdtypes.rst:3606 msgid "" "The alternate form causes a leading ``'0x'`` or ``'0X'`` (depending on " "whether the ``'x'`` or ``'X'`` format was used) to be inserted before the " "first digit." msgstr "" -#: library/stdtypes.rst:3604 +#: library/stdtypes.rst:3610 msgid "" "The alternate form causes the result to always contain a decimal point, even " "if no digits follow it." msgstr "" -#: library/stdtypes.rst:3607 +#: library/stdtypes.rst:3613 msgid "" "The precision determines the number of digits after the decimal point and " "defaults to 6." msgstr "" -#: library/stdtypes.rst:3611 +#: library/stdtypes.rst:3617 msgid "" "The alternate form causes the result to always contain a decimal point, and " "trailing zeroes are not removed as they would otherwise be." msgstr "" -#: library/stdtypes.rst:3614 +#: library/stdtypes.rst:3620 msgid "" "The precision determines the number of significant digits before and after " "the decimal point and defaults to 6." msgstr "" -#: library/stdtypes.rst:3618 +#: library/stdtypes.rst:3624 msgid "If precision is ``N``, the output is truncated to ``N`` characters." msgstr "" -#: library/stdtypes.rst:3627 +#: library/stdtypes.rst:3633 msgid "See :pep:`237`." msgstr "" -#: library/stdtypes.rst:2404 +#: library/stdtypes.rst:2407 msgid "" "Since Python strings have an explicit length, ``%s`` conversions do not " "assume that ``'\\0'`` is the end of the string." msgstr "" -#: library/stdtypes.rst:2409 +#: library/stdtypes.rst:2412 msgid "" "``%f`` conversions for numbers whose absolute value is over 1e50 are no " "longer replaced by ``%g`` conversions." msgstr "" -#: library/stdtypes.rst:2420 +#: library/stdtypes.rst:2423 msgid "" "Binary Sequence Types --- :class:`bytes`, :class:`bytearray`, :class:" "`memoryview`" msgstr "" -#: library/stdtypes.rst:2428 +#: library/stdtypes.rst:2431 msgid "" "The core built-in types for manipulating binary data are :class:`bytes` and :" "class:`bytearray`. They are supported by :class:`memoryview` which uses the :" @@ -3866,17 +3871,17 @@ msgid "" "objects without needing to make a copy." msgstr "" -#: library/stdtypes.rst:2433 +#: library/stdtypes.rst:2436 msgid "" "The :mod:`array` module supports efficient storage of basic data types like " "32-bit integers and IEEE754 double-precision floating values." msgstr "" -#: library/stdtypes.rst:2439 +#: library/stdtypes.rst:2442 msgid "Bytes Objects" msgstr "" -#: library/stdtypes.rst:2443 +#: library/stdtypes.rst:2446 msgid "" "Bytes objects are immutable sequences of single bytes. Since many major " "binary protocols are based on the ASCII text encoding, bytes objects offer " @@ -3884,41 +3889,41 @@ msgid "" "and are closely related to string objects in a variety of other ways." msgstr "" -#: library/stdtypes.rst:2450 +#: library/stdtypes.rst:2453 msgid "" "Firstly, the syntax for bytes literals is largely the same as that for " "string literals, except that a ``b`` prefix is added:" msgstr "" -#: library/stdtypes.rst:2453 +#: library/stdtypes.rst:2456 msgid "Single quotes: ``b'still allows embedded \"double\" quotes'``" msgstr "" -#: library/stdtypes.rst:2454 +#: library/stdtypes.rst:2457 #, fuzzy msgid "Double quotes: ``b\"still allows embedded 'single' quotes\"``" msgstr "Çift tırnak: ``\"katıştırılmış 'tek' tırnaklara izin verir\"``." -#: library/stdtypes.rst:2455 +#: library/stdtypes.rst:2458 msgid "" "Triple quoted: ``b'''3 single quotes'''``, ``b\"\"\"3 double quotes\"\"\"``" msgstr "" -#: library/stdtypes.rst:2457 +#: library/stdtypes.rst:2460 msgid "" "Only ASCII characters are permitted in bytes literals (regardless of the " "declared source code encoding). Any binary values over 127 must be entered " "into bytes literals using the appropriate escape sequence." msgstr "" -#: library/stdtypes.rst:2461 +#: library/stdtypes.rst:2464 msgid "" "As with string literals, bytes literals may also use a ``r`` prefix to " "disable processing of escape sequences. See :ref:`strings` for more about " "the various forms of bytes literal, including supported escape sequences." msgstr "" -#: library/stdtypes.rst:2465 +#: library/stdtypes.rst:2468 msgid "" "While bytes literals and representations are based on ASCII text, bytes " "objects actually behave like immutable sequences of integers, with each " @@ -3931,29 +3936,29 @@ msgid "" "compatible will usually lead to data corruption)." msgstr "" -#: library/stdtypes.rst:2475 +#: library/stdtypes.rst:2478 msgid "" "In addition to the literal forms, bytes objects can be created in a number " "of other ways:" msgstr "" -#: library/stdtypes.rst:2478 +#: library/stdtypes.rst:2481 msgid "A zero-filled bytes object of a specified length: ``bytes(10)``" msgstr "" -#: library/stdtypes.rst:2479 +#: library/stdtypes.rst:2482 msgid "From an iterable of integers: ``bytes(range(20))``" msgstr "" -#: library/stdtypes.rst:2480 +#: library/stdtypes.rst:2483 msgid "Copying existing binary data via the buffer protocol: ``bytes(obj)``" msgstr "" -#: library/stdtypes.rst:2482 +#: library/stdtypes.rst:2485 msgid "Also see the :ref:`bytes ` built-in." msgstr "" -#: library/stdtypes.rst:2484 +#: library/stdtypes.rst:2487 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -3961,32 +3966,32 @@ msgid "" "that format:" msgstr "" -#: library/stdtypes.rst:2490 +#: library/stdtypes.rst:2493 msgid "" "This :class:`bytes` class method returns a bytes object, decoding the given " "string object. The string must contain two hexadecimal digits per byte, " "with ASCII whitespace being ignored." msgstr "" -#: library/stdtypes.rst:2497 +#: library/stdtypes.rst:2500 msgid "" ":meth:`bytes.fromhex` now skips all ASCII whitespace in the string, not just " "spaces." msgstr "" -#: library/stdtypes.rst:2501 +#: library/stdtypes.rst:2504 msgid "" "A reverse conversion function exists to transform a bytes object into its " "hexadecimal representation." msgstr "" -#: library/stdtypes.rst:2591 +#: library/stdtypes.rst:2594 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the instance." msgstr "" -#: library/stdtypes.rst:2512 +#: library/stdtypes.rst:2515 msgid "" "If you want to make the hex string easier to read, you can specify a single " "character separator *sep* parameter to include in the output. By default, " @@ -3995,13 +4000,13 @@ msgid "" "the separator position from the right, negative values from the left." msgstr "" -#: library/stdtypes.rst:2529 +#: library/stdtypes.rst:2532 msgid "" ":meth:`bytes.hex` now supports optional *sep* and *bytes_per_sep* parameters " "to insert separators between bytes in the hex output." msgstr "" -#: library/stdtypes.rst:2533 +#: library/stdtypes.rst:2536 msgid "" "Since bytes objects are sequences of integers (akin to a tuple), for a bytes " "object *b*, ``b[0]`` will be an integer, while ``b[0:1]`` will be a bytes " @@ -4009,58 +4014,58 @@ msgid "" "and slicing will produce a string of length 1)" msgstr "" -#: library/stdtypes.rst:2538 +#: library/stdtypes.rst:2541 msgid "" "The representation of bytes objects uses the literal format (``b'...'``) " "since it is often more useful than e.g. ``bytes([46, 46, 46])``. You can " "always convert a bytes object into a list of integers using ``list(b)``." msgstr "" -#: library/stdtypes.rst:2546 +#: library/stdtypes.rst:2549 msgid "Bytearray Objects" msgstr "" -#: library/stdtypes.rst:2550 +#: library/stdtypes.rst:2553 msgid "" ":class:`bytearray` objects are a mutable counterpart to :class:`bytes` " "objects." msgstr "" -#: library/stdtypes.rst:2555 +#: library/stdtypes.rst:2558 msgid "" "There is no dedicated literal syntax for bytearray objects, instead they are " "always created by calling the constructor:" msgstr "" -#: library/stdtypes.rst:2558 +#: library/stdtypes.rst:2561 msgid "Creating an empty instance: ``bytearray()``" msgstr "" -#: library/stdtypes.rst:2559 +#: library/stdtypes.rst:2562 msgid "Creating a zero-filled instance with a given length: ``bytearray(10)``" msgstr "" -#: library/stdtypes.rst:2560 +#: library/stdtypes.rst:2563 msgid "From an iterable of integers: ``bytearray(range(20))``" msgstr "" -#: library/stdtypes.rst:2561 +#: library/stdtypes.rst:2564 msgid "" "Copying existing binary data via the buffer protocol: ``bytearray(b'Hi!')``" msgstr "" -#: library/stdtypes.rst:2563 +#: library/stdtypes.rst:2566 msgid "" "As bytearray objects are mutable, they support the :ref:`mutable ` sequence operations in addition to the common bytes and bytearray " "operations described in :ref:`bytes-methods`." msgstr "" -#: library/stdtypes.rst:2567 +#: library/stdtypes.rst:2570 msgid "Also see the :ref:`bytearray ` built-in." msgstr "" -#: library/stdtypes.rst:2569 +#: library/stdtypes.rst:2572 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -4068,33 +4073,33 @@ msgid "" "in that format:" msgstr "" -#: library/stdtypes.rst:2575 +#: library/stdtypes.rst:2578 msgid "" "This :class:`bytearray` class method returns bytearray object, decoding the " "given string object. The string must contain two hexadecimal digits per " "byte, with ASCII whitespace being ignored." msgstr "" -#: library/stdtypes.rst:2582 +#: library/stdtypes.rst:2585 msgid "" ":meth:`bytearray.fromhex` now skips all ASCII whitespace in the string, not " "just spaces." msgstr "" -#: library/stdtypes.rst:2586 +#: library/stdtypes.rst:2589 msgid "" "A reverse conversion function exists to transform a bytearray object into " "its hexadecimal representation." msgstr "" -#: library/stdtypes.rst:2599 +#: library/stdtypes.rst:2602 msgid "" "Similar to :meth:`bytes.hex`, :meth:`bytearray.hex` now supports optional " "*sep* and *bytes_per_sep* parameters to insert separators between bytes in " "the hex output." msgstr "" -#: library/stdtypes.rst:2604 +#: library/stdtypes.rst:2607 msgid "" "Since bytearray objects are sequences of integers (akin to a list), for a " "bytearray object *b*, ``b[0]`` will be an integer, while ``b[0:1]`` will be " @@ -4102,7 +4107,7 @@ msgid "" "both indexing and slicing will produce a string of length 1)" msgstr "" -#: library/stdtypes.rst:2609 +#: library/stdtypes.rst:2612 msgid "" "The representation of bytearray objects uses the bytes literal format " "(``bytearray(b'...')``) since it is often more useful than e.g. " @@ -4110,11 +4115,11 @@ msgid "" "a list of integers using ``list(b)``." msgstr "" -#: library/stdtypes.rst:2618 +#: library/stdtypes.rst:2621 msgid "Bytes and Bytearray Operations" msgstr "" -#: library/stdtypes.rst:2623 +#: library/stdtypes.rst:2626 msgid "" "Both bytes and bytearray objects support the :ref:`common ` " "sequence operations. They interoperate not just with operands of the same " @@ -4123,123 +4128,120 @@ msgid "" "return type of the result may depend on the order of operands." msgstr "" -#: library/stdtypes.rst:2631 +#: library/stdtypes.rst:2634 msgid "" "The methods on bytes and bytearray objects don't accept strings as their " "arguments, just as the methods on strings don't accept bytes as their " "arguments. For example, you have to write::" msgstr "" -#: library/stdtypes.rst:2638 +#: library/stdtypes.rst:2641 msgid "and::" msgstr "" -#: library/stdtypes.rst:2643 +#: library/stdtypes.rst:2646 msgid "" "Some bytes and bytearray operations assume the use of ASCII compatible " "binary formats, and hence should be avoided when working with arbitrary " "binary data. These restrictions are covered below." msgstr "" -#: library/stdtypes.rst:2648 +#: library/stdtypes.rst:2651 msgid "" "Using these ASCII based operations to manipulate binary data that is not " "stored in an ASCII based format may lead to data corruption." msgstr "" -#: library/stdtypes.rst:2651 +#: library/stdtypes.rst:2654 msgid "" "The following methods on bytes and bytearray objects can be used with " "arbitrary binary data." msgstr "" -#: library/stdtypes.rst:2657 +#: library/stdtypes.rst:2660 msgid "" "Return the number of non-overlapping occurrences of subsequence *sub* in the " "range [*start*, *end*]. Optional arguments *start* and *end* are " "interpreted as in slice notation." msgstr "" -#: library/stdtypes.rst:2763 library/stdtypes.rst:2851 -#: library/stdtypes.rst:2864 +#: library/stdtypes.rst:2769 library/stdtypes.rst:2857 +#: library/stdtypes.rst:2870 msgid "" "The subsequence to search for may be any :term:`bytes-like object` or an " "integer in the range 0 to 255." msgstr "" -#: library/stdtypes.rst:2664 +#: library/stdtypes.rst:2667 msgid "" "If *sub* is empty, returns the number of empty slices between characters " "which is the length of the bytes object plus one." msgstr "" -#: library/stdtypes.rst:2775 library/stdtypes.rst:2854 -#: library/stdtypes.rst:2867 +#: library/stdtypes.rst:2781 library/stdtypes.rst:2860 +#: library/stdtypes.rst:2873 msgid "Also accept an integer in the range 0 to 255 as the subsequence." msgstr "" -#: library/stdtypes.rst:2674 +#: library/stdtypes.rst:2677 msgid "" "If the binary data starts with the *prefix* string, return " "``bytes[len(prefix):]``. Otherwise, return a copy of the original binary " "data::" msgstr "" -#: library/stdtypes.rst:2683 +#: library/stdtypes.rst:2686 msgid "The *prefix* may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2709 library/stdtypes.rst:2932 -#: library/stdtypes.rst:2977 library/stdtypes.rst:3033 -#: library/stdtypes.rst:3121 library/stdtypes.rst:3288 -#: library/stdtypes.rst:3386 library/stdtypes.rst:3429 -#: library/stdtypes.rst:3631 +#: library/stdtypes.rst:2712 library/stdtypes.rst:2938 +#: library/stdtypes.rst:2983 library/stdtypes.rst:3039 +#: library/stdtypes.rst:3127 library/stdtypes.rst:3294 +#: library/stdtypes.rst:3392 library/stdtypes.rst:3435 +#: library/stdtypes.rst:3637 msgid "" "The bytearray version of this method does *not* operate in place - it always " "produces a new object, even if no changes were made." msgstr "" -#: library/stdtypes.rst:2696 +#: library/stdtypes.rst:2699 msgid "" "If the binary data ends with the *suffix* string and that *suffix* is not " "empty, return ``bytes[:-len(suffix)]``. Otherwise, return a copy of the " "original binary data::" msgstr "" -#: library/stdtypes.rst:2705 +#: library/stdtypes.rst:2708 msgid "The *suffix* may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2718 -msgid "" -"Return a string decoded from the given bytes. Default encoding is " -"``'utf-8'``. *errors* may be given to set a different error handling " -"scheme. The default for *errors* is ``'strict'``, meaning that encoding " -"errors raise a :exc:`UnicodeError`. Other possible values are ``'ignore'``, " -"``'replace'`` and any other name registered via :func:`codecs." -"register_error`, see section :ref:`error-handlers`. For a list of possible " -"encodings, see section :ref:`standard-encodings`." +#: library/stdtypes.rst:2721 +msgid "Return the bytes decoded to a :class:`str`." msgstr "" #: library/stdtypes.rst:2726 msgid "" -"By default, the *errors* argument is not checked for best performances, but " -"only used at the first decoding error. Enable the :ref:`Python Development " -"Mode `, or use a :ref:`debug build ` to check *errors*." +"*errors* controls how decoding errors are handled. If ``'strict'`` (the " +"default), a :exc:`UnicodeError` exception is raised. Other possible values " +"are ``'ignore'``, ``'replace'``, and any other name registered via :func:" +"`codecs.register_error`. See :ref:`error-handlers` for details." msgstr "" #: library/stdtypes.rst:2732 msgid "" -"Passing the *encoding* argument to :class:`str` allows decoding any :term:" -"`bytes-like object` directly, without needing to make a temporary bytes or " -"bytearray object." +"For performance reasons, the value of *errors* is not checked for validity " +"unless a decoding error actually occurs, :ref:`devmode` is enabled or a :ref:" +"`debug build ` is used." msgstr "" -#: library/stdtypes.rst:2736 -msgid "Added support for keyword arguments." +#: library/stdtypes.rst:2738 +msgid "" +"Passing the *encoding* argument to :class:`str` allows decoding any :term:" +"`bytes-like object` directly, without needing to make a temporary :class:`!" +"bytes` or :class:`!bytearray` object." msgstr "" -#: library/stdtypes.rst:2747 +#: library/stdtypes.rst:2753 msgid "" "Return ``True`` if the binary data ends with the specified *suffix*, " "otherwise return ``False``. *suffix* can also be a tuple of suffixes to " @@ -4247,11 +4249,11 @@ msgid "" "optional *end*, stop comparing at that position." msgstr "" -#: library/stdtypes.rst:2752 +#: library/stdtypes.rst:2758 msgid "The suffix(es) to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2758 +#: library/stdtypes.rst:2764 msgid "" "Return the lowest index in the data where the subsequence *sub* is found, " "such that *sub* is contained in the slice ``s[start:end]``. Optional " @@ -4259,20 +4261,20 @@ msgid "" "``-1`` if *sub* is not found." msgstr "" -#: library/stdtypes.rst:2768 +#: library/stdtypes.rst:2774 msgid "" "The :meth:`~bytes.find` method should be used only if you need to know the " "position of *sub*. To check if *sub* is a substring or not, use the :" "keyword:`in` operator::" msgstr "" -#: library/stdtypes.rst:2782 +#: library/stdtypes.rst:2788 msgid "" "Like :meth:`~bytes.find`, but raise :exc:`ValueError` when the subsequence " "is not found." msgstr "" -#: library/stdtypes.rst:2795 +#: library/stdtypes.rst:2801 msgid "" "Return a bytes or bytearray object which is the concatenation of the binary " "data sequences in *iterable*. A :exc:`TypeError` will be raised if there " @@ -4282,7 +4284,7 @@ msgid "" "method." msgstr "" -#: library/stdtypes.rst:2806 +#: library/stdtypes.rst:2812 msgid "" "This static method returns a translation table usable for :meth:`bytes." "translate` that will map each character in *from* into the character at the " @@ -4290,7 +4292,7 @@ msgid "" "objects ` and have the same length." msgstr "" -#: library/stdtypes.rst:2817 +#: library/stdtypes.rst:2823 msgid "" "Split the sequence at the first occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself or its " @@ -4299,24 +4301,24 @@ msgid "" "by two empty bytes or bytearray objects." msgstr "" -#: library/stdtypes.rst:2881 +#: library/stdtypes.rst:2887 msgid "The separator to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2830 +#: library/stdtypes.rst:2836 msgid "" "Return a copy of the sequence with all occurrences of subsequence *old* " "replaced by *new*. If the optional argument *count* is given, only the " "first *count* occurrences are replaced." msgstr "" -#: library/stdtypes.rst:2834 +#: library/stdtypes.rst:2840 msgid "" "The subsequence to search for and its replacement may be any :term:`bytes-" "like object`." msgstr "" -#: library/stdtypes.rst:2846 +#: library/stdtypes.rst:2852 msgid "" "Return the highest index in the sequence where the subsequence *sub* is " "found, such that *sub* is contained within ``s[start:end]``. Optional " @@ -4324,13 +4326,13 @@ msgid "" "``-1`` on failure." msgstr "" -#: library/stdtypes.rst:2861 +#: library/stdtypes.rst:2867 msgid "" "Like :meth:`~bytes.rfind` but raises :exc:`ValueError` when the subsequence " "*sub* is not found." msgstr "" -#: library/stdtypes.rst:2874 +#: library/stdtypes.rst:2880 msgid "" "Split the sequence at the last occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself or its " @@ -4339,7 +4341,7 @@ msgid "" "followed by a copy of the original sequence." msgstr "" -#: library/stdtypes.rst:2887 +#: library/stdtypes.rst:2893 msgid "" "Return ``True`` if the binary data starts with the specified *prefix*, " "otherwise return ``False``. *prefix* can also be a tuple of prefixes to " @@ -4347,11 +4349,11 @@ msgid "" "optional *end*, stop comparing at that position." msgstr "" -#: library/stdtypes.rst:2892 +#: library/stdtypes.rst:2898 msgid "The prefix(es) to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2898 +#: library/stdtypes.rst:2904 msgid "" "Return a copy of the bytes or bytearray object where all bytes occurring in " "the optional argument *delete* are removed, and the remaining bytes have " @@ -4359,22 +4361,22 @@ msgid "" "object of length 256." msgstr "" -#: library/stdtypes.rst:2903 +#: library/stdtypes.rst:2909 msgid "" "You can use the :func:`bytes.maketrans` method to create a translation table." msgstr "" -#: library/stdtypes.rst:2906 +#: library/stdtypes.rst:2912 msgid "" "Set the *table* argument to ``None`` for translations that only delete " "characters::" msgstr "" -#: library/stdtypes.rst:2912 +#: library/stdtypes.rst:2918 msgid "*delete* is now supported as a keyword argument." msgstr "" -#: library/stdtypes.rst:2916 +#: library/stdtypes.rst:2922 msgid "" "The following methods on bytes and bytearray objects have default behaviours " "that assume the use of ASCII compatible binary formats, but can still be " @@ -4383,7 +4385,7 @@ msgid "" "instead produce new objects." msgstr "" -#: library/stdtypes.rst:2925 +#: library/stdtypes.rst:2931 msgid "" "Return a copy of the object centered in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4391,7 +4393,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:2939 +#: library/stdtypes.rst:2945 msgid "" "Return a copy of the object left justified in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4399,7 +4401,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:2953 +#: library/stdtypes.rst:2959 msgid "" "Return a copy of the sequence with specified leading bytes removed. The " "*chars* argument is a binary sequence specifying the set of byte values to " @@ -4409,14 +4411,14 @@ msgid "" "all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:2965 +#: library/stdtypes.rst:2971 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`. See :meth:`~bytes.removeprefix` for a method that will remove a " "single prefix string rather than all of a set of characters. For example::" msgstr "" -#: library/stdtypes.rst:2984 +#: library/stdtypes.rst:2990 msgid "" "Return a copy of the object right justified in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4424,7 +4426,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:2998 +#: library/stdtypes.rst:3004 msgid "" "Split the binary sequence into subsequences of the same type, using *sep* as " "the delimiter string. If *maxsplit* is given, at most *maxsplit* splits are " @@ -4434,7 +4436,7 @@ msgid "" "described in detail below." msgstr "" -#: library/stdtypes.rst:3009 +#: library/stdtypes.rst:3015 msgid "" "Return a copy of the sequence with specified trailing bytes removed. The " "*chars* argument is a binary sequence specifying the set of byte values to " @@ -4444,14 +4446,14 @@ msgid "" "all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3021 +#: library/stdtypes.rst:3027 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`. See :meth:`~bytes.removesuffix` for a method that will remove a " "single suffix string rather than all of a set of characters. For example::" msgstr "" -#: library/stdtypes.rst:3040 +#: library/stdtypes.rst:3046 msgid "" "Split the binary sequence into subsequences of the same type, using *sep* as " "the delimiter string. If *maxsplit* is given and non-negative, at most " @@ -4460,7 +4462,7 @@ msgid "" "limit on the number of splits (all possible splits are made)." msgstr "" -#: library/stdtypes.rst:3046 +#: library/stdtypes.rst:3052 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty subsequences (for example, ``b'1,,2'.split(b',')`` " @@ -4471,7 +4473,7 @@ msgid "" "object being split. The *sep* argument may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:3064 +#: library/stdtypes.rst:3070 msgid "" "If *sep* is not specified or is ``None``, a different splitting algorithm is " "applied: runs of consecutive ASCII whitespace are regarded as a single " @@ -4481,7 +4483,7 @@ msgid "" "without a specified separator returns ``[]``." msgstr "" -#: library/stdtypes.rst:3085 +#: library/stdtypes.rst:3091 msgid "" "Return a copy of the sequence with specified leading and trailing bytes " "removed. The *chars* argument is a binary sequence specifying the set of " @@ -4491,13 +4493,13 @@ msgid "" "a prefix or suffix; rather, all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3098 +#: library/stdtypes.rst:3104 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`." msgstr "" -#: library/stdtypes.rst:3107 +#: library/stdtypes.rst:3113 msgid "" "The following methods on bytes and bytearray objects assume the use of ASCII " "compatible binary formats and should not be applied to arbitrary binary " @@ -4505,14 +4507,14 @@ msgid "" "operate in place, and instead produce new objects." msgstr "" -#: library/stdtypes.rst:3115 +#: library/stdtypes.rst:3121 msgid "" "Return a copy of the sequence with each byte interpreted as an ASCII " "character, and the first byte capitalized and the rest lowercased. Non-ASCII " "byte values are passed through unchanged." msgstr "" -#: library/stdtypes.rst:3128 +#: library/stdtypes.rst:3134 msgid "" "Return a copy of the sequence where all ASCII tab characters are replaced by " "one or more ASCII spaces, depending on the current column and the given tab " @@ -4528,7 +4530,7 @@ msgid "" "by one regardless of how the byte value is represented when printed::" msgstr "" -#: library/stdtypes.rst:3156 +#: library/stdtypes.rst:3162 msgid "" "Return ``True`` if all bytes in the sequence are alphabetical ASCII " "characters or ASCII decimal digits and the sequence is not empty, ``False`` " @@ -4537,7 +4539,7 @@ msgid "" "digits are those byte values in the sequence ``b'0123456789'``." msgstr "" -#: library/stdtypes.rst:3173 +#: library/stdtypes.rst:3179 msgid "" "Return ``True`` if all bytes in the sequence are alphabetic ASCII characters " "and the sequence is not empty, ``False`` otherwise. Alphabetic ASCII " @@ -4545,34 +4547,34 @@ msgid "" "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'``." msgstr "" -#: library/stdtypes.rst:3189 +#: library/stdtypes.rst:3195 msgid "" "Return ``True`` if the sequence is empty or all bytes in the sequence are " "ASCII, ``False`` otherwise. ASCII bytes are in the range 0-0x7F." msgstr "" -#: library/stdtypes.rst:3199 +#: library/stdtypes.rst:3205 msgid "" "Return ``True`` if all bytes in the sequence are ASCII decimal digits and " "the sequence is not empty, ``False`` otherwise. ASCII decimal digits are " "those byte values in the sequence ``b'0123456789'``." msgstr "" -#: library/stdtypes.rst:3214 +#: library/stdtypes.rst:3220 msgid "" "Return ``True`` if there is at least one lowercase ASCII character in the " "sequence and no uppercase ASCII characters, ``False`` otherwise." msgstr "" -#: library/stdtypes.rst:3266 library/stdtypes.rst:3332 -#: library/stdtypes.rst:3401 +#: library/stdtypes.rst:3272 library/stdtypes.rst:3338 +#: library/stdtypes.rst:3407 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " "values in the sequence ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``." msgstr "" -#: library/stdtypes.rst:3232 +#: library/stdtypes.rst:3238 msgid "" "Return ``True`` if all bytes in the sequence are ASCII whitespace and the " "sequence is not empty, ``False`` otherwise. ASCII whitespace characters are " @@ -4580,27 +4582,27 @@ msgid "" "newline, carriage return, vertical tab, form feed)." msgstr "" -#: library/stdtypes.rst:3241 +#: library/stdtypes.rst:3247 msgid "" "Return ``True`` if the sequence is ASCII titlecase and the sequence is not " "empty, ``False`` otherwise. See :meth:`bytes.title` for more details on the " "definition of \"titlecase\"." msgstr "" -#: library/stdtypes.rst:3256 +#: library/stdtypes.rst:3262 msgid "" "Return ``True`` if there is at least one uppercase alphabetic ASCII " "character in the sequence and no lowercase ASCII characters, ``False`` " "otherwise." msgstr "" -#: library/stdtypes.rst:3274 +#: library/stdtypes.rst:3280 msgid "" "Return a copy of the sequence with all the uppercase ASCII characters " "converted to their corresponding lowercase counterpart." msgstr "" -#: library/stdtypes.rst:3299 +#: library/stdtypes.rst:3305 msgid "" "Return a list of the lines in the binary sequence, breaking at ASCII line " "boundaries. This method uses the :term:`universal newlines` approach to " @@ -4608,20 +4610,20 @@ msgid "" "*keepends* is given and true." msgstr "" -#: library/stdtypes.rst:3311 +#: library/stdtypes.rst:3317 msgid "" "Unlike :meth:`~bytes.split` when a delimiter string *sep* is given, this " "method returns an empty list for the empty string, and a terminal line break " "does not result in an extra line::" msgstr "" -#: library/stdtypes.rst:3324 +#: library/stdtypes.rst:3330 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart and vice-versa." msgstr "" -#: library/stdtypes.rst:3336 +#: library/stdtypes.rst:3342 msgid "" "Unlike :func:`str.swapcase()`, it is always the case that ``bin.swapcase()." "swapcase() == bin`` for the binary versions. Case conversions are " @@ -4629,14 +4631,14 @@ msgid "" "Unicode code points." msgstr "" -#: library/stdtypes.rst:3350 +#: library/stdtypes.rst:3356 msgid "" "Return a titlecased version of the binary sequence where words start with an " "uppercase ASCII character and the remaining characters are lowercase. " "Uncased byte values are left unmodified." msgstr "" -#: library/stdtypes.rst:3359 +#: library/stdtypes.rst:3365 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " @@ -4644,20 +4646,20 @@ msgid "" "values are uncased." msgstr "" -#: library/stdtypes.rst:3372 +#: library/stdtypes.rst:3378 msgid "" "A workaround for apostrophes can be constructed using regular expressions::" msgstr "" "Kesme işaretleri için geçici bir çözüm düzenli ifadeler kullanılarak " "oluşturulabilir::" -#: library/stdtypes.rst:3393 +#: library/stdtypes.rst:3399 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart." msgstr "" -#: library/stdtypes.rst:3414 +#: library/stdtypes.rst:3420 msgid "" "Return a copy of the sequence left filled with ASCII ``b'0'`` digits to make " "a sequence of length *width*. A leading sign prefix (``b'+'``/ ``b'-'``) is " @@ -4666,11 +4668,11 @@ msgid "" "*width* is less than or equal to ``len(seq)``." msgstr "" -#: library/stdtypes.rst:3436 +#: library/stdtypes.rst:3442 msgid "``printf``-style Bytes Formatting" msgstr "" -#: library/stdtypes.rst:3453 +#: library/stdtypes.rst:3459 msgid "" "The formatting operations described here exhibit a variety of quirks that " "lead to a number of common errors (such as failing to display tuples and " @@ -4678,7 +4680,7 @@ msgid "" "dictionary, wrap it in a tuple." msgstr "" -#: library/stdtypes.rst:3458 +#: library/stdtypes.rst:3464 msgid "" "Bytes objects (``bytes``/``bytearray``) have one unique built-in operation: " "the ``%`` operator (modulo). This is also known as the bytes *formatting* or " @@ -4688,7 +4690,7 @@ msgid "" "func:`sprintf` in the C language." msgstr "" -#: library/stdtypes.rst:3465 +#: library/stdtypes.rst:3471 msgid "" "If *format* requires a single argument, *values* may be a single non-tuple " "object. [5]_ Otherwise, *values* must be a tuple with exactly the number of " @@ -4696,7 +4698,7 @@ msgid "" "example, a dictionary)." msgstr "" -#: library/stdtypes.rst:3499 +#: library/stdtypes.rst:3505 msgid "" "When the right argument is a dictionary (or other mapping type), then the " "formats in the bytes object *must* include a parenthesised mapping key into " @@ -4704,73 +4706,73 @@ msgid "" "mapping key selects the value to be formatted from the mapping. For example:" msgstr "" -#: library/stdtypes.rst:3573 +#: library/stdtypes.rst:3579 msgid "Single byte (accepts integer or single byte objects)." msgstr "" -#: library/stdtypes.rst:3576 +#: library/stdtypes.rst:3582 msgid "``'b'``" msgstr "" -#: library/stdtypes.rst:3576 +#: library/stdtypes.rst:3582 msgid "" "Bytes (any object that follows the :ref:`buffer protocol ` or " "has :meth:`__bytes__`)." msgstr "" -#: library/stdtypes.rst:3580 +#: library/stdtypes.rst:3586 msgid "" "``'s'`` is an alias for ``'b'`` and should only be used for Python2/3 code " "bases." msgstr "" -#: library/stdtypes.rst:3583 +#: library/stdtypes.rst:3589 msgid "" "Bytes (converts any Python object using ``repr(obj).encode('ascii', " "'backslashreplace')``)." msgstr "" -#: library/stdtypes.rst:3586 +#: library/stdtypes.rst:3592 msgid "" "``'r'`` is an alias for ``'a'`` and should only be used for Python2/3 code " "bases." msgstr "" -#: library/stdtypes.rst:3586 +#: library/stdtypes.rst:3592 msgid "\\(7)" msgstr "" -#: library/stdtypes.rst:3621 +#: library/stdtypes.rst:3627 msgid "``b'%s'`` is deprecated, but will not be removed during the 3.x series." msgstr "" -#: library/stdtypes.rst:3624 +#: library/stdtypes.rst:3630 msgid "``b'%r'`` is deprecated, but will not be removed during the 3.x series." msgstr "" -#: library/stdtypes.rst:3636 +#: library/stdtypes.rst:3642 msgid ":pep:`461` - Adding % formatting to bytes and bytearray" msgstr "" -#: library/stdtypes.rst:3643 +#: library/stdtypes.rst:3649 msgid "Memory Views" msgstr "" -#: library/stdtypes.rst:3645 +#: library/stdtypes.rst:3651 msgid "" ":class:`memoryview` objects allow Python code to access the internal data of " "an object that supports the :ref:`buffer protocol ` without " "copying." msgstr "" -#: library/stdtypes.rst:3651 +#: library/stdtypes.rst:3657 msgid "" "Create a :class:`memoryview` that references *object*. *object* must " "support the buffer protocol. Built-in objects that support the buffer " "protocol include :class:`bytes` and :class:`bytearray`." msgstr "" -#: library/stdtypes.rst:3655 +#: library/stdtypes.rst:3661 msgid "" "A :class:`memoryview` has the notion of an *element*, which is the atomic " "memory unit handled by the originating *object*. For many simple types such " @@ -4778,7 +4780,7 @@ msgid "" "other types such as :class:`array.array` may have bigger elements." msgstr "" -#: library/stdtypes.rst:3660 +#: library/stdtypes.rst:3666 msgid "" "``len(view)`` is equal to the length of :class:`~memoryview.tolist`. If " "``view.ndim = 0``, the length is 1. If ``view.ndim = 1``, the length is " @@ -4788,13 +4790,13 @@ msgid "" "bytes in a single element." msgstr "" -#: library/stdtypes.rst:3667 +#: library/stdtypes.rst:3673 msgid "" "A :class:`memoryview` supports slicing and indexing to expose its data. One-" "dimensional slicing will result in a subview::" msgstr "" -#: library/stdtypes.rst:3680 +#: library/stdtypes.rst:3686 msgid "" "If :class:`~memoryview.format` is one of the native format specifiers from " "the :mod:`struct` module, indexing with an integer or a tuple of integers is " @@ -4805,82 +4807,82 @@ msgid "" "memoryviews can be indexed with the empty tuple." msgstr "" -#: library/stdtypes.rst:3689 +#: library/stdtypes.rst:3695 msgid "Here is an example with a non-byte format::" msgstr "" -#: library/stdtypes.rst:3701 +#: library/stdtypes.rst:3707 msgid "" "If the underlying object is writable, the memoryview supports one-" "dimensional slice assignment. Resizing is not allowed::" msgstr "" -#: library/stdtypes.rst:3722 +#: library/stdtypes.rst:3728 msgid "" "One-dimensional memoryviews of hashable (read-only) types with formats 'B', " "'b' or 'c' are also hashable. The hash is defined as ``hash(m) == hash(m." "tobytes())``::" msgstr "" -#: library/stdtypes.rst:3734 +#: library/stdtypes.rst:3740 msgid "" "One-dimensional memoryviews can now be sliced. One-dimensional memoryviews " "with formats 'B', 'b' or 'c' are now hashable." msgstr "" -#: library/stdtypes.rst:3738 +#: library/stdtypes.rst:3744 msgid "" "memoryview is now registered automatically with :class:`collections.abc." "Sequence`" msgstr "" -#: library/stdtypes.rst:3742 +#: library/stdtypes.rst:3748 msgid "memoryviews can now be indexed with tuple of integers." msgstr "" -#: library/stdtypes.rst:3745 +#: library/stdtypes.rst:3751 msgid ":class:`memoryview` has several methods:" msgstr "" -#: library/stdtypes.rst:3749 +#: library/stdtypes.rst:3755 msgid "" "A memoryview and a :pep:`3118` exporter are equal if their shapes are " "equivalent and if all corresponding values are equal when the operands' " "respective format codes are interpreted using :mod:`struct` syntax." msgstr "" -#: library/stdtypes.rst:3753 +#: library/stdtypes.rst:3759 msgid "" "For the subset of :mod:`struct` format strings currently supported by :meth:" "`tolist`, ``v`` and ``w`` are equal if ``v.tolist() == w.tolist()``::" msgstr "" -#: library/stdtypes.rst:3772 +#: library/stdtypes.rst:3778 msgid "" "If either format string is not supported by the :mod:`struct` module, then " "the objects will always compare as unequal (even if the format strings and " "buffer contents are identical)::" msgstr "" -#: library/stdtypes.rst:3788 +#: library/stdtypes.rst:3794 msgid "" "Note that, as with floating point numbers, ``v is w`` does *not* imply ``v " "== w`` for memoryview objects." msgstr "" -#: library/stdtypes.rst:3791 +#: library/stdtypes.rst:3797 msgid "" "Previous versions compared the raw memory disregarding the item format and " "the logical array structure." msgstr "" -#: library/stdtypes.rst:3797 +#: library/stdtypes.rst:3803 msgid "" "Return the data in the buffer as a bytestring. This is equivalent to " "calling the :class:`bytes` constructor on the memoryview. ::" msgstr "" -#: library/stdtypes.rst:3806 +#: library/stdtypes.rst:3812 msgid "" "For non-contiguous arrays the result is equal to the flattened list " "representation with all elements converted to bytes. :meth:`tobytes` " @@ -4888,7 +4890,7 @@ msgid "" "module syntax." msgstr "" -#: library/stdtypes.rst:3811 +#: library/stdtypes.rst:3817 msgid "" "*order* can be {'C', 'F', 'A'}. When *order* is 'C' or 'F', the data of the " "original array is converted to C or Fortran order. For contiguous views, 'A' " @@ -4897,36 +4899,36 @@ msgid "" "to C first. *order=None* is the same as *order='C'*." msgstr "" -#: library/stdtypes.rst:3820 +#: library/stdtypes.rst:3826 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the buffer. ::" msgstr "" -#: library/stdtypes.rst:3829 +#: library/stdtypes.rst:3835 msgid "" "Similar to :meth:`bytes.hex`, :meth:`memoryview.hex` now supports optional " "*sep* and *bytes_per_sep* parameters to insert separators between bytes in " "the hex output." msgstr "" -#: library/stdtypes.rst:3836 +#: library/stdtypes.rst:3842 msgid "Return the data in the buffer as a list of elements. ::" msgstr "" -#: library/stdtypes.rst:3846 +#: library/stdtypes.rst:3852 msgid "" ":meth:`tolist` now supports all single character native formats in :mod:" "`struct` module syntax as well as multi-dimensional representations." msgstr "" -#: library/stdtypes.rst:3853 +#: library/stdtypes.rst:3859 msgid "" "Return a readonly version of the memoryview object. The original memoryview " "object is unchanged. ::" msgstr "" -#: library/stdtypes.rst:3872 +#: library/stdtypes.rst:3878 msgid "" "Release the underlying buffer exposed by the memoryview object. Many " "objects take special actions when a view is held on them (for example, a :" @@ -4935,20 +4937,20 @@ msgid "" "resources) as soon as possible." msgstr "" -#: library/stdtypes.rst:3878 +#: library/stdtypes.rst:3884 msgid "" "After this method has been called, any further operation on the view raises " "a :class:`ValueError` (except :meth:`release()` itself which can be called " "multiple times)::" msgstr "" -#: library/stdtypes.rst:3889 +#: library/stdtypes.rst:3895 msgid "" "The context management protocol can be used for a similar effect, using the " "``with`` statement::" msgstr "" -#: library/stdtypes.rst:3905 +#: library/stdtypes.rst:3911 msgid "" "Cast a memoryview to a new format or shape. *shape* defaults to " "``[byte_length//new_itemsize]``, which means that the result view will be " @@ -4957,57 +4959,57 @@ msgid "" "contiguous -> 1D." msgstr "" -#: library/stdtypes.rst:3911 +#: library/stdtypes.rst:3917 msgid "" "The destination format is restricted to a single element native format in :" "mod:`struct` syntax. One of the formats must be a byte format ('B', 'b' or " "'c'). The byte length of the result must be the same as the original length." msgstr "" -#: library/stdtypes.rst:3916 +#: library/stdtypes.rst:3922 msgid "Cast 1D/long to 1D/unsigned bytes::" msgstr "" -#: library/stdtypes.rst:3939 +#: library/stdtypes.rst:3945 msgid "Cast 1D/unsigned bytes to 1D/char::" msgstr "" -#: library/stdtypes.rst:3952 +#: library/stdtypes.rst:3958 msgid "Cast 1D/bytes to 3D/ints to 1D/signed char::" msgstr "" -#: library/stdtypes.rst:3978 +#: library/stdtypes.rst:3984 msgid "Cast 1D/unsigned long to 2D/unsigned long::" msgstr "" -#: library/stdtypes.rst:3992 +#: library/stdtypes.rst:3998 msgid "The source format is no longer restricted when casting to a byte view." msgstr "" -#: library/stdtypes.rst:3995 +#: library/stdtypes.rst:4001 msgid "There are also several readonly attributes available:" msgstr "" -#: library/stdtypes.rst:3999 +#: library/stdtypes.rst:4005 msgid "The underlying object of the memoryview::" msgstr "" -#: library/stdtypes.rst:4010 +#: library/stdtypes.rst:4016 msgid "" "``nbytes == product(shape) * itemsize == len(m.tobytes())``. This is the " "amount of space in bytes that the array would use in a contiguous " "representation. It is not necessarily equal to ``len(m)``::" msgstr "" -#: library/stdtypes.rst:4029 +#: library/stdtypes.rst:4035 msgid "Multi-dimensional arrays::" msgstr "" -#: library/stdtypes.rst:4046 +#: library/stdtypes.rst:4052 msgid "A bool indicating whether the memory is read only." msgstr "" -#: library/stdtypes.rst:4050 +#: library/stdtypes.rst:4056 msgid "" "A string containing the format (in :mod:`struct` module style) for each " "element in the view. A memoryview can be created from exporters with " @@ -5015,59 +5017,59 @@ msgid "" "restricted to native single element formats." msgstr "" -#: library/stdtypes.rst:4055 +#: library/stdtypes.rst:4061 msgid "" "format ``'B'`` is now handled according to the struct module syntax. This " "means that ``memoryview(b'abc')[0] == b'abc'[0] == 97``." msgstr "" -#: library/stdtypes.rst:4061 +#: library/stdtypes.rst:4067 msgid "The size in bytes of each element of the memoryview::" msgstr "" -#: library/stdtypes.rst:4074 +#: library/stdtypes.rst:4080 msgid "" "An integer indicating how many dimensions of a multi-dimensional array the " "memory represents." msgstr "" -#: library/stdtypes.rst:4079 +#: library/stdtypes.rst:4085 msgid "" "A tuple of integers the length of :attr:`ndim` giving the shape of the " "memory as an N-dimensional array." msgstr "" -#: library/stdtypes.rst:4090 +#: library/stdtypes.rst:4096 msgid "An empty tuple instead of ``None`` when ndim = 0." msgstr "" -#: library/stdtypes.rst:4087 +#: library/stdtypes.rst:4093 msgid "" "A tuple of integers the length of :attr:`ndim` giving the size in bytes to " "access each element for each dimension of the array." msgstr "" -#: library/stdtypes.rst:4095 +#: library/stdtypes.rst:4101 msgid "Used internally for PIL-style arrays. The value is informational only." msgstr "" -#: library/stdtypes.rst:4099 +#: library/stdtypes.rst:4105 msgid "A bool indicating whether the memory is C-:term:`contiguous`." msgstr "Belleğin C-:term:`contiguous` olup olmadığını gösteren bir bool." -#: library/stdtypes.rst:4105 +#: library/stdtypes.rst:4111 msgid "A bool indicating whether the memory is Fortran :term:`contiguous`." msgstr "Belleğin Fortran :term:`contiguous` olup olmadığını gösteren bir bool." -#: library/stdtypes.rst:4111 +#: library/stdtypes.rst:4117 msgid "A bool indicating whether the memory is :term:`contiguous`." msgstr "Belleğin :term:`contiguous` olup olmadığını gösteren bir bool." -#: library/stdtypes.rst:4119 +#: library/stdtypes.rst:4125 msgid "Set Types --- :class:`set`, :class:`frozenset`" msgstr "Set Türleri --- :class:`set`, :class:`frozenset`" -#: library/stdtypes.rst:4123 +#: library/stdtypes.rst:4129 msgid "" "A :dfn:`set` object is an unordered collection of distinct :term:`hashable` " "objects. Common uses include membership testing, removing duplicates from a " @@ -5083,7 +5085,7 @@ msgstr "" "için yerleşik :class:`dict`, :class:`list` ve :class:`tuple` sınıflarına ve :" "mod:`collections` modülüne bakın)" -#: library/stdtypes.rst:4130 +#: library/stdtypes.rst:4136 msgid "" "Like other collections, sets support ``x in set``, ``len(set)``, and ``for x " "in set``. Being an unordered collection, sets do not record element " @@ -5095,7 +5097,7 @@ msgstr "" "eleman konumunu veya ekleme sırasını kaydetmez. Buna göre, kümeler " "dizinleme, dilimleme veya sıra benzeri davranışları desteklemez." -#: library/stdtypes.rst:4135 +#: library/stdtypes.rst:4141 msgid "" "There are currently two built-in set types, :class:`set` and :class:" "`frozenset`. The :class:`set` type is mutable --- the contents can be " @@ -5114,7 +5116,7 @@ msgstr "" "term:`hashable` --- içeriği oluşturulduktan sonra değiştirilemez; bu nedenle " "bir sözlük anahtarı veya başka bir kümenin öğesi olarak kullanılabilir." -#: library/stdtypes.rst:4143 +#: library/stdtypes.rst:4149 msgid "" "Non-empty sets (not frozensets) can be created by placing a comma-separated " "list of elements within braces, for example: ``{'jack', 'sjoerd'}``, in " @@ -5124,11 +5126,11 @@ msgstr "" "parantez içine virgülle ayrılmış bir öğe listesi yerleştirilerek " "oluşturulabilir, örneğin: ``{'jack', 'sjoerd'}``." -#: library/stdtypes.rst:4147 +#: library/stdtypes.rst:4153 msgid "The constructors for both classes work the same:" msgstr "Her iki sınıfın kurucuları aynı şekilde çalışır:" -#: library/stdtypes.rst:4152 +#: library/stdtypes.rst:4158 msgid "" "Return a new set or frozenset object whose elements are taken from " "*iterable*. The elements of a set must be :term:`hashable`. To represent " @@ -5140,24 +5142,24 @@ msgstr "" "kümelerini temsil etmek için, iç kümeler :class:`frozenset` nesneleri " "olmalıdır. Eğer *iterable* belirtilmemişse, yeni bir boş küme döndürülür." -#: library/stdtypes.rst:4158 +#: library/stdtypes.rst:4164 msgid "Sets can be created by several means:" msgstr "Setler çeşitli yollarla oluşturulabilir:" -#: library/stdtypes.rst:4160 +#: library/stdtypes.rst:4166 msgid "" "Use a comma-separated list of elements within braces: ``{'jack', 'sjoerd'}``" msgstr "" "Parantez içinde virgülle ayrılmış bir öğe listesi kullanın: ``{'jack', " "'sjoerd'}``" -#: library/stdtypes.rst:4161 +#: library/stdtypes.rst:4167 msgid "" "Use a set comprehension: ``{c for c in 'abracadabra' if c not in 'abc'}``" msgstr "" "Bir küme kavrayışı kullanın: ``{c for c in 'abracadabra' if c not in 'abc'}``" -#: library/stdtypes.rst:4162 +#: library/stdtypes.rst:4168 msgid "" "Use the type constructor: ``set()``, ``set('foobar')``, ``set(['a', 'b', " "'foo'])``" @@ -5165,26 +5167,26 @@ msgstr "" "Tür kurucusunu kullanın: ``set()``, ``set('foobar')``, ``set(['a', 'b', " "'foo'])``" -#: library/stdtypes.rst:4164 +#: library/stdtypes.rst:4170 msgid "" "Instances of :class:`set` and :class:`frozenset` provide the following " "operations:" msgstr "" ":class:`set` ve :class:`frozenset` örnekleri aşağıdaki işlemleri sağlar:" -#: library/stdtypes.rst:4169 +#: library/stdtypes.rst:4175 msgid "Return the number of elements in set *s* (cardinality of *s*)." msgstr "*s* kümesindeki eleman sayısını döndürür (*s*'nin kardinalitesi)." -#: library/stdtypes.rst:4173 +#: library/stdtypes.rst:4179 msgid "Test *x* for membership in *s*." msgstr "*x*'i *s* üyeliği için test edin." -#: library/stdtypes.rst:4177 +#: library/stdtypes.rst:4183 msgid "Test *x* for non-membership in *s*." msgstr "*x*'in *s*'ye üye olup olmadığını test edin." -#: library/stdtypes.rst:4181 +#: library/stdtypes.rst:4187 msgid "" "Return ``True`` if the set has no elements in common with *other*. Sets are " "disjoint if and only if their intersection is the empty set." @@ -5192,11 +5194,11 @@ msgstr "" "Kümenin *other* kümelerle ortak hiçbir elemanı yoksa ``True`` döndürür. " "Kümeler, ancak ve ancak kesişimleri boş küme ise ayrıktır." -#: library/stdtypes.rst:4187 +#: library/stdtypes.rst:4193 msgid "Test whether every element in the set is in *other*." msgstr "Kümedeki her elemanın *other* içinde olup olmadığını test edin." -#: library/stdtypes.rst:4191 +#: library/stdtypes.rst:4197 msgid "" "Test whether the set is a proper subset of *other*, that is, ``set <= other " "and set != other``." @@ -5204,11 +5206,11 @@ msgstr "" "Kümenin *other* kümenin uygun bir alt kümesi olup olmadığını, yani ``set <= " "other and set != other`` olup olmadığını test eder." -#: library/stdtypes.rst:4197 +#: library/stdtypes.rst:4203 msgid "Test whether every element in *other* is in the set." msgstr "Kümedeki her elemanın *other* içinde olup olmadığını test edin." -#: library/stdtypes.rst:4201 +#: library/stdtypes.rst:4207 msgid "" "Test whether the set is a proper superset of *other*, that is, ``set >= " "other and set != other``." @@ -5216,33 +5218,33 @@ msgstr "" "Kümenin *other* kümenin uygun bir üst kümesi olup olmadığını, yani ``set >= " "other and set != other`` olup olmadığını test edin." -#: library/stdtypes.rst:4207 +#: library/stdtypes.rst:4213 msgid "Return a new set with elements from the set and all others." msgstr "" "Kümedeki ve diğer tüm kümelerdeki elemanları içeren yeni bir küme döndürür." -#: library/stdtypes.rst:4212 +#: library/stdtypes.rst:4218 msgid "Return a new set with elements common to the set and all others." msgstr "" "Küme ve diğer tüm kümeler için ortak öğeler içeren yeni bir küme döndürür." -#: library/stdtypes.rst:4217 +#: library/stdtypes.rst:4223 msgid "Return a new set with elements in the set that are not in the others." msgstr "" "Küme içinde diğerlerinde olmayan elemanlar içeren yeni bir küme döndürür." -#: library/stdtypes.rst:4222 +#: library/stdtypes.rst:4228 msgid "" "Return a new set with elements in either the set or *other* but not both." msgstr "" "Elemanları ya kümede ya da *diğer* kümede olan ancak her ikisinde de olmayan " "yeni bir küme döndürür." -#: library/stdtypes.rst:4226 +#: library/stdtypes.rst:4232 msgid "Return a shallow copy of the set." msgstr "Kümenin yüzeysel bir kopyasını döndürür." -#: library/stdtypes.rst:4229 +#: library/stdtypes.rst:4235 msgid "" "Note, the non-operator versions of :meth:`union`, :meth:`intersection`, :" "meth:`difference`, :meth:`symmetric_difference`, :meth:`issubset`, and :meth:" @@ -5260,7 +5262,7 @@ msgstr "" "\n" "Translated with www.DeepL.com/Translator (free version)" -#: library/stdtypes.rst:4236 +#: library/stdtypes.rst:4242 msgid "" "Both :class:`set` and :class:`frozenset` support set to set comparisons. Two " "sets are equal if and only if every element of each set is contained in the " @@ -5279,7 +5281,7 @@ msgstr "" "\n" "Translated with www.DeepL.com/Translator (free version)" -#: library/stdtypes.rst:4243 +#: library/stdtypes.rst:4249 msgid "" "Instances of :class:`set` are compared to instances of :class:`frozenset` " "based on their members. For example, ``set('abc') == frozenset('abc')`` " @@ -5289,7 +5291,7 @@ msgstr "" "karşılaştırılır. Örneğin, ``set('abc') == frozenset('abc')`` ``True`` " "döndürür ve ``set('abc') in set([frozenset('abc')])`` de öyle." -#: library/stdtypes.rst:4247 +#: library/stdtypes.rst:4253 msgid "" "The subset and equality comparisons do not generalize to a total ordering " "function. For example, any two nonempty disjoint sets are not equal and are " @@ -5301,7 +5303,7 @@ msgstr "" "değildir ve birbirinin alt kümesi değildir, bu nedenle aşağıdakilerin *all* " "``Yanlış`` döndürür: ``ab``." -#: library/stdtypes.rst:4252 +#: library/stdtypes.rst:4258 msgid "" "Since sets only define partial ordering (subset relationships), the output " "of the :meth:`list.sort` method is undefined for lists of sets." @@ -5309,11 +5311,11 @@ msgstr "" "Kümeler yalnızca kısmi sıralama (alt küme ilişkileri) tanımladığından, :meth:" "`list.sort` yönteminin çıktısı küme listeleri için tanımsızdır." -#: library/stdtypes.rst:4255 +#: library/stdtypes.rst:4261 msgid "Set elements, like dictionary keys, must be :term:`hashable`." msgstr "Sözlük anahtarları gibi küme öğeleri de :term:`hashable` olmalıdır." -#: library/stdtypes.rst:4257 +#: library/stdtypes.rst:4263 msgid "" "Binary operations that mix :class:`set` instances with :class:`frozenset` " "return the type of the first operand. For example: ``frozenset('ab') | " @@ -5323,7 +5325,7 @@ msgstr "" "ilk işlenenin türünü döndürür. Örneğin: ``frozenset('ab') | set('bc')`` " "bir :class:`frozenset` örneği döndürür." -#: library/stdtypes.rst:4261 +#: library/stdtypes.rst:4267 msgid "" "The following table lists operations available for :class:`set` that do not " "apply to immutable instances of :class:`frozenset`:" @@ -5331,31 +5333,31 @@ msgstr "" "Aşağıdaki tabloda :class:`set` için kullanılabilen ve :class:`frozenset` 'in " "değişmez örneklerine uygulanmayan işlemler listelenmektedir:" -#: library/stdtypes.rst:4267 +#: library/stdtypes.rst:4273 msgid "Update the set, adding elements from all others." msgstr "Diğer tüm öğeleri ekleyerek seti güncelleyin." -#: library/stdtypes.rst:4272 +#: library/stdtypes.rst:4278 msgid "Update the set, keeping only elements found in it and all others." msgstr "" "Yalnızca içinde bulunan öğeleri ve diğerlerini koruyarak seti güncelleyin." -#: library/stdtypes.rst:4277 +#: library/stdtypes.rst:4283 msgid "Update the set, removing elements found in others." msgstr "Diğerlerinde bulunan öğeleri kaldırarak kümeyi güncelleyin." -#: library/stdtypes.rst:4282 +#: library/stdtypes.rst:4288 msgid "" "Update the set, keeping only elements found in either set, but not in both." msgstr "" "Kümeyi güncelleyin, yalnızca her iki kümede de bulunan öğeleri saklayın, " "ancak her ikisinde de bulunmayın." -#: library/stdtypes.rst:4286 +#: library/stdtypes.rst:4292 msgid "Add element *elem* to the set." msgstr "Kümeye *elem* öğesini ekleyin." -#: library/stdtypes.rst:4290 +#: library/stdtypes.rst:4296 msgid "" "Remove element *elem* from the set. Raises :exc:`KeyError` if *elem* is not " "contained in the set." @@ -5363,11 +5365,11 @@ msgstr "" "Kümeden *elem* elemanını kaldırır. Eğer *elem* kümede bulunmuyorsa :exc:" "`KeyError` değerini yükseltir." -#: library/stdtypes.rst:4295 +#: library/stdtypes.rst:4301 msgid "Remove element *elem* from the set if it is present." msgstr "Eğer varsa *elem* öğesini kümeden kaldırır." -#: library/stdtypes.rst:4299 +#: library/stdtypes.rst:4305 msgid "" "Remove and return an arbitrary element from the set. Raises :exc:`KeyError` " "if the set is empty." @@ -5375,11 +5377,11 @@ msgstr "" "Kümeden rastgele bir elemanı kaldırır ve döndürür. Küme boşsa :exc:" "`KeyError` değerini yükseltir." -#: library/stdtypes.rst:4304 +#: library/stdtypes.rst:4310 msgid "Remove all elements from the set." msgstr "Kümeden tüm öğeleri kaldırın." -#: library/stdtypes.rst:4307 +#: library/stdtypes.rst:4313 msgid "" "Note, the non-operator versions of the :meth:`update`, :meth:" "`intersection_update`, :meth:`difference_update`, and :meth:" @@ -5390,7 +5392,7 @@ msgstr "" "ve :meth:`symmetric_difference_update` metotlarının operatör olmayan " "versiyonları herhangi bir iterable'ı argüman olarak kabul edecektir." -#: library/stdtypes.rst:4312 +#: library/stdtypes.rst:4318 msgid "" "Note, the *elem* argument to the :meth:`__contains__`, :meth:`remove`, and :" "meth:`discard` methods may be a set. To support searching for an equivalent " @@ -5400,11 +5402,11 @@ msgstr "" "*elem* argümanı bir küme olabilir. Eşdeğer bir frozenset aramayı " "desteklemek için, *elem*'den geçici bir tane oluşturulur." -#: library/stdtypes.rst:4320 +#: library/stdtypes.rst:4326 msgid "Mapping Types --- :class:`dict`" msgstr "Mapping Types --- :class:`dict`" -#: library/stdtypes.rst:4330 +#: library/stdtypes.rst:4336 msgid "" "A :term:`mapping` object maps :term:`hashable` values to arbitrary objects. " "Mappings are mutable objects. There is currently only one standard mapping " @@ -5418,7 +5420,7 @@ msgstr "" "class:`list`, :class:`set` ve :class:`tuple` sınıflarına ve :mod:" "`collections` modülüne bakın)." -#: library/stdtypes.rst:4336 +#: library/stdtypes.rst:4342 #, fuzzy msgid "" "A dictionary's keys are *almost* arbitrary values. Values that are not :" @@ -5437,7 +5439,7 @@ msgstr "" "kayan noktalı sayıları yaklaşık olarak sakladığından, bunları sözlük " "anahtarları olarak kullanmak genellikle akıllıca değildir)." -#: library/stdtypes.rst:4347 +#: library/stdtypes.rst:4353 msgid "" "Return a new dictionary initialized from an optional positional argument and " "a possibly empty set of keyword arguments." @@ -5445,27 +5447,27 @@ msgstr "" "İsteğe bağlı bir konumsal bağımsız değişken ve muhtemelen boş bir anahtar " "sözcük bağımsız değişken kümesinden başlatılan yeni bir sözlük döndürür." -#: library/stdtypes.rst:4350 +#: library/stdtypes.rst:4356 msgid "Dictionaries can be created by several means:" msgstr "Sözlükler çeşitli yollarla oluşturulabilir:" -#: library/stdtypes.rst:4352 +#: library/stdtypes.rst:4358 msgid "" "Use a comma-separated list of ``key: value`` pairs within braces: ``{'jack': " "4098, 'sjoerd': 4127}`` or ``{4098: 'jack', 4127: 'sjoerd'}``" msgstr "" -#: library/stdtypes.rst:4354 +#: library/stdtypes.rst:4360 msgid "Use a dict comprehension: ``{}``, ``{x: x ** 2 for x in range(10)}``" msgstr "" -#: library/stdtypes.rst:4355 +#: library/stdtypes.rst:4361 msgid "" "Use the type constructor: ``dict()``, ``dict([('foo', 100), ('bar', " "200)])``, ``dict(foo=100, bar=200)``" msgstr "" -#: library/stdtypes.rst:4358 +#: library/stdtypes.rst:4364 msgid "" "If no positional argument is given, an empty dictionary is created. If a " "positional argument is given and it is a mapping object, a dictionary is " @@ -5477,7 +5479,7 @@ msgid "" "value for that key becomes the corresponding value in the new dictionary." msgstr "" -#: library/stdtypes.rst:4368 +#: library/stdtypes.rst:4374 msgid "" "If keyword arguments are given, the keyword arguments and their values are " "added to the dictionary created from the positional argument. If a key " @@ -5485,39 +5487,39 @@ msgid "" "the value from the positional argument." msgstr "" -#: library/stdtypes.rst:4373 +#: library/stdtypes.rst:4379 msgid "" "To illustrate, the following examples all return a dictionary equal to " "``{\"one\": 1, \"two\": 2, \"three\": 3}``::" msgstr "" -#: library/stdtypes.rst:4385 +#: library/stdtypes.rst:4391 msgid "" "Providing keyword arguments as in the first example only works for keys that " "are valid Python identifiers. Otherwise, any valid keys can be used." msgstr "" -#: library/stdtypes.rst:4389 +#: library/stdtypes.rst:4395 msgid "" "These are the operations that dictionaries support (and therefore, custom " "mapping types should support too):" msgstr "" -#: library/stdtypes.rst:4394 +#: library/stdtypes.rst:4400 msgid "Return a list of all the keys used in the dictionary *d*." msgstr "" -#: library/stdtypes.rst:4398 +#: library/stdtypes.rst:4404 msgid "Return the number of items in the dictionary *d*." msgstr "" -#: library/stdtypes.rst:4402 +#: library/stdtypes.rst:4408 msgid "" "Return the item of *d* with key *key*. Raises a :exc:`KeyError` if *key* is " "not in the map." msgstr "" -#: library/stdtypes.rst:4407 +#: library/stdtypes.rst:4413 msgid "" "If a subclass of dict defines a method :meth:`__missing__` and *key* is not " "present, the ``d[key]`` operation calls that method with the key *key* as " @@ -5528,51 +5530,51 @@ msgid "" "an instance variable::" msgstr "" -#: library/stdtypes.rst:4425 +#: library/stdtypes.rst:4431 msgid "" "The example above shows part of the implementation of :class:`collections." "Counter`. A different ``__missing__`` method is used by :class:`collections." "defaultdict`." msgstr "" -#: library/stdtypes.rst:4431 +#: library/stdtypes.rst:4437 msgid "Set ``d[key]`` to *value*." msgstr "" -#: library/stdtypes.rst:4435 +#: library/stdtypes.rst:4441 msgid "" "Remove ``d[key]`` from *d*. Raises a :exc:`KeyError` if *key* is not in the " "map." msgstr "" -#: library/stdtypes.rst:4440 +#: library/stdtypes.rst:4446 msgid "Return ``True`` if *d* has a key *key*, else ``False``." msgstr "" -#: library/stdtypes.rst:4444 +#: library/stdtypes.rst:4450 msgid "Equivalent to ``not key in d``." msgstr "" -#: library/stdtypes.rst:4448 +#: library/stdtypes.rst:4454 msgid "" "Return an iterator over the keys of the dictionary. This is a shortcut for " "``iter(d.keys())``." msgstr "" -#: library/stdtypes.rst:4453 +#: library/stdtypes.rst:4459 msgid "Remove all items from the dictionary." msgstr "" -#: library/stdtypes.rst:4457 +#: library/stdtypes.rst:4463 msgid "Return a shallow copy of the dictionary." msgstr "" -#: library/stdtypes.rst:4461 +#: library/stdtypes.rst:4467 msgid "" "Create a new dictionary with keys from *iterable* and values set to *value*." msgstr "" -#: library/stdtypes.rst:4463 +#: library/stdtypes.rst:4469 msgid "" ":meth:`fromkeys` is a class method that returns a new dictionary. *value* " "defaults to ``None``. All of the values refer to just a single instance, so " @@ -5581,70 +5583,70 @@ msgid "" "` instead." msgstr "" -#: library/stdtypes.rst:4471 +#: library/stdtypes.rst:4477 msgid "" "Return the value for *key* if *key* is in the dictionary, else *default*. If " "*default* is not given, it defaults to ``None``, so that this method never " "raises a :exc:`KeyError`." msgstr "" -#: library/stdtypes.rst:4477 +#: library/stdtypes.rst:4483 msgid "" "Return a new view of the dictionary's items (``(key, value)`` pairs). See " "the :ref:`documentation of view objects `." msgstr "" -#: library/stdtypes.rst:4482 +#: library/stdtypes.rst:4488 msgid "" "Return a new view of the dictionary's keys. See the :ref:`documentation of " "view objects `." msgstr "" -#: library/stdtypes.rst:4487 +#: library/stdtypes.rst:4493 msgid "" "If *key* is in the dictionary, remove it and return its value, else return " "*default*. If *default* is not given and *key* is not in the dictionary, a :" "exc:`KeyError` is raised." msgstr "" -#: library/stdtypes.rst:4493 +#: library/stdtypes.rst:4499 msgid "" "Remove and return a ``(key, value)`` pair from the dictionary. Pairs are " "returned in :abbr:`LIFO (last-in, first-out)` order." msgstr "" -#: library/stdtypes.rst:4496 +#: library/stdtypes.rst:4502 msgid "" ":meth:`popitem` is useful to destructively iterate over a dictionary, as " "often used in set algorithms. If the dictionary is empty, calling :meth:" "`popitem` raises a :exc:`KeyError`." msgstr "" -#: library/stdtypes.rst:4500 +#: library/stdtypes.rst:4506 msgid "" "LIFO order is now guaranteed. In prior versions, :meth:`popitem` would " "return an arbitrary key/value pair." msgstr "" -#: library/stdtypes.rst:4506 +#: library/stdtypes.rst:4512 msgid "" "Return a reverse iterator over the keys of the dictionary. This is a " "shortcut for ``reversed(d.keys())``." msgstr "" -#: library/stdtypes.rst:4513 +#: library/stdtypes.rst:4519 msgid "" "If *key* is in the dictionary, return its value. If not, insert *key* with " "a value of *default* and return *default*. *default* defaults to ``None``." msgstr "" -#: library/stdtypes.rst:4519 +#: library/stdtypes.rst:4525 msgid "" "Update the dictionary with the key/value pairs from *other*, overwriting " "existing keys. Return ``None``." msgstr "" -#: library/stdtypes.rst:4522 +#: library/stdtypes.rst:4528 msgid "" ":meth:`update` accepts either another dictionary object or an iterable of " "key/value pairs (as tuples or other iterables of length two). If keyword " @@ -5652,71 +5654,71 @@ msgid "" "pairs: ``d.update(red=1, blue=2)``." msgstr "" -#: library/stdtypes.rst:4529 +#: library/stdtypes.rst:4535 msgid "" "Return a new view of the dictionary's values. See the :ref:`documentation " "of view objects `." msgstr "" -#: library/stdtypes.rst:4532 +#: library/stdtypes.rst:4538 msgid "" "An equality comparison between one ``dict.values()`` view and another will " "always return ``False``. This also applies when comparing ``dict.values()`` " "to itself::" msgstr "" -#: library/stdtypes.rst:4542 +#: library/stdtypes.rst:4548 msgid "" "Create a new dictionary with the merged keys and values of *d* and *other*, " "which must both be dictionaries. The values of *other* take priority when " "*d* and *other* share keys." msgstr "" -#: library/stdtypes.rst:4550 +#: library/stdtypes.rst:4556 msgid "" "Update the dictionary *d* with keys and values from *other*, which may be " "either a :term:`mapping` or an :term:`iterable` of key/value pairs. The " "values of *other* take priority when *d* and *other* share keys." msgstr "" -#: library/stdtypes.rst:4556 +#: library/stdtypes.rst:4562 msgid "" "Dictionaries compare equal if and only if they have the same ``(key, " "value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', " "'>') raise :exc:`TypeError`." msgstr "" -#: library/stdtypes.rst:4560 +#: library/stdtypes.rst:4566 msgid "" "Dictionaries preserve insertion order. Note that updating a key does not " "affect the order. Keys added after deletion are inserted at the end. ::" msgstr "" -#: library/stdtypes.rst:4578 +#: library/stdtypes.rst:4584 msgid "" "Dictionary order is guaranteed to be insertion order. This behavior was an " "implementation detail of CPython from 3.6." msgstr "" -#: library/stdtypes.rst:4582 +#: library/stdtypes.rst:4588 msgid "Dictionaries and dictionary views are reversible. ::" msgstr "" -#: library/stdtypes.rst:4594 +#: library/stdtypes.rst:4600 msgid "Dictionaries are now reversible." msgstr "" -#: library/stdtypes.rst:4599 +#: library/stdtypes.rst:4605 msgid "" ":class:`types.MappingProxyType` can be used to create a read-only view of a :" "class:`dict`." msgstr "" -#: library/stdtypes.rst:4606 +#: library/stdtypes.rst:4612 msgid "Dictionary view objects" msgstr "" -#: library/stdtypes.rst:4608 +#: library/stdtypes.rst:4614 msgid "" "The objects returned by :meth:`dict.keys`, :meth:`dict.values` and :meth:" "`dict.items` are *view objects*. They provide a dynamic view on the " @@ -5724,23 +5726,23 @@ msgid "" "reflects these changes." msgstr "" -#: library/stdtypes.rst:4613 +#: library/stdtypes.rst:4619 msgid "" "Dictionary views can be iterated over to yield their respective data, and " "support membership tests:" msgstr "" -#: library/stdtypes.rst:4618 +#: library/stdtypes.rst:4624 msgid "Return the number of entries in the dictionary." msgstr "" -#: library/stdtypes.rst:4622 +#: library/stdtypes.rst:4628 msgid "" "Return an iterator over the keys, values or items (represented as tuples of " "``(key, value)``) in the dictionary." msgstr "" -#: library/stdtypes.rst:4625 +#: library/stdtypes.rst:4631 msgid "" "Keys and values are iterated over in insertion order. This allows the " "creation of ``(value, key)`` pairs using :func:`zip`: ``pairs = zip(d." @@ -5748,39 +5750,39 @@ msgid "" "[(v, k) for (k, v) in d.items()]``." msgstr "" -#: library/stdtypes.rst:4630 +#: library/stdtypes.rst:4636 msgid "" "Iterating views while adding or deleting entries in the dictionary may raise " "a :exc:`RuntimeError` or fail to iterate over all entries." msgstr "" -#: library/stdtypes.rst:4633 +#: library/stdtypes.rst:4639 msgid "Dictionary order is guaranteed to be insertion order." msgstr "" -#: library/stdtypes.rst:4638 +#: library/stdtypes.rst:4644 msgid "" "Return ``True`` if *x* is in the underlying dictionary's keys, values or " "items (in the latter case, *x* should be a ``(key, value)`` tuple)." msgstr "" -#: library/stdtypes.rst:4643 +#: library/stdtypes.rst:4649 msgid "" "Return a reverse iterator over the keys, values or items of the dictionary. " "The view will be iterated in reverse order of the insertion." msgstr "" -#: library/stdtypes.rst:4646 +#: library/stdtypes.rst:4652 msgid "Dictionary views are now reversible." msgstr "" -#: library/stdtypes.rst:4651 +#: library/stdtypes.rst:4657 msgid "" "Return a :class:`types.MappingProxyType` that wraps the original dictionary " "to which the view refers." msgstr "" -#: library/stdtypes.rst:4656 +#: library/stdtypes.rst:4662 msgid "" "Keys views are set-like since their entries are unique and hashable. If all " "values are hashable, so that ``(key, value)`` pairs are unique and hashable, " @@ -5790,15 +5792,15 @@ msgid "" "abc.Set` are available (for example, ``==``, ``<``, or ``^``)." msgstr "" -#: library/stdtypes.rst:4663 +#: library/stdtypes.rst:4669 msgid "An example of dictionary view usage::" msgstr "" -#: library/stdtypes.rst:4704 +#: library/stdtypes.rst:4710 msgid "Context Manager Types" msgstr "Bağlam Yöneticisi Türleri" -#: library/stdtypes.rst:4711 +#: library/stdtypes.rst:4717 msgid "" "Python's :keyword:`with` statement supports the concept of a runtime context " "defined by a context manager. This is implemented using a pair of methods " @@ -5806,7 +5808,7 @@ msgid "" "before the statement body is executed and exited when the statement ends:" msgstr "" -#: library/stdtypes.rst:4719 +#: library/stdtypes.rst:4725 msgid "" "Enter the runtime context and return either this object or another object " "related to the runtime context. The value returned by this method is bound " @@ -5814,14 +5816,14 @@ msgid "" "using this context manager." msgstr "" -#: library/stdtypes.rst:4724 +#: library/stdtypes.rst:4730 msgid "" "An example of a context manager that returns itself is a :term:`file " "object`. File objects return themselves from __enter__() to allow :func:" "`open` to be used as the context expression in a :keyword:`with` statement." msgstr "" -#: library/stdtypes.rst:4728 +#: library/stdtypes.rst:4734 msgid "" "An example of a context manager that returns a related object is the one " "returned by :func:`decimal.localcontext`. These managers set the active " @@ -5831,7 +5833,7 @@ msgid "" "the :keyword:`!with` statement." msgstr "" -#: library/stdtypes.rst:4738 +#: library/stdtypes.rst:4744 msgid "" "Exit the runtime context and return a Boolean flag indicating if any " "exception that occurred should be suppressed. If an exception occurred while " @@ -5840,7 +5842,7 @@ msgid "" "arguments are ``None``." msgstr "" -#: library/stdtypes.rst:4743 +#: library/stdtypes.rst:4749 msgid "" "Returning a true value from this method will cause the :keyword:`with` " "statement to suppress the exception and continue execution with the " @@ -5851,7 +5853,7 @@ msgid "" "statement." msgstr "" -#: library/stdtypes.rst:4750 +#: library/stdtypes.rst:4756 msgid "" "The exception passed in should never be reraised explicitly - instead, this " "method should return a false value to indicate that the method completed " @@ -5860,7 +5862,7 @@ msgid "" "method has actually failed." msgstr "" -#: library/stdtypes.rst:4756 +#: library/stdtypes.rst:4762 msgid "" "Python defines several context managers to support easy thread " "synchronisation, prompt closure of files or other objects, and simpler " @@ -5869,7 +5871,7 @@ msgid "" "management protocol. See the :mod:`contextlib` module for some examples." msgstr "" -#: library/stdtypes.rst:4762 +#: library/stdtypes.rst:4768 msgid "" "Python's :term:`generator`\\s and the :class:`contextlib.contextmanager` " "decorator provide a convenient way to implement these protocols. If a " @@ -5879,7 +5881,7 @@ msgid "" "rather than the iterator produced by an undecorated generator function." msgstr "" -#: library/stdtypes.rst:4769 +#: library/stdtypes.rst:4775 msgid "" "Note that there is no specific slot for any of these methods in the type " "structure for Python objects in the Python/C API. Extension types wanting to " @@ -5888,23 +5890,23 @@ msgid "" "a single class dictionary lookup is negligible." msgstr "" -#: library/stdtypes.rst:4777 +#: library/stdtypes.rst:4783 msgid "" "Type Annotation Types --- :ref:`Generic Alias `, :ref:" "`Union `" msgstr "" -#: library/stdtypes.rst:4782 +#: library/stdtypes.rst:4788 msgid "" "The core built-in types for :term:`type annotations ` are :ref:" "`Generic Alias ` and :ref:`Union `." msgstr "" -#: library/stdtypes.rst:4789 +#: library/stdtypes.rst:4795 msgid "Generic Alias Type" msgstr "Genel Takma Ad Türü" -#: library/stdtypes.rst:4795 +#: library/stdtypes.rst:4801 msgid "" "``GenericAlias`` objects are generally created by :ref:`subscripting " "` a class. They are most often used with :ref:`container " @@ -5914,13 +5916,13 @@ msgid "" "are intended primarily for use with :term:`type annotations `." msgstr "" -#: library/stdtypes.rst:4805 +#: library/stdtypes.rst:4811 msgid "" "It is generally only possible to subscript a class if the class implements " "the special method :meth:`~object.__class_getitem__`." msgstr "" -#: library/stdtypes.rst:4808 +#: library/stdtypes.rst:4814 #, fuzzy msgid "" "A ``GenericAlias`` object acts as a proxy for a :term:`generic type`, " @@ -5930,7 +5932,7 @@ msgstr "" "vekil olarak hareket eder, *parametreli jenerikler* uygulamak - kapsayıcı " "öğeleri için türler sağlayan belirli bir jenerik örneği." -#: library/stdtypes.rst:4811 +#: library/stdtypes.rst:4817 msgid "" "For a container class, the argument(s) supplied to a :ref:`subscription " "` of the class may indicate the type(s) of the elements an " @@ -5939,7 +5941,7 @@ msgid "" "`bytes`." msgstr "" -#: library/stdtypes.rst:4817 +#: library/stdtypes.rst:4823 msgid "" "For a class which defines :meth:`~object.__class_getitem__` but is not a " "container, the argument(s) supplied to a subscription of the class will " @@ -5948,7 +5950,7 @@ msgid "" "the :class:`str` data type and the :class:`bytes` data type:" msgstr "" -#: library/stdtypes.rst:4823 +#: library/stdtypes.rst:4829 msgid "" "If ``x = re.search('foo', 'foo')``, ``x`` will be a :ref:`re.Match ` object where the return values of ``x.group(0)`` and ``x[0]`` will " @@ -5956,7 +5958,7 @@ msgid "" "annotations with the ``GenericAlias`` ``re.Match[str]``." msgstr "" -#: library/stdtypes.rst:4829 +#: library/stdtypes.rst:4835 msgid "" "If ``y = re.search(b'bar', b'bar')``, (note the ``b`` for :class:`bytes`), " "``y`` will also be an instance of ``re.Match``, but the return values of ``y." @@ -5965,7 +5967,7 @@ msgid "" "objects>` objects with ``re.Match[bytes]``." msgstr "" -#: library/stdtypes.rst:4835 +#: library/stdtypes.rst:4841 #, fuzzy msgid "" "``GenericAlias`` objects are instances of the class :class:`types." @@ -5977,7 +5979,7 @@ msgstr "" "kullanılabilir. Ayrıca doğrudan ``GenericAlias`` nesneleri oluşturmak için " "de kullanılabilir." -#: library/stdtypes.rst:4841 +#: library/stdtypes.rst:4847 #, fuzzy msgid "" "Creates a ``GenericAlias`` representing a type ``T`` parameterized by types " @@ -5989,7 +5991,7 @@ msgstr "" "Örneğin, :class:`float` elemanları içeren bir :class:`list` bekleyen bir " "fonksiyon::" -#: library/stdtypes.rst:4849 +#: library/stdtypes.rst:4855 msgid "" "Another example for :term:`mapping` objects, using a :class:`dict`, which is " "a generic type expecting two type parameters representing the key type and " @@ -6001,7 +6003,7 @@ msgstr "" "başka bir örnek. Bu örnekte, fonksiyon :class:`str` türünde anahtarları ve :" "class:`int` türünde değerleri olan bir ``dict`` bekler::" -#: library/stdtypes.rst:4857 +#: library/stdtypes.rst:4863 msgid "" "The builtin functions :func:`isinstance` and :func:`issubclass` do not " "accept ``GenericAlias`` types for their second argument::" @@ -6009,7 +6011,7 @@ msgstr "" "Yerleşik :func:`isinstance` ve :func:`issubclass` işlevleri ikinci " "argümanları için ``GenericAlias`` türlerini kabul etmez::" -#: library/stdtypes.rst:4865 +#: library/stdtypes.rst:4871 #, fuzzy msgid "" "The Python runtime does not enforce :term:`type annotations `. " @@ -6024,7 +6026,7 @@ msgstr "" "türlerine göre kontrol edilmez. Örneğin, aşağıdaki kod tavsiye edilmez, " "ancak hatasız çalışacaktır::" -#: library/stdtypes.rst:4875 +#: library/stdtypes.rst:4881 msgid "" "Furthermore, parameterized generics erase type parameters during object " "creation::" @@ -6032,7 +6034,7 @@ msgstr "" "Ayrıca, parametrelendirilmiş jenerikler nesne oluşturma sırasında tip " "parametrelerini siler::" -#: library/stdtypes.rst:4886 +#: library/stdtypes.rst:4892 msgid "" "Calling :func:`repr` or :func:`str` on a generic shows the parameterized " "type::" @@ -6040,7 +6042,7 @@ msgstr "" "Bir jenerik üzerinde :func:`repr` veya :func:`str` çağrısı " "parametrelendirilmiş türü gösterir::" -#: library/stdtypes.rst:4894 +#: library/stdtypes.rst:4900 #, fuzzy msgid "" "The :meth:`~object.__getitem__` method of generic containers will raise an " @@ -6049,7 +6051,7 @@ msgstr "" "Generics'in :meth:`__getitem__` yöntemi, ``dict[str][str]``: gibi hatalara " "izin vermemek için bir istisna oluşturacaktır:" -#: library/stdtypes.rst:4902 +#: library/stdtypes.rst:4908 #, fuzzy msgid "" "However, such expressions are valid when :ref:`type variables ` " @@ -6061,12 +6063,12 @@ msgstr "" "öğesindeki tür değişkeni öğeleri kadar öğeye sahip olmalıdır `. ::" -#: library/stdtypes.rst:4913 +#: library/stdtypes.rst:4919 #, fuzzy msgid "Standard Generic Classes" msgstr "Standart Jenerik Koleksiyonlar" -#: library/stdtypes.rst:4915 +#: library/stdtypes.rst:4921 #, fuzzy msgid "" "The following standard library classes support parameterized generics. This " @@ -6075,244 +6077,244 @@ msgstr "" "Bu standart kütüphane koleksiyonları parametrelendirilmiş jenerikleri " "destekler." -#: library/stdtypes.rst:4918 +#: library/stdtypes.rst:4924 msgid ":class:`tuple`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:4919 +#: library/stdtypes.rst:4925 msgid ":class:`list`" msgstr ":class:`list`" -#: library/stdtypes.rst:4920 +#: library/stdtypes.rst:4926 msgid ":class:`dict`" msgstr ":class:`dict`" -#: library/stdtypes.rst:4921 +#: library/stdtypes.rst:4927 msgid ":class:`set`" msgstr ":class:`set`" -#: library/stdtypes.rst:4922 +#: library/stdtypes.rst:4928 msgid ":class:`frozenset`" msgstr ":class:`frozenset`" -#: library/stdtypes.rst:4923 +#: library/stdtypes.rst:4929 msgid ":class:`type`" msgstr ":class:`type`" -#: library/stdtypes.rst:4924 +#: library/stdtypes.rst:4930 msgid ":class:`collections.deque`" msgstr ":class:`collections.deque`" -#: library/stdtypes.rst:4925 +#: library/stdtypes.rst:4931 msgid ":class:`collections.defaultdict`" msgstr ":class:`collections.defaultdict`" -#: library/stdtypes.rst:4926 +#: library/stdtypes.rst:4932 msgid ":class:`collections.OrderedDict`" msgstr ":class:`collections.OrderedDict`" -#: library/stdtypes.rst:4927 +#: library/stdtypes.rst:4933 msgid ":class:`collections.Counter`" msgstr ":class:`collections.Counter`" -#: library/stdtypes.rst:4928 +#: library/stdtypes.rst:4934 msgid ":class:`collections.ChainMap`" msgstr ":class:`collections.ChainMap`" -#: library/stdtypes.rst:4929 +#: library/stdtypes.rst:4935 msgid ":class:`collections.abc.Awaitable`" msgstr ":class:`collections.abc.Awaitable`" -#: library/stdtypes.rst:4930 +#: library/stdtypes.rst:4936 msgid ":class:`collections.abc.Coroutine`" msgstr ":class:`collections.abc.Coroutine`" -#: library/stdtypes.rst:4931 +#: library/stdtypes.rst:4937 msgid ":class:`collections.abc.AsyncIterable`" msgstr ":class:`collections.abc.AsyncIterable`" -#: library/stdtypes.rst:4932 +#: library/stdtypes.rst:4938 msgid ":class:`collections.abc.AsyncIterator`" msgstr ":class:`collections.abc.AsyncIterator`" -#: library/stdtypes.rst:4933 +#: library/stdtypes.rst:4939 msgid ":class:`collections.abc.AsyncGenerator`" msgstr ":class:`collections.abc.AsyncGenerator`" -#: library/stdtypes.rst:4934 +#: library/stdtypes.rst:4940 msgid ":class:`collections.abc.Iterable`" msgstr ":class:`collections.abc.Iterable`" -#: library/stdtypes.rst:4935 +#: library/stdtypes.rst:4941 msgid ":class:`collections.abc.Iterator`" msgstr ":class:`collections.abc.Iterator`" -#: library/stdtypes.rst:4936 +#: library/stdtypes.rst:4942 msgid ":class:`collections.abc.Generator`" msgstr ":class:`collections.abc.Generator`" -#: library/stdtypes.rst:4937 +#: library/stdtypes.rst:4943 msgid ":class:`collections.abc.Reversible`" msgstr ":class:`collections.abc.Reversible`" -#: library/stdtypes.rst:4938 +#: library/stdtypes.rst:4944 msgid ":class:`collections.abc.Container`" msgstr ":class:`collections.abc.Container`" -#: library/stdtypes.rst:4939 +#: library/stdtypes.rst:4945 msgid ":class:`collections.abc.Collection`" msgstr ":class:`collections.abc.Collection`" -#: library/stdtypes.rst:4940 +#: library/stdtypes.rst:4946 msgid ":class:`collections.abc.Callable`" msgstr ":class:`collections.abc.Callable`" -#: library/stdtypes.rst:4941 +#: library/stdtypes.rst:4947 msgid ":class:`collections.abc.Set`" msgstr ":class:`collections.abc.Set`" -#: library/stdtypes.rst:4942 +#: library/stdtypes.rst:4948 msgid ":class:`collections.abc.MutableSet`" msgstr ":class:`collections.abc.MutableSet`" -#: library/stdtypes.rst:4943 +#: library/stdtypes.rst:4949 msgid ":class:`collections.abc.Mapping`" msgstr ":class:`collections.abc.Mapping`" -#: library/stdtypes.rst:4944 +#: library/stdtypes.rst:4950 msgid ":class:`collections.abc.MutableMapping`" msgstr ":class:`collections.abc.MutableMapping`" -#: library/stdtypes.rst:4945 +#: library/stdtypes.rst:4951 msgid ":class:`collections.abc.Sequence`" msgstr ":class:`collections.abc.Sequence`" -#: library/stdtypes.rst:4946 +#: library/stdtypes.rst:4952 msgid ":class:`collections.abc.MutableSequence`" msgstr ":class:`collections.abc.MutableSequence`" -#: library/stdtypes.rst:4947 +#: library/stdtypes.rst:4953 msgid ":class:`collections.abc.ByteString`" msgstr ":class:`collections.abc.ByteString`" -#: library/stdtypes.rst:4948 +#: library/stdtypes.rst:4954 msgid ":class:`collections.abc.MappingView`" msgstr ":class:`collections.abc.MappingView`" -#: library/stdtypes.rst:4949 +#: library/stdtypes.rst:4955 msgid ":class:`collections.abc.KeysView`" msgstr ":class:`collections.abc.KeysView`" -#: library/stdtypes.rst:4950 +#: library/stdtypes.rst:4956 msgid ":class:`collections.abc.ItemsView`" msgstr ":class:`collections.abc.ItemsView`" -#: library/stdtypes.rst:4951 +#: library/stdtypes.rst:4957 msgid ":class:`collections.abc.ValuesView`" msgstr ":class:`collections.abc.ValuesView`" -#: library/stdtypes.rst:4952 +#: library/stdtypes.rst:4958 msgid ":class:`contextlib.AbstractContextManager`" msgstr ":class:`contextlib.AbstractContextManager`" -#: library/stdtypes.rst:4953 +#: library/stdtypes.rst:4959 msgid ":class:`contextlib.AbstractAsyncContextManager`" msgstr ":class:`contextlib.AbstractAsyncContextManager`" -#: library/stdtypes.rst:4954 +#: library/stdtypes.rst:4960 #, fuzzy msgid ":class:`dataclasses.Field`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:4955 +#: library/stdtypes.rst:4961 msgid ":class:`functools.cached_property`" msgstr "" -#: library/stdtypes.rst:4956 +#: library/stdtypes.rst:4962 msgid ":class:`functools.partialmethod`" msgstr "" -#: library/stdtypes.rst:4957 +#: library/stdtypes.rst:4963 #, fuzzy msgid ":class:`os.PathLike`" msgstr ":class:`set`" -#: library/stdtypes.rst:4958 +#: library/stdtypes.rst:4964 #, fuzzy msgid ":class:`queue.LifoQueue`" msgstr ":class:`frozenset`" -#: library/stdtypes.rst:4959 +#: library/stdtypes.rst:4965 #, fuzzy msgid ":class:`queue.Queue`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:4960 +#: library/stdtypes.rst:4966 msgid ":class:`queue.PriorityQueue`" msgstr "" -#: library/stdtypes.rst:4961 +#: library/stdtypes.rst:4967 #, fuzzy msgid ":class:`queue.SimpleQueue`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:4962 +#: library/stdtypes.rst:4968 msgid ":ref:`re.Pattern `" msgstr ":ref:`re.Pattern `" -#: library/stdtypes.rst:4963 +#: library/stdtypes.rst:4969 msgid ":ref:`re.Match `" msgstr ":ref:`re.Match `" -#: library/stdtypes.rst:4964 +#: library/stdtypes.rst:4970 msgid ":class:`shelve.BsdDbShelf`" msgstr "" -#: library/stdtypes.rst:4965 +#: library/stdtypes.rst:4971 msgid ":class:`shelve.DbfilenameShelf`" msgstr "" -#: library/stdtypes.rst:4966 +#: library/stdtypes.rst:4972 #, fuzzy msgid ":class:`shelve.Shelf`" msgstr ":class:`set`" -#: library/stdtypes.rst:4967 +#: library/stdtypes.rst:4973 #, fuzzy msgid ":class:`types.MappingProxyType`" msgstr ":class:`collections.abc.Mapping`" -#: library/stdtypes.rst:4968 +#: library/stdtypes.rst:4974 msgid ":class:`weakref.WeakKeyDictionary`" msgstr "" -#: library/stdtypes.rst:4969 +#: library/stdtypes.rst:4975 msgid ":class:`weakref.WeakMethod`" msgstr "" -#: library/stdtypes.rst:4970 +#: library/stdtypes.rst:4976 #, fuzzy msgid ":class:`weakref.WeakSet`" msgstr ":class:`frozenset`" -#: library/stdtypes.rst:4971 +#: library/stdtypes.rst:4977 msgid ":class:`weakref.WeakValueDictionary`" msgstr "" -#: library/stdtypes.rst:4976 +#: library/stdtypes.rst:4982 #, fuzzy msgid "Special Attributes of ``GenericAlias`` objects" msgstr "Genel Takma Adın Özel Öznitelikleri" -#: library/stdtypes.rst:4978 +#: library/stdtypes.rst:4984 msgid "All parameterized generics implement special read-only attributes." msgstr "Tüm parametreli jenerikler özel salt okunur öznitelikler uygular." -#: library/stdtypes.rst:4982 +#: library/stdtypes.rst:4988 msgid "This attribute points at the non-parameterized generic class::" msgstr "Bu öznitelik, parametrelendirilmemiş genel sınıfa işaret eder::" -#: library/stdtypes.rst:4990 +#: library/stdtypes.rst:4996 #, fuzzy msgid "" "This attribute is a :class:`tuple` (possibly of length 1) of generic types " @@ -6322,7 +6324,7 @@ msgstr "" "Bu öznitelik, genel kabın orijinal :meth:`__class_getitem__` öğesine " "geçirilen genel türlerin :class:`tuple` (muhtemelen uzunluğu 1'dir):" -#: library/stdtypes.rst:5000 +#: library/stdtypes.rst:5006 msgid "" "This attribute is a lazily computed tuple (possibly empty) of unique type " "variables found in ``__args__``::" @@ -6330,7 +6332,7 @@ msgstr "" "Bu öznitelik, ''__args__'' içinde bulunan benzersiz tür değişkenlerin tembel " "bir şekilde hesaplanmış bir demetidir (muhtemelen boş):" -#: library/stdtypes.rst:5011 +#: library/stdtypes.rst:5017 msgid "" "A ``GenericAlias`` object with :class:`typing.ParamSpec` parameters may not " "have correct ``__parameters__`` after substitution because :class:`typing." @@ -6340,43 +6342,43 @@ msgstr "" "değiştirildikten sonra doğru ``__parameters__`` olmayabilir çünkü :class:" "`typing.ParamSpec` öncelikle statik tip kontrolü için tasarlanmıştır." -#: library/stdtypes.rst:5018 +#: library/stdtypes.rst:5024 msgid ":pep:`484` - Type Hints" msgstr "" -#: library/stdtypes.rst:5018 +#: library/stdtypes.rst:5024 msgid "Introducing Python's framework for type annotations." msgstr "" -#: library/stdtypes.rst:5023 +#: library/stdtypes.rst:5029 #, fuzzy msgid ":pep:`585` - Type Hinting Generics In Standard Collections" msgstr ":pep:`585` -- \"Standart Koleksiyonlarda Tip İma Eden Jenerikler\"" -#: library/stdtypes.rst:5021 +#: library/stdtypes.rst:5027 msgid "" "Introducing the ability to natively parameterize standard-library classes, " "provided they implement the special class method :meth:`~object." "__class_getitem__`." msgstr "" -#: library/stdtypes.rst:5026 +#: library/stdtypes.rst:5032 msgid "" ":ref:`Generics`, :ref:`user-defined generics ` and :" "class:`typing.Generic`" msgstr "" -#: library/stdtypes.rst:5026 +#: library/stdtypes.rst:5032 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." msgstr "" -#: library/stdtypes.rst:5035 +#: library/stdtypes.rst:5041 msgid "Union Type" msgstr "Sendika Türü" -#: library/stdtypes.rst:5041 +#: library/stdtypes.rst:5047 msgid "" "A union object holds the value of the ``|`` (bitwise or) operation on " "multiple :ref:`type objects `. These types are intended " @@ -6390,7 +6392,7 @@ msgstr "" "Birleşim türü ifadesi, aşağıdakilere kıyasla daha temiz tür ipucu sözdizimi " "sağlar :data:`typing.Union`." -#: library/stdtypes.rst:5048 +#: library/stdtypes.rst:5054 msgid "" "Defines a union object which holds types *X*, *Y*, and so forth. ``X | Y`` " "means either X or Y. It is equivalent to ``typing.Union[X, Y]``. For " @@ -6401,34 +6403,34 @@ msgstr "" "anlamına gelir. Bu, ``typing.Union[X, Y]`` ile eşdeğerdir. Örneğin, " "aşağıdaki işlev :class:`int` veya :class:`float`::" -#: library/stdtypes.rst:5058 +#: library/stdtypes.rst:5064 msgid "" "Union objects can be tested for equality with other union objects. Details:" msgstr "" "Birlik nesneleri, diğer birlik nesneleriyle eşitlik açısından test " "edilebilir. Detaylar:" -#: library/stdtypes.rst:5060 +#: library/stdtypes.rst:5066 msgid "Unions of unions are flattened::" msgstr "Birliklerin birlikleri düzleştirimiştir::" -#: library/stdtypes.rst:5064 +#: library/stdtypes.rst:5070 msgid "Redundant types are removed::" msgstr "Gereksiz türler kaldırılır::" -#: library/stdtypes.rst:5068 +#: library/stdtypes.rst:5074 msgid "When comparing unions, the order is ignored::" msgstr "Birlikleri karşılaştırırken, sipariş göz ardı edilir::" -#: library/stdtypes.rst:5072 +#: library/stdtypes.rst:5078 msgid "It is compatible with :data:`typing.Union`::" msgstr ":data:`typing.Union`:: ile uyumludur:" -#: library/stdtypes.rst:5076 +#: library/stdtypes.rst:5082 msgid "Optional types can be spelled as a union with ``None``::" msgstr "İsteğe bağlı türler ``None``:: ile bir birlik olarak yazılabilir:" -#: library/stdtypes.rst:5083 +#: library/stdtypes.rst:5089 msgid "" "Calls to :func:`isinstance` and :func:`issubclass` are also supported with a " "union object::" @@ -6436,13 +6438,13 @@ msgstr "" ":func:`isinstance` ve :func:`issubclass` çağrıları da bir birlik nesnesiyle " "desteklenir::" -#: library/stdtypes.rst:5089 +#: library/stdtypes.rst:5095 msgid "" "However, union objects containing :ref:`parameterized generics ` cannot be used::" msgstr "Ancak, :ref:`types-genericalias` içeren union nesneleri kullanılamaz::" -#: library/stdtypes.rst:5097 +#: library/stdtypes.rst:5103 msgid "" "The user-exposed type for the union object can be accessed from :data:`types." "UnionType` and used for :func:`isinstance` checks. An object cannot be " @@ -6452,7 +6454,7 @@ msgstr "" "erişilebilir ve :func:`isinstance` kontrolleri için kullanılabilir. Bir " "nesne şu türden örneklenemez::" -#: library/stdtypes.rst:5110 +#: library/stdtypes.rst:5116 msgid "" "The :meth:`__or__` method for type objects was added to support the syntax " "``X | Y``. If a metaclass implements :meth:`__or__`, the Union may override " @@ -6462,15 +6464,15 @@ msgstr "" "için eklendi. Eğer bir metaclass :meth:`__or__` metodunu uygularsa, Union " "bunu geçersiz kılabilir::" -#: library/stdtypes.rst:5128 +#: library/stdtypes.rst:5134 msgid ":pep:`604` -- PEP proposing the ``X | Y`` syntax and the Union type." msgstr ":pep:`604` -- ``X | Y`` sözdizimini ve Birlik türünü öneren PEP." -#: library/stdtypes.rst:5136 +#: library/stdtypes.rst:5142 msgid "Other Built-in Types" msgstr "Diğer Yerleşik Tipler" -#: library/stdtypes.rst:5138 +#: library/stdtypes.rst:5144 msgid "" "The interpreter supports several other kinds of objects. Most of these " "support only one or two operations." @@ -6478,11 +6480,11 @@ msgstr "" "Yorumlayıcı başka nesne türlerini de destekler. Bunların çoğu yalnızca bir " "veya iki işlemi destekler." -#: library/stdtypes.rst:5145 +#: library/stdtypes.rst:5151 msgid "Modules" msgstr "Modüller" -#: library/stdtypes.rst:5147 +#: library/stdtypes.rst:5153 msgid "" "The only special operation on a module is attribute access: ``m.name``, " "where *m* is a module and *name* accesses a name defined in *m*'s symbol " @@ -6500,7 +6502,7 @@ msgstr "" "bunun yerine bir yerlerde *foo* adında bir modül için (harici) bir " "*tanımlama* gerektirir)" -#: library/stdtypes.rst:5154 +#: library/stdtypes.rst:5160 msgid "" "A special attribute of every module is :attr:`~object.__dict__`. This is the " "dictionary containing the module's symbol table. Modifying this dictionary " @@ -6518,7 +6520,7 @@ msgstr "" "`` yazamazsınız). :attr:`~object.__dict__` öğesinin doğrudan değiştirilmesi " "önerilmez." -#: library/stdtypes.rst:5162 +#: library/stdtypes.rst:5168 msgid "" "Modules built into the interpreter are written like this: ````. If loaded from a file, they are written as ````. Eğer bir dosyadan yüklenmişlerse, ```` şeklinde yazılırlar." -#: library/stdtypes.rst:5170 +#: library/stdtypes.rst:5176 msgid "Classes and Class Instances" msgstr "Sınıflar ve Sınıf Örnekleri" -#: library/stdtypes.rst:5172 +#: library/stdtypes.rst:5178 msgid "See :ref:`objects` and :ref:`class` for these." msgstr "Bunlar için :ref:`class` ve :ref:`objects` bakın." -#: library/stdtypes.rst:5178 +#: library/stdtypes.rst:5184 msgid "Functions" msgstr "Fonksiyonlar" -#: library/stdtypes.rst:5180 +#: library/stdtypes.rst:5186 msgid "" "Function objects are created by function definitions. The only operation on " "a function object is to call it: ``func(argument-list)``." @@ -6549,7 +6551,7 @@ msgstr "" "fonksiyon nesnesi üzerindeki tek işlem onu çağırmaktır: ``func(argument-" "list)``." -#: library/stdtypes.rst:5183 +#: library/stdtypes.rst:5189 msgid "" "There are really two flavors of function objects: built-in functions and " "user-defined functions. Both support the same operation (to call the " @@ -6561,15 +6563,15 @@ msgstr "" "çağırmak için), ancak uygulama farklıdır, dolayısıyla farklı nesne türleri " "vardır." -#: library/stdtypes.rst:5187 +#: library/stdtypes.rst:5193 msgid "See :ref:`function` for more information." msgstr "Daha fazla bilgi için :ref:`function` bölümüne bakınız." -#: library/stdtypes.rst:5193 +#: library/stdtypes.rst:5199 msgid "Methods" msgstr "Yöntemler" -#: library/stdtypes.rst:5197 +#: library/stdtypes.rst:5203 msgid "" "Methods are functions that are called using the attribute notation. There " "are two flavors: built-in methods (such as :meth:`append` on lists) and " @@ -6581,7 +6583,7 @@ msgstr "" "yöntemleri. Yerleşik yöntemler, onları destekleyen türlerle birlikte " "tanımlanır." -#: library/stdtypes.rst:5202 +#: library/stdtypes.rst:5208 msgid "" "If you access a method (a function defined in a class namespace) through an " "instance, you get a special object: a :dfn:`bound method` (also called :dfn:" @@ -6601,7 +6603,7 @@ msgstr "" "``m(arg-1, arg-2, ..., arg-n)`` çağrısı tamamen ``m.__func__(m.__self__, " "arg-1, arg-2, ..., arg-n)`` çağrısına eşdeğerdir." -#: library/stdtypes.rst:5211 +#: library/stdtypes.rst:5217 msgid "" "Like function objects, bound method objects support getting arbitrary " "attributes. However, since method attributes are actually stored on the " @@ -6618,15 +6620,15 @@ msgstr "" "ayarlamak için, bunu temel işlev nesnesi üzerinde açıkça ayarlamanız " "gerekir::" -#: library/stdtypes.rst:5262 +#: library/stdtypes.rst:5268 msgid "See :ref:`types` for more information." msgstr "Daha fazla bilgi için :ref:`types` sayfasına bakın." -#: library/stdtypes.rst:5239 +#: library/stdtypes.rst:5245 msgid "Code Objects" msgstr "Kod Nesneleri" -#: library/stdtypes.rst:5245 +#: library/stdtypes.rst:5251 msgid "" "Code objects are used by the implementation to represent \"pseudo-compiled\" " "executable Python code such as a function body. They differ from function " @@ -6642,7 +6644,7 @@ msgstr "" "tarafından döndürülür ve :attr:`__code__` niteliği aracılığıyla işlev " "nesnelerinden çıkarılabilir. Ayrıca :mod:`code` modülüne de bakınız." -#: library/stdtypes.rst:5252 +#: library/stdtypes.rst:5258 msgid "" "Accessing ``__code__`` raises an :ref:`auditing event ` ``object." "__getattr__`` with arguments ``obj`` and ``\"__code__\"``." @@ -6650,7 +6652,7 @@ msgstr "" "``__code__`` 'e erişmek,``obj`` ve ``\"__code__\"`` argümanlarıyla :ref:" "`denetim etkinliği ` ``object.__getattr__`` oluşturur." -#: library/stdtypes.rst:5259 +#: library/stdtypes.rst:5265 msgid "" "A code object can be executed or evaluated by passing it (instead of a " "source string) to the :func:`exec` or :func:`eval` built-in functions." @@ -6658,11 +6660,11 @@ msgstr "" "Bir kod nesnesi (kaynak dize yerine) :func:`exec` veya :func:`eval` yerleşik " "işlevlerine geçirilerek yürütülebilir veya değerlendirilebilir." -#: library/stdtypes.rst:5268 +#: library/stdtypes.rst:5274 msgid "Type Objects" msgstr "Type Objects" -#: library/stdtypes.rst:5274 +#: library/stdtypes.rst:5280 msgid "" "Type objects represent the various object types. An object's type is " "accessed by the built-in function :func:`type`. There are no special " @@ -6674,15 +6676,15 @@ msgstr "" "işlem yoktur. Standart modül :mod:`types` tüm standart yerleşik türler için " "isimleri tanımlar." -#: library/stdtypes.rst:5279 +#: library/stdtypes.rst:5285 msgid "Types are written like this: ````." msgstr "Türler şu şekilde yazılır: ````." -#: library/stdtypes.rst:5285 +#: library/stdtypes.rst:5291 msgid "The Null Object" msgstr "Null Nesne" -#: library/stdtypes.rst:5287 +#: library/stdtypes.rst:5293 msgid "" "This object is returned by functions that don't explicitly return a value. " "It supports no special operations. There is exactly one null object, named " @@ -6692,15 +6694,15 @@ msgstr "" "operasyonları desteklemez. Tam olarak ``None`` (yerleşik bir ad) adlı bir " "null nesne vardır. ``type(None)()`` aynı singleton'u üretir." -#: library/stdtypes.rst:5291 +#: library/stdtypes.rst:5297 msgid "It is written as ``None``." msgstr "''Yok'' olarak yazılmıştır." -#: library/stdtypes.rst:5298 +#: library/stdtypes.rst:5304 msgid "The Ellipsis Object" msgstr "Üç Nokta Nesnesi" -#: library/stdtypes.rst:5300 +#: library/stdtypes.rst:5306 msgid "" "This object is commonly used by slicing (see :ref:`slicings`). It supports " "no special operations. There is exactly one ellipsis object, named :const:" @@ -6712,15 +6714,15 @@ msgstr "" "ad) adında bir elips nesnesi vardır. ``type(Ellipsis)()``, :const:" "`Ellipsis` singletonunu üretir." -#: library/stdtypes.rst:5305 +#: library/stdtypes.rst:5311 msgid "It is written as ``Ellipsis`` or ``...``." msgstr "``Ellipsis`` veya ``...`` olarak yazılmıştır." -#: library/stdtypes.rst:5311 +#: library/stdtypes.rst:5317 msgid "The NotImplemented Object" msgstr "NotImplemented Nesnesi" -#: library/stdtypes.rst:5313 +#: library/stdtypes.rst:5319 msgid "" "This object is returned from comparisons and binary operations when they are " "asked to operate on types they don't support. See :ref:`comparisons` for " @@ -6732,15 +6734,15 @@ msgstr "" "ref:`comparisons` sayfasına bakın. Tam olarak bir ``NotImplemented`` " "nesnesi vardır. ``type(NotImplemented)()``, singleton örneğini üretir." -#: library/stdtypes.rst:5318 +#: library/stdtypes.rst:5324 msgid "It is written as ``NotImplemented``." msgstr "''NotImplemented'' olarak yazılmıştır." -#: library/stdtypes.rst:5324 +#: library/stdtypes.rst:5330 msgid "Boolean Values" msgstr "Boolean Değerleri" -#: library/stdtypes.rst:5326 +#: library/stdtypes.rst:5332 msgid "" "Boolean values are the two constant objects ``False`` and ``True``. They " "are used to represent truth values (although other values can also be " @@ -6759,15 +6761,15 @@ msgstr "" "Boolean'a dönüştürmek için kullanılabilir (yukarıdaki bölüm :ref:`truth` a " "bakın)." -#: library/stdtypes.rst:5339 +#: library/stdtypes.rst:5345 msgid "They are written as ``False`` and ``True``, respectively." msgstr "Sırasıyla ``Yanlış`` ve ``Doğru`` olarak yazılırlar." -#: library/stdtypes.rst:5345 +#: library/stdtypes.rst:5351 msgid "Internal Objects" msgstr "İç Nesneler" -#: library/stdtypes.rst:5347 +#: library/stdtypes.rst:5353 msgid "" "See :ref:`types` for this information. It describes stack frame objects, " "traceback objects, and slice objects." @@ -6775,11 +6777,11 @@ msgstr "" "Bu bilgi için :ref:`types` sayfasına bakın. Yığın çerçeve nesnelerini, geri " "izleme nesnelerini ve dilim nesnelerini açıklar." -#: library/stdtypes.rst:5354 +#: library/stdtypes.rst:5360 msgid "Special Attributes" msgstr "Özel Özellikler" -#: library/stdtypes.rst:5356 +#: library/stdtypes.rst:5362 msgid "" "The implementation adds a few special read-only attributes to several object " "types, where they are relevant. Some of these are not reported by the :func:" @@ -6789,7 +6791,7 @@ msgstr "" "öznitelik ekler. Bunlardan bazıları :func:`dir` yerleşik işlevi tarafından " "bildirilmez." -#: library/stdtypes.rst:5363 +#: library/stdtypes.rst:5369 msgid "" "A dictionary or other mapping object used to store an object's (writable) " "attributes." @@ -6797,20 +6799,20 @@ msgstr "" "Bir nesnenin (yazılabilir) özniteliklerini depolamak için kullanılan sözlük " "veya başka bir eşleme nesnesi." -#: library/stdtypes.rst:5369 +#: library/stdtypes.rst:5375 msgid "The class to which a class instance belongs." msgstr "Bir sınıf örneğinin ait olduğu sınıf." -#: library/stdtypes.rst:5374 +#: library/stdtypes.rst:5380 msgid "The tuple of base classes of a class object." msgstr "Bir sınıf elemanının temel sınıflarının kümesi." -#: library/stdtypes.rst:5379 +#: library/stdtypes.rst:5385 msgid "" "The name of the class, function, method, descriptor, or generator instance." msgstr "Sınıf, fonksiyon, yöntem, tanımlayıcı veya üretici örneğinin adı." -#: library/stdtypes.rst:5385 +#: library/stdtypes.rst:5391 msgid "" "The :term:`qualified name` of the class, function, method, descriptor, or " "generator instance." @@ -6818,7 +6820,7 @@ msgstr "" "Sınıf, fonksiyon, yöntem, tanımlayıcı veya üretici örneğinin :term:" "`qualified name`." -#: library/stdtypes.rst:5393 +#: library/stdtypes.rst:5399 msgid "" "This attribute is a tuple of classes that are considered when looking for " "base classes during method resolution." @@ -6826,7 +6828,7 @@ msgstr "" "Bu öznitelik, yöntem çözümlemesi sırasında temel sınıfları ararken dikkate " "alınan bir sınıf kümesidir." -#: library/stdtypes.rst:5399 +#: library/stdtypes.rst:5405 msgid "" "This method can be overridden by a metaclass to customize the method " "resolution order for its instances. It is called at class instantiation, " @@ -6836,7 +6838,7 @@ msgstr "" "meta sınıf tarafından geçersiz kılınabilir. Sınıf örneğinde çağrılır ve " "sonucu :attr:`~class.__mro__` içinde depolanır." -#: library/stdtypes.rst:5406 +#: library/stdtypes.rst:5412 msgid "" "Each class keeps a list of weak references to its immediate subclasses. " "This method returns a list of all those references still alive. The list is " @@ -6846,11 +6848,11 @@ msgstr "" "tutar. Bu yöntem, hala var olan tüm bu başvuruların bir listesini " "döndürür. Liste tanım sırasına göredir. Örnek::" -#: library/stdtypes.rst:5417 +#: library/stdtypes.rst:5423 msgid "Integer string conversion length limitation" msgstr "" -#: library/stdtypes.rst:5419 +#: library/stdtypes.rst:5425 msgid "" "CPython has a global limit for converting between :class:`int` and :class:" "`str` to mitigate denial of service attacks. This limit *only* applies to " @@ -6858,9 +6860,9 @@ msgid "" "binary conversions are unlimited. The limit can be configured." msgstr "" -#: library/stdtypes.rst:5424 +#: library/stdtypes.rst:5430 msgid "" -"The :class:`int` type in CPython is an abitrary length number stored in " +"The :class:`int` type in CPython is an arbitrary length number stored in " "binary form (commonly known as a \"bignum\"). There exists no algorithm that " "can convert a string to a binary integer or a binary integer to a string in " "linear time, *unless* the base is a power of 2. Even the best known " @@ -6868,25 +6870,25 @@ msgid "" "value such as ``int('1' * 500_000)`` can take over a second on a fast CPU." msgstr "" -#: library/stdtypes.rst:5431 +#: library/stdtypes.rst:5437 msgid "" "Limiting conversion size offers a practical way to avoid `CVE-2020-10735 " "`_." msgstr "" -#: library/stdtypes.rst:5434 +#: library/stdtypes.rst:5440 msgid "" "The limit is applied to the number of digit characters in the input or " "output string when a non-linear conversion algorithm would be involved. " "Underscores and the sign are not counted towards the limit." msgstr "" -#: library/stdtypes.rst:5438 +#: library/stdtypes.rst:5444 msgid "" "When an operation would exceed the limit, a :exc:`ValueError` is raised:" msgstr "" -#: library/stdtypes.rst:5460 +#: library/stdtypes.rst:5466 msgid "" "The default limit is 4300 digits as provided in :data:`sys.int_info." "default_max_str_digits `. The lowest limit that can be " @@ -6894,136 +6896,136 @@ msgid "" "str_digits_check_threshold `." msgstr "" -#: library/stdtypes.rst:5465 +#: library/stdtypes.rst:5471 #, fuzzy msgid "Verification:" msgstr "İşlem" -#: library/stdtypes.rst:5480 +#: library/stdtypes.rst:5486 msgid "Affected APIs" msgstr "" -#: library/stdtypes.rst:5482 +#: library/stdtypes.rst:5488 msgid "" "The limitation only applies to potentially slow conversions between :class:" "`int` and :class:`str` or :class:`bytes`:" msgstr "" -#: library/stdtypes.rst:5485 +#: library/stdtypes.rst:5491 msgid "``int(string)`` with default base 10." msgstr "" -#: library/stdtypes.rst:5486 +#: library/stdtypes.rst:5492 msgid "``int(string, base)`` for all bases that are not a power of 2." msgstr "" -#: library/stdtypes.rst:5487 +#: library/stdtypes.rst:5493 msgid "``str(integer)``." msgstr "" -#: library/stdtypes.rst:5488 -msgid "``repr(integer)``" +#: library/stdtypes.rst:5494 +msgid "``repr(integer)``." msgstr "" -#: library/stdtypes.rst:5489 +#: library/stdtypes.rst:5495 msgid "" "any other string conversion to base 10, for example ``f\"{integer}\"``, " "``\"{}\".format(integer)``, or ``b\"%d\" % integer``." msgstr "" -#: library/stdtypes.rst:5492 +#: library/stdtypes.rst:5498 msgid "The limitations do not apply to functions with a linear algorithm:" msgstr "" -#: library/stdtypes.rst:5494 +#: library/stdtypes.rst:5500 msgid "``int(string, base)`` with base 2, 4, 8, 16, or 32." msgstr "" -#: library/stdtypes.rst:5495 +#: library/stdtypes.rst:5501 msgid ":func:`int.from_bytes` and :func:`int.to_bytes`." msgstr "" -#: library/stdtypes.rst:5496 +#: library/stdtypes.rst:5502 msgid ":func:`hex`, :func:`oct`, :func:`bin`." msgstr "" -#: library/stdtypes.rst:5497 +#: library/stdtypes.rst:5503 msgid ":ref:`formatspec` for hex, octal, and binary numbers." msgstr "" -#: library/stdtypes.rst:5498 +#: library/stdtypes.rst:5504 #, fuzzy msgid ":class:`str` to :class:`float`." msgstr "Set Türleri --- :class:`set`, :class:`frozenset`" -#: library/stdtypes.rst:5499 +#: library/stdtypes.rst:5505 msgid ":class:`str` to :class:`decimal.Decimal`." msgstr "" -#: library/stdtypes.rst:5502 +#: library/stdtypes.rst:5508 msgid "Configuring the limit" msgstr "" -#: library/stdtypes.rst:5504 +#: library/stdtypes.rst:5510 msgid "" "Before Python starts up you can use an environment variable or an " "interpreter command line flag to configure the limit:" msgstr "" -#: library/stdtypes.rst:5507 +#: library/stdtypes.rst:5513 msgid "" ":envvar:`PYTHONINTMAXSTRDIGITS`, e.g. ``PYTHONINTMAXSTRDIGITS=640 python3`` " "to set the limit to 640 or ``PYTHONINTMAXSTRDIGITS=0 python3`` to disable " "the limitation." msgstr "" -#: library/stdtypes.rst:5510 +#: library/stdtypes.rst:5516 msgid "" ":option:`-X int_max_str_digits <-X>`, e.g. ``python3 -X " "int_max_str_digits=640``" msgstr "" -#: library/stdtypes.rst:5512 +#: library/stdtypes.rst:5518 msgid "" ":data:`sys.flags.int_max_str_digits` contains the value of :envvar:" "`PYTHONINTMAXSTRDIGITS` or :option:`-X int_max_str_digits <-X>`. If both the " "env var and the ``-X`` option are set, the ``-X`` option takes precedence. A " "value of *-1* indicates that both were unset, thus a value of :data:`sys." -"int_info.default_max_str_digits` was used during initilization." +"int_info.default_max_str_digits` was used during initialization." msgstr "" -#: library/stdtypes.rst:5518 +#: library/stdtypes.rst:5524 msgid "" "From code, you can inspect the current limit and set a new one using these :" "mod:`sys` APIs:" msgstr "" -#: library/stdtypes.rst:5521 +#: library/stdtypes.rst:5527 msgid "" ":func:`sys.get_int_max_str_digits` and :func:`sys.set_int_max_str_digits` " "are a getter and setter for the interpreter-wide limit. Subinterpreters have " "their own limit." msgstr "" -#: library/stdtypes.rst:5525 +#: library/stdtypes.rst:5531 msgid "" "Information about the default and minimum can be found in :attr:`sys." "int_info`:" msgstr "" -#: library/stdtypes.rst:5527 +#: library/stdtypes.rst:5533 msgid "" ":data:`sys.int_info.default_max_str_digits ` is the compiled-" "in default limit." msgstr "" -#: library/stdtypes.rst:5529 +#: library/stdtypes.rst:5535 msgid "" ":data:`sys.int_info.str_digits_check_threshold ` is the lowest " "accepted value for the limit (other than 0 which disables it)." msgstr "" -#: library/stdtypes.rst:5536 +#: library/stdtypes.rst:5542 msgid "" "Setting a low limit *can* lead to problems. While rare, code exists that " "contains integer constants in decimal in their source that exceed the " @@ -7035,7 +7037,7 @@ msgid "" "constants is to convert them to ``0x`` hexadecimal form as it has no limit." msgstr "" -#: library/stdtypes.rst:5545 +#: library/stdtypes.rst:5551 msgid "" "Test your application thoroughly if you use a low limit. Ensure your tests " "run with the limit set early via the environment or flag so that it applies " @@ -7043,11 +7045,11 @@ msgid "" "to precompile ``.py`` sources to ``.pyc`` files." msgstr "" -#: library/stdtypes.rst:5551 +#: library/stdtypes.rst:5557 msgid "Recommended configuration" msgstr "" -#: library/stdtypes.rst:5553 +#: library/stdtypes.rst:5559 msgid "" "The default :data:`sys.int_info.default_max_str_digits` is expected to be " "reasonable for most applications. If your application requires a different " @@ -7055,20 +7057,20 @@ msgid "" "as these APIs were added in security patch releases in versions before 3.11." msgstr "" -#: library/stdtypes.rst:5558 +#: library/stdtypes.rst:5564 #, fuzzy msgid "Example::" msgstr "Örnek: ::" -#: library/stdtypes.rst:5570 +#: library/stdtypes.rst:5576 msgid "If you need to disable it entirely, set it to ``0``." msgstr "" -#: library/stdtypes.rst:5574 +#: library/stdtypes.rst:5580 msgid "Footnotes" msgstr "Dipnotlar" -#: library/stdtypes.rst:5575 +#: library/stdtypes.rst:5581 msgid "" "Additional information on these special methods may be found in the Python " "Reference Manual (:ref:`customization`)." @@ -7076,7 +7078,7 @@ msgstr "" "Bu özel yöntemler hakkında daha fazla bilgi Python Referans El Kitabında (:" "ref:`customization`) bulunabilir." -#: library/stdtypes.rst:5578 +#: library/stdtypes.rst:5584 msgid "" "As a consequence, the list ``[1, 2]`` is considered equal to ``[1.0, 2.0]``, " "and similarly for tuples." @@ -7084,12 +7086,12 @@ msgstr "" "Sonuç olarak, ``[1, 2]`` listesi ``[1.0, 2.0]`` ve benzer şekilde demetler " "için eşit kabul edilir." -#: library/stdtypes.rst:5581 +#: library/stdtypes.rst:5587 msgid "They must have since the parser can't tell the type of the operands." msgstr "" "Ayrıştırıcı, işlenenlerin türünü söyleyemediğinden sahip olmaları gerekir." -#: library/stdtypes.rst:5583 +#: library/stdtypes.rst:5589 msgid "" "Cased characters are those with general category property being one of " "\"Lu\" (Letter, uppercase), \"Ll\" (Letter, lowercase), or \"Lt\" (Letter, " @@ -7099,7 +7101,7 @@ msgstr "" "\"Ll\" (Harf, küçük harf) veya \"Lt\" (Harf, başlık) karakterlerinden biri " "olan karakterlerdir." -#: library/stdtypes.rst:5586 +#: library/stdtypes.rst:5592 msgid "" "To format only a tuple you should therefore provide a singleton tuple whose " "only element is the tuple to be formatted." @@ -7107,6 +7109,20 @@ msgstr "" "Bu nedenle, yalnızca bir tuple(demet) biçimlendirmek için, tek öğesi " "biçimlendirilecek tuple(demet) olan tek bir tuple(demet) sağlamanız gerekir." +#~ msgid "" +#~ "By default, the *errors* argument is not checked for best performances, " +#~ "but only used at the first encoding error. Enable the :ref:`Python " +#~ "Development Mode `, or use a :ref:`debug build ` to " +#~ "check *errors*." +#~ msgstr "" +#~ "Varsayılan olarak, *error* argümanı en iyi performans için kontrol " +#~ "edilmez, sadece ilk kodlama hatasında kullanılır. :ref:`Python Geliştirme " +#~ "Modu ` öğesini etkinleştirin veya *hataları* kontrol etmek için " +#~ "bir :ref:`hata ayıklama derlemesi ` kullanın." + +#~ msgid "Support for keyword arguments added." +#~ msgstr "Anahtar kelime argümanları için destek eklendi." + #~ msgid "" #~ "Dictionaries can be created by placing a comma-separated list of ``key: " #~ "value`` pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}" diff --git a/library/subprocess.po b/library/subprocess.po index 60cd23753..a9adc8c00 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -838,7 +838,7 @@ msgid "" "waited for. ::" msgstr "" -#: library/subprocess.rst:672 +#: library/subprocess.rst:320 msgid "" "Raises an :ref:`auditing event ` ``subprocess.Popen`` with " "arguments ``executable``, ``args``, ``cwd``, ``env``." diff --git a/library/sys.po b/library/sys.po index 547806dd3..c04fd3074 100644 --- a/library/sys.po +++ b/library/sys.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -67,7 +67,7 @@ msgid "" "mod:`ctypes`) should be completely removed or closely monitored." msgstr "" -#: library/sys.rst:47 +#: library/sys.rst:20 msgid "" "Raises an :ref:`auditing event ` ``sys.addaudithook`` with no " "arguments." @@ -252,7 +252,7 @@ msgid "" "by the time calling code examines the frame." msgstr "" -#: library/sys.rst:208 +#: library/sys.rst:14 msgid "" "Raises an :ref:`auditing event ` ``sys._current_frames`` with no " "arguments." @@ -270,7 +270,7 @@ msgstr "" msgid "This is most useful for statistical profiling." msgstr "" -#: library/sys.rst:221 +#: library/sys.rst:10 msgid "" "Raises an :ref:`auditing event ` ``sys._current_exceptions`` with " "no arguments." @@ -421,7 +421,7 @@ msgid "" "excepthook``." msgstr "" -#: library/sys.rst:357 +#: library/sys.rst:10 msgid "" "Raises an :ref:`auditing event ` ``sys.excepthook`` with arguments " "``hook``, ``type``, ``value``, ``traceback``." @@ -1080,7 +1080,7 @@ msgid "" "stack." msgstr "" -#: library/sys.rst:751 +#: library/sys.rst:6 msgid "" "Raises an :ref:`auditing event ` ``sys._getframe`` with no " "arguments." @@ -1440,7 +1440,7 @@ msgid "" "`." msgstr "" -#: library/sys.rst:1007 +#: library/sys.rst:7 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_interactivehook`` " "with argument ``hook``." @@ -1834,7 +1834,7 @@ msgid "" "depends on the event type." msgstr "" -#: library/sys.rst:1320 +#: library/sys.rst:21 msgid "" "Raises an :ref:`auditing event ` ``sys.setprofile`` with no " "arguments." @@ -2044,7 +2044,7 @@ msgstr "" msgid "For more information on code and frame objects, refer to :ref:`types`." msgstr "" -#: library/sys.rst:1454 +#: library/sys.rst:78 msgid "" "Raises an :ref:`auditing event ` ``sys.settrace`` with no " "arguments." @@ -2073,13 +2073,13 @@ msgid "" "about to be garbage collected." msgstr "" -#: library/sys.rst:1476 +#: library/sys.rst:7 msgid "" "Raises an :ref:`auditing event ` ``sys." "set_asyncgen_hooks_firstiter`` with no arguments." msgstr "" -#: library/sys.rst:1478 +#: library/sys.rst:9 msgid "" "Raises an :ref:`auditing event ` ``sys." "set_asyncgen_hooks_finalizer`` with no arguments." @@ -2408,7 +2408,7 @@ msgstr "" msgid "See also :func:`excepthook` which handles uncaught exceptions." msgstr "" -#: library/sys.rst:1705 +#: library/sys.rst:32 msgid "" "Raises an :ref:`auditing event ` ``sys.unraisablehook`` with " "arguments ``hook``, ``unraisable``." @@ -2463,9 +2463,9 @@ msgstr "" msgid "" "The version number used to form registry keys on Windows platforms. This is " "stored as string resource 1000 in the Python DLL. The value is normally the " -"first three characters of :const:`version`. It is provided in the :mod:" -"`sys` module for informational purposes; modifying this value has no effect " -"on the registry keys used by Python." +"major and minor versions of the running Python interpreter. It is provided " +"in the :mod:`sys` module for informational purposes; modifying this value " +"has no effect on the registry keys used by Python." msgstr "" #: library/sys.rst:1762 diff --git a/library/syslog.po b/library/syslog.po index 12287a892..804d30956 100644 --- a/library/syslog.po +++ b/library/syslog.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -54,7 +54,7 @@ msgid "" "func:`openlog` will be called with no arguments." msgstr "" -#: library/syslog.rst:34 +#: library/syslog.rst:11 msgid "" "Raises an :ref:`auditing event ` ``syslog.syslog`` with arguments " "``priority``, ``message``." @@ -84,7 +84,7 @@ msgid "" "for messages which do not have a facility explicitly encoded." msgstr "" -#: library/syslog.rst:55 +#: library/syslog.rst:12 msgid "" "Raises an :ref:`auditing event ` ``syslog.openlog`` with arguments " "``ident``, ``logoption``, ``facility``." @@ -109,7 +109,7 @@ msgid "" "`openlog` parameters are reset to defaults." msgstr "" -#: library/syslog.rst:71 +#: library/syslog.rst:8 msgid "" "Raises an :ref:`auditing event ` ``syslog.closelog`` with no " "arguments." @@ -125,7 +125,7 @@ msgid "" "and including *pri*." msgstr "" -#: library/syslog.rst:83 +#: library/syslog.rst:8 msgid "" "Raises an :ref:`auditing event ` ``syslog.setlogmask`` with " "argument ``maskpri``." diff --git a/library/telnetlib.po b/library/telnetlib.po index 071fbf00a..8286e77a2 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -178,7 +178,7 @@ msgstr "" msgid "Do not try to reopen an already connected instance." msgstr "" -#: library/telnetlib.rst:149 +#: library/telnetlib.rst:8 msgid "" "Raises an :ref:`auditing event ` ``telnetlib.Telnet.open`` with " "arguments ``self``, ``host``, ``port``." @@ -216,7 +216,7 @@ msgid "" "connection is closed." msgstr "" -#: library/telnetlib.rst:186 +#: library/telnetlib.rst:5 msgid "" "Raises an :ref:`auditing event ` ``telnetlib.Telnet.write`` with " "arguments ``self``, ``buffer``." diff --git a/library/tempfile.po b/library/tempfile.po index e5c58dcb7..e19cadf8d 100644 --- a/library/tempfile.po +++ b/library/tempfile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -102,7 +102,7 @@ msgid "" "for NamedTemporaryFile." msgstr "" -#: library/tempfile.rst:93 library/tempfile.rst:197 +#: library/tempfile.rst:33 library/tempfile.rst:42 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkstemp`` with " "argument ``fullpath``." @@ -186,7 +186,7 @@ msgid "" "shutdown)." msgstr "" -#: library/tempfile.rst:223 +#: library/tempfile.rst:21 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkdtemp`` with " "argument ``fullpath``." diff --git a/library/traceback.po b/library/traceback.po index c74cdde8b..e1c04c4d6 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -40,11 +40,29 @@ msgid "" "from :func:`sys.exc_info`." msgstr "" -#: library/traceback.rst:23 -msgid "The module defines the following functions:" +#: library/traceback.rst:26 +msgid "Module :mod:`faulthandler`" +msgstr "" + +#: library/traceback.rst:26 +msgid "" +"Used to dump Python tracebacks explicitly, on a fault, after a timeout, or " +"on a user signal." msgstr "" #: library/traceback.rst:28 +msgid "Module :mod:`pdb`" +msgstr "" + +#: library/traceback.rst:29 +msgid "Interactive source code debugger for Python programs." +msgstr "" + +#: library/traceback.rst:31 +msgid "The module defines the following functions:" +msgstr "" + +#: library/traceback.rst:35 msgid "" "Print up to *limit* stack trace entries from traceback object *tb* (starting " "from the caller's frame) if *limit* is positive. Otherwise, print the last " @@ -54,41 +72,41 @@ msgid "" "the output." msgstr "" -#: library/traceback.rst:98 +#: library/traceback.rst:105 msgid "Added negative *limit* support." msgstr "" -#: library/traceback.rst:42 +#: library/traceback.rst:49 msgid "" "Print exception information and stack trace entries from traceback object " "*tb* to *file*. This differs from :func:`print_tb` in the following ways:" msgstr "" -#: library/traceback.rst:46 +#: library/traceback.rst:53 msgid "" "if *tb* is not ``None``, it prints a header ``Traceback (most recent call " "last):``" msgstr "" -#: library/traceback.rst:49 +#: library/traceback.rst:56 msgid "it prints the exception type and *value* after the stack trace" msgstr "" -#: library/traceback.rst:53 +#: library/traceback.rst:60 msgid "" "if *type(value)* is :exc:`SyntaxError` and *value* has the appropriate " "format, it prints the line where the syntax error occurred with a caret " "indicating the approximate position of the error." msgstr "" -#: library/traceback.rst:57 +#: library/traceback.rst:64 msgid "" "Since Python 3.10, instead of passing *value* and *tb*, an exception object " "can be passed as the first argument. If *value* and *tb* are provided, the " "first argument is ignored in order to provide backwards compatibility." msgstr "" -#: library/traceback.rst:61 +#: library/traceback.rst:68 msgid "" "The optional *limit* argument has the same meaning as for :func:`print_tb`. " "If *chain* is true (the default), then chained exceptions (the :attr:" @@ -97,29 +115,29 @@ msgid "" "exception." msgstr "" -#: library/traceback.rst:160 +#: library/traceback.rst:167 msgid "The *etype* argument is ignored and inferred from the type of *value*." msgstr "" -#: library/traceback.rst:147 +#: library/traceback.rst:154 msgid "" "The *etype* parameter has been renamed to *exc* and is now positional-only." msgstr "" -#: library/traceback.rst:77 +#: library/traceback.rst:84 msgid "" "This is a shorthand for ``print_exception(*sys.exc_info(), limit, file, " "chain)``." msgstr "" -#: library/traceback.rst:83 +#: library/traceback.rst:90 msgid "" "This is a shorthand for ``print_exception(sys.last_type, sys.last_value, sys." "last_traceback, limit, file, chain)``. In general it will work only after " "an exception has reached an interactive prompt (see :data:`sys.last_type`)." msgstr "" -#: library/traceback.rst:91 +#: library/traceback.rst:98 msgid "" "Print up to *limit* stack trace entries (starting from the invocation point) " "if *limit* is positive. Otherwise, print the last ``abs(limit)`` entries. " @@ -128,7 +146,7 @@ msgid "" "optional *file* argument has the same meaning as for :func:`print_tb`." msgstr "" -#: library/traceback.rst:104 +#: library/traceback.rst:111 msgid "" "Return a :class:`StackSummary` object representing a list of \"pre-" "processed\" stack trace entries extracted from the traceback object *tb*. " @@ -142,14 +160,14 @@ msgid "" "stripped; if the source is not available it is ``None``." msgstr "" -#: library/traceback.rst:118 +#: library/traceback.rst:125 msgid "" "Extract the raw traceback from the current stack frame. The return value " "has the same format as for :func:`extract_tb`. The optional *f* and *limit* " "arguments have the same meaning as for :func:`print_stack`." msgstr "" -#: library/traceback.rst:125 +#: library/traceback.rst:132 msgid "" "Given a list of tuples or :class:`FrameSummary` objects as returned by :func:" "`extract_tb` or :func:`extract_stack`, return a list of strings ready for " @@ -159,7 +177,7 @@ msgid "" "text line is not ``None``." msgstr "" -#: library/traceback.rst:135 +#: library/traceback.rst:142 msgid "" "Format the exception part of a traceback using an exception value such as " "given by ``sys.last_value``. The return value is a list of strings, each " @@ -170,14 +188,14 @@ msgid "" "the list." msgstr "" -#: library/traceback.rst:143 +#: library/traceback.rst:150 msgid "" "Since Python 3.10, instead of passing *value*, an exception object can be " "passed as the first argument. If *value* is provided, the first argument is " "ignored in order to provide backwards compatibility." msgstr "" -#: library/traceback.rst:154 +#: library/traceback.rst:161 msgid "" "Format a stack trace and the exception information. The arguments have the " "same meaning as the corresponding arguments to :func:`print_exception`. The " @@ -186,66 +204,66 @@ msgid "" "printed, exactly the same text is printed as does :func:`print_exception`." msgstr "" -#: library/traceback.rst:163 +#: library/traceback.rst:170 msgid "" "This function's behavior and signature were modified to match :func:" "`print_exception`." msgstr "" -#: library/traceback.rst:170 +#: library/traceback.rst:177 msgid "" "This is like ``print_exc(limit)`` but returns a string instead of printing " "to a file." msgstr "" -#: library/traceback.rst:176 +#: library/traceback.rst:183 msgid "A shorthand for ``format_list(extract_tb(tb, limit))``." msgstr "" -#: library/traceback.rst:181 +#: library/traceback.rst:188 msgid "A shorthand for ``format_list(extract_stack(f, limit))``." msgstr "" -#: library/traceback.rst:185 +#: library/traceback.rst:192 msgid "" "Clears the local variables of all the stack frames in a traceback *tb* by " "calling the :meth:`clear` method of each frame object." msgstr "" -#: library/traceback.rst:192 +#: library/traceback.rst:199 msgid "" "Walk a stack following ``f.f_back`` from the given frame, yielding the frame " "and line number for each frame. If *f* is ``None``, the current stack is " "used. This helper is used with :meth:`StackSummary.extract`." msgstr "" -#: library/traceback.rst:200 +#: library/traceback.rst:207 msgid "" "Walk a traceback following ``tb_next`` yielding the frame and line number " "for each frame. This helper is used with :meth:`StackSummary.extract`." msgstr "" -#: library/traceback.rst:205 +#: library/traceback.rst:212 msgid "The module also defines the following classes:" msgstr "" -#: library/traceback.rst:208 +#: library/traceback.rst:215 msgid ":class:`TracebackException` Objects" msgstr "" -#: library/traceback.rst:212 +#: library/traceback.rst:219 msgid "" ":class:`TracebackException` objects are created from actual exceptions to " "capture data for later printing in a lightweight fashion." msgstr "" -#: library/traceback.rst:269 +#: library/traceback.rst:276 msgid "" "Capture an exception for later rendering. *limit*, *lookup_lines* and " "*capture_locals* are as for the :class:`StackSummary` class." msgstr "" -#: library/traceback.rst:220 +#: library/traceback.rst:227 msgid "" "If *compact* is true, only data that is required by :class:" "`TracebackException`'s ``format`` method is saved in the class attributes. " @@ -253,109 +271,109 @@ msgid "" "is ``None`` and ``__suppress_context__`` is false." msgstr "" -#: library/traceback.rst:272 +#: library/traceback.rst:279 msgid "" "Note that when locals are captured, they are also shown in the traceback." msgstr "" -#: library/traceback.rst:229 +#: library/traceback.rst:236 msgid "A :class:`TracebackException` of the original ``__cause__``." msgstr "" -#: library/traceback.rst:233 +#: library/traceback.rst:240 msgid "A :class:`TracebackException` of the original ``__context__``." msgstr "" -#: library/traceback.rst:237 +#: library/traceback.rst:244 msgid "The ``__suppress_context__`` value from the original exception." msgstr "" -#: library/traceback.rst:241 +#: library/traceback.rst:248 msgid "A :class:`StackSummary` representing the traceback." msgstr "" -#: library/traceback.rst:245 +#: library/traceback.rst:252 msgid "The class of the original traceback." msgstr "" -#: library/traceback.rst:249 +#: library/traceback.rst:256 msgid "For syntax errors - the file name where the error occurred." msgstr "" -#: library/traceback.rst:253 +#: library/traceback.rst:260 msgid "For syntax errors - the line number where the error occurred." msgstr "" -#: library/traceback.rst:257 +#: library/traceback.rst:264 msgid "For syntax errors - the text where the error occurred." msgstr "" -#: library/traceback.rst:261 +#: library/traceback.rst:268 msgid "For syntax errors - the offset into the text where the error occurred." msgstr "" -#: library/traceback.rst:265 +#: library/traceback.rst:272 msgid "For syntax errors - the compiler error message." msgstr "" -#: library/traceback.rst:276 +#: library/traceback.rst:283 msgid "Format the exception." msgstr "" -#: library/traceback.rst:278 +#: library/traceback.rst:285 msgid "" "If *chain* is not ``True``, ``__cause__`` and ``__context__`` will not be " "formatted." msgstr "" -#: library/traceback.rst:281 +#: library/traceback.rst:288 msgid "" "The return value is a generator of strings, each ending in a newline and " "some containing internal newlines. :func:`~traceback.print_exception` is a " "wrapper around this method which just prints the lines to a file." msgstr "" -#: library/traceback.rst:299 +#: library/traceback.rst:306 msgid "" "The message indicating which exception occurred is always the last string in " "the output." msgstr "" -#: library/traceback.rst:290 +#: library/traceback.rst:297 msgid "Format the exception part of the traceback." msgstr "" -#: library/traceback.rst:292 +#: library/traceback.rst:299 msgid "The return value is a generator of strings, each ending in a newline." msgstr "" -#: library/traceback.rst:294 +#: library/traceback.rst:301 msgid "" "Normally, the generator emits a single string; however, for :exc:" "`SyntaxError` exceptions, it emits several lines that (when printed) display " "detailed information about where the syntax error occurred." msgstr "" -#: library/traceback.rst:302 +#: library/traceback.rst:309 msgid "Added the *compact* parameter." msgstr "" -#: library/traceback.rst:307 +#: library/traceback.rst:314 msgid ":class:`StackSummary` Objects" msgstr "" -#: library/traceback.rst:311 +#: library/traceback.rst:318 msgid "" ":class:`StackSummary` objects represent a call stack ready for formatting." msgstr "" -#: library/traceback.rst:317 +#: library/traceback.rst:324 msgid "" "Construct a :class:`StackSummary` object from a frame generator (such as is " "returned by :func:`~traceback.walk_stack` or :func:`~traceback.walk_tb`)." msgstr "" -#: library/traceback.rst:321 +#: library/traceback.rst:328 msgid "" "If *limit* is supplied, only this many frames are taken from *frame_gen*. If " "*lookup_lines* is ``False``, the returned :class:`FrameSummary` objects will " @@ -365,14 +383,14 @@ msgid "" "class:`FrameSummary` are captured as object representations." msgstr "" -#: library/traceback.rst:331 +#: library/traceback.rst:338 msgid "" "Construct a :class:`StackSummary` object from a supplied list of :class:" "`FrameSummary` objects or old-style list of tuples. Each tuple should be a " "4-tuple with filename, lineno, name, line as the elements." msgstr "" -#: library/traceback.rst:337 +#: library/traceback.rst:344 msgid "" "Returns a list of strings ready for printing. Each string in the resulting " "list corresponds to a single frame from the stack. Each string ends in a " @@ -380,26 +398,26 @@ msgid "" "with source text lines." msgstr "" -#: library/traceback.rst:342 +#: library/traceback.rst:349 msgid "" "For long sequences of the same frame and line, the first few repetitions are " "shown, followed by a summary line stating the exact number of further " "repetitions." msgstr "" -#: library/traceback.rst:346 +#: library/traceback.rst:353 msgid "Long sequences of repeated frames are now abbreviated." msgstr "" -#: library/traceback.rst:351 +#: library/traceback.rst:358 msgid ":class:`FrameSummary` Objects" msgstr "" -#: library/traceback.rst:355 +#: library/traceback.rst:362 msgid ":class:`FrameSummary` objects represent a single frame in a traceback." msgstr "" -#: library/traceback.rst:359 +#: library/traceback.rst:366 msgid "" "Represent a single frame in the traceback or stack that is being formatted " "or printed. It may optionally have a stringified version of the frames " @@ -412,11 +430,11 @@ msgid "" "display." msgstr "" -#: library/traceback.rst:372 +#: library/traceback.rst:379 msgid "Traceback Examples" msgstr "" -#: library/traceback.rst:374 +#: library/traceback.rst:381 msgid "" "This simple example implements a basic read-eval-print loop, similar to (but " "less useful than) the standard Python interactive interpreter loop. For a " @@ -424,22 +442,22 @@ msgid "" "`code` module. ::" msgstr "" -#: library/traceback.rst:396 +#: library/traceback.rst:403 msgid "" "The following example demonstrates the different ways to print and format " "the exception and traceback:" msgstr "" -#: library/traceback.rst:431 +#: library/traceback.rst:438 msgid "The output for the example would look similar to this:" msgstr "" -#: library/traceback.rst:473 +#: library/traceback.rst:480 msgid "" "The following example shows the different ways to print and format the " "stack::" msgstr "" -#: library/traceback.rst:499 +#: library/traceback.rst:506 msgid "This last example demonstrates the final few formatting functions:" msgstr "" diff --git a/library/types.po b/library/types.po index 942f7bac0..11365045d 100644 --- a/library/types.po +++ b/library/types.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -169,7 +169,7 @@ msgid "" "`lambda` expressions." msgstr "" -#: library/types.rst:119 +#: library/types.rst:4 msgid "" "Raises an :ref:`auditing event ` ``function.__new__`` with " "argument ``code``." @@ -203,7 +203,7 @@ msgstr "" msgid "The type for code objects such as returned by :func:`compile`." msgstr "" -#: library/types.rst:153 +#: library/types.rst:5 msgid "" "Raises an :ref:`auditing event ` ``code.__new__`` with arguments " "``code``, ``filename``, ``name``, ``argcount``, ``posonlyargcount``, " diff --git a/library/unittest.po b/library/unittest.po index 154027d0c..ce988af42 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2321,7 +2321,7 @@ msgstr "" #: library/unittest.rst:1922 msgid "" "List of Unix shell-style wildcard test name patterns that test methods have " -"to match to be included in test suites (see ``-v`` option)." +"to match to be included in test suites (see ``-k`` option)." msgstr "" #: library/unittest.rst:1925 @@ -2329,7 +2329,7 @@ msgid "" "If this attribute is not ``None`` (the default), all test methods to be " "included in test suites must match one of the patterns in this list. Note " "that matches are always performed using :meth:`fnmatch.fnmatchcase`, so " -"unlike patterns passed to the ``-v`` option, simple substring patterns will " +"unlike patterns passed to the ``-k`` option, simple substring patterns will " "have to be converted using ``*`` wildcards." msgstr "" diff --git a/library/urllib.request.po b/library/urllib.request.po index 1f141a3dc..f4bb8396c 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -140,7 +140,7 @@ msgid "" "`ProxyHandler` objects." msgstr "" -#: library/urllib.request.rst:90 +#: library/urllib.request.rst:61 msgid "" "Raises an :ref:`auditing event ` ``urllib.Request`` with arguments " "``fullurl``, ``data``, ``headers``, ``method``." diff --git a/library/weakref.po b/library/weakref.po index 8063cbe2f..6b3ba4a1a 100644 --- a/library/weakref.po +++ b/library/weakref.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -239,10 +239,22 @@ msgid "" msgstr "" #: library/weakref.rst:173 +msgid "" +"Note that when a key with equal value to an existing key (but not equal " +"identity) is inserted into the dictionary, it replaces the value but does " +"not replace the existing key. Due to this, when the reference to the " +"original key is deleted, it also deletes the entry in the dictionary::" +msgstr "" + +#: library/weakref.rst:186 +msgid "A workaround would be to remove the key prior to reassignment::" +msgstr "" + +#: library/weakref.rst:197 msgid "Added support for ``|`` and ``|=`` operators, specified in :pep:`584`." msgstr "" -#: library/weakref.rst:176 +#: library/weakref.rst:200 msgid "" ":class:`WeakKeyDictionary` objects have an additional method that exposes " "the internal references directly. The references are not guaranteed to be " @@ -252,39 +264,39 @@ msgid "" "longer than needed." msgstr "" -#: library/weakref.rst:186 +#: library/weakref.rst:210 msgid "Return an iterable of the weak references to the keys." msgstr "" -#: library/weakref.rst:191 +#: library/weakref.rst:215 msgid "" "Mapping class that references values weakly. Entries in the dictionary will " "be discarded when no strong reference to the value exists any more." msgstr "" -#: library/weakref.rst:194 +#: library/weakref.rst:218 msgid "" "Added support for ``|`` and ``|=`` operators, as specified in :pep:`584`." msgstr "" -#: library/weakref.rst:197 +#: library/weakref.rst:221 msgid "" ":class:`WeakValueDictionary` objects have an additional method that has the " "same issues as the :meth:`keyrefs` method of :class:`WeakKeyDictionary` " "objects." msgstr "" -#: library/weakref.rst:204 +#: library/weakref.rst:228 msgid "Return an iterable of the weak references to the values." msgstr "" -#: library/weakref.rst:209 +#: library/weakref.rst:233 msgid "" "Set class that keeps weak references to its elements. An element will be " "discarded when no strong reference to it exists any more." msgstr "" -#: library/weakref.rst:215 +#: library/weakref.rst:239 msgid "" "A custom :class:`ref` subclass which simulates a weak reference to a bound " "method (i.e., a method defined on a class and looked up on an instance). " @@ -293,7 +305,7 @@ msgid "" "method until either the object or the original function dies::" msgstr "" -#: library/weakref.rst:243 +#: library/weakref.rst:267 msgid "" "Return a callable finalizer object which will be called when *obj* is " "garbage collected. Unlike an ordinary weak reference, a finalizer will " @@ -301,7 +313,7 @@ msgid "" "lifecycle management." msgstr "" -#: library/weakref.rst:248 +#: library/weakref.rst:272 msgid "" "A finalizer is considered *alive* until it is called (either explicitly or " "at garbage collection), and after that it is *dead*. Calling a live " @@ -309,7 +321,7 @@ msgid "" "calling a dead finalizer returns :const:`None`." msgstr "" -#: library/weakref.rst:253 +#: library/weakref.rst:277 msgid "" "Exceptions raised by finalizer callbacks during garbage collection will be " "shown on the standard error output, but cannot be propagated. They are " @@ -317,50 +329,50 @@ msgid "" "`__del__` method or a weak reference's callback." msgstr "" -#: library/weakref.rst:259 +#: library/weakref.rst:283 msgid "" "When the program exits, each remaining live finalizer is called unless its :" "attr:`atexit` attribute has been set to false. They are called in reverse " "order of creation." msgstr "" -#: library/weakref.rst:263 +#: library/weakref.rst:287 msgid "" "A finalizer will never invoke its callback during the later part of the :" "term:`interpreter shutdown` when module globals are liable to have been " "replaced by :const:`None`." msgstr "" -#: library/weakref.rst:269 +#: library/weakref.rst:293 msgid "" "If *self* is alive then mark it as dead and return the result of calling " "``func(*args, **kwargs)``. If *self* is dead then return :const:`None`." msgstr "" -#: library/weakref.rst:275 +#: library/weakref.rst:299 msgid "" "If *self* is alive then mark it as dead and return the tuple ``(obj, func, " "args, kwargs)``. If *self* is dead then return :const:`None`." msgstr "" -#: library/weakref.rst:281 +#: library/weakref.rst:305 msgid "" "If *self* is alive then return the tuple ``(obj, func, args, kwargs)``. If " "*self* is dead then return :const:`None`." msgstr "" -#: library/weakref.rst:286 +#: library/weakref.rst:310 msgid "Property which is true if the finalizer is alive, false otherwise." msgstr "" -#: library/weakref.rst:290 +#: library/weakref.rst:314 msgid "" "A writable boolean property which by default is true. When the program " "exits, it calls all remaining live finalizers for which :attr:`.atexit` is " "true. They are called in reverse order of creation." msgstr "" -#: library/weakref.rst:297 +#: library/weakref.rst:321 msgid "" "It is important to ensure that *func*, *args* and *kwargs* do not own any " "references to *obj*, either directly or indirectly, since otherwise *obj* " @@ -368,60 +380,60 @@ msgid "" "bound method of *obj*." msgstr "" -#: library/weakref.rst:307 +#: library/weakref.rst:331 msgid "The type object for weak references objects." msgstr "" -#: library/weakref.rst:312 +#: library/weakref.rst:336 msgid "The type object for proxies of objects which are not callable." msgstr "" -#: library/weakref.rst:317 +#: library/weakref.rst:341 msgid "The type object for proxies of callable objects." msgstr "" -#: library/weakref.rst:322 +#: library/weakref.rst:346 msgid "" "Sequence containing all the type objects for proxies. This can make it " "simpler to test if an object is a proxy without being dependent on naming " "both proxy types." msgstr "" -#: library/weakref.rst:330 +#: library/weakref.rst:354 msgid ":pep:`205` - Weak References" msgstr "" -#: library/weakref.rst:330 +#: library/weakref.rst:354 msgid "" "The proposal and rationale for this feature, including links to earlier " "implementations and information about similar features in other languages." msgstr "" -#: library/weakref.rst:337 +#: library/weakref.rst:361 msgid "Weak Reference Objects" msgstr "" -#: library/weakref.rst:339 +#: library/weakref.rst:363 msgid "" "Weak reference objects have no methods and no attributes besides :attr:`ref." "__callback__`. A weak reference object allows the referent to be obtained, " "if it still exists, by calling it:" msgstr "" -#: library/weakref.rst:353 +#: library/weakref.rst:377 msgid "" "If the referent no longer exists, calling the reference object returns :" "const:`None`:" msgstr "" -#: library/weakref.rst:360 +#: library/weakref.rst:384 msgid "" "Testing that a weak reference object is still live should be done using the " "expression ``ref() is not None``. Normally, application code that needs to " "use a reference object should follow this pattern::" msgstr "" -#: library/weakref.rst:373 +#: library/weakref.rst:397 msgid "" "Using a separate test for \"liveness\" creates race conditions in threaded " "applications; another thread can cause a weak reference to become " @@ -429,7 +441,7 @@ msgid "" "safe in threaded applications as well as single-threaded applications." msgstr "" -#: library/weakref.rst:378 +#: library/weakref.rst:402 msgid "" "Specialized versions of :class:`ref` objects can be created through " "subclassing. This is used in the implementation of the :class:" @@ -439,18 +451,18 @@ msgid "" "to retrieve the referent." msgstr "" -#: library/weakref.rst:384 +#: library/weakref.rst:408 msgid "" "This example shows how a subclass of :class:`ref` can be used to store " "additional information about an object and affect the value that's returned " "when the referent is accessed::" msgstr "" -#: library/weakref.rst:411 +#: library/weakref.rst:435 msgid "Example" msgstr "" -#: library/weakref.rst:413 +#: library/weakref.rst:437 msgid "" "This simple example shows how an application can use object IDs to retrieve " "objects that it has seen before. The IDs of the objects can then be used in " @@ -458,67 +470,67 @@ msgid "" "objects can still be retrieved by ID if they do." msgstr "" -#: library/weakref.rst:438 +#: library/weakref.rst:462 msgid "Finalizer Objects" msgstr "" -#: library/weakref.rst:440 +#: library/weakref.rst:464 msgid "" "The main benefit of using :class:`finalize` is that it makes it simple to " "register a callback without needing to preserve the returned finalizer " "object. For instance" msgstr "" -#: library/weakref.rst:454 +#: library/weakref.rst:478 msgid "" "The finalizer can be called directly as well. However the finalizer will " "invoke the callback at most once." msgstr "" -#: library/weakref.rst:470 +#: library/weakref.rst:494 msgid "" "You can unregister a finalizer using its :meth:`~finalize.detach` method. " "This kills the finalizer and returns the arguments passed to the constructor " "when it was created." msgstr "" -#: library/weakref.rst:484 +#: library/weakref.rst:508 msgid "" "Unless you set the :attr:`~finalize.atexit` attribute to :const:`False`, a " "finalizer will be called when the program exits if it is still alive. For " "instance" msgstr "" -#: library/weakref.rst:499 +#: library/weakref.rst:523 msgid "Comparing finalizers with :meth:`__del__` methods" msgstr "" -#: library/weakref.rst:501 +#: library/weakref.rst:525 msgid "" "Suppose we want to create a class whose instances represent temporary " "directories. The directories should be deleted with their contents when the " "first of the following events occurs:" msgstr "" -#: library/weakref.rst:505 +#: library/weakref.rst:529 msgid "the object is garbage collected," msgstr "" -#: library/weakref.rst:506 +#: library/weakref.rst:530 msgid "the object's :meth:`remove` method is called, or" msgstr "" -#: library/weakref.rst:507 +#: library/weakref.rst:531 msgid "the program exits." msgstr "" -#: library/weakref.rst:509 +#: library/weakref.rst:533 msgid "" "We might try to implement the class using a :meth:`__del__` method as " "follows::" msgstr "" -#: library/weakref.rst:528 +#: library/weakref.rst:552 msgid "" "Starting with Python 3.4, :meth:`__del__` methods no longer prevent " "reference cycles from being garbage collected, and module globals are no " @@ -526,35 +538,35 @@ msgid "" "code should work without any issues on CPython." msgstr "" -#: library/weakref.rst:533 +#: library/weakref.rst:557 msgid "" "However, handling of :meth:`__del__` methods is notoriously implementation " "specific, since it depends on internal details of the interpreter's garbage " "collector implementation." msgstr "" -#: library/weakref.rst:537 +#: library/weakref.rst:561 msgid "" "A more robust alternative can be to define a finalizer which only references " "the specific functions and objects that it needs, rather than having access " "to the full state of the object::" msgstr "" -#: library/weakref.rst:553 +#: library/weakref.rst:577 msgid "" "Defined like this, our finalizer only receives a reference to the details it " "needs to clean up the directory appropriately. If the object never gets " "garbage collected the finalizer will still be called at exit." msgstr "" -#: library/weakref.rst:557 +#: library/weakref.rst:581 msgid "" "The other advantage of weakref based finalizers is that they can be used to " "register finalizers for classes where the definition is controlled by a " "third party, such as running code when a module is unloaded::" msgstr "" -#: library/weakref.rst:569 +#: library/weakref.rst:593 msgid "" "If you create a finalizer object in a daemonic thread just as the program " "exits then there is the possibility that the finalizer does not get called " diff --git a/library/webbrowser.po b/library/webbrowser.po index e10b37fb8..5a71584ff 100644 --- a/library/webbrowser.po +++ b/library/webbrowser.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -96,7 +96,7 @@ msgid "" "is neither supported nor portable." msgstr "" -#: library/webbrowser.rst:67 +#: library/webbrowser.rst:12 msgid "" "Raises an :ref:`auditing event ` ``webbrowser.open`` with argument " "``url``." diff --git a/library/winreg.po b/library/winreg.po index 9987c69a2..054880316 100644 --- a/library/winreg.po +++ b/library/winreg.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -76,7 +76,7 @@ msgid "" "exc:`OSError` exception is raised." msgstr "" -#: library/winreg.rst:56 +#: library/winreg.rst:12 msgid "" "Raises an :ref:`auditing event ` ``winreg.ConnectRegistry`` with " "arguments ``computer_name``, ``key``." @@ -115,13 +115,13 @@ msgstr "" msgid "If the key already exists, this function opens the existing key." msgstr "" -#: library/winreg.rst:112 +#: library/winreg.rst:23 msgid "" "Raises an :ref:`auditing event ` ``winreg.CreateKey`` with " "arguments ``key``, ``sub_key``, ``access``." msgstr "" -#: library/winreg.rst:114 library/winreg.rst:324 +#: library/winreg.rst:20 library/winreg.rst:25 msgid "" "Raises an :ref:`auditing event ` ``winreg.OpenKey/result`` with " "argument ``key``." @@ -160,7 +160,7 @@ msgid "" "removed. If the method fails, an :exc:`OSError` exception is raised." msgstr "" -#: library/winreg.rst:168 +#: library/winreg.rst:24 msgid "" "Raises an :ref:`auditing event ` ``winreg.DeleteKey`` with " "arguments ``key``, ``sub_key``, ``access``." @@ -193,7 +193,7 @@ msgstr "" msgid "*value* is a string that identifies the value to remove." msgstr "" -#: library/winreg.rst:185 +#: library/winreg.rst:8 msgid "" "Raises an :ref:`auditing event ` ``winreg.DeleteValue`` with " "arguments ``key``, ``value``." @@ -214,7 +214,7 @@ msgid "" "indicating, no more values are available." msgstr "" -#: library/winreg.rst:201 +#: library/winreg.rst:12 msgid "" "Raises an :ref:`auditing event ` ``winreg.EnumKey`` with arguments " "``key``, ``index``." @@ -276,7 +276,7 @@ msgid "" "for :meth:`SetValueEx`)" msgstr "" -#: library/winreg.rst:236 +#: library/winreg.rst:28 msgid "" "Raises an :ref:`auditing event ` ``winreg.EnumValue`` with " "arguments ``key``, ``index``." @@ -288,7 +288,7 @@ msgid "" "`REG_EXPAND_SZ`::" msgstr "" -#: library/winreg.rst:253 +#: library/winreg.rst:7 msgid "" "Raises an :ref:`auditing event ` ``winreg." "ExpandEnvironmentStrings`` with argument ``str``." @@ -352,7 +352,7 @@ msgid "" "specified in *file_name* is relative to the remote computer." msgstr "" -#: library/winreg.rst:299 +#: library/winreg.rst:22 msgid "" "Raises an :ref:`auditing event ` ``winreg.LoadKey`` with arguments " "``key``, ``sub_key``, ``file_name``." @@ -387,7 +387,7 @@ msgstr "" msgid "If the function fails, :exc:`OSError` is raised." msgstr "" -#: library/winreg.rst:322 +#: library/winreg.rst:18 msgid "" "Raises an :ref:`auditing event ` ``winreg.OpenKey`` with arguments " "``key``, ``sub_key``, ``access``." @@ -415,7 +415,7 @@ msgid "" "nanoseconds since Jan 1, 1601." msgstr "" -#: library/winreg.rst:356 +#: library/winreg.rst:22 msgid "" "Raises an :ref:`auditing event ` ``winreg.QueryInfoKey`` with " "argument ``key``." @@ -441,7 +441,7 @@ msgid "" "`QueryValueEx` if possible." msgstr "" -#: library/winreg.rst:400 +#: library/winreg.rst:21 msgid "" "Raises an :ref:`auditing event ` ``winreg.QueryValue`` with " "arguments ``key``, ``sub_key``, ``value_name``." @@ -497,7 +497,7 @@ msgstr "" msgid "This function passes ``NULL`` for *security_attributes* to the API." msgstr "" -#: library/winreg.rst:425 +#: library/winreg.rst:21 msgid "" "Raises an :ref:`auditing event ` ``winreg.SaveKey`` with arguments " "``key``, ``file_name``." @@ -543,7 +543,7 @@ msgid "" "`KEY_SET_VALUE` access." msgstr "" -#: library/winreg.rst:483 +#: library/winreg.rst:26 msgid "" "Raises an :ref:`auditing event ` ``winreg.SetValue`` with " "arguments ``key``, ``sub_key``, ``type``, ``value``." @@ -599,7 +599,7 @@ msgid "" "subkeys." msgstr "" -#: library/winreg.rst:501 +#: library/winreg.rst:14 msgid "" "Raises an :ref:`auditing event ` ``winreg.DisableReflectionKey`` " "with argument ``key``." @@ -614,7 +614,7 @@ msgid "" "Restoring reflection for a key does not affect reflection of any subkeys." msgstr "" -#: library/winreg.rst:516 +#: library/winreg.rst:11 msgid "" "Raises an :ref:`auditing event ` ``winreg.EnableReflectionKey`` " "with argument ``key``." @@ -628,7 +628,7 @@ msgstr "" msgid "Returns ``True`` if reflection is disabled." msgstr "" -#: library/winreg.rst:531 +#: library/winreg.rst:11 msgid "" "Raises an :ref:`auditing event ` ``winreg.QueryReflectionKey`` " "with argument ``key``." @@ -919,7 +919,7 @@ msgid "" "underlying Win32 handle to exist beyond the lifetime of the handle object." msgstr "" -#: library/winreg.rst:784 +#: library/winreg.rst:11 msgid "" "Raises an :ref:`auditing event ` ``winreg.PyHKEY.Detach`` with " "argument ``key``." diff --git a/library/zipfile.po b/library/zipfile.po index 6c037fa35..599e4e59e 100644 --- a/library/zipfile.po +++ b/library/zipfile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -203,7 +203,7 @@ msgid "" "accepted (see :class:`bz2 ` for more information)." msgstr "" -#: library/zipfile.rst:653 +#: library/zipfile.rst:666 msgid "" "The *strict_timestamps* argument, when set to ``False``, allows to zip files " "older than 1980-01-01 at the cost of setting the timestamp to 1980-01-01. " @@ -233,7 +233,7 @@ msgstr "" msgid "Added support for :mod:`bzip2 ` and :mod:`lzma` compression." msgstr "" -#: library/zipfile.rst:567 +#: library/zipfile.rst:580 msgid "ZIP64 extensions are enabled by default." msgstr "" @@ -257,7 +257,7 @@ msgstr "" msgid "Add the *compresslevel* parameter." msgstr "" -#: library/zipfile.rst:664 +#: library/zipfile.rst:677 msgid "The *strict_timestamps* keyword-only argument" msgstr "" @@ -290,16 +290,17 @@ msgid "" "Access a member of the archive as a binary file-like object. *name* can be " "either the name of a file within the archive or a :class:`ZipInfo` object. " "The *mode* parameter, if included, must be ``'r'`` (the default) or " -"``'w'``. *pwd* is the password used to decrypt encrypted ZIP files." +"``'w'``. *pwd* is the password used to decrypt encrypted ZIP files as a :" +"class:`bytes` object." msgstr "" -#: library/zipfile.rst:256 +#: library/zipfile.rst:257 msgid "" ":meth:`~ZipFile.open` is also a context manager and therefore supports the :" "keyword:`with` statement::" msgstr "" -#: library/zipfile.rst:263 +#: library/zipfile.rst:264 msgid "" "With *mode* ``'r'`` the file-like object (``ZipExtFile``) is read-only and " "provides the following methods: :meth:`~io.BufferedIOBase.read`, :meth:`~io." @@ -308,7 +309,7 @@ msgid "" "objects can operate independently of the ZipFile." msgstr "" -#: library/zipfile.rst:270 +#: library/zipfile.rst:271 msgid "" "With ``mode='w'``, a writable file handle is returned, which supports the :" "meth:`~io.BufferedIOBase.write` method. While a writable file handle is " @@ -316,7 +317,7 @@ msgid "" "exc:`ValueError`." msgstr "" -#: library/zipfile.rst:275 +#: library/zipfile.rst:276 msgid "" "When writing a file, if the file size is not known in advance but may exceed " "2 GiB, pass ``force_zip64=True`` to ensure that the header format is capable " @@ -325,45 +326,45 @@ msgid "" "as the *name* parameter." msgstr "" -#: library/zipfile.rst:283 +#: library/zipfile.rst:284 msgid "" "The :meth:`.open`, :meth:`read` and :meth:`extract` methods can take a " "filename or a :class:`ZipInfo` object. You will appreciate this when trying " "to read a ZIP file that contains members with duplicate names." msgstr "" -#: library/zipfile.rst:287 +#: library/zipfile.rst:288 msgid "" "Removed support of ``mode='U'``. Use :class:`io.TextIOWrapper` for reading " "compressed text files in :term:`universal newlines` mode." msgstr "" -#: library/zipfile.rst:291 +#: library/zipfile.rst:292 msgid "" ":meth:`ZipFile.open` can now be used to write files into the archive with " "the ``mode='w'`` option." msgstr "" -#: library/zipfile.rst:295 +#: library/zipfile.rst:296 msgid "" "Calling :meth:`.open` on a closed ZipFile will raise a :exc:`ValueError`. " "Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:302 +#: library/zipfile.rst:303 msgid "" "Extract a member from the archive to the current working directory; *member* " "must be its full name or a :class:`ZipInfo` object. Its file information is " "extracted as accurately as possible. *path* specifies a different directory " "to extract to. *member* can be a filename or a :class:`ZipInfo` object. " -"*pwd* is the password used for encrypted files." +"*pwd* is the password used for encrypted files as a :class:`bytes` object." msgstr "" -#: library/zipfile.rst:308 +#: library/zipfile.rst:309 msgid "Returns the normalized path created (a directory or new file)." msgstr "" -#: library/zipfile.rst:312 +#: library/zipfile.rst:313 msgid "" "If a member filename is an absolute path, a drive/UNC sharepoint and leading " "(back)slashes will be stripped, e.g.: ``///foo/bar`` becomes ``foo/bar`` on " @@ -374,25 +375,25 @@ msgid "" "(``_``)." msgstr "" -#: library/zipfile.rst:320 +#: library/zipfile.rst:321 msgid "" "Calling :meth:`extract` on a closed ZipFile will raise a :exc:`ValueError`. " "Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:347 +#: library/zipfile.rst:348 msgid "The *path* parameter accepts a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:330 +#: library/zipfile.rst:331 msgid "" "Extract all members from the archive to the current working directory. " "*path* specifies a different directory to extract to. *members* is optional " "and must be a subset of the list returned by :meth:`namelist`. *pwd* is the " -"password used for encrypted files." +"password used for encrypted files as a :class:`bytes` object." msgstr "" -#: library/zipfile.rst:337 +#: library/zipfile.rst:338 msgid "" "Never extract archives from untrusted sources without prior inspection. It " "is possible that files are created outside of *path*, e.g. members that have " @@ -400,52 +401,54 @@ msgid "" "\"``. This module attempts to prevent that. See :meth:`extract` note." msgstr "" -#: library/zipfile.rst:343 +#: library/zipfile.rst:344 msgid "" "Calling :meth:`extractall` on a closed ZipFile will raise a :exc:" "`ValueError`. Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:353 +#: library/zipfile.rst:354 msgid "Print a table of contents for the archive to ``sys.stdout``." msgstr "" -#: library/zipfile.rst:358 -msgid "Set *pwd* as default password to extract encrypted files." +#: library/zipfile.rst:359 +msgid "" +"Set *pwd* (a :class:`bytes` object) as default password to extract encrypted " +"files." msgstr "" -#: library/zipfile.rst:363 +#: library/zipfile.rst:364 msgid "" "Return the bytes of the file *name* in the archive. *name* is the name of " "the file in the archive, or a :class:`ZipInfo` object. The archive must be " -"open for read or append. *pwd* is the password used for encrypted files " -"and, if specified, it will override the default password set with :meth:" -"`setpassword`. Calling :meth:`read` on a ZipFile that uses a compression " -"method other than :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`, :const:" -"`ZIP_BZIP2` or :const:`ZIP_LZMA` will raise a :exc:`NotImplementedError`. An " -"error will also be raised if the corresponding compression module is not " -"available." +"open for read or append. *pwd* is the password used for encrypted files as " +"a :class:`bytes` object and, if specified, overrides the default password " +"set with :meth:`setpassword`. Calling :meth:`read` on a ZipFile that uses a " +"compression method other than :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`, :" +"const:`ZIP_BZIP2` or :const:`ZIP_LZMA` will raise a :exc:" +"`NotImplementedError`. An error will also be raised if the corresponding " +"compression module is not available." msgstr "" -#: library/zipfile.rst:372 +#: library/zipfile.rst:373 msgid "" "Calling :meth:`read` on a closed ZipFile will raise a :exc:`ValueError`. " "Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:379 +#: library/zipfile.rst:380 msgid "" "Read all the files in the archive and check their CRC's and file headers. " "Return the name of the first bad file, or else return ``None``." msgstr "" -#: library/zipfile.rst:382 +#: library/zipfile.rst:383 msgid "" "Calling :meth:`testzip` on a closed ZipFile will raise a :exc:`ValueError`. " "Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:390 +#: library/zipfile.rst:391 msgid "" "Write the file named *filename* to the archive, giving it the archive name " "*arcname* (by default, this will be the same as *filename*, but without a " @@ -456,33 +459,33 @@ msgid "" "``'x'`` or ``'a'``." msgstr "" -#: library/zipfile.rst:400 +#: library/zipfile.rst:401 msgid "" "Archive names should be relative to the archive root, that is, they should " "not start with a path separator." msgstr "" -#: library/zipfile.rst:405 +#: library/zipfile.rst:406 msgid "" "If ``arcname`` (or ``filename``, if ``arcname`` is not given) contains a " "null byte, the name of the file in the archive will be truncated at the null " "byte." msgstr "" -#: library/zipfile.rst:410 +#: library/zipfile.rst:411 msgid "" "A leading slash in the filename may lead to the archive being impossible to " "open in some zip programs on Windows systems." msgstr "" -#: library/zipfile.rst:413 +#: library/zipfile.rst:414 msgid "" "Calling :meth:`write` on a ZipFile created with mode ``'r'`` or a closed " "ZipFile will raise a :exc:`ValueError`. Previously, a :exc:`RuntimeError` " "was raised." msgstr "" -#: library/zipfile.rst:422 +#: library/zipfile.rst:423 msgid "" "Write a file into the archive. The contents is *data*, which may be either " "a :class:`str` or a :class:`bytes` instance; if it is a :class:`str`, it is " @@ -493,7 +496,7 @@ msgid "" "must be opened with mode ``'w'``, ``'x'`` or ``'a'``." msgstr "" -#: library/zipfile.rst:430 +#: library/zipfile.rst:431 msgid "" "If given, *compress_type* overrides the value given for the *compression* " "parameter to the constructor for the new entry, or in the *zinfo_or_arcname* " @@ -501,7 +504,7 @@ msgid "" "override the constructor if given." msgstr "" -#: library/zipfile.rst:437 +#: library/zipfile.rst:438 msgid "" "When passing a :class:`ZipInfo` instance as the *zinfo_or_arcname* " "parameter, the compression method used will be that specified in the " @@ -509,33 +512,33 @@ msgid "" "the :class:`ZipInfo` constructor sets this member to :const:`ZIP_STORED`." msgstr "" -#: library/zipfile.rst:442 +#: library/zipfile.rst:443 msgid "The *compress_type* argument." msgstr "" -#: library/zipfile.rst:445 +#: library/zipfile.rst:446 msgid "" "Calling :meth:`writestr` on a ZipFile created with mode ``'r'`` or a closed " "ZipFile will raise a :exc:`ValueError`. Previously, a :exc:`RuntimeError` " "was raised." msgstr "" -#: library/zipfile.rst:451 +#: library/zipfile.rst:452 msgid "The following data attributes are also available:" msgstr "" -#: library/zipfile.rst:455 +#: library/zipfile.rst:456 msgid "Name of the ZIP file." msgstr "" -#: library/zipfile.rst:459 +#: library/zipfile.rst:460 msgid "" "The level of debug output to use. This may be set from ``0`` (the default, " "no output) to ``3`` (the most output). Debugging information is written to " "``sys.stdout``." msgstr "" -#: library/zipfile.rst:465 +#: library/zipfile.rst:466 msgid "" "The comment associated with the ZIP file as a :class:`bytes` object. If " "assigning a comment to a :class:`ZipFile` instance created with mode " @@ -543,37 +546,37 @@ msgid "" "Comments longer than this will be truncated." msgstr "" -#: library/zipfile.rst:475 +#: library/zipfile.rst:476 msgid "Path Objects" msgstr "" -#: library/zipfile.rst:479 +#: library/zipfile.rst:480 msgid "" "Construct a Path object from a ``root`` zipfile (which may be a :class:" "`ZipFile` instance or ``file`` suitable for passing to the :class:`ZipFile` " "constructor)." msgstr "" -#: library/zipfile.rst:483 +#: library/zipfile.rst:484 msgid "" "``at`` specifies the location of this Path within the zipfile, e.g. 'dir/" "file.txt', 'dir/', or ''. Defaults to the empty string, indicating the root." msgstr "" -#: library/zipfile.rst:487 +#: library/zipfile.rst:488 msgid "" "Path objects expose the following features of :mod:`pathlib.Path` objects:" msgstr "" -#: library/zipfile.rst:490 +#: library/zipfile.rst:491 msgid "Path objects are traversable using the ``/`` operator or ``joinpath``." msgstr "" -#: library/zipfile.rst:494 +#: library/zipfile.rst:495 msgid "The final path component." msgstr "" -#: library/zipfile.rst:498 +#: library/zipfile.rst:499 msgid "" "Invoke :meth:`ZipFile.open` on the current path. Allows opening for read or " "write, text or binary through supported modes: 'r', 'w', 'rb', 'wb'. " @@ -582,91 +585,99 @@ msgid "" "``pwd`` parameter to :meth:`ZipFile.open`." msgstr "" -#: library/zipfile.rst:507 +#: library/zipfile.rst:508 msgid "" "Added support for text and binary modes for open. Default mode is now text." msgstr "" -#: library/zipfile.rst:513 +#: library/zipfile.rst:542 +msgid "" +"The ``encoding`` parameter can be supplied as a positional argument without " +"causing a :exc:`TypeError`. As it could in 3.9. Code needing to be " +"compatible with unpatched 3.10 and 3.11 versions must pass all :class:`io." +"TextIOWrapper` arguments, ``encoding`` included, as keywords." +msgstr "" + +#: library/zipfile.rst:520 msgid "Enumerate the children of the current directory." msgstr "" -#: library/zipfile.rst:517 +#: library/zipfile.rst:524 msgid "Return ``True`` if the current context references a directory." msgstr "" -#: library/zipfile.rst:521 +#: library/zipfile.rst:528 msgid "Return ``True`` if the current context references a file." msgstr "" -#: library/zipfile.rst:525 +#: library/zipfile.rst:532 msgid "" "Return ``True`` if the current context references a file or directory in the " "zip file." msgstr "" -#: library/zipfile.rst:530 +#: library/zipfile.rst:537 msgid "" "Read the current file as unicode text. Positional and keyword arguments are " "passed through to :class:`io.TextIOWrapper` (except ``buffer``, which is " "implied by the context)." msgstr "" -#: library/zipfile.rst:537 +#: library/zipfile.rst:550 msgid "Read the current file as bytes." msgstr "" -#: library/zipfile.rst:541 +#: library/zipfile.rst:554 msgid "" "Return a new Path object with each of the *other* arguments joined. The " "following are equivalent::" msgstr "" -#: library/zipfile.rst:548 +#: library/zipfile.rst:561 msgid "" "Prior to 3.10, ``joinpath`` was undocumented and accepted exactly one " "parameter." msgstr "" -#: library/zipfile.rst:556 +#: library/zipfile.rst:569 msgid "PyZipFile Objects" msgstr "" -#: library/zipfile.rst:558 +#: library/zipfile.rst:571 msgid "" "The :class:`PyZipFile` constructor takes the same parameters as the :class:" "`ZipFile` constructor, and one additional parameter, *optimize*." msgstr "" -#: library/zipfile.rst:564 +#: library/zipfile.rst:577 msgid "The *optimize* parameter." msgstr "" -#: library/zipfile.rst:570 +#: library/zipfile.rst:583 msgid "" "Instances have one method in addition to those of :class:`ZipFile` objects:" msgstr "" -#: library/zipfile.rst:574 +#: library/zipfile.rst:587 msgid "" "Search for files :file:`\\*.py` and add the corresponding file to the " "archive." msgstr "" -#: library/zipfile.rst:577 +#: library/zipfile.rst:590 msgid "" "If the *optimize* parameter to :class:`PyZipFile` was not given or ``-1``, " "the corresponding file is a :file:`\\*.pyc` file, compiling if necessary." msgstr "" -#: library/zipfile.rst:580 +#: library/zipfile.rst:593 msgid "" "If the *optimize* parameter to :class:`PyZipFile` was ``0``, ``1`` or ``2``, " "only files with that optimization level (see :func:`compile`) are added to " "the archive, compiling if necessary." msgstr "" -#: library/zipfile.rst:584 +#: library/zipfile.rst:597 msgid "" "If *pathname* is a file, the filename must end with :file:`.py`, and just " "the (corresponding :file:`\\*.pyc`) file is added at the top level (no path " @@ -679,11 +690,11 @@ msgid "" "in sorted order." msgstr "" -#: library/zipfile.rst:594 +#: library/zipfile.rst:607 msgid "*basename* is intended for internal use only." msgstr "" -#: library/zipfile.rst:596 +#: library/zipfile.rst:609 msgid "" "*filterfunc*, if given, must be a function taking a single string argument. " "It will be passed each path (including each individual full file path) " @@ -694,280 +705,280 @@ msgid "" "exclude them::" msgstr "" -#: library/zipfile.rst:610 +#: library/zipfile.rst:623 msgid "The :meth:`writepy` method makes archives with file names like this::" msgstr "" -#: library/zipfile.rst:619 +#: library/zipfile.rst:632 msgid "The *filterfunc* parameter." msgstr "" -#: library/zipfile.rst:622 +#: library/zipfile.rst:635 msgid "The *pathname* parameter accepts a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:625 +#: library/zipfile.rst:638 msgid "Recursion sorts directory entries." msgstr "" -#: library/zipfile.rst:632 +#: library/zipfile.rst:645 msgid "ZipInfo Objects" msgstr "" -#: library/zipfile.rst:634 +#: library/zipfile.rst:647 msgid "" "Instances of the :class:`ZipInfo` class are returned by the :meth:`.getinfo` " "and :meth:`.infolist` methods of :class:`ZipFile` objects. Each object " "stores information about a single member of the ZIP archive." msgstr "" -#: library/zipfile.rst:638 +#: library/zipfile.rst:651 msgid "" "There is one classmethod to make a :class:`ZipInfo` instance for a " "filesystem file:" msgstr "" -#: library/zipfile.rst:644 +#: library/zipfile.rst:657 msgid "" "Construct a :class:`ZipInfo` instance for a file on the filesystem, in " "preparation for adding it to a zip file." msgstr "" -#: library/zipfile.rst:647 +#: library/zipfile.rst:660 msgid "*filename* should be the path to a file or directory on the filesystem." msgstr "" -#: library/zipfile.rst:649 +#: library/zipfile.rst:662 msgid "" "If *arcname* is specified, it is used as the name within the archive. If " "*arcname* is not specified, the name will be the same as *filename*, but " "with any drive letter and leading path separators removed." msgstr "" -#: library/zipfile.rst:661 +#: library/zipfile.rst:674 msgid "The *filename* parameter accepts a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:668 +#: library/zipfile.rst:681 msgid "Instances have the following methods and attributes:" msgstr "" -#: library/zipfile.rst:672 +#: library/zipfile.rst:685 msgid "Return ``True`` if this archive member is a directory." msgstr "" -#: library/zipfile.rst:674 +#: library/zipfile.rst:687 msgid "This uses the entry's name: directories should always end with ``/``." msgstr "" -#: library/zipfile.rst:681 +#: library/zipfile.rst:694 msgid "Name of the file in the archive." msgstr "" -#: library/zipfile.rst:686 +#: library/zipfile.rst:699 msgid "" "The time and date of the last modification to the archive member. This is a " "tuple of six values:" msgstr "" -#: library/zipfile.rst:690 +#: library/zipfile.rst:703 msgid "Index" msgstr "" -#: library/zipfile.rst:690 +#: library/zipfile.rst:703 msgid "Value" msgstr "" -#: library/zipfile.rst:692 +#: library/zipfile.rst:705 msgid "``0``" msgstr "" -#: library/zipfile.rst:692 +#: library/zipfile.rst:705 msgid "Year (>= 1980)" msgstr "" -#: library/zipfile.rst:694 +#: library/zipfile.rst:707 msgid "``1``" msgstr "" -#: library/zipfile.rst:694 +#: library/zipfile.rst:707 msgid "Month (one-based)" msgstr "" -#: library/zipfile.rst:696 +#: library/zipfile.rst:709 msgid "``2``" msgstr "" -#: library/zipfile.rst:696 +#: library/zipfile.rst:709 msgid "Day of month (one-based)" msgstr "" -#: library/zipfile.rst:698 +#: library/zipfile.rst:711 msgid "``3``" msgstr "" -#: library/zipfile.rst:698 +#: library/zipfile.rst:711 msgid "Hours (zero-based)" msgstr "" -#: library/zipfile.rst:700 +#: library/zipfile.rst:713 msgid "``4``" msgstr "" -#: library/zipfile.rst:700 +#: library/zipfile.rst:713 msgid "Minutes (zero-based)" msgstr "" -#: library/zipfile.rst:702 +#: library/zipfile.rst:715 msgid "``5``" msgstr "" -#: library/zipfile.rst:702 +#: library/zipfile.rst:715 msgid "Seconds (zero-based)" msgstr "" -#: library/zipfile.rst:707 +#: library/zipfile.rst:720 msgid "The ZIP file format does not support timestamps before 1980." msgstr "" -#: library/zipfile.rst:712 +#: library/zipfile.rst:725 msgid "Type of compression for the archive member." msgstr "" -#: library/zipfile.rst:717 +#: library/zipfile.rst:730 msgid "Comment for the individual archive member as a :class:`bytes` object." msgstr "" -#: library/zipfile.rst:722 +#: library/zipfile.rst:735 msgid "" "Expansion field data. The `PKZIP Application Note`_ contains some comments " "on the internal structure of the data contained in this :class:`bytes` " "object." msgstr "" -#: library/zipfile.rst:729 +#: library/zipfile.rst:742 msgid "System which created ZIP archive." msgstr "" -#: library/zipfile.rst:734 +#: library/zipfile.rst:747 msgid "PKZIP version which created ZIP archive." msgstr "" -#: library/zipfile.rst:739 +#: library/zipfile.rst:752 msgid "PKZIP version needed to extract archive." msgstr "" -#: library/zipfile.rst:744 +#: library/zipfile.rst:757 msgid "Must be zero." msgstr "" -#: library/zipfile.rst:749 +#: library/zipfile.rst:762 msgid "ZIP flag bits." msgstr "" -#: library/zipfile.rst:754 +#: library/zipfile.rst:767 msgid "Volume number of file header." msgstr "" -#: library/zipfile.rst:759 +#: library/zipfile.rst:772 msgid "Internal attributes." msgstr "" -#: library/zipfile.rst:764 +#: library/zipfile.rst:777 msgid "External file attributes." msgstr "" -#: library/zipfile.rst:769 +#: library/zipfile.rst:782 msgid "Byte offset to the file header." msgstr "" -#: library/zipfile.rst:774 +#: library/zipfile.rst:787 msgid "CRC-32 of the uncompressed file." msgstr "" -#: library/zipfile.rst:779 +#: library/zipfile.rst:792 msgid "Size of the compressed data." msgstr "" -#: library/zipfile.rst:784 +#: library/zipfile.rst:797 msgid "Size of the uncompressed file." msgstr "" -#: library/zipfile.rst:791 +#: library/zipfile.rst:804 msgid "Command-Line Interface" msgstr "" -#: library/zipfile.rst:793 +#: library/zipfile.rst:806 msgid "" "The :mod:`zipfile` module provides a simple command-line interface to " "interact with ZIP archives." msgstr "" -#: library/zipfile.rst:796 +#: library/zipfile.rst:809 msgid "" "If you want to create a new ZIP archive, specify its name after the :option:" "`-c` option and then list the filename(s) that should be included:" msgstr "" -#: library/zipfile.rst:803 +#: library/zipfile.rst:816 msgid "Passing a directory is also acceptable:" msgstr "" -#: library/zipfile.rst:809 +#: library/zipfile.rst:822 msgid "" "If you want to extract a ZIP archive into the specified directory, use the :" "option:`-e` option:" msgstr "" -#: library/zipfile.rst:816 +#: library/zipfile.rst:829 msgid "For a list of the files in a ZIP archive, use the :option:`-l` option:" msgstr "" -#: library/zipfile.rst:824 +#: library/zipfile.rst:837 msgid "Command-line options" msgstr "" -#: library/zipfile.rst:829 +#: library/zipfile.rst:842 msgid "List files in a zipfile." msgstr "" -#: library/zipfile.rst:834 +#: library/zipfile.rst:847 msgid "Create zipfile from source files." msgstr "" -#: library/zipfile.rst:839 +#: library/zipfile.rst:852 msgid "Extract zipfile into target directory." msgstr "" -#: library/zipfile.rst:844 +#: library/zipfile.rst:857 msgid "Test whether the zipfile is valid or not." msgstr "" -#: library/zipfile.rst:847 +#: library/zipfile.rst:860 msgid "Decompression pitfalls" msgstr "" -#: library/zipfile.rst:849 +#: library/zipfile.rst:862 msgid "" "The extraction in zipfile module might fail due to some pitfalls listed " "below." msgstr "" -#: library/zipfile.rst:852 +#: library/zipfile.rst:865 msgid "From file itself" msgstr "" -#: library/zipfile.rst:854 +#: library/zipfile.rst:867 msgid "" "Decompression may fail due to incorrect password / CRC checksum / ZIP format " "or unsupported compression method / decryption." msgstr "" -#: library/zipfile.rst:858 +#: library/zipfile.rst:871 msgid "File System limitations" msgstr "" -#: library/zipfile.rst:860 +#: library/zipfile.rst:873 msgid "" "Exceeding limitations on different file systems can cause decompression " "failed. Such as allowable characters in the directory entries, length of the " @@ -975,33 +986,33 @@ msgid "" "files, etc." msgstr "" -#: library/zipfile.rst:867 +#: library/zipfile.rst:880 msgid "Resources limitations" msgstr "" -#: library/zipfile.rst:869 +#: library/zipfile.rst:882 msgid "" "The lack of memory or disk volume would lead to decompression failed. For " "example, decompression bombs (aka `ZIP bomb`_) apply to zipfile library that " "can cause disk volume exhaustion." msgstr "" -#: library/zipfile.rst:874 +#: library/zipfile.rst:887 msgid "Interruption" msgstr "" -#: library/zipfile.rst:876 +#: library/zipfile.rst:889 msgid "" "Interruption during the decompression, such as pressing control-C or killing " "the decompression process may result in incomplete decompression of the " "archive." msgstr "" -#: library/zipfile.rst:880 +#: library/zipfile.rst:893 msgid "Default behaviors of extraction" msgstr "" -#: library/zipfile.rst:882 +#: library/zipfile.rst:895 msgid "" "Not knowing the default extraction behaviors can cause unexpected " "decompression results. For example, when extracting the same archive twice, " diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index fbbe70eeb..4e408b10d 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -166,22 +166,22 @@ msgstr "" msgid "" "Names in the target list are not deleted when the loop is finished, but if " "the sequence is empty, they will not have been assigned to at all by the " -"loop. Hint: the built-in function :func:`range` returns an iterator of " -"integers suitable to emulate the effect of Pascal's ``for i := a to b do``; " -"e.g., ``list(range(3))`` returns the list ``[0, 1, 2]``." +"loop. Hint: the built-in type :func:`range` represents immutable arithmetic " +"sequences of integers. For instance, iterating ``range(3)`` successively " +"yields 0, 1, and then 2." msgstr "" -#: reference/compound_stmts.rst:205 +#: reference/compound_stmts.rst:204 msgid "The :keyword:`!try` statement" msgstr "" -#: reference/compound_stmts.rst:215 +#: reference/compound_stmts.rst:214 msgid "" "The :keyword:`try` statement specifies exception handlers and/or cleanup " "code for a group of statements:" msgstr "" -#: reference/compound_stmts.rst:228 +#: reference/compound_stmts.rst:227 msgid "" "The :keyword:`except` clause(s) specify one or more exception handlers. When " "no exception occurs in the :keyword:`try` clause, no exception handler is " @@ -197,13 +197,13 @@ msgid "" "item that is the class or a non-virtual base class of the exception object." msgstr "" -#: reference/compound_stmts.rst:241 +#: reference/compound_stmts.rst:240 msgid "" "If no except clause matches the exception, the search for an exception " "handler continues in the surrounding code and on the invocation stack. [#]_" msgstr "" -#: reference/compound_stmts.rst:244 +#: reference/compound_stmts.rst:243 msgid "" "If the evaluation of an expression in the header of an except clause raises " "an exception, the original search for a handler is canceled and a search " @@ -212,7 +212,7 @@ msgid "" "exception)." msgstr "" -#: reference/compound_stmts.rst:251 +#: reference/compound_stmts.rst:250 msgid "" "When a matching except clause is found, the exception is assigned to the " "target specified after the :keyword:`!as` keyword in that except clause, if " @@ -224,17 +224,17 @@ msgid "" "exception.)" msgstr "" -#: reference/compound_stmts.rst:259 +#: reference/compound_stmts.rst:258 msgid "" "When an exception has been assigned using ``as target``, it is cleared at " "the end of the except clause. This is as if ::" msgstr "" -#: reference/compound_stmts.rst:265 +#: reference/compound_stmts.rst:264 msgid "was translated to ::" msgstr "" -#: reference/compound_stmts.rst:273 +#: reference/compound_stmts.rst:272 msgid "" "This means the exception must be assigned to a different name to be able to " "refer to it after the except clause. Exceptions are cleared because with " @@ -243,7 +243,7 @@ msgid "" "collection occurs." msgstr "" -#: reference/compound_stmts.rst:282 +#: reference/compound_stmts.rst:281 msgid "" "Before an except clause's suite is executed, details about the exception are " "stored in the :mod:`sys` module and can be accessed via :func:`sys." @@ -254,7 +254,7 @@ msgid "" "are restored to their previous values when leaving an exception handler::" msgstr "" -#: reference/compound_stmts.rst:314 +#: reference/compound_stmts.rst:313 msgid "" "The optional :keyword:`!else` clause is executed if the control flow leaves " "the :keyword:`try` suite, no exception was raised, and no :keyword:" @@ -263,7 +263,7 @@ msgid "" "keyword:`except` clauses." msgstr "" -#: reference/compound_stmts.rst:322 +#: reference/compound_stmts.rst:321 msgid "" "If :keyword:`finally` is present, it specifies a 'cleanup' handler. The :" "keyword:`try` clause is executed, including any :keyword:`except` and :" @@ -277,13 +277,13 @@ msgid "" "exception is discarded::" msgstr "" -#: reference/compound_stmts.rst:341 +#: reference/compound_stmts.rst:340 msgid "" "The exception information is not available to the program during execution " "of the :keyword:`finally` clause." msgstr "" -#: reference/compound_stmts.rst:349 +#: reference/compound_stmts.rst:348 msgid "" "When a :keyword:`return`, :keyword:`break` or :keyword:`continue` statement " "is executed in the :keyword:`try` suite of a :keyword:`!try`...\\ :keyword:`!" @@ -291,7 +291,7 @@ msgid "" "way out.'" msgstr "" -#: reference/compound_stmts.rst:353 +#: reference/compound_stmts.rst:352 msgid "" "The return value of a function is determined by the last :keyword:`return` " "statement executed. Since the :keyword:`finally` clause always executes, a :" @@ -299,24 +299,24 @@ msgid "" "always be the last one executed::" msgstr "" -#: reference/compound_stmts.rst:367 +#: reference/compound_stmts.rst:366 msgid "" "Additional information on exceptions can be found in section :ref:" "`exceptions`, and information on using the :keyword:`raise` statement to " "generate exceptions may be found in section :ref:`raise`." msgstr "" -#: reference/compound_stmts.rst:371 +#: reference/compound_stmts.rst:370 msgid "" "Prior to Python 3.8, a :keyword:`continue` statement was illegal in the :" "keyword:`finally` clause due to a problem with the implementation." msgstr "" -#: reference/compound_stmts.rst:380 +#: reference/compound_stmts.rst:379 msgid "The :keyword:`!with` statement" msgstr "" -#: reference/compound_stmts.rst:389 +#: reference/compound_stmts.rst:388 msgid "" "The :keyword:`with` statement is used to wrap the execution of a block with " "methods defined by a context manager (see section :ref:`context-managers`). " @@ -324,50 +324,50 @@ msgid "" "`finally` usage patterns to be encapsulated for convenient reuse." msgstr "" -#: reference/compound_stmts.rst:399 +#: reference/compound_stmts.rst:398 msgid "" "The execution of the :keyword:`with` statement with one \"item\" proceeds as " "follows:" msgstr "" -#: reference/compound_stmts.rst:401 +#: reference/compound_stmts.rst:400 msgid "" "The context expression (the expression given in the :token:`~python-grammar:" "with_item`) is evaluated to obtain a context manager." msgstr "" -#: reference/compound_stmts.rst:404 +#: reference/compound_stmts.rst:403 msgid "The context manager's :meth:`__enter__` is loaded for later use." msgstr "" -#: reference/compound_stmts.rst:406 +#: reference/compound_stmts.rst:405 msgid "The context manager's :meth:`__exit__` is loaded for later use." msgstr "" -#: reference/compound_stmts.rst:408 +#: reference/compound_stmts.rst:407 msgid "The context manager's :meth:`__enter__` method is invoked." msgstr "" -#: reference/compound_stmts.rst:410 +#: reference/compound_stmts.rst:409 msgid "" "If a target was included in the :keyword:`with` statement, the return value " "from :meth:`__enter__` is assigned to it." msgstr "" -#: reference/compound_stmts.rst:415 +#: reference/compound_stmts.rst:414 msgid "" "The :keyword:`with` statement guarantees that if the :meth:`__enter__` " "method returns without an error, then :meth:`__exit__` will always be " "called. Thus, if an error occurs during the assignment to the target list, " "it will be treated the same as an error occurring within the suite would be. " -"See step 6 below." +"See step 7 below." msgstr "" -#: reference/compound_stmts.rst:421 +#: reference/compound_stmts.rst:420 msgid "The suite is executed." msgstr "" -#: reference/compound_stmts.rst:423 +#: reference/compound_stmts.rst:422 msgid "" "The context manager's :meth:`__exit__` method is invoked. If an exception " "caused the suite to be exited, its type, value, and traceback are passed as " @@ -375,7 +375,7 @@ msgid "" "supplied." msgstr "" -#: reference/compound_stmts.rst:428 +#: reference/compound_stmts.rst:427 msgid "" "If the suite was exited due to an exception, and the return value from the :" "meth:`__exit__` method was false, the exception is reraised. If the return " @@ -383,115 +383,115 @@ msgid "" "the statement following the :keyword:`with` statement." msgstr "" -#: reference/compound_stmts.rst:433 +#: reference/compound_stmts.rst:432 msgid "" "If the suite was exited for any reason other than an exception, the return " "value from :meth:`__exit__` is ignored, and execution proceeds at the normal " "location for the kind of exit that was taken." msgstr "" -#: reference/compound_stmts.rst:437 reference/compound_stmts.rst:1428 -#: reference/compound_stmts.rst:1469 +#: reference/compound_stmts.rst:436 reference/compound_stmts.rst:1427 +#: reference/compound_stmts.rst:1468 msgid "The following code::" msgstr "" -#: reference/compound_stmts.rst:442 reference/compound_stmts.rst:467 -#: reference/compound_stmts.rst:1474 +#: reference/compound_stmts.rst:441 reference/compound_stmts.rst:466 +#: reference/compound_stmts.rst:1473 msgid "is semantically equivalent to::" msgstr "" -#: reference/compound_stmts.rst:461 +#: reference/compound_stmts.rst:460 msgid "" "With more than one item, the context managers are processed as if multiple :" "keyword:`with` statements were nested::" msgstr "" -#: reference/compound_stmts.rst:473 +#: reference/compound_stmts.rst:472 msgid "" "You can also write multi-item context managers in multiple lines if the " "items are surrounded by parentheses. For example::" msgstr "" -#: reference/compound_stmts.rst:482 +#: reference/compound_stmts.rst:481 msgid "Support for multiple context expressions." msgstr "" -#: reference/compound_stmts.rst:485 +#: reference/compound_stmts.rst:484 msgid "" "Support for using grouping parentheses to break the statement in multiple " "lines." msgstr "" -#: reference/compound_stmts.rst:491 +#: reference/compound_stmts.rst:490 msgid ":pep:`343` - The \"with\" statement" msgstr "" -#: reference/compound_stmts.rst:491 +#: reference/compound_stmts.rst:490 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." msgstr "" -#: reference/compound_stmts.rst:497 +#: reference/compound_stmts.rst:496 msgid "The :keyword:`!match` statement" msgstr "" -#: reference/compound_stmts.rst:511 +#: reference/compound_stmts.rst:510 msgid "The match statement is used for pattern matching. Syntax:" msgstr "" -#: reference/compound_stmts.rst:520 +#: reference/compound_stmts.rst:519 msgid "" "This section uses single quotes to denote :ref:`soft keywords `." msgstr "" -#: reference/compound_stmts.rst:523 +#: reference/compound_stmts.rst:522 msgid "" "Pattern matching takes a pattern as input (following ``case``) and a subject " "value (following ``match``). The pattern (which may contain subpatterns) is " "matched against the subject value. The outcomes are:" msgstr "" -#: reference/compound_stmts.rst:527 +#: reference/compound_stmts.rst:526 msgid "A match success or failure (also termed a pattern success or failure)." msgstr "" -#: reference/compound_stmts.rst:529 +#: reference/compound_stmts.rst:528 msgid "" "Possible binding of matched values to a name. The prerequisites for this " "are further discussed below." msgstr "" -#: reference/compound_stmts.rst:532 +#: reference/compound_stmts.rst:531 msgid "" "The ``match`` and ``case`` keywords are :ref:`soft keywords `." msgstr "" -#: reference/compound_stmts.rst:536 reference/compound_stmts.rst:1091 +#: reference/compound_stmts.rst:535 reference/compound_stmts.rst:1090 msgid ":pep:`634` -- Structural Pattern Matching: Specification" msgstr "" -#: reference/compound_stmts.rst:537 reference/compound_stmts.rst:1092 +#: reference/compound_stmts.rst:536 reference/compound_stmts.rst:1091 msgid ":pep:`636` -- Structural Pattern Matching: Tutorial" msgstr "" -#: reference/compound_stmts.rst:541 +#: reference/compound_stmts.rst:540 msgid "Overview" msgstr "" -#: reference/compound_stmts.rst:543 +#: reference/compound_stmts.rst:542 msgid "Here's an overview of the logical flow of a match statement:" msgstr "" -#: reference/compound_stmts.rst:546 +#: reference/compound_stmts.rst:545 msgid "" "The subject expression ``subject_expr`` is evaluated and a resulting subject " "value obtained. If the subject expression contains a comma, a tuple is " "constructed using :ref:`the standard rules `." msgstr "" -#: reference/compound_stmts.rst:550 +#: reference/compound_stmts.rst:549 msgid "" "Each pattern in a ``case_block`` is attempted to match with the subject " "value. The specific rules for success or failure are described below. The " @@ -501,7 +501,7 @@ msgid "" "outlive the executed block and can be used after the match statement**." msgstr "" -#: reference/compound_stmts.rst:559 +#: reference/compound_stmts.rst:558 msgid "" "During failed pattern matches, some subpatterns may succeed. Do not rely on " "bindings being made for a failed match. Conversely, do not rely on " @@ -510,87 +510,87 @@ msgid "" "made to allow different implementations to add optimizations." msgstr "" -#: reference/compound_stmts.rst:566 +#: reference/compound_stmts.rst:565 msgid "" "If the pattern succeeds, the corresponding guard (if present) is evaluated. " "In this case all name bindings are guaranteed to have happened." msgstr "" -#: reference/compound_stmts.rst:569 +#: reference/compound_stmts.rst:568 msgid "" "If the guard evaluates as true or is missing, the ``block`` inside " "``case_block`` is executed." msgstr "" -#: reference/compound_stmts.rst:572 +#: reference/compound_stmts.rst:571 msgid "Otherwise, the next ``case_block`` is attempted as described above." msgstr "" -#: reference/compound_stmts.rst:574 +#: reference/compound_stmts.rst:573 msgid "If there are no further case blocks, the match statement is completed." msgstr "" -#: reference/compound_stmts.rst:578 +#: reference/compound_stmts.rst:577 msgid "" "Users should generally never rely on a pattern being evaluated. Depending " "on implementation, the interpreter may cache values or use other " "optimizations which skip repeated evaluations." msgstr "" -#: reference/compound_stmts.rst:582 +#: reference/compound_stmts.rst:581 msgid "A sample match statement::" msgstr "" -#: reference/compound_stmts.rst:598 +#: reference/compound_stmts.rst:597 msgid "" "In this case, ``if flag`` is a guard. Read more about that in the next " "section." msgstr "" -#: reference/compound_stmts.rst:601 +#: reference/compound_stmts.rst:600 msgid "Guards" msgstr "" -#: reference/compound_stmts.rst:608 +#: reference/compound_stmts.rst:607 msgid "" "A ``guard`` (which is part of the ``case``) must succeed for code inside the " "``case`` block to execute. It takes the form: :keyword:`if` followed by an " "expression." msgstr "" -#: reference/compound_stmts.rst:613 +#: reference/compound_stmts.rst:612 msgid "The logical flow of a ``case`` block with a ``guard`` follows:" msgstr "" -#: reference/compound_stmts.rst:615 +#: reference/compound_stmts.rst:614 msgid "" "Check that the pattern in the ``case`` block succeeded. If the pattern " "failed, the ``guard`` is not evaluated and the next ``case`` block is " "checked." msgstr "" -#: reference/compound_stmts.rst:619 +#: reference/compound_stmts.rst:618 msgid "If the pattern succeeded, evaluate the ``guard``." msgstr "" -#: reference/compound_stmts.rst:621 +#: reference/compound_stmts.rst:620 msgid "" "If the ``guard`` condition evaluates as true, the case block is selected." msgstr "" -#: reference/compound_stmts.rst:624 +#: reference/compound_stmts.rst:623 msgid "" "If the ``guard`` condition evaluates as false, the case block is not " "selected." msgstr "" -#: reference/compound_stmts.rst:627 +#: reference/compound_stmts.rst:626 msgid "" "If the ``guard`` raises an exception during evaluation, the exception " "bubbles up." msgstr "" -#: reference/compound_stmts.rst:630 +#: reference/compound_stmts.rst:629 msgid "" "Guards are allowed to have side effects as they are expressions. Guard " "evaluation must proceed from the first to the last case block, one at a " @@ -599,17 +599,17 @@ msgid "" "block is selected." msgstr "" -#: reference/compound_stmts.rst:640 +#: reference/compound_stmts.rst:639 msgid "Irrefutable Case Blocks" msgstr "" -#: reference/compound_stmts.rst:644 +#: reference/compound_stmts.rst:643 msgid "" "An irrefutable case block is a match-all case block. A match statement may " "have at most one irrefutable case block, and it must be last." msgstr "" -#: reference/compound_stmts.rst:647 +#: reference/compound_stmts.rst:646 msgid "" "A case block is considered irrefutable if it has no guard and its pattern is " "irrefutable. A pattern is considered irrefutable if we can prove from its " @@ -617,47 +617,47 @@ msgid "" "irrefutable:" msgstr "" -#: reference/compound_stmts.rst:652 +#: reference/compound_stmts.rst:651 msgid ":ref:`as-patterns` whose left-hand side is irrefutable" msgstr "" -#: reference/compound_stmts.rst:654 +#: reference/compound_stmts.rst:653 msgid ":ref:`or-patterns` containing at least one irrefutable pattern" msgstr "" -#: reference/compound_stmts.rst:656 +#: reference/compound_stmts.rst:655 msgid ":ref:`capture-patterns`" msgstr "" -#: reference/compound_stmts.rst:658 +#: reference/compound_stmts.rst:657 msgid ":ref:`wildcard-patterns`" msgstr "" -#: reference/compound_stmts.rst:660 +#: reference/compound_stmts.rst:659 msgid "parenthesized irrefutable patterns" msgstr "" -#: reference/compound_stmts.rst:664 +#: reference/compound_stmts.rst:663 msgid "Patterns" msgstr "" -#: reference/compound_stmts.rst:671 +#: reference/compound_stmts.rst:670 msgid "This section uses grammar notations beyond standard EBNF:" msgstr "" -#: reference/compound_stmts.rst:673 +#: reference/compound_stmts.rst:672 msgid "the notation ``SEP.RULE+`` is shorthand for ``RULE (SEP RULE)*``" msgstr "" -#: reference/compound_stmts.rst:675 +#: reference/compound_stmts.rst:674 msgid "the notation ``!RULE`` is shorthand for a negative lookahead assertion" msgstr "" -#: reference/compound_stmts.rst:678 +#: reference/compound_stmts.rst:677 msgid "The top-level syntax for ``patterns`` is:" msgstr "" -#: reference/compound_stmts.rst:692 +#: reference/compound_stmts.rst:691 msgid "" "The descriptions below will include a description \"in simple terms\" of " "what a pattern does for illustration purposes (credits to Raymond Hettinger " @@ -667,70 +667,70 @@ msgid "" "forms." msgstr "" -#: reference/compound_stmts.rst:702 +#: reference/compound_stmts.rst:701 msgid "OR Patterns" msgstr "" -#: reference/compound_stmts.rst:704 +#: reference/compound_stmts.rst:703 msgid "" "An OR pattern is two or more patterns separated by vertical bars ``|``. " "Syntax:" msgstr "" -#: reference/compound_stmts.rst:710 +#: reference/compound_stmts.rst:709 msgid "" "Only the final subpattern may be :ref:`irrefutable `, and " "each subpattern must bind the same set of names to avoid ambiguity." msgstr "" -#: reference/compound_stmts.rst:713 +#: reference/compound_stmts.rst:712 msgid "" "An OR pattern matches each of its subpatterns in turn to the subject value, " "until one succeeds. The OR pattern is then considered successful. " "Otherwise, if none of the subpatterns succeed, the OR pattern fails." msgstr "" -#: reference/compound_stmts.rst:717 +#: reference/compound_stmts.rst:716 msgid "" "In simple terms, ``P1 | P2 | ...`` will try to match ``P1``, if it fails it " "will try to match ``P2``, succeeding immediately if any succeeds, failing " "otherwise." msgstr "" -#: reference/compound_stmts.rst:723 +#: reference/compound_stmts.rst:722 msgid "AS Patterns" msgstr "" -#: reference/compound_stmts.rst:725 +#: reference/compound_stmts.rst:724 msgid "" "An AS pattern matches an OR pattern on the left of the :keyword:`as` keyword " "against a subject. Syntax:" msgstr "" -#: reference/compound_stmts.rst:731 +#: reference/compound_stmts.rst:730 msgid "" "If the OR pattern fails, the AS pattern fails. Otherwise, the AS pattern " "binds the subject to the name on the right of the as keyword and succeeds. " "``capture_pattern`` cannot be a a ``_``." msgstr "" -#: reference/compound_stmts.rst:735 +#: reference/compound_stmts.rst:734 msgid "" "In simple terms ``P as NAME`` will match with ``P``, and on success it will " "set ``NAME = ``." msgstr "" -#: reference/compound_stmts.rst:742 +#: reference/compound_stmts.rst:741 msgid "Literal Patterns" msgstr "" -#: reference/compound_stmts.rst:744 +#: reference/compound_stmts.rst:743 msgid "" "A literal pattern corresponds to most :ref:`literals ` in Python. " "Syntax:" msgstr "" -#: reference/compound_stmts.rst:757 +#: reference/compound_stmts.rst:756 msgid "" "The rule ``strings`` and the token ``NUMBER`` are defined in the :doc:" "`standard Python grammar <./grammar>`. Triple-quoted strings are " @@ -738,42 +738,42 @@ msgid "" "are not supported." msgstr "" -#: reference/compound_stmts.rst:762 +#: reference/compound_stmts.rst:761 msgid "" "The forms ``signed_number '+' NUMBER`` and ``signed_number '-' NUMBER`` are " "for expressing :ref:`complex numbers `; they require a real " "number on the left and an imaginary number on the right. E.g. ``3 + 4j``." msgstr "" -#: reference/compound_stmts.rst:766 +#: reference/compound_stmts.rst:765 msgid "" "In simple terms, ``LITERAL`` will succeed only if `` == LITERAL``. " "For the singletons ``None``, ``True`` and ``False``, the :keyword:`is` " "operator is used." msgstr "" -#: reference/compound_stmts.rst:772 +#: reference/compound_stmts.rst:771 msgid "Capture Patterns" msgstr "" -#: reference/compound_stmts.rst:774 +#: reference/compound_stmts.rst:773 msgid "A capture pattern binds the subject value to a name. Syntax:" msgstr "" -#: reference/compound_stmts.rst:780 +#: reference/compound_stmts.rst:779 msgid "" "A single underscore ``_`` is not a capture pattern (this is what ``!'_'`` " "expresses). It is instead treated as a :token:`~python-grammar:" "wildcard_pattern`." msgstr "" -#: reference/compound_stmts.rst:784 +#: reference/compound_stmts.rst:783 msgid "" "In a given pattern, a given name can only be bound once. E.g. ``case x, " "x: ...`` is invalid while ``case [x] | x: ...`` is allowed." msgstr "" -#: reference/compound_stmts.rst:787 +#: reference/compound_stmts.rst:786 msgid "" "Capture patterns always succeed. The binding follows scoping rules " "established by the assignment expression operator in :pep:`572`; the name " @@ -781,55 +781,55 @@ msgid "" "there's an applicable :keyword:`global` or :keyword:`nonlocal` statement." msgstr "" -#: reference/compound_stmts.rst:792 +#: reference/compound_stmts.rst:791 msgid "" "In simple terms ``NAME`` will always succeed and it will set ``NAME = " "``." msgstr "" -#: reference/compound_stmts.rst:797 +#: reference/compound_stmts.rst:796 msgid "Wildcard Patterns" msgstr "" -#: reference/compound_stmts.rst:799 +#: reference/compound_stmts.rst:798 msgid "" "A wildcard pattern always succeeds (matches anything) and binds no name. " "Syntax:" msgstr "" -#: reference/compound_stmts.rst:805 +#: reference/compound_stmts.rst:804 msgid "" "``_`` is a :ref:`soft keyword ` within any pattern, but only " "within patterns. It is an identifier, as usual, even within ``match`` " "subject expressions, ``guard``\\ s, and ``case`` blocks." msgstr "" -#: reference/compound_stmts.rst:809 +#: reference/compound_stmts.rst:808 msgid "In simple terms, ``_`` will always succeed." msgstr "" -#: reference/compound_stmts.rst:814 +#: reference/compound_stmts.rst:813 msgid "Value Patterns" msgstr "" -#: reference/compound_stmts.rst:816 +#: reference/compound_stmts.rst:815 msgid "A value pattern represents a named value in Python. Syntax:" msgstr "" -#: reference/compound_stmts.rst:824 +#: reference/compound_stmts.rst:823 msgid "" "The dotted name in the pattern is looked up using standard Python :ref:`name " "resolution rules `. The pattern succeeds if the value found " "compares equal to the subject value (using the ``==`` equality operator)." msgstr "" -#: reference/compound_stmts.rst:829 +#: reference/compound_stmts.rst:828 msgid "" "In simple terms ``NAME1.NAME2`` will succeed only if `` == NAME1." "NAME2``" msgstr "" -#: reference/compound_stmts.rst:833 +#: reference/compound_stmts.rst:832 msgid "" "If the same value occurs multiple times in the same match statement, the " "interpreter may cache the first value found and reuse it rather than repeat " @@ -837,44 +837,44 @@ msgid "" "given match statement." msgstr "" -#: reference/compound_stmts.rst:841 +#: reference/compound_stmts.rst:840 msgid "Group Patterns" msgstr "" -#: reference/compound_stmts.rst:843 +#: reference/compound_stmts.rst:842 msgid "" "A group pattern allows users to add parentheses around patterns to emphasize " "the intended grouping. Otherwise, it has no additional syntax. Syntax:" msgstr "" -#: reference/compound_stmts.rst:850 +#: reference/compound_stmts.rst:849 msgid "In simple terms ``(P)`` has the same effect as ``P``." msgstr "" -#: reference/compound_stmts.rst:855 +#: reference/compound_stmts.rst:854 msgid "Sequence Patterns" msgstr "" -#: reference/compound_stmts.rst:857 +#: reference/compound_stmts.rst:856 msgid "" "A sequence pattern contains several subpatterns to be matched against " "sequence elements. The syntax is similar to the unpacking of a list or tuple." msgstr "" -#: reference/compound_stmts.rst:868 +#: reference/compound_stmts.rst:867 msgid "" "There is no difference if parentheses or square brackets are used for " "sequence patterns (i.e. ``(...)`` vs ``[...]`` )." msgstr "" -#: reference/compound_stmts.rst:872 +#: reference/compound_stmts.rst:871 msgid "" "A single pattern enclosed in parentheses without a trailing comma (e.g. ``(3 " "| 4)``) is a :ref:`group pattern `. While a single pattern " "enclosed in square brackets (e.g. ``[3 | 4]``) is still a sequence pattern." msgstr "" -#: reference/compound_stmts.rst:877 +#: reference/compound_stmts.rst:876 msgid "" "At most one star subpattern may be in a sequence pattern. The star " "subpattern may occur in any position. If no star subpattern is present, the " @@ -882,40 +882,40 @@ msgid "" "variable-length sequence pattern." msgstr "" -#: reference/compound_stmts.rst:882 +#: reference/compound_stmts.rst:881 msgid "" "The following is the logical flow for matching a sequence pattern against a " "subject value:" msgstr "" -#: reference/compound_stmts.rst:885 +#: reference/compound_stmts.rst:884 msgid "" "If the subject value is not a sequence [#]_, the sequence pattern fails." msgstr "" -#: reference/compound_stmts.rst:888 +#: reference/compound_stmts.rst:887 msgid "" "If the subject value is an instance of ``str``, ``bytes`` or ``bytearray`` " "the sequence pattern fails." msgstr "" -#: reference/compound_stmts.rst:891 +#: reference/compound_stmts.rst:890 msgid "" "The subsequent steps depend on whether the sequence pattern is fixed or " "variable-length." msgstr "" -#: reference/compound_stmts.rst:894 +#: reference/compound_stmts.rst:893 msgid "If the sequence pattern is fixed-length:" msgstr "" -#: reference/compound_stmts.rst:896 +#: reference/compound_stmts.rst:895 msgid "" "If the length of the subject sequence is not equal to the number of " "subpatterns, the sequence pattern fails" msgstr "" -#: reference/compound_stmts.rst:899 +#: reference/compound_stmts.rst:898 msgid "" "Subpatterns in the sequence pattern are matched to their corresponding items " "in the subject sequence from left to right. Matching stops as soon as a " @@ -923,118 +923,118 @@ msgid "" "corresponding item, the sequence pattern succeeds." msgstr "" -#: reference/compound_stmts.rst:904 +#: reference/compound_stmts.rst:903 msgid "Otherwise, if the sequence pattern is variable-length:" msgstr "" -#: reference/compound_stmts.rst:906 +#: reference/compound_stmts.rst:905 msgid "" "If the length of the subject sequence is less than the number of non-star " "subpatterns, the sequence pattern fails." msgstr "" -#: reference/compound_stmts.rst:909 +#: reference/compound_stmts.rst:908 msgid "" "The leading non-star subpatterns are matched to their corresponding items as " "for fixed-length sequences." msgstr "" -#: reference/compound_stmts.rst:912 +#: reference/compound_stmts.rst:911 msgid "" "If the previous step succeeds, the star subpattern matches a list formed of " "the remaining subject items, excluding the remaining items corresponding to " "non-star subpatterns following the star subpattern." msgstr "" -#: reference/compound_stmts.rst:916 +#: reference/compound_stmts.rst:915 msgid "" "Remaining non-star subpatterns are matched to their corresponding subject " "items, as for a fixed-length sequence." msgstr "" -#: reference/compound_stmts.rst:919 +#: reference/compound_stmts.rst:918 msgid "" "The length of the subject sequence is obtained via :func:`len` (i.e. via " "the :meth:`__len__` protocol). This length may be cached by the interpreter " "in a similar manner as :ref:`value patterns `." msgstr "" -#: reference/compound_stmts.rst:925 +#: reference/compound_stmts.rst:924 msgid "" "In simple terms ``[P1, P2, P3,`` ... ``, P]`` matches only if all the " "following happens:" msgstr "" -#: reference/compound_stmts.rst:928 +#: reference/compound_stmts.rst:927 msgid "check ```` is a sequence" msgstr "" -#: reference/compound_stmts.rst:929 +#: reference/compound_stmts.rst:928 msgid "``len(subject) == ``" msgstr "" -#: reference/compound_stmts.rst:930 +#: reference/compound_stmts.rst:929 msgid "" "``P1`` matches ``[0]`` (note that this match can also bind names)" msgstr "" -#: reference/compound_stmts.rst:931 +#: reference/compound_stmts.rst:930 msgid "" "``P2`` matches ``[1]`` (note that this match can also bind names)" msgstr "" -#: reference/compound_stmts.rst:932 +#: reference/compound_stmts.rst:931 msgid "... and so on for the corresponding pattern/element." msgstr "" -#: reference/compound_stmts.rst:937 +#: reference/compound_stmts.rst:936 msgid "Mapping Patterns" msgstr "" -#: reference/compound_stmts.rst:939 +#: reference/compound_stmts.rst:938 msgid "" "A mapping pattern contains one or more key-value patterns. The syntax is " "similar to the construction of a dictionary. Syntax:" msgstr "" -#: reference/compound_stmts.rst:950 +#: reference/compound_stmts.rst:949 msgid "" "At most one double star pattern may be in a mapping pattern. The double " "star pattern must be the last subpattern in the mapping pattern." msgstr "" -#: reference/compound_stmts.rst:953 +#: reference/compound_stmts.rst:952 msgid "" "Duplicate keys in mapping patterns are disallowed. Duplicate literal keys " "will raise a :exc:`SyntaxError`. Two keys that otherwise have the same value " "will raise a :exc:`ValueError` at runtime." msgstr "" -#: reference/compound_stmts.rst:957 +#: reference/compound_stmts.rst:956 msgid "" "The following is the logical flow for matching a mapping pattern against a " "subject value:" msgstr "" -#: reference/compound_stmts.rst:960 +#: reference/compound_stmts.rst:959 msgid "If the subject value is not a mapping [#]_,the mapping pattern fails." msgstr "" -#: reference/compound_stmts.rst:962 +#: reference/compound_stmts.rst:961 msgid "" "If every key given in the mapping pattern is present in the subject mapping, " "and the pattern for each key matches the corresponding item of the subject " "mapping, the mapping pattern succeeds." msgstr "" -#: reference/compound_stmts.rst:966 +#: reference/compound_stmts.rst:965 msgid "" "If duplicate keys are detected in the mapping pattern, the pattern is " "considered invalid. A :exc:`SyntaxError` is raised for duplicate literal " "values; or a :exc:`ValueError` for named keys of the same value." msgstr "" -#: reference/compound_stmts.rst:970 +#: reference/compound_stmts.rst:969 msgid "" "Key-value pairs are matched using the two-argument form of the mapping " "subject's ``get()`` method. Matched key-value pairs must already be present " @@ -1042,254 +1042,254 @@ msgid "" "`__getitem__`." msgstr "" -#: reference/compound_stmts.rst:975 +#: reference/compound_stmts.rst:974 msgid "" "In simple terms ``{KEY1: P1, KEY2: P2, ... }`` matches only if all the " "following happens:" msgstr "" -#: reference/compound_stmts.rst:978 +#: reference/compound_stmts.rst:977 msgid "check ```` is a mapping" msgstr "" -#: reference/compound_stmts.rst:979 +#: reference/compound_stmts.rst:978 msgid "``KEY1 in ``" msgstr "" -#: reference/compound_stmts.rst:980 +#: reference/compound_stmts.rst:979 msgid "``P1`` matches ``[KEY1]``" msgstr "" -#: reference/compound_stmts.rst:981 +#: reference/compound_stmts.rst:980 msgid "... and so on for the corresponding KEY/pattern pair." msgstr "" -#: reference/compound_stmts.rst:987 +#: reference/compound_stmts.rst:986 msgid "Class Patterns" msgstr "" -#: reference/compound_stmts.rst:989 +#: reference/compound_stmts.rst:988 msgid "" "A class pattern represents a class and its positional and keyword arguments " "(if any). Syntax:" msgstr "" -#: reference/compound_stmts.rst:1000 +#: reference/compound_stmts.rst:999 msgid "The same keyword should not be repeated in class patterns." msgstr "" -#: reference/compound_stmts.rst:1002 +#: reference/compound_stmts.rst:1001 msgid "" "The following is the logical flow for matching a class pattern against a " "subject value:" msgstr "" -#: reference/compound_stmts.rst:1005 +#: reference/compound_stmts.rst:1004 msgid "" "If ``name_or_attr`` is not an instance of the builtin :class:`type` , raise :" "exc:`TypeError`." msgstr "" -#: reference/compound_stmts.rst:1008 +#: reference/compound_stmts.rst:1007 msgid "" "If the subject value is not an instance of ``name_or_attr`` (tested via :" "func:`isinstance`), the class pattern fails." msgstr "" -#: reference/compound_stmts.rst:1011 +#: reference/compound_stmts.rst:1010 msgid "" "If no pattern arguments are present, the pattern succeeds. Otherwise, the " "subsequent steps depend on whether keyword or positional argument patterns " "are present." msgstr "" -#: reference/compound_stmts.rst:1015 +#: reference/compound_stmts.rst:1014 msgid "" "For a number of built-in types (specified below), a single positional " "subpattern is accepted which will match the entire subject; for these types " "keyword patterns also work as for other types." msgstr "" -#: reference/compound_stmts.rst:1019 +#: reference/compound_stmts.rst:1018 msgid "" "If only keyword patterns are present, they are processed as follows, one by " "one:" msgstr "" -#: reference/compound_stmts.rst:1022 +#: reference/compound_stmts.rst:1021 msgid "I. The keyword is looked up as an attribute on the subject." msgstr "" -#: reference/compound_stmts.rst:1024 +#: reference/compound_stmts.rst:1023 msgid "" "If this raises an exception other than :exc:`AttributeError`, the exception " "bubbles up." msgstr "" -#: reference/compound_stmts.rst:1027 +#: reference/compound_stmts.rst:1026 msgid "If this raises :exc:`AttributeError`, the class pattern has failed." msgstr "" -#: reference/compound_stmts.rst:1029 +#: reference/compound_stmts.rst:1028 msgid "" "Else, the subpattern associated with the keyword pattern is matched against " "the subject's attribute value. If this fails, the class pattern fails; if " "this succeeds, the match proceeds to the next keyword." msgstr "" -#: reference/compound_stmts.rst:1034 +#: reference/compound_stmts.rst:1033 msgid "II. If all keyword patterns succeed, the class pattern succeeds." msgstr "" -#: reference/compound_stmts.rst:1036 +#: reference/compound_stmts.rst:1035 msgid "" "If any positional patterns are present, they are converted to keyword " "patterns using the :data:`~object.__match_args__` attribute on the class " "``name_or_attr`` before matching:" msgstr "" -#: reference/compound_stmts.rst:1040 +#: reference/compound_stmts.rst:1039 msgid "" "I. The equivalent of ``getattr(cls, \"__match_args__\", ())`` is called." msgstr "" -#: reference/compound_stmts.rst:1042 +#: reference/compound_stmts.rst:1041 msgid "If this raises an exception, the exception bubbles up." msgstr "" -#: reference/compound_stmts.rst:1044 +#: reference/compound_stmts.rst:1043 msgid "" "If the returned value is not a tuple, the conversion fails and :exc:" "`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1047 +#: reference/compound_stmts.rst:1046 msgid "" "If there are more positional patterns than ``len(cls.__match_args__)``, :exc:" "`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1050 +#: reference/compound_stmts.rst:1049 msgid "" "Otherwise, positional pattern ``i`` is converted to a keyword pattern using " "``__match_args__[i]`` as the keyword. ``__match_args__[i]`` must be a " "string; if not :exc:`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1054 +#: reference/compound_stmts.rst:1053 msgid "If there are duplicate keywords, :exc:`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1056 +#: reference/compound_stmts.rst:1055 msgid ":ref:`class-pattern-matching`" msgstr "" -#: reference/compound_stmts.rst:1059 +#: reference/compound_stmts.rst:1058 msgid "" "II. Once all positional patterns have been converted to keyword patterns," msgstr "" -#: reference/compound_stmts.rst:1059 +#: reference/compound_stmts.rst:1058 msgid "the match proceeds as if there were only keyword patterns." msgstr "" -#: reference/compound_stmts.rst:1061 +#: reference/compound_stmts.rst:1060 msgid "" "For the following built-in types the handling of positional subpatterns is " "different:" msgstr "" -#: reference/compound_stmts.rst:1064 +#: reference/compound_stmts.rst:1063 msgid ":class:`bool`" msgstr "" -#: reference/compound_stmts.rst:1065 +#: reference/compound_stmts.rst:1064 msgid ":class:`bytearray`" msgstr "" -#: reference/compound_stmts.rst:1066 +#: reference/compound_stmts.rst:1065 msgid ":class:`bytes`" msgstr "" -#: reference/compound_stmts.rst:1067 +#: reference/compound_stmts.rst:1066 msgid ":class:`dict`" msgstr "" -#: reference/compound_stmts.rst:1068 +#: reference/compound_stmts.rst:1067 msgid ":class:`float`" msgstr "" -#: reference/compound_stmts.rst:1069 +#: reference/compound_stmts.rst:1068 msgid ":class:`frozenset`" msgstr "" -#: reference/compound_stmts.rst:1070 +#: reference/compound_stmts.rst:1069 msgid ":class:`int`" msgstr "" -#: reference/compound_stmts.rst:1071 reference/compound_stmts.rst:1522 +#: reference/compound_stmts.rst:1070 reference/compound_stmts.rst:1521 msgid ":class:`list`" msgstr "" -#: reference/compound_stmts.rst:1072 +#: reference/compound_stmts.rst:1071 msgid ":class:`set`" msgstr "" -#: reference/compound_stmts.rst:1073 +#: reference/compound_stmts.rst:1072 msgid ":class:`str`" msgstr "" -#: reference/compound_stmts.rst:1074 reference/compound_stmts.rst:1525 +#: reference/compound_stmts.rst:1073 reference/compound_stmts.rst:1524 msgid ":class:`tuple`" msgstr "" -#: reference/compound_stmts.rst:1076 +#: reference/compound_stmts.rst:1075 msgid "" "These classes accept a single positional argument, and the pattern there is " "matched against the whole object rather than an attribute. For example " "``int(0|1)`` matches the value ``0``, but not the value ``0.0``." msgstr "" -#: reference/compound_stmts.rst:1080 +#: reference/compound_stmts.rst:1079 msgid "" "In simple terms ``CLS(P1, attr=P2)`` matches only if the following happens:" msgstr "" -#: reference/compound_stmts.rst:1082 +#: reference/compound_stmts.rst:1081 msgid "``isinstance(, CLS)``" msgstr "" -#: reference/compound_stmts.rst:1083 +#: reference/compound_stmts.rst:1082 msgid "convert ``P1`` to a keyword pattern using ``CLS.__match_args__``" msgstr "" -#: reference/compound_stmts.rst:1085 +#: reference/compound_stmts.rst:1084 msgid "For each keyword argument ``attr=P2``:" msgstr "" -#: reference/compound_stmts.rst:1085 +#: reference/compound_stmts.rst:1084 msgid "``hasattr(, \"attr\")``" msgstr "" -#: reference/compound_stmts.rst:1086 +#: reference/compound_stmts.rst:1085 msgid "``P2`` matches ``.attr``" msgstr "" -#: reference/compound_stmts.rst:1087 +#: reference/compound_stmts.rst:1086 msgid "... and so on for the corresponding keyword argument/pattern pair." msgstr "" -#: reference/compound_stmts.rst:1102 +#: reference/compound_stmts.rst:1101 msgid "Function definitions" msgstr "" -#: reference/compound_stmts.rst:1117 +#: reference/compound_stmts.rst:1116 msgid "" "A function definition defines a user-defined function object (see section :" "ref:`types`):" msgstr "" -#: reference/compound_stmts.rst:1136 +#: reference/compound_stmts.rst:1135 msgid "" "A function definition is an executable statement. Its execution binds the " "function name in the current local namespace to a function object (a wrapper " @@ -1298,13 +1298,13 @@ msgid "" "used when the function is called." msgstr "" -#: reference/compound_stmts.rst:1142 +#: reference/compound_stmts.rst:1141 msgid "" "The function definition does not execute the function body; this gets " "executed only when the function is called. [#]_" msgstr "" -#: reference/compound_stmts.rst:1148 +#: reference/compound_stmts.rst:1147 msgid "" "A function definition may be wrapped by one or more :term:`decorator` " "expressions. Decorator expressions are evaluated when the function is " @@ -1315,24 +1315,24 @@ msgid "" "example, the following code ::" msgstr "" -#: reference/compound_stmts.rst:1159 reference/compound_stmts.rst:1336 +#: reference/compound_stmts.rst:1158 reference/compound_stmts.rst:1335 msgid "is roughly equivalent to ::" msgstr "" -#: reference/compound_stmts.rst:1164 +#: reference/compound_stmts.rst:1163 msgid "" "except that the original function is not temporarily bound to the name " "``func``." msgstr "" -#: reference/compound_stmts.rst:1166 +#: reference/compound_stmts.rst:1165 msgid "" "Functions may be decorated with any valid :token:`~python-grammar:" "assignment_expression`. Previously, the grammar was much more restrictive; " "see :pep:`614` for details." msgstr "" -#: reference/compound_stmts.rst:1176 +#: reference/compound_stmts.rst:1175 msgid "" "When one or more :term:`parameters ` have the form *parameter* " "``=`` *expression*, the function is said to have \"default parameter values." @@ -1343,7 +1343,7 @@ msgid "" "syntactic restriction that is not expressed by the grammar." msgstr "" -#: reference/compound_stmts.rst:1184 +#: reference/compound_stmts.rst:1183 msgid "" "**Default parameter values are evaluated from left to right when the " "function definition is executed.** This means that the expression is " @@ -1356,7 +1356,7 @@ msgid "" "the default, and explicitly test for it in the body of the function, e.g.::" msgstr "" -#: reference/compound_stmts.rst:1205 +#: reference/compound_stmts.rst:1204 msgid "" "Function call semantics are described in more detail in section :ref:" "`calls`. A function call always assigns values to all parameters mentioned " @@ -1372,13 +1372,13 @@ msgid "" "positional arguments." msgstr "" -#: reference/compound_stmts.rst:1217 +#: reference/compound_stmts.rst:1216 msgid "" "The ``/`` function parameter syntax may be used to indicate positional-only " "parameters. See :pep:`570` for details." msgstr "" -#: reference/compound_stmts.rst:1226 +#: reference/compound_stmts.rst:1225 msgid "" "Parameters may have an :term:`annotation ` of the form " "\"``: expression``\" following the parameter name. Any parameter may have " @@ -1395,7 +1395,7 @@ msgid "" "different order than they appear in the source code." msgstr "" -#: reference/compound_stmts.rst:1241 +#: reference/compound_stmts.rst:1240 msgid "" "It is also possible to create anonymous functions (functions not bound to a " "name), for immediate use in expressions. This uses lambda expressions, " @@ -1407,7 +1407,7 @@ msgid "" "execution of multiple statements and annotations." msgstr "" -#: reference/compound_stmts.rst:1249 +#: reference/compound_stmts.rst:1248 msgid "" "**Programmer's note:** Functions are first-class objects. A \"``def``\" " "statement executed inside a function definition defines a local function " @@ -1416,51 +1416,51 @@ msgid "" "See section :ref:`naming` for details." msgstr "" -#: reference/compound_stmts.rst:1258 +#: reference/compound_stmts.rst:1257 msgid ":pep:`3107` - Function Annotations" msgstr "" -#: reference/compound_stmts.rst:1258 +#: reference/compound_stmts.rst:1257 msgid "The original specification for function annotations." msgstr "" -#: reference/compound_stmts.rst:1261 +#: reference/compound_stmts.rst:1260 msgid ":pep:`484` - Type Hints" msgstr "" -#: reference/compound_stmts.rst:1261 +#: reference/compound_stmts.rst:1260 msgid "Definition of a standard meaning for annotations: type hints." msgstr "" -#: reference/compound_stmts.rst:1265 +#: reference/compound_stmts.rst:1264 msgid ":pep:`526` - Syntax for Variable Annotations" msgstr "" -#: reference/compound_stmts.rst:1264 +#: reference/compound_stmts.rst:1263 msgid "" "Ability to type hint variable declarations, including class variables and " "instance variables" msgstr "" -#: reference/compound_stmts.rst:1268 +#: reference/compound_stmts.rst:1267 msgid ":pep:`563` - Postponed Evaluation of Annotations" msgstr "" -#: reference/compound_stmts.rst:1268 +#: reference/compound_stmts.rst:1267 msgid "" "Support for forward references within annotations by preserving annotations " "in a string form at runtime instead of eager evaluation." msgstr "" -#: reference/compound_stmts.rst:1275 +#: reference/compound_stmts.rst:1274 msgid "Class definitions" msgstr "" -#: reference/compound_stmts.rst:1290 +#: reference/compound_stmts.rst:1289 msgid "A class definition defines a class object (see section :ref:`types`):" msgstr "" -#: reference/compound_stmts.rst:1297 +#: reference/compound_stmts.rst:1296 msgid "" "A class definition is an executable statement. The inheritance list usually " "gives a list of base classes (see :ref:`metaclasses` for more advanced " @@ -1469,11 +1469,11 @@ msgid "" "default, from the base class :class:`object`; hence, ::" msgstr "" -#: reference/compound_stmts.rst:1306 +#: reference/compound_stmts.rst:1305 msgid "is equivalent to ::" msgstr "" -#: reference/compound_stmts.rst:1311 +#: reference/compound_stmts.rst:1310 msgid "" "The class's suite is then executed in a new execution frame (see :ref:" "`naming`), using a newly created local namespace and the original global " @@ -1485,7 +1485,7 @@ msgid "" "original local namespace." msgstr "" -#: reference/compound_stmts.rst:1320 +#: reference/compound_stmts.rst:1319 msgid "" "The order in which attributes are defined in the class body is preserved in " "the new class's ``__dict__``. Note that this is reliable only right after " @@ -1493,30 +1493,30 @@ msgid "" "definition syntax." msgstr "" -#: reference/compound_stmts.rst:1325 +#: reference/compound_stmts.rst:1324 msgid "" "Class creation can be customized heavily using :ref:`metaclasses " "`." msgstr "" -#: reference/compound_stmts.rst:1330 +#: reference/compound_stmts.rst:1329 msgid "Classes can also be decorated: just like when decorating functions, ::" msgstr "" -#: reference/compound_stmts.rst:1341 +#: reference/compound_stmts.rst:1340 msgid "" "The evaluation rules for the decorator expressions are the same as for " "function decorators. The result is then bound to the class name." msgstr "" -#: reference/compound_stmts.rst:1344 +#: reference/compound_stmts.rst:1343 msgid "" "Classes may be decorated with any valid :token:`~python-grammar:" "assignment_expression`. Previously, the grammar was much more restrictive; " "see :pep:`614` for details." msgstr "" -#: reference/compound_stmts.rst:1349 +#: reference/compound_stmts.rst:1348 msgid "" "**Programmer's note:** Variables defined in the class definition are class " "attributes; they are shared by instances. Instance attributes can be set in " @@ -1529,35 +1529,35 @@ msgid "" "implementation details." msgstr "" -#: reference/compound_stmts.rst:1364 +#: reference/compound_stmts.rst:1363 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr "" -#: reference/compound_stmts.rst:1362 +#: reference/compound_stmts.rst:1361 msgid "" "The proposal that changed the declaration of metaclasses to the current " "syntax, and the semantics for how classes with metaclasses are constructed." msgstr "" -#: reference/compound_stmts.rst:1367 +#: reference/compound_stmts.rst:1366 msgid ":pep:`3129` - Class Decorators" msgstr "" -#: reference/compound_stmts.rst:1367 +#: reference/compound_stmts.rst:1366 msgid "" "The proposal that added class decorators. Function and method decorators " "were introduced in :pep:`318`." msgstr "" -#: reference/compound_stmts.rst:1374 +#: reference/compound_stmts.rst:1373 msgid "Coroutines" msgstr "" -#: reference/compound_stmts.rst:1382 +#: reference/compound_stmts.rst:1381 msgid "Coroutine function definition" msgstr "" -#: reference/compound_stmts.rst:1392 +#: reference/compound_stmts.rst:1391 msgid "" "Execution of Python coroutines can be suspended and resumed at many points " "(see :term:`coroutine`). :keyword:`await` expressions, :keyword:`async for` " @@ -1565,183 +1565,183 @@ msgid "" "function." msgstr "" -#: reference/compound_stmts.rst:1396 +#: reference/compound_stmts.rst:1395 msgid "" "Functions defined with ``async def`` syntax are always coroutine functions, " "even if they do not contain ``await`` or ``async`` keywords." msgstr "" -#: reference/compound_stmts.rst:1399 +#: reference/compound_stmts.rst:1398 msgid "" "It is a :exc:`SyntaxError` to use a ``yield from`` expression inside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1402 +#: reference/compound_stmts.rst:1401 msgid "An example of a coroutine function::" msgstr "" -#: reference/compound_stmts.rst:1408 +#: reference/compound_stmts.rst:1407 msgid "" "``await`` and ``async`` are now keywords; previously they were only treated " "as such inside the body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1416 +#: reference/compound_stmts.rst:1415 msgid "The :keyword:`!async for` statement" msgstr "" -#: reference/compound_stmts.rst:1421 +#: reference/compound_stmts.rst:1420 msgid "" "An :term:`asynchronous iterable` provides an ``__aiter__`` method that " "directly returns an :term:`asynchronous iterator`, which can call " "asynchronous code in its ``__anext__`` method." msgstr "" -#: reference/compound_stmts.rst:1425 +#: reference/compound_stmts.rst:1424 msgid "" "The ``async for`` statement allows convenient iteration over asynchronous " "iterables." msgstr "" -#: reference/compound_stmts.rst:1435 +#: reference/compound_stmts.rst:1434 msgid "Is semantically equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1451 +#: reference/compound_stmts.rst:1450 msgid "" "See also :meth:`~object.__aiter__` and :meth:`~object.__anext__` for details." msgstr "" -#: reference/compound_stmts.rst:1453 +#: reference/compound_stmts.rst:1452 msgid "" "It is a :exc:`SyntaxError` to use an ``async for`` statement outside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1461 +#: reference/compound_stmts.rst:1460 msgid "The :keyword:`!async with` statement" msgstr "" -#: reference/compound_stmts.rst:1466 +#: reference/compound_stmts.rst:1465 msgid "" "An :term:`asynchronous context manager` is a :term:`context manager` that is " "able to suspend execution in its *enter* and *exit* methods." msgstr "" -#: reference/compound_stmts.rst:1493 +#: reference/compound_stmts.rst:1492 msgid "" "See also :meth:`~object.__aenter__` and :meth:`~object.__aexit__` for " "details." msgstr "" -#: reference/compound_stmts.rst:1495 +#: reference/compound_stmts.rst:1494 msgid "" "It is a :exc:`SyntaxError` to use an ``async with`` statement outside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1501 +#: reference/compound_stmts.rst:1500 msgid ":pep:`492` - Coroutines with async and await syntax" msgstr "" -#: reference/compound_stmts.rst:1501 +#: reference/compound_stmts.rst:1500 msgid "" "The proposal that made coroutines a proper standalone concept in Python, and " "added supporting syntax." msgstr "" -#: reference/compound_stmts.rst:1506 +#: reference/compound_stmts.rst:1505 msgid "Footnotes" msgstr "" -#: reference/compound_stmts.rst:1507 +#: reference/compound_stmts.rst:1506 msgid "" "The exception is propagated to the invocation stack unless there is a :" "keyword:`finally` clause which happens to raise another exception. That new " "exception causes the old one to be lost." msgstr "" -#: reference/compound_stmts.rst:1511 +#: reference/compound_stmts.rst:1510 msgid "In pattern matching, a sequence is defined as one of the following:" msgstr "" -#: reference/compound_stmts.rst:1513 +#: reference/compound_stmts.rst:1512 msgid "a class that inherits from :class:`collections.abc.Sequence`" msgstr "" -#: reference/compound_stmts.rst:1514 +#: reference/compound_stmts.rst:1513 msgid "" "a Python class that has been registered as :class:`collections.abc.Sequence`" msgstr "" -#: reference/compound_stmts.rst:1515 +#: reference/compound_stmts.rst:1514 msgid "" "a builtin class that has its (CPython) :data:`Py_TPFLAGS_SEQUENCE` bit set" msgstr "" -#: reference/compound_stmts.rst:1516 reference/compound_stmts.rst:1535 +#: reference/compound_stmts.rst:1515 reference/compound_stmts.rst:1534 msgid "a class that inherits from any of the above" msgstr "" -#: reference/compound_stmts.rst:1518 +#: reference/compound_stmts.rst:1517 msgid "The following standard library classes are sequences:" msgstr "" -#: reference/compound_stmts.rst:1520 +#: reference/compound_stmts.rst:1519 msgid ":class:`array.array`" msgstr "" -#: reference/compound_stmts.rst:1521 +#: reference/compound_stmts.rst:1520 msgid ":class:`collections.deque`" msgstr "" -#: reference/compound_stmts.rst:1523 +#: reference/compound_stmts.rst:1522 msgid ":class:`memoryview`" msgstr "" -#: reference/compound_stmts.rst:1524 +#: reference/compound_stmts.rst:1523 msgid ":class:`range`" msgstr "" -#: reference/compound_stmts.rst:1527 +#: reference/compound_stmts.rst:1526 msgid "" "Subject values of type ``str``, ``bytes``, and ``bytearray`` do not match " "sequence patterns." msgstr "" -#: reference/compound_stmts.rst:1530 +#: reference/compound_stmts.rst:1529 msgid "In pattern matching, a mapping is defined as one of the following:" msgstr "" -#: reference/compound_stmts.rst:1532 +#: reference/compound_stmts.rst:1531 msgid "a class that inherits from :class:`collections.abc.Mapping`" msgstr "" -#: reference/compound_stmts.rst:1533 +#: reference/compound_stmts.rst:1532 msgid "" "a Python class that has been registered as :class:`collections.abc.Mapping`" msgstr "" -#: reference/compound_stmts.rst:1534 +#: reference/compound_stmts.rst:1533 msgid "" "a builtin class that has its (CPython) :data:`Py_TPFLAGS_MAPPING` bit set" msgstr "" -#: reference/compound_stmts.rst:1537 +#: reference/compound_stmts.rst:1536 msgid "" "The standard library classes :class:`dict` and :class:`types." "MappingProxyType` are mappings." msgstr "" -#: reference/compound_stmts.rst:1540 +#: reference/compound_stmts.rst:1539 msgid "" "A string literal appearing as the first statement in the function body is " "transformed into the function's ``__doc__`` attribute and therefore the " "function's :term:`docstring`." msgstr "" -#: reference/compound_stmts.rst:1544 +#: reference/compound_stmts.rst:1543 msgid "" "A string literal appearing as the first statement in the class body is " "transformed into the namespace's ``__doc__`` item and therefore the class's :" diff --git a/reference/datamodel.po b/reference/datamodel.po index e957ab533..65634c578 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1883,7 +1883,7 @@ msgid "" "See :ref:`special-lookup`." msgstr "" -#: reference/datamodel.rst:1602 +#: reference/datamodel.rst:16 msgid "" "Raises an :ref:`auditing event ` ``object.__getattr__`` with " "arguments ``obj``, ``name``." @@ -1909,7 +1909,7 @@ msgid "" "__setattr__(self, name, value)``." msgstr "" -#: reference/datamodel.rst:1619 +#: reference/datamodel.rst:9 msgid "" "Raises an :ref:`auditing event ` ``object.__setattr__`` with " "arguments ``obj``, ``name``, ``value``." @@ -1929,7 +1929,7 @@ msgid "" "object." msgstr "" -#: reference/datamodel.rst:1631 +#: reference/datamodel.rst:4 msgid "" "Raises an :ref:`auditing event ` ``object.__delattr__`` with " "arguments ``obj``, ``name``." @@ -3279,14 +3279,22 @@ msgid "" msgstr "" #: reference/datamodel.rst:2884 +msgid "" +"The language doesn't place any restriction on the type or value of the " +"objects yielded by the iterator returned by ``__await__``, as this is " +"specific to the implementation of the asynchronous execution framework (e." +"g. :mod:`asyncio`) that will be managing the :term:`awaitable` object." +msgstr "" + +#: reference/datamodel.rst:2892 msgid ":pep:`492` for additional information about awaitable objects." msgstr "" -#: reference/datamodel.rst:2890 +#: reference/datamodel.rst:2898 msgid "Coroutine Objects" msgstr "" -#: reference/datamodel.rst:2892 +#: reference/datamodel.rst:2900 msgid "" ":term:`Coroutine objects ` are :term:`awaitable` objects. A " "coroutine's execution can be controlled by calling :meth:`~object.__await__` " @@ -3297,18 +3305,18 @@ msgid "" "should not directly raise unhandled :exc:`StopIteration` exceptions." msgstr "" -#: reference/datamodel.rst:2900 +#: reference/datamodel.rst:2908 msgid "" "Coroutines also have the methods listed below, which are analogous to those " "of generators (see :ref:`generator-methods`). However, unlike generators, " "coroutines do not directly support iteration." msgstr "" -#: reference/datamodel.rst:2904 +#: reference/datamodel.rst:2912 msgid "It is a :exc:`RuntimeError` to await on a coroutine more than once." msgstr "" -#: reference/datamodel.rst:2910 +#: reference/datamodel.rst:2918 msgid "" "Starts or resumes execution of the coroutine. If *value* is ``None``, this " "is equivalent to advancing the iterator returned by :meth:`~object." @@ -3319,7 +3327,7 @@ msgid "" "value, described above." msgstr "" -#: reference/datamodel.rst:2921 +#: reference/datamodel.rst:2929 msgid "" "Raises the specified exception in the coroutine. This method delegates to " "the :meth:`~generator.throw` method of the iterator that caused the " @@ -3330,7 +3338,7 @@ msgid "" "not caught in the coroutine, it propagates back to the caller." msgstr "" -#: reference/datamodel.rst:2932 +#: reference/datamodel.rst:2940 msgid "" "Causes the coroutine to clean itself up and exit. If the coroutine is " "suspended, this method first delegates to the :meth:`~generator.close` " @@ -3340,99 +3348,99 @@ msgid "" "is marked as having finished executing, even if it was never started." msgstr "" -#: reference/datamodel.rst:2940 +#: reference/datamodel.rst:2948 msgid "" "Coroutine objects are automatically closed using the above process when they " "are about to be destroyed." msgstr "" -#: reference/datamodel.rst:2946 +#: reference/datamodel.rst:2954 msgid "Asynchronous Iterators" msgstr "" -#: reference/datamodel.rst:2948 +#: reference/datamodel.rst:2956 msgid "" "An *asynchronous iterator* can call asynchronous code in its ``__anext__`` " "method." msgstr "" -#: reference/datamodel.rst:2951 +#: reference/datamodel.rst:2959 msgid "" "Asynchronous iterators can be used in an :keyword:`async for` statement." msgstr "" -#: reference/datamodel.rst:2955 +#: reference/datamodel.rst:2963 msgid "Must return an *asynchronous iterator* object." msgstr "" -#: reference/datamodel.rst:2959 +#: reference/datamodel.rst:2967 msgid "" "Must return an *awaitable* resulting in a next value of the iterator. " "Should raise a :exc:`StopAsyncIteration` error when the iteration is over." msgstr "" -#: reference/datamodel.rst:2962 +#: reference/datamodel.rst:2970 msgid "An example of an asynchronous iterable object::" msgstr "" -#: reference/datamodel.rst:2979 +#: reference/datamodel.rst:2987 msgid "" "Prior to Python 3.7, :meth:`~object.__aiter__` could return an *awaitable* " "that would resolve to an :term:`asynchronous iterator `." msgstr "" -#: reference/datamodel.rst:2984 +#: reference/datamodel.rst:2992 msgid "" "Starting with Python 3.7, :meth:`~object.__aiter__` must return an " "asynchronous iterator object. Returning anything else will result in a :exc:" "`TypeError` error." msgstr "" -#: reference/datamodel.rst:2992 +#: reference/datamodel.rst:3000 msgid "Asynchronous Context Managers" msgstr "" -#: reference/datamodel.rst:2994 +#: reference/datamodel.rst:3002 msgid "" "An *asynchronous context manager* is a *context manager* that is able to " "suspend execution in its ``__aenter__`` and ``__aexit__`` methods." msgstr "" -#: reference/datamodel.rst:2997 +#: reference/datamodel.rst:3005 msgid "" "Asynchronous context managers can be used in an :keyword:`async with` " "statement." msgstr "" -#: reference/datamodel.rst:3001 +#: reference/datamodel.rst:3009 msgid "" "Semantically similar to :meth:`__enter__`, the only difference being that it " "must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3006 +#: reference/datamodel.rst:3014 msgid "" "Semantically similar to :meth:`__exit__`, the only difference being that it " "must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3009 +#: reference/datamodel.rst:3017 msgid "An example of an asynchronous context manager class::" msgstr "" -#: reference/datamodel.rst:3022 +#: reference/datamodel.rst:3030 msgid "Footnotes" msgstr "" -#: reference/datamodel.rst:3023 +#: reference/datamodel.rst:3031 msgid "" "It *is* possible in some cases to change an object's type, under certain " "controlled conditions. It generally isn't a good idea though, since it can " "lead to some very strange behaviour if it is handled incorrectly." msgstr "" -#: reference/datamodel.rst:3027 +#: reference/datamodel.rst:3035 msgid "" "The :meth:`~object.__hash__`, :meth:`~object.__iter__`, :meth:`~object." "__reversed__`, and :meth:`~object.__contains__` methods have special " @@ -3440,7 +3448,7 @@ msgid "" "by relying on the behavior that ``None`` is not callable." msgstr "" -#: reference/datamodel.rst:3033 +#: reference/datamodel.rst:3041 msgid "" "\"Does not support\" here means that the class has no such method, or the " "method returns ``NotImplemented``. Do not set the method to ``None`` if you " @@ -3448,7 +3456,7 @@ msgid "" "instead have the opposite effect of explicitly *blocking* such fallback." msgstr "" -#: reference/datamodel.rst:3039 +#: reference/datamodel.rst:3047 msgid "" "For operands of the same type, it is assumed that if the non-reflected " "method -- such as :meth:`~object.__add__` -- fails then the overall " diff --git a/reference/executionmodel.po b/reference/executionmodel.po index fc92c895a..551f33eda 100644 --- a/reference/executionmodel.po +++ b/reference/executionmodel.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -174,10 +174,11 @@ msgid "" "bound. This rule is subtle. Python lacks declarations and allows name " "binding operations to occur anywhere within a code block. The local " "variables of a code block can be determined by scanning the entire text of " -"the block for name binding operations." +"the block for name binding operations. See :ref:`the FAQ entry on " +"UnboundLocalError ` for examples." msgstr "" -#: reference/executionmodel.rst:132 +#: reference/executionmodel.rst:134 msgid "" "If the :keyword:`global` statement occurs within a block, all uses of the " "names specified in the statement refer to the bindings of those names in the " @@ -189,7 +190,7 @@ msgid "" "statement must precede all uses of the listed names." msgstr "" -#: reference/executionmodel.rst:141 +#: reference/executionmodel.rst:143 msgid "" "The :keyword:`global` statement has the same scope as a name binding " "operation in the same block. If the nearest enclosing scope for a free " @@ -197,7 +198,7 @@ msgid "" "global." msgstr "" -#: reference/executionmodel.rst:147 +#: reference/executionmodel.rst:149 msgid "" "The :keyword:`nonlocal` statement causes corresponding names to refer to " "previously bound variables in the nearest enclosing function scope. :exc:" @@ -205,13 +206,13 @@ msgid "" "any enclosing function scope." msgstr "" -#: reference/executionmodel.rst:154 +#: reference/executionmodel.rst:156 msgid "" "The namespace for a module is automatically created the first time a module " "is imported. The main module for a script is always called :mod:`__main__`." msgstr "" -#: reference/executionmodel.rst:157 +#: reference/executionmodel.rst:159 msgid "" "Class definition blocks and arguments to :func:`exec` and :func:`eval` are " "special in the context of name resolution. A class definition is an " @@ -225,11 +226,11 @@ msgid "" "that the following will fail::" msgstr "" -#: reference/executionmodel.rst:175 +#: reference/executionmodel.rst:177 msgid "Builtins and restricted execution" msgstr "" -#: reference/executionmodel.rst:181 +#: reference/executionmodel.rst:183 msgid "" "Users should not touch ``__builtins__``; it is strictly an implementation " "detail. Users wanting to override values in the builtins namespace should :" @@ -237,7 +238,7 @@ msgid "" "appropriately." msgstr "" -#: reference/executionmodel.rst:186 +#: reference/executionmodel.rst:188 msgid "" "The builtins namespace associated with the execution of a code block is " "actually found by looking up the name ``__builtins__`` in its global " @@ -248,17 +249,17 @@ msgid "" "`builtins` module itself." msgstr "" -#: reference/executionmodel.rst:198 +#: reference/executionmodel.rst:200 msgid "Interaction with dynamic features" msgstr "" -#: reference/executionmodel.rst:200 +#: reference/executionmodel.rst:202 msgid "" "Name resolution of free variables occurs at runtime, not at compile time. " "This means that the following code will print 42::" msgstr "" -#: reference/executionmodel.rst:211 +#: reference/executionmodel.rst:213 msgid "" "The :func:`eval` and :func:`exec` functions do not have access to the full " "environment for resolving names. Names may be resolved in the local and " @@ -269,11 +270,11 @@ msgid "" "for both." msgstr "" -#: reference/executionmodel.rst:222 +#: reference/executionmodel.rst:224 msgid "Exceptions" msgstr "" -#: reference/executionmodel.rst:233 +#: reference/executionmodel.rst:235 msgid "" "Exceptions are a means of breaking out of the normal flow of control of a " "code block in order to handle errors or other exceptional conditions. An " @@ -282,7 +283,7 @@ msgid "" "or indirectly invoked the code block where the error occurred." msgstr "" -#: reference/executionmodel.rst:239 +#: reference/executionmodel.rst:241 msgid "" "The Python interpreter raises an exception when it detects a run-time error " "(such as division by zero). A Python program can also explicitly raise an " @@ -293,7 +294,7 @@ msgid "" "exception occurred or not in the preceding code." msgstr "" -#: reference/executionmodel.rst:249 +#: reference/executionmodel.rst:251 msgid "" "Python uses the \"termination\" model of error handling: an exception " "handler can find out what happened and continue execution at an outer level, " @@ -301,7 +302,7 @@ msgid "" "(except by re-entering the offending piece of code from the top)." msgstr "" -#: reference/executionmodel.rst:256 +#: reference/executionmodel.rst:258 msgid "" "When an exception is not handled at all, the interpreter terminates " "execution of the program, or returns to its interactive main loop. In " @@ -309,7 +310,7 @@ msgid "" "`SystemExit`." msgstr "" -#: reference/executionmodel.rst:260 +#: reference/executionmodel.rst:262 msgid "" "Exceptions are identified by class instances. The :keyword:`except` clause " "is selected depending on the class of the instance: it must reference the " @@ -318,7 +319,7 @@ msgid "" "additional information about the exceptional condition." msgstr "" -#: reference/executionmodel.rst:268 +#: reference/executionmodel.rst:270 msgid "" "Exception messages are not part of the Python API. Their contents may " "change from one version of Python to the next without warning and should not " @@ -326,17 +327,17 @@ msgid "" "interpreter." msgstr "" -#: reference/executionmodel.rst:272 +#: reference/executionmodel.rst:274 msgid "" "See also the description of the :keyword:`try` statement in section :ref:" "`try` and :keyword:`raise` statement in section :ref:`raise`." msgstr "" -#: reference/executionmodel.rst:277 +#: reference/executionmodel.rst:279 msgid "Footnotes" msgstr "" -#: reference/executionmodel.rst:278 +#: reference/executionmodel.rst:280 msgid "" "This limitation occurs because the code that is executed by these operations " "is not available at the time the module is compiled." diff --git a/reference/expressions.po b/reference/expressions.po index 2aa2c8256..63d53f887 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -463,9 +463,10 @@ msgid "" "function. The execution starts when one of the generator's methods is " "called. At that time, the execution proceeds to the first yield expression, " "where it is suspended again, returning the value of :token:`~python-grammar:" -"expression_list` to the generator's caller. By suspended, we mean that all " -"local state is retained, including the current bindings of local variables, " -"the instruction pointer, the internal evaluation stack, and the state of any " +"expression_list` to the generator's caller, or ``None`` if :token:`~python-" +"grammar:expression_list` is omitted. By suspended, we mean that all local " +"state is retained, including the current bindings of local variables, the " +"instruction pointer, the internal evaluation stack, and the state of any " "exception handling. When the execution is resumed by calling one of the " "generator's methods, the function can proceed exactly as if the yield " "expression were just another external call. The value of the yield " @@ -476,7 +477,7 @@ msgid "" "be the value passed in to that method." msgstr "" -#: reference/expressions.rst:465 +#: reference/expressions.rst:467 msgid "" "All of this makes generator functions quite similar to coroutines; they " "yield multiple times, they have more than one entry point and their " @@ -485,7 +486,7 @@ msgid "" "the control is always transferred to the generator's caller." msgstr "" -#: reference/expressions.rst:471 +#: reference/expressions.rst:473 msgid "" "Yield expressions are allowed anywhere in a :keyword:`try` construct. If " "the generator is not resumed before it is finalized (by reaching a zero " @@ -494,7 +495,7 @@ msgid "" "`finally` clauses to execute." msgstr "" -#: reference/expressions.rst:480 +#: reference/expressions.rst:482 msgid "" "When ``yield from `` is used, the supplied expression must be an " "iterable. The values produced by iterating that iterable are passed directly " @@ -506,7 +507,7 @@ msgid "" "will just raise the passed in exception immediately." msgstr "" -#: reference/expressions.rst:489 +#: reference/expressions.rst:491 msgid "" "When the underlying iterator is complete, the :attr:`~StopIteration.value` " "attribute of the raised :exc:`StopIteration` instance becomes the value of " @@ -515,73 +516,73 @@ msgid "" "returning a value from the subgenerator)." msgstr "" -#: reference/expressions.rst:495 +#: reference/expressions.rst:497 msgid "Added ``yield from `` to delegate control flow to a subiterator." msgstr "" -#: reference/expressions.rst:498 +#: reference/expressions.rst:500 msgid "" "The parentheses may be omitted when the yield expression is the sole " "expression on the right hand side of an assignment statement." msgstr "" -#: reference/expressions.rst:504 +#: reference/expressions.rst:506 msgid ":pep:`255` - Simple Generators" msgstr "" -#: reference/expressions.rst:504 +#: reference/expressions.rst:506 msgid "" "The proposal for adding generators and the :keyword:`yield` statement to " "Python." msgstr "" -#: reference/expressions.rst:508 +#: reference/expressions.rst:510 msgid ":pep:`342` - Coroutines via Enhanced Generators" msgstr "" -#: reference/expressions.rst:507 +#: reference/expressions.rst:509 msgid "" "The proposal to enhance the API and syntax of generators, making them usable " "as simple coroutines." msgstr "" -#: reference/expressions.rst:512 +#: reference/expressions.rst:514 msgid ":pep:`380` - Syntax for Delegating to a Subgenerator" msgstr "" -#: reference/expressions.rst:511 +#: reference/expressions.rst:513 msgid "" "The proposal to introduce the :token:`~python-grammar:yield_from` syntax, " "making delegation to subgenerators easy." msgstr "" -#: reference/expressions.rst:515 +#: reference/expressions.rst:517 msgid ":pep:`525` - Asynchronous Generators" msgstr "" -#: reference/expressions.rst:515 +#: reference/expressions.rst:517 msgid "" "The proposal that expanded on :pep:`492` by adding generator capabilities to " "coroutine functions." msgstr "" -#: reference/expressions.rst:522 +#: reference/expressions.rst:524 msgid "Generator-iterator methods" msgstr "" -#: reference/expressions.rst:524 +#: reference/expressions.rst:526 msgid "" "This subsection describes the methods of a generator iterator. They can be " "used to control the execution of a generator function." msgstr "" -#: reference/expressions.rst:527 +#: reference/expressions.rst:529 msgid "" "Note that calling any of the generator methods below when the generator is " "already executing raises a :exc:`ValueError` exception." msgstr "" -#: reference/expressions.rst:535 +#: reference/expressions.rst:537 msgid "" "Starts the execution of a generator function or resumes it at the last " "executed yield expression. When a generator function is resumed with a :" @@ -593,13 +594,13 @@ msgid "" "`StopIteration` exception is raised." msgstr "" -#: reference/expressions.rst:544 +#: reference/expressions.rst:546 msgid "" "This method is normally called implicitly, e.g. by a :keyword:`for` loop, or " "by the built-in :func:`next` function." msgstr "" -#: reference/expressions.rst:550 +#: reference/expressions.rst:552 msgid "" "Resumes the execution and \"sends\" a value into the generator function. " "The *value* argument becomes the result of the current yield expression. " @@ -610,7 +611,7 @@ msgid "" "expression that could receive the value." msgstr "" -#: reference/expressions.rst:562 +#: reference/expressions.rst:564 msgid "" "Raises an exception at the point where the generator was paused, and returns " "the next value yielded by the generator function. If the generator exits " @@ -619,13 +620,13 @@ msgid "" "a different exception, then that exception propagates to the caller." msgstr "" -#: reference/expressions.rst:568 +#: reference/expressions.rst:570 msgid "" "In typical use, this is called with a single exception instance similar to " "the way the :keyword:`raise` keyword is used." msgstr "" -#: reference/expressions.rst:571 +#: reference/expressions.rst:573 msgid "" "For backwards compatibility, however, the second signature is supported, " "following a convention from older versions of Python. The *type* argument " @@ -636,7 +637,7 @@ msgid "" "*value* may be cleared." msgstr "" -#: reference/expressions.rst:585 +#: reference/expressions.rst:587 msgid "" "Raises a :exc:`GeneratorExit` at the point where the generator function was " "paused. If the generator function then exits gracefully, is already closed, " @@ -647,34 +648,34 @@ msgid "" "has already exited due to an exception or normal exit." msgstr "" -#: reference/expressions.rst:596 +#: reference/expressions.rst:598 msgid "Examples" msgstr "" -#: reference/expressions.rst:598 +#: reference/expressions.rst:600 msgid "" "Here is a simple example that demonstrates the behavior of generators and " "generator functions::" msgstr "" -#: reference/expressions.rst:625 +#: reference/expressions.rst:627 msgid "" "For examples using ``yield from``, see :ref:`pep-380` in \"What's New in " "Python.\"" msgstr "" -#: reference/expressions.rst:631 +#: reference/expressions.rst:633 msgid "Asynchronous generator functions" msgstr "" -#: reference/expressions.rst:633 +#: reference/expressions.rst:635 msgid "" "The presence of a yield expression in a function or method defined using :" "keyword:`async def` further defines the function as an :term:`asynchronous " "generator` function." msgstr "" -#: reference/expressions.rst:637 +#: reference/expressions.rst:639 msgid "" "When an asynchronous generator function is called, it returns an " "asynchronous iterator known as an asynchronous generator object. That object " @@ -684,7 +685,7 @@ msgid "" "keyword:`for` statement." msgstr "" -#: reference/expressions.rst:644 +#: reference/expressions.rst:646 msgid "" "Calling one of the asynchronous generator's methods returns an :term:" "`awaitable` object, and the execution starts when this object is awaited on. " @@ -703,7 +704,7 @@ msgid "" "method." msgstr "" -#: reference/expressions.rst:659 +#: reference/expressions.rst:661 msgid "" "If an asynchronous generator happens to exit early by :keyword:`break`, the " "caller task being cancelled, or other exceptions, the generator's async " @@ -715,7 +716,7 @@ msgid "" "generator and ultimately detach it from the event loop." msgstr "" -#: reference/expressions.rst:669 +#: reference/expressions.rst:671 msgid "" "In an asynchronous generator function, yield expressions are allowed " "anywhere in a :keyword:`try` construct. However, if an asynchronous " @@ -729,7 +730,7 @@ msgid "" "finally` clauses to execute." msgstr "" -#: reference/expressions.rst:680 +#: reference/expressions.rst:682 msgid "" "To take care of finalization upon event loop termination, an event loop " "should define a *finalizer* function which takes an asynchronous generator-" @@ -742,23 +743,23 @@ msgid "" "asyncio/base_events.py`." msgstr "" -#: reference/expressions.rst:689 +#: reference/expressions.rst:691 msgid "" "The expression ``yield from `` is a syntax error when used in an " "asynchronous generator function." msgstr "" -#: reference/expressions.rst:696 +#: reference/expressions.rst:698 msgid "Asynchronous generator-iterator methods" msgstr "" -#: reference/expressions.rst:698 +#: reference/expressions.rst:700 msgid "" "This subsection describes the methods of an asynchronous generator iterator, " "which are used to control the execution of a generator function." msgstr "" -#: reference/expressions.rst:706 +#: reference/expressions.rst:708 msgid "" "Returns an awaitable which when run starts to execute the asynchronous " "generator or resumes it at the last executed yield expression. When an " @@ -773,12 +774,12 @@ msgid "" "has completed." msgstr "" -#: reference/expressions.rst:718 +#: reference/expressions.rst:720 msgid "" "This method is normally called implicitly by a :keyword:`async for` loop." msgstr "" -#: reference/expressions.rst:723 +#: reference/expressions.rst:725 msgid "" "Returns an awaitable which when run resumes the execution of the " "asynchronous generator. As with the :meth:`~generator.send()` method for a " @@ -793,7 +794,7 @@ msgid "" "receive the value." msgstr "" -#: reference/expressions.rst:738 +#: reference/expressions.rst:740 msgid "" "Returns an awaitable that raises an exception of type ``type`` at the point " "where the asynchronous generator was paused, and returns the next value " @@ -805,7 +806,7 @@ msgid "" "that exception propagates to the caller of the awaitable." msgstr "" -#: reference/expressions.rst:753 +#: reference/expressions.rst:755 msgid "" "Returns an awaitable that when run will throw a :exc:`GeneratorExit` into " "the asynchronous generator function at the point where it was paused. If the " @@ -821,25 +822,25 @@ msgid "" "will return an awaitable that does nothing." msgstr "" -#: reference/expressions.rst:769 +#: reference/expressions.rst:771 msgid "Primaries" msgstr "" -#: reference/expressions.rst:773 +#: reference/expressions.rst:775 msgid "" "Primaries represent the most tightly bound operations of the language. Their " "syntax is:" msgstr "" -#: reference/expressions.rst:783 +#: reference/expressions.rst:785 msgid "Attribute references" msgstr "" -#: reference/expressions.rst:789 +#: reference/expressions.rst:791 msgid "An attribute reference is a primary followed by a period and a name:" msgstr "" -#: reference/expressions.rst:799 +#: reference/expressions.rst:801 msgid "" "The primary must evaluate to an object of a type that supports attribute " "references, which most objects do. This object is then asked to produce the " @@ -850,11 +851,11 @@ msgid "" "evaluations of the same attribute reference may yield different objects." msgstr "" -#: reference/expressions.rst:811 +#: reference/expressions.rst:813 msgid "Subscriptions" msgstr "" -#: reference/expressions.rst:826 +#: reference/expressions.rst:828 msgid "" "The subscription of an instance of a :ref:`container class ` " "will generally select an element from the container. The subscription of a :" @@ -862,13 +863,13 @@ msgid "" "`GenericAlias ` object." msgstr "" -#: reference/expressions.rst:834 +#: reference/expressions.rst:836 msgid "" "When an object is subscripted, the interpreter will evaluate the primary and " "the expression list." msgstr "" -#: reference/expressions.rst:837 +#: reference/expressions.rst:839 msgid "" "The primary must evaluate to an object that supports subscription. An object " "may support subscription through defining one or both of :meth:`~object." @@ -878,20 +879,20 @@ msgid "" "called instead of ``__getitem__``, see :ref:`classgetitem-versus-getitem`." msgstr "" -#: reference/expressions.rst:844 +#: reference/expressions.rst:846 msgid "" "If the expression list contains at least one comma, it will evaluate to a :" "class:`tuple` containing the items of the expression list. Otherwise, the " "expression list will evaluate to the value of the list's sole member." msgstr "" -#: reference/expressions.rst:848 +#: reference/expressions.rst:850 msgid "" "For built-in objects, there are two types of objects that support " "subscription via :meth:`~object.__getitem__`:" msgstr "" -#: reference/expressions.rst:851 +#: reference/expressions.rst:853 msgid "" "Mappings. If the primary is a :term:`mapping`, the expression list must " "evaluate to an object whose value is one of the keys of the mapping, and the " @@ -899,7 +900,7 @@ msgid "" "An example of a builtin mapping class is the :class:`dict` class." msgstr "" -#: reference/expressions.rst:855 +#: reference/expressions.rst:857 msgid "" "Sequences. If the primary is a :term:`sequence`, the expression list must " "evaluate to an :class:`int` or a :class:`slice` (as discussed in the " @@ -907,7 +908,7 @@ msgid "" "`str`, :class:`list` and :class:`tuple` classes." msgstr "" -#: reference/expressions.rst:860 +#: reference/expressions.rst:862 msgid "" "The formal syntax makes no special provision for negative indices in :term:" "`sequences `. However, built-in sequences all provide a :meth:" @@ -921,25 +922,25 @@ msgid "" "support." msgstr "" -#: reference/expressions.rst:874 +#: reference/expressions.rst:876 msgid "" "A :class:`string ` is a special kind of sequence whose items are " "*characters*. A character is not a separate data type but a string of " "exactly one character." msgstr "" -#: reference/expressions.rst:882 +#: reference/expressions.rst:884 msgid "Slicings" msgstr "" -#: reference/expressions.rst:896 +#: reference/expressions.rst:898 msgid "" "A slicing selects a range of items in a sequence object (e.g., a string, " "tuple or list). Slicings may be used as expressions or as targets in " "assignment or :keyword:`del` statements. The syntax for a slicing:" msgstr "" -#: reference/expressions.rst:909 +#: reference/expressions.rst:911 msgid "" "There is ambiguity in the formal syntax here: anything that looks like an " "expression list also looks like a slice list, so any subscription can be " @@ -949,7 +950,7 @@ msgid "" "the case if the slice list contains no proper slice)." msgstr "" -#: reference/expressions.rst:921 +#: reference/expressions.rst:923 msgid "" "The semantics for a slicing are as follows. The primary is indexed (using " "the same :meth:`__getitem__` method as normal subscription) with a key that " @@ -964,23 +965,23 @@ msgid "" "expressions." msgstr "" -#: reference/expressions.rst:945 +#: reference/expressions.rst:947 msgid "Calls" msgstr "" -#: reference/expressions.rst:947 +#: reference/expressions.rst:949 msgid "" "A call calls a callable object (e.g., a :term:`function`) with a possibly " "empty series of :term:`arguments `:" msgstr "" -#: reference/expressions.rst:964 +#: reference/expressions.rst:966 msgid "" "An optional trailing comma may be present after the positional and keyword " "arguments but does not affect the semantics." msgstr "" -#: reference/expressions.rst:970 +#: reference/expressions.rst:972 msgid "" "The primary must evaluate to a callable object (user-defined functions, " "built-in functions, methods of built-in objects, class objects, methods of " @@ -990,7 +991,7 @@ msgid "" "formal :term:`parameter` lists." msgstr "" -#: reference/expressions.rst:978 +#: reference/expressions.rst:980 msgid "" "If keyword arguments are present, they are first converted to positional " "arguments, as follows. First, a list of unfilled slots is created for the " @@ -1012,7 +1013,7 @@ msgid "" "call." msgstr "" -#: reference/expressions.rst:998 +#: reference/expressions.rst:1000 msgid "" "An implementation may provide built-in functions whose positional parameters " "do not have names, even if they are 'named' for the purpose of " @@ -1021,7 +1022,7 @@ msgid "" "`PyArg_ParseTuple` to parse their arguments." msgstr "" -#: reference/expressions.rst:1004 +#: reference/expressions.rst:1006 msgid "" "If there are more positional arguments than there are formal parameter " "slots, a :exc:`TypeError` exception is raised, unless a formal parameter " @@ -1030,7 +1031,7 @@ msgid "" "empty tuple if there were no excess positional arguments)." msgstr "" -#: reference/expressions.rst:1010 +#: reference/expressions.rst:1012 msgid "" "If any keyword argument does not correspond to a formal parameter name, a :" "exc:`TypeError` exception is raised, unless a formal parameter using the " @@ -1040,7 +1041,7 @@ msgid "" "(new) empty dictionary if there were no excess keyword arguments." msgstr "" -#: reference/expressions.rst:1021 +#: reference/expressions.rst:1023 msgid "" "If the syntax ``*expression`` appears in the function call, ``expression`` " "must evaluate to an :term:`iterable`. Elements from these iterables are " @@ -1050,20 +1051,20 @@ msgid "" "*y1*, ..., *yM*, *x3*, *x4*." msgstr "" -#: reference/expressions.rst:1028 +#: reference/expressions.rst:1030 msgid "" "A consequence of this is that although the ``*expression`` syntax may appear " "*after* explicit keyword arguments, it is processed *before* the keyword " "arguments (and any ``**expression`` arguments -- see below). So::" msgstr "" -#: reference/expressions.rst:1044 +#: reference/expressions.rst:1046 msgid "" "It is unusual for both keyword arguments and the ``*expression`` syntax to " "be used in the same call, so in practice this confusion does not arise." msgstr "" -#: reference/expressions.rst:1050 +#: reference/expressions.rst:1052 msgid "" "If the syntax ``**expression`` appears in the function call, ``expression`` " "must evaluate to a :term:`mapping`, the contents of which are treated as " @@ -1072,7 +1073,7 @@ msgid "" "a :exc:`TypeError` exception is raised." msgstr "" -#: reference/expressions.rst:1056 +#: reference/expressions.rst:1058 msgid "" "When ``**expression`` is used, each key in this mapping must be a string. " "Each value from the mapping is assigned to the first formal parameter " @@ -1084,35 +1085,35 @@ msgid "" "is raised." msgstr "" -#: reference/expressions.rst:1066 +#: reference/expressions.rst:1068 msgid "" "Formal parameters using the syntax ``*identifier`` or ``**identifier`` " "cannot be used as positional argument slots or as keyword argument names." msgstr "" -#: reference/expressions.rst:1069 +#: reference/expressions.rst:1071 msgid "" "Function calls accept any number of ``*`` and ``**`` unpackings, positional " "arguments may follow iterable unpackings (``*``), and keyword arguments may " "follow dictionary unpackings (``**``). Originally proposed by :pep:`448`." msgstr "" -#: reference/expressions.rst:1075 +#: reference/expressions.rst:1077 msgid "" "A call always returns some value, possibly ``None``, unless it raises an " "exception. How this value is computed depends on the type of the callable " "object." msgstr "" -#: reference/expressions.rst:1079 +#: reference/expressions.rst:1081 msgid "If it is---" msgstr "" -#: reference/expressions.rst:1092 +#: reference/expressions.rst:1094 msgid "a user-defined function:" msgstr "" -#: reference/expressions.rst:1088 +#: reference/expressions.rst:1090 msgid "" "The code block for the function is executed, passing it the argument list. " "The first thing the code block will do is bind the formal parameters to the " @@ -1121,73 +1122,73 @@ msgid "" "value of the function call." msgstr "" -#: reference/expressions.rst:1106 +#: reference/expressions.rst:1108 msgid "a built-in function or method:" msgstr "" -#: reference/expressions.rst:1105 +#: reference/expressions.rst:1107 msgid "" "The result is up to the interpreter; see :ref:`built-in-funcs` for the " "descriptions of built-in functions and methods." msgstr "" -#: reference/expressions.rst:1113 +#: reference/expressions.rst:1115 msgid "a class object:" msgstr "" -#: reference/expressions.rst:1113 +#: reference/expressions.rst:1115 msgid "A new instance of that class is returned." msgstr "" -#: reference/expressions.rst:1123 +#: reference/expressions.rst:1125 msgid "a class instance method:" msgstr "" -#: reference/expressions.rst:1121 +#: reference/expressions.rst:1123 msgid "" "The corresponding user-defined function is called, with an argument list " "that is one longer than the argument list of the call: the instance becomes " "the first argument." msgstr "" -#: reference/expressions.rst:1132 +#: reference/expressions.rst:1134 msgid "a class instance:" msgstr "" -#: reference/expressions.rst:1130 +#: reference/expressions.rst:1132 msgid "" "The class must define a :meth:`__call__` method; the effect is then the same " "as if that method was called." msgstr "" -#: reference/expressions.rst:1917 +#: reference/expressions.rst:1919 msgid "Await expression" msgstr "" -#: reference/expressions.rst:1140 +#: reference/expressions.rst:1142 msgid "" "Suspend the execution of :term:`coroutine` on an :term:`awaitable` object. " "Can only be used inside a :term:`coroutine function`." msgstr "" -#: reference/expressions.rst:1152 +#: reference/expressions.rst:1154 msgid "The power operator" msgstr "" -#: reference/expressions.rst:1158 +#: reference/expressions.rst:1160 msgid "" "The power operator binds more tightly than unary operators on its left; it " "binds less tightly than unary operators on its right. The syntax is:" msgstr "" -#: reference/expressions.rst:1164 +#: reference/expressions.rst:1166 msgid "" "Thus, in an unparenthesized sequence of power and unary operators, the " "operators are evaluated from right to left (this does not constrain the " "evaluation order for the operands): ``-1**2`` results in ``-1``." msgstr "" -#: reference/expressions.rst:1168 +#: reference/expressions.rst:1170 msgid "" "The power operator has the same semantics as the built-in :func:`pow` " "function, when called with two arguments: it yields its left argument raised " @@ -1195,7 +1196,7 @@ msgid "" "converted to a common type, and the result is of that type." msgstr "" -#: reference/expressions.rst:1173 +#: reference/expressions.rst:1175 msgid "" "For int operands, the result has the same type as the operands unless the " "second argument is negative; in that case, all arguments are converted to " @@ -1203,40 +1204,40 @@ msgid "" "``100``, but ``10**-2`` returns ``0.01``." msgstr "" -#: reference/expressions.rst:1178 +#: reference/expressions.rst:1180 msgid "" "Raising ``0.0`` to a negative power results in a :exc:`ZeroDivisionError`. " "Raising a negative number to a fractional power results in a :class:" "`complex` number. (In earlier versions it raised a :exc:`ValueError`.)" msgstr "" -#: reference/expressions.rst:1182 +#: reference/expressions.rst:1184 msgid "" "This operation can be customized using the special :meth:`__pow__` method." msgstr "" -#: reference/expressions.rst:1187 +#: reference/expressions.rst:1189 msgid "Unary arithmetic and bitwise operations" msgstr "" -#: reference/expressions.rst:1193 +#: reference/expressions.rst:1195 msgid "All unary arithmetic and bitwise operations have the same priority:" msgstr "" -#: reference/expressions.rst:1204 +#: reference/expressions.rst:1206 msgid "" "The unary ``-`` (minus) operator yields the negation of its numeric " "argument; the operation can be overridden with the :meth:`__neg__` special " "method." msgstr "" -#: reference/expressions.rst:1212 +#: reference/expressions.rst:1214 msgid "" "The unary ``+`` (plus) operator yields its numeric argument unchanged; the " "operation can be overridden with the :meth:`__pos__` special method." msgstr "" -#: reference/expressions.rst:1219 +#: reference/expressions.rst:1221 msgid "" "The unary ``~`` (invert) operator yields the bitwise inversion of its " "integer argument. The bitwise inversion of ``x`` is defined as ``-(x+1)``. " @@ -1244,17 +1245,17 @@ msgid "" "meth:`__invert__` special method." msgstr "" -#: reference/expressions.rst:1228 +#: reference/expressions.rst:1230 msgid "" "In all three cases, if the argument does not have the proper type, a :exc:" "`TypeError` exception is raised." msgstr "" -#: reference/expressions.rst:1235 +#: reference/expressions.rst:1237 msgid "Binary arithmetic operations" msgstr "" -#: reference/expressions.rst:1239 +#: reference/expressions.rst:1241 msgid "" "The binary arithmetic operations have the conventional priority levels. " "Note that some of these operations also apply to certain non-numeric types. " @@ -1262,7 +1263,7 @@ msgid "" "multiplicative operators and one for additive operators:" msgstr "" -#: reference/expressions.rst:1254 +#: reference/expressions.rst:1256 msgid "" "The ``*`` (multiplication) operator yields the product of its arguments. " "The arguments must either both be numbers, or one argument must be an " @@ -1272,19 +1273,19 @@ msgid "" "an empty sequence." msgstr "" -#: reference/expressions.rst:1260 +#: reference/expressions.rst:1262 msgid "" "This operation can be customized using the special :meth:`__mul__` and :meth:" "`__rmul__` methods." msgstr "" -#: reference/expressions.rst:1267 +#: reference/expressions.rst:1269 msgid "" "The ``@`` (at) operator is intended to be used for matrix multiplication. " "No builtin Python types implement this operator." msgstr "" -#: reference/expressions.rst:1278 +#: reference/expressions.rst:1280 msgid "" "The ``/`` (division) and ``//`` (floor division) operators yield the " "quotient of their arguments. The numeric arguments are first converted to a " @@ -1294,13 +1295,13 @@ msgid "" "the :exc:`ZeroDivisionError` exception." msgstr "" -#: reference/expressions.rst:1285 +#: reference/expressions.rst:1287 msgid "" "This operation can be customized using the special :meth:`__truediv__` and :" "meth:`__floordiv__` methods." msgstr "" -#: reference/expressions.rst:1292 +#: reference/expressions.rst:1294 msgid "" "The ``%`` (modulo) operator yields the remainder from the division of the " "first argument by the second. The numeric arguments are first converted to " @@ -1312,7 +1313,7 @@ msgid "" "absolute value of the second operand [#]_." msgstr "" -#: reference/expressions.rst:1301 +#: reference/expressions.rst:1303 msgid "" "The floor division and modulo operators are connected by the following " "identity: ``x == (x//y)*y + (x%y)``. Floor division and modulo are also " @@ -1320,7 +1321,7 @@ msgid "" "y, x%y)``. [#]_." msgstr "" -#: reference/expressions.rst:1306 +#: reference/expressions.rst:1308 msgid "" "In addition to performing the modulo operation on numbers, the ``%`` " "operator is also overloaded by string objects to perform old-style string " @@ -1329,20 +1330,20 @@ msgid "" "formatting`." msgstr "" -#: reference/expressions.rst:1311 +#: reference/expressions.rst:1313 msgid "" "The *modulo* operation can be customized using the special :meth:`__mod__` " "method." msgstr "" -#: reference/expressions.rst:1313 +#: reference/expressions.rst:1315 msgid "" "The floor division operator, the modulo operator, and the :func:`divmod` " "function are not defined for complex numbers. Instead, convert to a " "floating point number using the :func:`abs` function if appropriate." msgstr "" -#: reference/expressions.rst:1322 +#: reference/expressions.rst:1324 msgid "" "The ``+`` (addition) operator yields the sum of its arguments. The " "arguments must either both be numbers or both be sequences of the same " @@ -1350,84 +1351,84 @@ msgid "" "then added together. In the latter case, the sequences are concatenated." msgstr "" -#: reference/expressions.rst:1327 +#: reference/expressions.rst:1329 msgid "" "This operation can be customized using the special :meth:`__add__` and :meth:" "`__radd__` methods." msgstr "" -#: reference/expressions.rst:1335 +#: reference/expressions.rst:1337 msgid "" "The ``-`` (subtraction) operator yields the difference of its arguments. " "The numeric arguments are first converted to a common type." msgstr "" -#: reference/expressions.rst:1338 +#: reference/expressions.rst:1340 msgid "" "This operation can be customized using the special :meth:`__sub__` method." msgstr "" -#: reference/expressions.rst:1344 +#: reference/expressions.rst:1346 msgid "Shifting operations" msgstr "" -#: reference/expressions.rst:1351 +#: reference/expressions.rst:1353 msgid "" "The shifting operations have lower priority than the arithmetic operations:" msgstr "" -#: reference/expressions.rst:1356 +#: reference/expressions.rst:1358 msgid "" "These operators accept integers as arguments. They shift the first argument " "to the left or right by the number of bits given by the second argument." msgstr "" -#: reference/expressions.rst:1359 +#: reference/expressions.rst:1361 msgid "" "This operation can be customized using the special :meth:`__lshift__` and :" "meth:`__rshift__` methods." msgstr "" -#: reference/expressions.rst:1364 +#: reference/expressions.rst:1366 msgid "" "A right shift by *n* bits is defined as floor division by ``pow(2,n)``. A " "left shift by *n* bits is defined as multiplication with ``pow(2,n)``." msgstr "" -#: reference/expressions.rst:1371 +#: reference/expressions.rst:1373 msgid "Binary bitwise operations" msgstr "" -#: reference/expressions.rst:1375 +#: reference/expressions.rst:1377 msgid "Each of the three bitwise operations has a different priority level:" msgstr "" -#: reference/expressions.rst:1386 +#: reference/expressions.rst:1388 msgid "" "The ``&`` operator yields the bitwise AND of its arguments, which must be " "integers or one of them must be a custom object overriding :meth:`__and__` " "or :meth:`__rand__` special methods." msgstr "" -#: reference/expressions.rst:1395 +#: reference/expressions.rst:1397 msgid "" "The ``^`` operator yields the bitwise XOR (exclusive OR) of its arguments, " "which must be integers or one of them must be a custom object overriding :" "meth:`__xor__` or :meth:`__rxor__` special methods." msgstr "" -#: reference/expressions.rst:1404 +#: reference/expressions.rst:1406 msgid "" "The ``|`` operator yields the bitwise (inclusive) OR of its arguments, which " "must be integers or one of them must be a custom object overriding :meth:" "`__or__` or :meth:`__ror__` special methods." msgstr "" -#: reference/expressions.rst:1412 +#: reference/expressions.rst:1414 msgid "Comparisons" msgstr "" -#: reference/expressions.rst:1424 +#: reference/expressions.rst:1426 msgid "" "Unlike C, all comparison operations in Python have the same priority, which " "is lower than that of any arithmetic, shifting or bitwise operation. Also " @@ -1435,14 +1436,14 @@ msgid "" "conventional in mathematics:" msgstr "" -#: reference/expressions.rst:1434 +#: reference/expressions.rst:1436 msgid "" "Comparisons yield boolean values: ``True`` or ``False``. Custom :dfn:`rich " "comparison methods` may return non-boolean values. In this case Python will " "call :func:`bool` on such value in boolean contexts." msgstr "" -#: reference/expressions.rst:1440 +#: reference/expressions.rst:1442 msgid "" "Comparisons can be chained arbitrarily, e.g., ``x < y <= z`` is equivalent " "to ``x < y and y <= z``, except that ``y`` is evaluated only once (but in " @@ -1450,7 +1451,7 @@ msgid "" "false)." msgstr "" -#: reference/expressions.rst:1444 +#: reference/expressions.rst:1446 msgid "" "Formally, if *a*, *b*, *c*, ..., *y*, *z* are expressions and *op1*, " "*op2*, ..., *opN* are comparison operators, then ``a op1 b op2 c ... y opN " @@ -1458,24 +1459,24 @@ msgid "" "each expression is evaluated at most once." msgstr "" -#: reference/expressions.rst:1449 +#: reference/expressions.rst:1451 msgid "" "Note that ``a op1 b op2 c`` doesn't imply any kind of comparison between *a* " "and *c*, so that, e.g., ``x < y > z`` is perfectly legal (though perhaps not " "pretty)." msgstr "" -#: reference/expressions.rst:1454 +#: reference/expressions.rst:1456 msgid "Value comparisons" msgstr "" -#: reference/expressions.rst:1456 +#: reference/expressions.rst:1458 msgid "" "The operators ``<``, ``>``, ``==``, ``>=``, ``<=``, and ``!=`` compare the " "values of two objects. The objects do not need to have the same type." msgstr "" -#: reference/expressions.rst:1459 +#: reference/expressions.rst:1461 msgid "" "Chapter :ref:`objects` states that objects have a value (in addition to type " "and identity). The value of an object is a rather abstract notion in " @@ -1487,7 +1488,7 @@ msgid "" "indirectly, by means of their comparison implementation." msgstr "" -#: reference/expressions.rst:1468 +#: reference/expressions.rst:1470 msgid "" "Because all types are (direct or indirect) subtypes of :class:`object`, they " "inherit the default comparison behavior from :class:`object`. Types can " @@ -1495,7 +1496,7 @@ msgid "" "methods` like :meth:`__lt__`, described in :ref:`customization`." msgstr "" -#: reference/expressions.rst:1474 +#: reference/expressions.rst:1476 msgid "" "The default behavior for equality comparison (``==`` and ``!=``) is based on " "the identity of the objects. Hence, equality comparison of instances with " @@ -1505,14 +1506,14 @@ msgid "" "``x is y`` implies ``x == y``)." msgstr "" -#: reference/expressions.rst:1481 +#: reference/expressions.rst:1483 msgid "" "A default order comparison (``<``, ``>``, ``<=``, and ``>=``) is not " "provided; an attempt raises :exc:`TypeError`. A motivation for this default " "behavior is the lack of a similar invariant as for equality." msgstr "" -#: reference/expressions.rst:1485 +#: reference/expressions.rst:1487 msgid "" "The behavior of the default equality comparison, that instances with " "different identities are always unequal, may be in contrast to what types " @@ -1521,13 +1522,13 @@ msgid "" "in fact, a number of built-in types have done that." msgstr "" -#: reference/expressions.rst:1491 +#: reference/expressions.rst:1493 msgid "" "The following list describes the comparison behavior of the most important " "built-in types." msgstr "" -#: reference/expressions.rst:1494 +#: reference/expressions.rst:1496 msgid "" "Numbers of built-in numeric types (:ref:`typesnumeric`) and of the standard " "library types :class:`fractions.Fraction` and :class:`decimal.Decimal` can " @@ -1537,7 +1538,7 @@ msgid "" "of precision." msgstr "" -#: reference/expressions.rst:1501 +#: reference/expressions.rst:1503 msgid "" "The not-a-number values ``float('NaN')`` and ``decimal.Decimal('NaN')`` are " "special. Any ordered comparison of a number to a not-a-number value is " @@ -1547,32 +1548,32 @@ msgid "" "is compliant with IEEE 754." msgstr "" -#: reference/expressions.rst:1508 +#: reference/expressions.rst:1510 msgid "" "``None`` and ``NotImplemented`` are singletons. :PEP:`8` advises that " "comparisons for singletons should always be done with ``is`` or ``is not``, " "never the equality operators." msgstr "" -#: reference/expressions.rst:1512 +#: reference/expressions.rst:1514 msgid "" "Binary sequences (instances of :class:`bytes` or :class:`bytearray`) can be " "compared within and across their types. They compare lexicographically " "using the numeric values of their elements." msgstr "" -#: reference/expressions.rst:1516 +#: reference/expressions.rst:1518 msgid "" "Strings (instances of :class:`str`) compare lexicographically using the " "numerical Unicode code points (the result of the built-in function :func:" "`ord`) of their characters. [#]_" msgstr "" -#: reference/expressions.rst:1520 +#: reference/expressions.rst:1522 msgid "Strings and binary sequences cannot be directly compared." msgstr "" -#: reference/expressions.rst:1522 +#: reference/expressions.rst:1524 msgid "" "Sequences (instances of :class:`tuple`, :class:`list`, or :class:`range`) " "can be compared only within each of their types, with the restriction that " @@ -1581,7 +1582,7 @@ msgid "" "raises :exc:`TypeError`." msgstr "" -#: reference/expressions.rst:1528 +#: reference/expressions.rst:1530 msgid "" "Sequences compare lexicographically using comparison of corresponding " "elements. The built-in containers typically assume identical objects are " @@ -1589,19 +1590,19 @@ msgid "" "objects to improve performance and to maintain their internal invariants." msgstr "" -#: reference/expressions.rst:1533 +#: reference/expressions.rst:1535 msgid "" "Lexicographical comparison between built-in collections works as follows:" msgstr "" -#: reference/expressions.rst:1535 +#: reference/expressions.rst:1537 msgid "" "For two collections to compare equal, they must be of the same type, have " "the same length, and each pair of corresponding elements must compare equal " "(for example, ``[1,2] == (1,2)`` is false because the type is not the same)." msgstr "" -#: reference/expressions.rst:1540 +#: reference/expressions.rst:1542 msgid "" "Collections that support order comparison are ordered the same as their " "first unequal elements (for example, ``[1,2,x] <= [1,2,y]`` has the same " @@ -1610,25 +1611,25 @@ msgid "" "true)." msgstr "" -#: reference/expressions.rst:1546 +#: reference/expressions.rst:1548 msgid "" "Mappings (instances of :class:`dict`) compare equal if and only if they have " "equal ``(key, value)`` pairs. Equality comparison of the keys and values " "enforces reflexivity." msgstr "" -#: reference/expressions.rst:1550 +#: reference/expressions.rst:1552 msgid "" "Order comparisons (``<``, ``>``, ``<=``, and ``>=``) raise :exc:`TypeError`." msgstr "" -#: reference/expressions.rst:1552 +#: reference/expressions.rst:1554 msgid "" "Sets (instances of :class:`set` or :class:`frozenset`) can be compared " "within and across their types." msgstr "" -#: reference/expressions.rst:1555 +#: reference/expressions.rst:1557 msgid "" "They define order comparison operators to mean subset and superset tests. " "Those relations do not define total orderings (for example, the two sets " @@ -1639,110 +1640,110 @@ msgid "" "sets as inputs)." msgstr "" -#: reference/expressions.rst:1563 +#: reference/expressions.rst:1565 msgid "Comparison of sets enforces reflexivity of its elements." msgstr "" -#: reference/expressions.rst:1565 +#: reference/expressions.rst:1567 msgid "" "Most other built-in types have no comparison methods implemented, so they " "inherit the default comparison behavior." msgstr "" -#: reference/expressions.rst:1568 +#: reference/expressions.rst:1570 msgid "" "User-defined classes that customize their comparison behavior should follow " "some consistency rules, if possible:" msgstr "" -#: reference/expressions.rst:1571 +#: reference/expressions.rst:1573 msgid "" "Equality comparison should be reflexive. In other words, identical objects " "should compare equal:" msgstr "" -#: reference/expressions.rst:1574 +#: reference/expressions.rst:1576 msgid "``x is y`` implies ``x == y``" msgstr "" -#: reference/expressions.rst:1576 +#: reference/expressions.rst:1578 msgid "" "Comparison should be symmetric. In other words, the following expressions " "should have the same result:" msgstr "" -#: reference/expressions.rst:1579 +#: reference/expressions.rst:1581 msgid "``x == y`` and ``y == x``" msgstr "" -#: reference/expressions.rst:1581 +#: reference/expressions.rst:1583 msgid "``x != y`` and ``y != x``" msgstr "" -#: reference/expressions.rst:1583 +#: reference/expressions.rst:1585 msgid "``x < y`` and ``y > x``" msgstr "" -#: reference/expressions.rst:1585 +#: reference/expressions.rst:1587 msgid "``x <= y`` and ``y >= x``" msgstr "" -#: reference/expressions.rst:1587 +#: reference/expressions.rst:1589 msgid "" "Comparison should be transitive. The following (non-exhaustive) examples " "illustrate that:" msgstr "" -#: reference/expressions.rst:1590 +#: reference/expressions.rst:1592 msgid "``x > y and y > z`` implies ``x > z``" msgstr "" -#: reference/expressions.rst:1592 +#: reference/expressions.rst:1594 msgid "``x < y and y <= z`` implies ``x < z``" msgstr "" -#: reference/expressions.rst:1594 +#: reference/expressions.rst:1596 msgid "" "Inverse comparison should result in the boolean negation. In other words, " "the following expressions should have the same result:" msgstr "" -#: reference/expressions.rst:1597 +#: reference/expressions.rst:1599 msgid "``x == y`` and ``not x != y``" msgstr "" -#: reference/expressions.rst:1599 +#: reference/expressions.rst:1601 msgid "``x < y`` and ``not x >= y`` (for total ordering)" msgstr "" -#: reference/expressions.rst:1601 +#: reference/expressions.rst:1603 msgid "``x > y`` and ``not x <= y`` (for total ordering)" msgstr "" -#: reference/expressions.rst:1603 +#: reference/expressions.rst:1605 msgid "" "The last two expressions apply to totally ordered collections (e.g. to " "sequences, but not to sets or mappings). See also the :func:`~functools." "total_ordering` decorator." msgstr "" -#: reference/expressions.rst:1607 +#: reference/expressions.rst:1609 msgid "" "The :func:`hash` result should be consistent with equality. Objects that are " "equal should either have the same hash value, or be marked as unhashable." msgstr "" -#: reference/expressions.rst:1611 +#: reference/expressions.rst:1613 msgid "" "Python does not enforce these consistency rules. In fact, the not-a-number " "values are an example for not following these rules." msgstr "" -#: reference/expressions.rst:1620 +#: reference/expressions.rst:1622 msgid "Membership test operations" msgstr "" -#: reference/expressions.rst:1622 +#: reference/expressions.rst:1624 msgid "" "The operators :keyword:`in` and :keyword:`not in` test for membership. ``x " "in s`` evaluates to ``True`` if *x* is a member of *s*, and ``False`` " @@ -1753,7 +1754,7 @@ msgid "" "expression ``x in y`` is equivalent to ``any(x is e or x == e for e in y)``." msgstr "" -#: reference/expressions.rst:1630 +#: reference/expressions.rst:1632 msgid "" "For the string and bytes types, ``x in y`` is ``True`` if and only if *x* is " "a substring of *y*. An equivalent test is ``y.find(x) != -1``. Empty " @@ -1761,14 +1762,14 @@ msgid "" "``\"\" in \"abc\"`` will return ``True``." msgstr "" -#: reference/expressions.rst:1635 +#: reference/expressions.rst:1637 msgid "" "For user-defined classes which define the :meth:`__contains__` method, ``x " "in y`` returns ``True`` if ``y.__contains__(x)`` returns a true value, and " "``False`` otherwise." msgstr "" -#: reference/expressions.rst:1639 +#: reference/expressions.rst:1641 msgid "" "For user-defined classes which do not define :meth:`__contains__` but do " "define :meth:`__iter__`, ``x in y`` is ``True`` if some value ``z``, for " @@ -1777,7 +1778,7 @@ msgid "" "as if :keyword:`in` raised that exception." msgstr "" -#: reference/expressions.rst:1645 +#: reference/expressions.rst:1647 msgid "" "Lastly, the old-style iteration protocol is tried: if a class defines :meth:" "`__getitem__`, ``x in y`` is ``True`` if and only if there is a non-negative " @@ -1786,17 +1787,17 @@ msgid "" "raised, it is as if :keyword:`in` raised that exception)." msgstr "" -#: reference/expressions.rst:1657 +#: reference/expressions.rst:1659 msgid "" "The operator :keyword:`not in` is defined to have the inverse truth value " "of :keyword:`in`." msgstr "" -#: reference/expressions.rst:1670 +#: reference/expressions.rst:1672 msgid "Identity comparisons" msgstr "" -#: reference/expressions.rst:1672 +#: reference/expressions.rst:1674 msgid "" "The operators :keyword:`is` and :keyword:`is not` test for an object's " "identity: ``x is y`` is true if and only if *x* and *y* are the same " @@ -1804,11 +1805,11 @@ msgid "" "``x is not y`` yields the inverse truth value. [#]_" msgstr "" -#: reference/expressions.rst:1684 +#: reference/expressions.rst:1686 msgid "Boolean operations" msgstr "" -#: reference/expressions.rst:1695 +#: reference/expressions.rst:1697 msgid "" "In the context of Boolean operations, and also when expressions are used by " "control flow statements, the following values are interpreted as false: " @@ -1819,25 +1820,25 @@ msgid "" "method." msgstr "" -#: reference/expressions.rst:1704 +#: reference/expressions.rst:1706 msgid "" "The operator :keyword:`not` yields ``True`` if its argument is false, " "``False`` otherwise." msgstr "" -#: reference/expressions.rst:1709 +#: reference/expressions.rst:1711 msgid "" "The expression ``x and y`` first evaluates *x*; if *x* is false, its value " "is returned; otherwise, *y* is evaluated and the resulting value is returned." msgstr "" -#: reference/expressions.rst:1714 +#: reference/expressions.rst:1716 msgid "" "The expression ``x or y`` first evaluates *x*; if *x* is true, its value is " "returned; otherwise, *y* is evaluated and the resulting value is returned." msgstr "" -#: reference/expressions.rst:1717 +#: reference/expressions.rst:1719 msgid "" "Note that neither :keyword:`and` nor :keyword:`or` restrict the value and " "type they return to ``False`` and ``True``, but rather return the last " @@ -1848,11 +1849,11 @@ msgid "" "argument (for example, ``not 'foo'`` produces ``False`` rather than ``''``.)" msgstr "" -#: reference/expressions.rst:1733 +#: reference/expressions.rst:1735 msgid "Assignment expressions" msgstr "" -#: reference/expressions.rst:1738 +#: reference/expressions.rst:1740 msgid "" "An assignment expression (sometimes also called a \"named expression\" or " "\"walrus\") assigns an :token:`~python-grammar:expression` to an :token:" @@ -1860,15 +1861,15 @@ msgid "" "`~python-grammar:expression`." msgstr "" -#: reference/expressions.rst:1743 +#: reference/expressions.rst:1745 msgid "One common use case is when handling matched regular expressions:" msgstr "" -#: reference/expressions.rst:1750 +#: reference/expressions.rst:1752 msgid "Or, when processing a file stream in chunks:" msgstr "" -#: reference/expressions.rst:1757 +#: reference/expressions.rst:1759 msgid "" "Assignment expressions must be surrounded by parentheses when used as sub-" "expressions in slicing, conditional, lambda, keyword-argument, and " @@ -1877,36 +1878,36 @@ msgid "" "including in ``if`` and ``while`` statements." msgstr "" -#: reference/expressions.rst:1764 +#: reference/expressions.rst:1766 msgid "See :pep:`572` for more details about assignment expressions." msgstr "" -#: reference/expressions.rst:1771 +#: reference/expressions.rst:1773 msgid "Conditional expressions" msgstr "" -#: reference/expressions.rst:1783 +#: reference/expressions.rst:1785 msgid "" "Conditional expressions (sometimes called a \"ternary operator\") have the " "lowest priority of all Python operations." msgstr "" -#: reference/expressions.rst:1786 +#: reference/expressions.rst:1788 msgid "" "The expression ``x if C else y`` first evaluates the condition, *C* rather " "than *x*. If *C* is true, *x* is evaluated and its value is returned; " "otherwise, *y* is evaluated and its value is returned." msgstr "" -#: reference/expressions.rst:1790 +#: reference/expressions.rst:1792 msgid "See :pep:`308` for more details about conditional expressions." msgstr "" -#: reference/expressions.rst:1797 +#: reference/expressions.rst:1799 msgid "Lambdas" msgstr "" -#: reference/expressions.rst:1808 +#: reference/expressions.rst:1810 msgid "" "Lambda expressions (sometimes called lambda forms) are used to create " "anonymous functions. The expression ``lambda parameters: expression`` yields " @@ -1914,25 +1915,25 @@ msgid "" "defined with:" msgstr "" -#: reference/expressions.rst:1817 +#: reference/expressions.rst:1819 msgid "" "See section :ref:`function` for the syntax of parameter lists. Note that " "functions created with lambda expressions cannot contain statements or " "annotations." msgstr "" -#: reference/expressions.rst:1825 +#: reference/expressions.rst:1827 msgid "Expression lists" msgstr "" -#: reference/expressions.rst:1839 +#: reference/expressions.rst:1841 msgid "" "Except when part of a list or set display, an expression list containing at " "least one comma yields a tuple. The length of the tuple is the number of " "expressions in the list. The expressions are evaluated from left to right." msgstr "" -#: reference/expressions.rst:1848 +#: reference/expressions.rst:1850 msgid "" "An asterisk ``*`` denotes :dfn:`iterable unpacking`. Its operand must be " "an :term:`iterable`. The iterable is expanded into a sequence of items, " @@ -1940,12 +1941,12 @@ msgid "" "unpacking." msgstr "" -#: reference/expressions.rst:1853 +#: reference/expressions.rst:1855 msgid "" "Iterable unpacking in expression lists, originally proposed by :pep:`448`." msgstr "" -#: reference/expressions.rst:1858 +#: reference/expressions.rst:1860 msgid "" "The trailing comma is required only to create a single tuple (a.k.a. a " "*singleton*); it is optional in all other cases. A single expression " @@ -1954,28 +1955,28 @@ msgid "" "parentheses: ``()``.)" msgstr "" -#: reference/expressions.rst:1868 +#: reference/expressions.rst:1870 msgid "Evaluation order" msgstr "" -#: reference/expressions.rst:1872 +#: reference/expressions.rst:1874 msgid "" "Python evaluates expressions from left to right. Notice that while " "evaluating an assignment, the right-hand side is evaluated before the left-" "hand side." msgstr "" -#: reference/expressions.rst:1875 +#: reference/expressions.rst:1877 msgid "" "In the following lines, expressions will be evaluated in the arithmetic " "order of their suffixes::" msgstr "" -#: reference/expressions.rst:1889 +#: reference/expressions.rst:1891 msgid "Operator precedence" msgstr "" -#: reference/expressions.rst:1894 +#: reference/expressions.rst:1896 msgid "" "The following table summarizes the operator precedence in Python, from " "highest precedence (most binding) to lowest precedence (least binding). " @@ -1984,176 +1985,176 @@ msgid "" "left to right (except for exponentiation, which groups from right to left)." msgstr "" -#: reference/expressions.rst:1900 +#: reference/expressions.rst:1902 msgid "" "Note that comparisons, membership tests, and identity tests, all have the " "same precedence and have a left-to-right chaining feature as described in " "the :ref:`comparisons` section." msgstr "" -#: reference/expressions.rst:1906 +#: reference/expressions.rst:1908 msgid "Operator" msgstr "" -#: reference/expressions.rst:1906 +#: reference/expressions.rst:1908 msgid "Description" msgstr "" -#: reference/expressions.rst:1908 +#: reference/expressions.rst:1910 msgid "``(expressions...)``," msgstr "" -#: reference/expressions.rst:1910 +#: reference/expressions.rst:1912 msgid "``[expressions...]``, ``{key: value...}``, ``{expressions...}``" msgstr "" -#: reference/expressions.rst:1908 +#: reference/expressions.rst:1910 msgid "" "Binding or parenthesized expression, list display, dictionary display, set " "display" msgstr "" -#: reference/expressions.rst:1914 +#: reference/expressions.rst:1916 msgid "``x[index]``, ``x[index:index]``, ``x(arguments...)``, ``x.attribute``" msgstr "" -#: reference/expressions.rst:1914 +#: reference/expressions.rst:1916 msgid "Subscription, slicing, call, attribute reference" msgstr "" -#: reference/expressions.rst:1917 +#: reference/expressions.rst:1919 msgid ":keyword:`await x `" msgstr "" -#: reference/expressions.rst:1919 +#: reference/expressions.rst:1921 msgid "``**``" msgstr "" -#: reference/expressions.rst:1919 +#: reference/expressions.rst:1921 msgid "Exponentiation [#]_" msgstr "" -#: reference/expressions.rst:1921 +#: reference/expressions.rst:1923 msgid "``+x``, ``-x``, ``~x``" msgstr "" -#: reference/expressions.rst:1921 +#: reference/expressions.rst:1923 msgid "Positive, negative, bitwise NOT" msgstr "" -#: reference/expressions.rst:1923 +#: reference/expressions.rst:1925 msgid "``*``, ``@``, ``/``, ``//``, ``%``" msgstr "" -#: reference/expressions.rst:1923 +#: reference/expressions.rst:1925 msgid "" "Multiplication, matrix multiplication, division, floor division, remainder " "[#]_" msgstr "" -#: reference/expressions.rst:1927 +#: reference/expressions.rst:1929 msgid "``+``, ``-``" msgstr "" -#: reference/expressions.rst:1927 +#: reference/expressions.rst:1929 msgid "Addition and subtraction" msgstr "" -#: reference/expressions.rst:1929 +#: reference/expressions.rst:1931 msgid "``<<``, ``>>``" msgstr "" -#: reference/expressions.rst:1929 +#: reference/expressions.rst:1931 msgid "Shifts" msgstr "" -#: reference/expressions.rst:1931 +#: reference/expressions.rst:1933 msgid "``&``" msgstr "" -#: reference/expressions.rst:1931 +#: reference/expressions.rst:1933 msgid "Bitwise AND" msgstr "" -#: reference/expressions.rst:1933 +#: reference/expressions.rst:1935 msgid "``^``" msgstr "" -#: reference/expressions.rst:1933 +#: reference/expressions.rst:1935 msgid "Bitwise XOR" msgstr "" -#: reference/expressions.rst:1935 +#: reference/expressions.rst:1937 msgid "``|``" msgstr "" -#: reference/expressions.rst:1935 +#: reference/expressions.rst:1937 msgid "Bitwise OR" msgstr "" -#: reference/expressions.rst:1937 +#: reference/expressions.rst:1939 msgid "" ":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " "``<=``, ``>``, ``>=``, ``!=``, ``==``" msgstr "" -#: reference/expressions.rst:1937 +#: reference/expressions.rst:1939 msgid "Comparisons, including membership tests and identity tests" msgstr "" -#: reference/expressions.rst:1941 +#: reference/expressions.rst:1943 msgid ":keyword:`not x `" msgstr "" -#: reference/expressions.rst:1941 +#: reference/expressions.rst:1943 msgid "Boolean NOT" msgstr "" -#: reference/expressions.rst:1943 +#: reference/expressions.rst:1945 msgid ":keyword:`and`" msgstr "" -#: reference/expressions.rst:1943 +#: reference/expressions.rst:1945 msgid "Boolean AND" msgstr "" -#: reference/expressions.rst:1945 +#: reference/expressions.rst:1947 msgid ":keyword:`or`" msgstr "" -#: reference/expressions.rst:1945 +#: reference/expressions.rst:1947 msgid "Boolean OR" msgstr "" -#: reference/expressions.rst:1947 +#: reference/expressions.rst:1949 msgid ":keyword:`if ` -- :keyword:`!else`" msgstr "" -#: reference/expressions.rst:1947 +#: reference/expressions.rst:1949 msgid "Conditional expression" msgstr "" -#: reference/expressions.rst:1949 +#: reference/expressions.rst:1951 msgid ":keyword:`lambda`" msgstr "" -#: reference/expressions.rst:1949 +#: reference/expressions.rst:1951 msgid "Lambda expression" msgstr "" -#: reference/expressions.rst:1951 +#: reference/expressions.rst:1953 msgid "``:=``" msgstr "" -#: reference/expressions.rst:1951 +#: reference/expressions.rst:1953 msgid "Assignment expression" msgstr "" -#: reference/expressions.rst:1956 +#: reference/expressions.rst:1958 msgid "Footnotes" msgstr "" -#: reference/expressions.rst:1957 +#: reference/expressions.rst:1959 msgid "" "While ``abs(x%y) < abs(y)`` is true mathematically, for floats it may not be " "true numerically due to roundoff. For example, and assuming a platform on " @@ -2165,7 +2166,7 @@ msgid "" "approach is more appropriate depends on the application." msgstr "" -#: reference/expressions.rst:1966 +#: reference/expressions.rst:1968 msgid "" "If x is very close to an exact integer multiple of y, it's possible for ``x//" "y`` to be one larger than ``(x-x%y)//y`` due to rounding. In such cases, " @@ -2173,7 +2174,7 @@ msgid "" "* y + x % y`` be very close to ``x``." msgstr "" -#: reference/expressions.rst:1971 +#: reference/expressions.rst:1973 msgid "" "The Unicode standard distinguishes between :dfn:`code points` (e.g. U+0041) " "and :dfn:`abstract characters` (e.g. \"LATIN CAPITAL LETTER A\"). While most " @@ -2187,7 +2188,7 @@ msgid "" "(COMBINING CEDILLA)." msgstr "" -#: reference/expressions.rst:1982 +#: reference/expressions.rst:1984 msgid "" "The comparison operators on strings compare at the level of Unicode code " "points. This may be counter-intuitive to humans. For example, ``\"\\u00C7\" " @@ -2195,13 +2196,13 @@ msgid "" "same abstract character \"LATIN CAPITAL LETTER C WITH CEDILLA\"." msgstr "" -#: reference/expressions.rst:1987 +#: reference/expressions.rst:1989 msgid "" "To compare strings at the level of abstract characters (that is, in a way " "intuitive to humans), use :func:`unicodedata.normalize`." msgstr "" -#: reference/expressions.rst:1990 +#: reference/expressions.rst:1992 msgid "" "Due to automatic garbage-collection, free lists, and the dynamic nature of " "descriptors, you may notice seemingly unusual behaviour in certain uses of " @@ -2209,13 +2210,13 @@ msgid "" "instance methods, or constants. Check their documentation for more info." msgstr "" -#: reference/expressions.rst:1995 +#: reference/expressions.rst:1997 msgid "" "The power operator ``**`` binds less tightly than an arithmetic or bitwise " "unary operator on its right, that is, ``2**-1`` is ``0.5``." msgstr "" -#: reference/expressions.rst:1998 +#: reference/expressions.rst:2000 msgid "" "The ``%`` operator is also used for string formatting; the same precedence " "applies." diff --git a/tutorial/classes.po b/tutorial/classes.po index 448a382f4..d1640124b 100644 --- a/tutorial/classes.po +++ b/tutorial/classes.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: 2022-01-17 22:57+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -272,9 +272,10 @@ msgstr "" "En içte bulunan kapsam, ilk aranan olmakla birlikte yerel isimleri içerir." #: tutorial/classes.rst:121 +#, fuzzy msgid "" "the scopes of any enclosing functions, which are searched starting with the " -"nearest enclosing scope, contains non-local, but also non-global names" +"nearest enclosing scope, contain non-local, but also non-global names" msgstr "" "En yakın kapsayan kapsamdan başlayarak aranan kapsayan fonksiyonların " "kapsamları yerel olmayan, aynı zamanda genel olmayan adlar içerir" @@ -290,9 +291,10 @@ msgid "" msgstr "En dıştaki kapsam (en son aranan), yerleşik adlar içeren ad alanıdır" #: tutorial/classes.rst:126 +#, fuzzy msgid "" "If a name is declared global, then all references and assignments go " -"directly to the middle scope containing the module's global names. To " +"directly to the next-to-last scope containing the module's global names. To " "rebind variables found outside of the innermost scope, the :keyword:" "`nonlocal` statement can be used; if not declared nonlocal, those variables " "are read-only (an attempt to write to such a variable will simply create a " @@ -1156,16 +1158,17 @@ msgid "Odds and Ends" msgstr "Oranlar ve Bitişler" #: tutorial/classes.rst:739 +#, fuzzy msgid "" "Sometimes it is useful to have a data type similar to the Pascal \"record\" " -"or C \"struct\", bundling together a few named data items. An empty class " -"definition will do nicely::" +"or C \"struct\", bundling together a few named data items. The idiomatic " +"approach is to use :mod:`dataclasses` for this purpose::" msgstr "" "Bazen, birkaç adlandırılmış veri öğesini bir araya getirerek Pascal " "\"kaydı\" veya C \"yapısına\" benzer bir veri türüne sahip olmak " "yararlıdır. Boş bir sınıf tanımı güzel bir şekilde yapacaktır::" -#: tutorial/classes.rst:753 +#: tutorial/classes.rst:759 msgid "" "A piece of Python code that expects a particular abstract data type can " "often be passed a class that emulates the methods of that data type " @@ -1181,7 +1184,7 @@ msgstr "" "değişken olarak geçiren :meth:`read` ve :meth:`!readline` yöntemlerine sahip " "bir sınıf tanımlayabilirsiniz." -#: tutorial/classes.rst:764 +#: tutorial/classes.rst:770 msgid "" "Instance method objects have attributes, too: ``m.__self__`` is the instance " "object with the method :meth:`m`, and ``m.__func__`` is the function object " @@ -1191,11 +1194,11 @@ msgstr "" "örnek nesnedir :meth:`m`, ve ``m.__func__`` yönteme karşılık gelen fonksiyon " "nesnesidir." -#: tutorial/classes.rst:772 +#: tutorial/classes.rst:778 msgid "Iterators" msgstr "Yineleyiciler" -#: tutorial/classes.rst:774 +#: tutorial/classes.rst:780 msgid "" "By now you have probably noticed that most container objects can be looped " "over using a :keyword:`for` statement::" @@ -1203,7 +1206,7 @@ msgstr "" "Şimdiye kadar büyük olasılıkla çoğu kapsayıcı nesnenin bir :keyword:`for` " "deyimi kullanılarak döngüye alınabileceğini fark etmişsinizdir::" -#: tutorial/classes.rst:788 +#: tutorial/classes.rst:794 msgid "" "This style of access is clear, concise, and convenient. The use of " "iterators pervades and unifies Python. Behind the scenes, the :keyword:" @@ -1225,7 +1228,7 @@ msgstr "" "fonksiyonunu kullanarak :meth:`~iterator.__next__` yöntemini " "çağırabilirsiniz; Bu örnek, her şeyin nasıl çalıştığını gösterir::" -#: tutorial/classes.rst:813 +#: tutorial/classes.rst:819 msgid "" "Having seen the mechanics behind the iterator protocol, it is easy to add " "iterator behavior to your classes. Define an :meth:`__iter__` method which " @@ -1237,11 +1240,11 @@ msgstr "" "bir nesne döndüren :meth:`__iter__` metodunu tanımlayın. Sınıf :meth:" "`__next__` tanımlarsa, :meth:`__iter__` sadece ``self`` döndürebilir::" -#: tutorial/classes.rst:850 +#: tutorial/classes.rst:856 msgid "Generators" msgstr "Üreteçler" -#: tutorial/classes.rst:852 +#: tutorial/classes.rst:858 msgid "" ":term:`Generators ` are a simple and powerful tool for creating " "iterators. They are written like regular functions but use the :keyword:" @@ -1257,7 +1260,7 @@ msgstr "" "değerlerini ve hangi deyimin en son yürütüldüğını hatırlar). Bu örnek, " "üreteçlerin oluşturulmasının ne kadar da kolay olabileceğini gösterir::" -#: tutorial/classes.rst:873 +#: tutorial/classes.rst:879 msgid "" "Anything that can be done with generators can also be done with class-based " "iterators as described in the previous section. What makes generators so " @@ -1269,7 +1272,7 @@ msgstr "" "şey: :meth:`__iter__` ve :meth:`~generator.__next__` yöntemlerinin otomatik " "olarak oluşturulmasıdır." -#: tutorial/classes.rst:878 +#: tutorial/classes.rst:884 msgid "" "Another key feature is that the local variables and execution state are " "automatically saved between calls. This made the function easier to write " @@ -1281,7 +1284,7 @@ msgstr "" "kolaylaştırdı ve ``self.index`` ve ``self.data`` gibi değişkenleri " "kullanmaya kıyasla çok daha net hale getirdi." -#: tutorial/classes.rst:883 +#: tutorial/classes.rst:889 msgid "" "In addition to automatic method creation and saving program state, when " "generators terminate, they automatically raise :exc:`StopIteration`. In " @@ -1293,11 +1296,11 @@ msgstr "" "Birlikte, bu özellikler normal bir işlev yazmaktan daha fazla çaba " "harcamadan yinelemeler oluşturmayı kolaylaştırır." -#: tutorial/classes.rst:892 +#: tutorial/classes.rst:898 msgid "Generator Expressions" msgstr "Üreteç İfadeleri" -#: tutorial/classes.rst:894 +#: tutorial/classes.rst:900 msgid "" "Some simple generators can be coded succinctly as expressions using a syntax " "similar to list comprehensions but with parentheses instead of square " @@ -1313,15 +1316,15 @@ msgstr "" "ancak daha az çok yönlüdür ve aynı özellikle liste anlamalarından daha " "bellek dostu olma eğilimindedir." -#: tutorial/classes.rst:901 +#: tutorial/classes.rst:907 msgid "Examples::" msgstr "Örnekler::" -#: tutorial/classes.rst:922 +#: tutorial/classes.rst:928 msgid "Footnotes" msgstr "Dipnotlar" -#: tutorial/classes.rst:923 +#: tutorial/classes.rst:929 msgid "" "Except for one thing. Module objects have a secret read-only attribute " "called :attr:`~object.__dict__` which returns the dictionary used to " diff --git a/tutorial/introduction.po b/tutorial/introduction.po index e921b5dcf..786f5318c 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: 2022-02-27 20:43+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -237,6 +237,13 @@ msgstr "" #: tutorial/introduction.rst:192 msgid "" +"There is one subtle aspect to raw strings: a raw string may not end in an " +"odd number of ``\\`` characters; see :ref:`the FAQ entry ` for more information and workarounds." +msgstr "" + +#: tutorial/introduction.rst:197 +msgid "" "String literals can span multiple lines. One way is using triple-quotes: " "``\"\"\"...\"\"\"`` or ``'''...'''``. End of lines are automatically " "included in the string, but it's possible to prevent this by adding a ``\\`` " @@ -247,14 +254,14 @@ msgstr "" "olarak dizeye dahil edilir, ancak satırın sonuna ``\\`` ekleyerek bunu " "önlemek mümkündür. Aşağıdaki örnek::" -#: tutorial/introduction.rst:203 +#: tutorial/introduction.rst:208 msgid "" "produces the following output (note that the initial newline is not " "included):" msgstr "" "aşağıdaki çıktıyı üretir (ilk yeni satırın dahil olmadığını unutmayın):" -#: tutorial/introduction.rst:211 +#: tutorial/introduction.rst:216 msgid "" "Strings can be concatenated (glued together) with the ``+`` operator, and " "repeated with ``*``::" @@ -262,7 +269,7 @@ msgstr "" "Dizeler ``+`` operatörüyle birleştirilebilir (birbirine yapıştırılabilir) ve " "``*`` ile tekrarlanabilir::" -#: tutorial/introduction.rst:218 +#: tutorial/introduction.rst:223 msgid "" "Two or more *string literals* (i.e. the ones enclosed between quotes) next " "to each other are automatically concatenated. ::" @@ -270,26 +277,26 @@ msgstr "" "Yan yana iki veya daha fazla *dize sabiti* (yani, tırnak işaretleri arasına " "alınanlar) otomatik olarak birleştirilir. ::" -#: tutorial/introduction.rst:224 +#: tutorial/introduction.rst:229 msgid "" "This feature is particularly useful when you want to break long strings::" msgstr "" "Bu özellik, özellikle uzun dizeleri kırmak istediğinizde kullanışlıdır::" -#: tutorial/introduction.rst:231 +#: tutorial/introduction.rst:236 msgid "" "This only works with two literals though, not with variables or expressions::" msgstr "" "Bu, değişkenler veya ifadelerle değil, yalnızca iki sabit değerle çalışır::" -#: tutorial/introduction.rst:245 +#: tutorial/introduction.rst:250 msgid "" "If you want to concatenate variables or a variable and a literal, use ``+``::" msgstr "" "Değişkenleri veya bir değişkeni ve bir sabiti birleştirmek istiyorsanız, " "``+`` kullanın:" -#: tutorial/introduction.rst:250 +#: tutorial/introduction.rst:255 msgid "" "Strings can be *indexed* (subscripted), with the first character having " "index 0. There is no separate character type; a character is simply a string " @@ -299,17 +306,17 @@ msgstr "" "olabilir). Karakterler için ayrı bir tür yoktur; karakterler yalnızca *bir* " "uzunluğunda dizelerdir::" -#: tutorial/introduction.rst:260 +#: tutorial/introduction.rst:265 msgid "" "Indices may also be negative numbers, to start counting from the right::" msgstr "Sağdan saymaya başlamak için indeksler negatif sayılar da olabilir::" -#: tutorial/introduction.rst:269 +#: tutorial/introduction.rst:274 msgid "Note that since -0 is the same as 0, negative indices start from -1." msgstr "" "-0 ile 0 aynı olduğundan, negatif endekslerin -1'den başladığını unutmayın." -#: tutorial/introduction.rst:271 +#: tutorial/introduction.rst:276 msgid "" "In addition to indexing, *slicing* is also supported. While indexing is " "used to obtain individual characters, *slicing* allows you to obtain " @@ -319,7 +326,7 @@ msgstr "" "etmek için indeksleme kullanılırken, *dilimleme* alt dizeyi elde etmenizi " "sağlar::" -#: tutorial/introduction.rst:279 +#: tutorial/introduction.rst:284 msgid "" "Slice indices have useful defaults; an omitted first index defaults to zero, " "an omitted second index defaults to the size of the string being sliced. ::" @@ -328,7 +335,7 @@ msgstr "" "varsayılanı sıfırdır, atlanmış bir ikinci dizin varsayılanı dilimlenmekte " "olan dizenin boyutudur. ::" -#: tutorial/introduction.rst:289 +#: tutorial/introduction.rst:294 msgid "" "Note how the start is always included, and the end always excluded. This " "makes sure that ``s[:i] + s[i:]`` is always equal to ``s``::" @@ -337,7 +344,7 @@ msgstr "" "dikkat edin. Bu, ``s[:i] + s[i:]`` değerinin her zaman ``s`` değerine eşit " "olmasını sağlar::" -#: tutorial/introduction.rst:297 +#: tutorial/introduction.rst:302 msgid "" "One way to remember how slices work is to think of the indices as pointing " "*between* characters, with the left edge of the first character numbered 0. " @@ -349,7 +356,7 @@ msgstr "" "Ardından, *n* karakterli bir dizenin son karakterinin sağ kenarında *n* " "dizini vardır, örneğin::" -#: tutorial/introduction.rst:308 +#: tutorial/introduction.rst:313 msgid "" "The first row of numbers gives the position of the indices 0...6 in the " "string; the second row gives the corresponding negative indices. The slice " @@ -360,7 +367,7 @@ msgstr "" "karşılık gelen negatif endeksleri verir. *i* ile *j* arasındaki dilim, " "sırasıyla *i* ve *j* etiketli kenarlar arasındaki tüm karakterlerden oluşur." -#: tutorial/introduction.rst:313 +#: tutorial/introduction.rst:318 msgid "" "For non-negative indices, the length of a slice is the difference of the " "indices, if both are within bounds. For example, the length of " @@ -369,11 +376,11 @@ msgstr "" "Negatif olmayan indeksler için, her ikisi de sınırlar içindeyse, bir dilimin " "uzunluğu indekslerin farkıdır. Örneğin, ``kelime[1:3]`` 'ün uzunluğu 2'dir." -#: tutorial/introduction.rst:317 +#: tutorial/introduction.rst:322 msgid "Attempting to use an index that is too large will result in an error::" msgstr "Çok büyük bir dizin kullanmaya çalışmak bir hataya neden olur::" -#: tutorial/introduction.rst:324 +#: tutorial/introduction.rst:329 msgid "" "However, out of range slice indexes are handled gracefully when used for " "slicing::" @@ -381,7 +388,7 @@ msgstr "" "Ancak, aralık dışı dilim endeksleri, dilimleme için kullanıldığında zarif " "bir şekilde işlenir::" -#: tutorial/introduction.rst:332 +#: tutorial/introduction.rst:337 msgid "" "Python strings cannot be changed --- they are :term:`immutable`. Therefore, " "assigning to an indexed position in the string results in an error::" @@ -389,19 +396,19 @@ msgstr "" "Python dizeleri değiştirilemez --- bunlar :term:`immutable` 'dır. Bu " "nedenle, dizide dizine alınmış bir konuma atamak bir hatayla sonuçlanır::" -#: tutorial/introduction.rst:344 +#: tutorial/introduction.rst:349 msgid "If you need a different string, you should create a new one::" msgstr "Farklı bir dizeye ihtiyacınız varsa, yeni bir tane oluşturmalısınız::" -#: tutorial/introduction.rst:351 +#: tutorial/introduction.rst:356 msgid "The built-in function :func:`len` returns the length of a string::" msgstr "Yerleşik işlev :func:`len`, bir dizenin uzunluğunu döndürür::" -#: tutorial/introduction.rst:362 +#: tutorial/introduction.rst:367 msgid ":ref:`textseq`" msgstr ":ref:`textseq`" -#: tutorial/introduction.rst:361 +#: tutorial/introduction.rst:366 msgid "" "Strings are examples of *sequence types*, and support the common operations " "supported by such types." @@ -409,37 +416,37 @@ msgstr "" "Dizeler, *sıra türlerinin* örnekleridir ve bu türler tarafından desteklenen " "genel işlemleri destekler." -#: tutorial/introduction.rst:366 +#: tutorial/introduction.rst:371 msgid ":ref:`string-methods`" msgstr ":ref:`dize-yöntemleri `" -#: tutorial/introduction.rst:365 +#: tutorial/introduction.rst:370 msgid "" "Strings support a large number of methods for basic transformations and " "searching." msgstr "Dizeler, temel dönüşümler ve arama için çok sayıda yöntemi destekler." -#: tutorial/introduction.rst:369 +#: tutorial/introduction.rst:374 msgid ":ref:`f-strings`" msgstr ":ref:`f-strings`" -#: tutorial/introduction.rst:369 +#: tutorial/introduction.rst:374 msgid "String literals that have embedded expressions." msgstr "Gömülü ifadelere sahip dize sabitleri." -#: tutorial/introduction.rst:372 +#: tutorial/introduction.rst:377 msgid ":ref:`formatstrings`" msgstr ":ref:`formatstrings`" -#: tutorial/introduction.rst:372 +#: tutorial/introduction.rst:377 msgid "Information about string formatting with :meth:`str.format`." msgstr ":meth:`str.format` ile dize biçimlendirme hakkında bilgi." -#: tutorial/introduction.rst:375 +#: tutorial/introduction.rst:380 msgid ":ref:`old-string-formatting`" msgstr ":ref:`old-string-formatting`" -#: tutorial/introduction.rst:375 +#: tutorial/introduction.rst:380 msgid "" "The old formatting operations invoked when strings are the left operand of " "the ``%`` operator are described in more detail here." @@ -447,11 +454,11 @@ msgstr "" "Dizeler ``%`` operatörünün sol işleneni olduğunda çağrılan eski " "biçimlendirme işlemleri burada daha ayrıntılı olarak açıklanmaktadır." -#: tutorial/introduction.rst:382 +#: tutorial/introduction.rst:387 msgid "Lists" msgstr "Listeler" -#: tutorial/introduction.rst:384 +#: tutorial/introduction.rst:389 msgid "" "Python knows a number of *compound* data types, used to group together other " "values. The most versatile is the *list*, which can be written as a list of " @@ -464,7 +471,7 @@ msgstr "" "Listeler farklı türde ögeler içerebilir, ancak genellikle ögelerin tümü aynı " "türdedir. ::" -#: tutorial/introduction.rst:393 +#: tutorial/introduction.rst:398 msgid "" "Like strings (and all other built-in :term:`sequence` types), lists can be " "indexed and sliced::" @@ -472,7 +479,7 @@ msgstr "" "Dizeler gibi (ve diğer tüm yerleşik :term:`sequence` türleri), listeler " "dizine alınabilir ve dilimlenebilir::" -#: tutorial/introduction.rst:403 +#: tutorial/introduction.rst:408 msgid "" "All slice operations return a new list containing the requested elements. " "This means that the following slice returns a :ref:`shallow copy " @@ -482,11 +489,11 @@ msgstr "" "aşağıdaki dilimin listenin bir :ref:`shallow copy ` " "döndürdüğü anlamına gelir::" -#: tutorial/introduction.rst:410 +#: tutorial/introduction.rst:415 msgid "Lists also support operations like concatenation::" msgstr "Ayrıca listeler birleştirme gibi işlemleri de destekler::" -#: tutorial/introduction.rst:415 +#: tutorial/introduction.rst:420 msgid "" "Unlike strings, which are :term:`immutable`, lists are a :term:`mutable` " "type, i.e. it is possible to change their content::" @@ -494,7 +501,7 @@ msgstr "" ":term:`immutable` olan dizelerin aksine, listeler :term:`mutable` " "türündedir, yani içeriklerini değiştirmek mümkündür::" -#: tutorial/introduction.rst:425 +#: tutorial/introduction.rst:430 msgid "" "You can also add new items at the end of the list, by using the :meth:`~list." "append` *method* (we will see more about methods later)::" @@ -503,7 +510,7 @@ msgstr "" "öğeler ekleyebilirsiniz (yöntemler hakkında daha fazla bilgiyi daha sonra " "göreceğiz)::" -#: tutorial/introduction.rst:433 +#: tutorial/introduction.rst:438 msgid "" "Assignment to slices is also possible, and this can even change the size of " "the list or clear it entirely::" @@ -511,11 +518,11 @@ msgstr "" "Dilimlere atama da mümkündür ve bu, listenin boyutunu bile değiştirebilir " "veya tamamen temizleyebilir::" -#: tutorial/introduction.rst:452 +#: tutorial/introduction.rst:457 msgid "The built-in function :func:`len` also applies to lists::" msgstr "Yerleşik işlev :func:`len` ayrıca listeler için de geçerlidir::" -#: tutorial/introduction.rst:458 +#: tutorial/introduction.rst:463 msgid "" "It is possible to nest lists (create lists containing other lists), for " "example::" @@ -523,11 +530,11 @@ msgstr "" "Listeleri iç içe yerleştirmek (diğer listeleri içeren listeler oluşturmak) " "mümkündür, örneğin::" -#: tutorial/introduction.rst:474 +#: tutorial/introduction.rst:479 msgid "First Steps Towards Programming" msgstr "Programlamaya Doğru İlk Adımlar" -#: tutorial/introduction.rst:476 +#: tutorial/introduction.rst:481 msgid "" "Of course, we can use Python for more complicated tasks than adding two and " "two together. For instance, we can write an initial sub-sequence of the " @@ -538,11 +545,11 @@ msgstr "" "kullanabiliriz. Örneğin, `Fibonacci serisinin `_ ilk alt dizisini aşağıdaki gibi yazabiliriz:" -#: tutorial/introduction.rst:496 +#: tutorial/introduction.rst:501 msgid "This example introduces several new features." msgstr "Bu örnek, birkaç yeni özellik sunar." -#: tutorial/introduction.rst:498 +#: tutorial/introduction.rst:503 msgid "" "The first line contains a *multiple assignment*: the variables ``a`` and " "``b`` simultaneously get the new values 0 and 1. On the last line this is " @@ -554,7 +561,7 @@ msgstr "" "1 değerlerini alır. Tarafların tümü, herhangi bir görev yapılmadan önce " "değerlendirilir. Sağ taraftaki ifadeler soldan sağa doğru değerlendirilir." -#: tutorial/introduction.rst:504 +#: tutorial/introduction.rst:509 msgid "" "The :keyword:`while` loop executes as long as the condition (here: ``a < " "10``) remains true. In Python, like in C, any non-zero integer value is " @@ -574,7 +581,7 @@ msgstr "" "(küçüktür), ``>`` (büyüktür), ``==`` (eşittir), ``<=`` ( küçük veya eşit), " "``>=`` (büyük veya eşit) ve ``!=`` (eşit değil)." -#: tutorial/introduction.rst:513 +#: tutorial/introduction.rst:518 msgid "" "The *body* of the loop is *indented*: indentation is Python's way of " "grouping statements. At the interactive prompt, you have to type a tab or " @@ -595,7 +602,7 @@ msgstr "" "tahmin edemez). Bir temel blok içindeki her satırın aynı miktarda girintili " "olması gerektiğini unutmayın." -#: tutorial/introduction.rst:522 +#: tutorial/introduction.rst:527 msgid "" "The :func:`print` function writes the value of the argument(s) it is given. " "It differs from just writing the expression you want to write (as we did " @@ -611,7 +618,7 @@ msgstr "" "işaretleri olmadan yazdırılır ve öğelerin arasına bir boşluk eklenir, " "böylece şunları güzel bir şekilde biçimlendirebilirsiniz:" -#: tutorial/introduction.rst:533 +#: tutorial/introduction.rst:538 msgid "" "The keyword argument *end* can be used to avoid the newline after the " "output, or end the output with a different string::" @@ -619,11 +626,11 @@ msgstr "" "*end* anahtar sözcüğü argümanı, çıktıdan sonra yeni satırı önlemek veya " "çıktıyı farklı bir dizeyle bitirmek için kullanılabilir::" -#: tutorial/introduction.rst:545 +#: tutorial/introduction.rst:550 msgid "Footnotes" msgstr "Dipnotlar" -#: tutorial/introduction.rst:546 +#: tutorial/introduction.rst:551 msgid "" "Since ``**`` has higher precedence than ``-``, ``-3**2`` will be interpreted " "as ``-(3**2)`` and thus result in ``-9``. To avoid this and get ``9``, you " @@ -633,7 +640,7 @@ msgstr "" "(3**2)`` olarak yorumlanacak ve dolayısıyla ``-9`` ile sonuçlanacaktır. " "Bundan kaçınmak ve ``9`` elde etmek için ``(-3)**2`` kullanabilirsiniz." -#: tutorial/introduction.rst:550 +#: tutorial/introduction.rst:555 msgid "" "Unlike other languages, special characters such as ``\\n`` have the same " "meaning with both single (``'...'``) and double (``\"...\"``) quotes. The " diff --git a/tutorial/venv.po b/tutorial/venv.po index 686028393..3ad062d89 100644 --- a/tutorial/venv.po +++ b/tutorial/venv.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: 2021-12-27 22:33+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -166,10 +166,11 @@ msgid "Managing Packages with pip" msgstr "Paketleri pip ile Yönetme" #: tutorial/venv.rst:95 +#, fuzzy msgid "" "You can install, upgrade, and remove packages using a program called :" -"program:`pip`. By default ``pip`` will install packages from the Python " -"Package Index, . You can browse the Python Package Index " +"program:`pip`. By default ``pip`` will install packages from the `Python " +"Package Index `_. You can browse the Python Package Index " "by going to it in your web browser." msgstr "" ":program:`pip` adlı bir program kullanarak paketleri yükleyebilir, " diff --git a/using/cmdline.po b/using/cmdline.po index 924e593e0..7f02680f1 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -116,7 +116,7 @@ msgid "" "modules)." msgstr "" -#: using/cmdline.rst:73 +#: using/cmdline.rst:10 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_command`` with " "argument ``command``." @@ -175,7 +175,7 @@ msgid "" "execution as a script. An example is the :mod:`timeit` module::" msgstr "" -#: using/cmdline.rst:115 +#: using/cmdline.rst:39 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_module`` with " "argument ``module-name``." @@ -214,7 +214,7 @@ msgid "" "path`." msgstr "" -#: using/cmdline.rst:140 +#: using/cmdline.rst:8 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_stdin`` with no " "arguments." @@ -256,7 +256,7 @@ msgid "" "too." msgstr "" -#: using/cmdline.rst:167 +#: using/cmdline.rst:22 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_file`` with " "argument ``filename``." @@ -782,7 +782,7 @@ msgid "" "file." msgstr "" -#: using/cmdline.rst:589 +#: using/cmdline.rst:8 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_startup`` with " "argument ``filename``." diff --git a/using/windows.po b/using/windows.po index 431b6e0ba..ee6209df5 100644 --- a/using/windows.po +++ b/using/windows.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1261,7 +1261,7 @@ msgid "" "Re-executing the command should now print the latest Python 3.x information. " "As with the above command-line examples, you can specify a more explicit " "version qualifier. Assuming you have Python 3.7 installed, try changing the " -"first line to ``#! python3.7`` and you should find the |version| version " +"first line to ``#! python3.7`` and you should find the 3.7 version " "information printed." msgstr "" diff --git a/whatsnew/3.10.po b/whatsnew/3.10.po index 8ac6e8a2a..9ae591ed3 100644 --- a/whatsnew/3.10.po +++ b/whatsnew/3.10.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -138,7 +138,7 @@ msgstr "" msgid ":pep:`597`, Add optional EncodingWarning" msgstr "" -#: whatsnew/3.10.rst:2052 +#: whatsnew/3.10.rst:2039 msgid "New Features" msgstr "" @@ -1974,7 +1974,7 @@ msgid "" "issue:`43785`.)" msgstr "" -#: whatsnew/3.10.rst:2211 +#: whatsnew/3.10.rst:2198 msgid "Deprecated" msgstr "" @@ -2125,20 +2125,6 @@ msgstr "" #: whatsnew/3.10.rst:1709 msgid "" -":func:`asyncio.get_event_loop` now emits a deprecation warning if there is " -"no running event loop. In the future it will be an alias of :func:`~asyncio." -"get_running_loop`. :mod:`asyncio` functions which implicitly create :class:" -"`~asyncio.Future` or :class:`~asyncio.Task` objects now emit a deprecation " -"warning if there is no running event loop and no explicit *loop* argument is " -"passed: :func:`~asyncio.ensure_future`, :func:`~asyncio.wrap_future`, :func:" -"`~asyncio.gather`, :func:`~asyncio.shield`, :func:`~asyncio.as_completed` " -"and constructors of :class:`~asyncio.Future`, :class:`~asyncio.Task`, :class:" -"`~asyncio.StreamReader`, :class:`~asyncio.StreamReaderProtocol`. " -"(Contributed by Serhiy Storchaka in :issue:`39529`.)" -msgstr "" - -#: whatsnew/3.10.rst:1722 -msgid "" "The undocumented built-in function ``sqlite3.enable_shared_cache`` is now " "deprecated, scheduled for removal in Python 3.12. Its use is strongly " "discouraged by the SQLite3 documentation. See `the SQLite3 docs :func:`threading.current_thread`" msgstr "" -#: whatsnew/3.10.rst:1734 +#: whatsnew/3.10.rst:1721 msgid "``threading.activeCount`` => :func:`threading.active_count`" msgstr "" -#: whatsnew/3.10.rst:1736 +#: whatsnew/3.10.rst:1723 msgid "" "``threading.Condition.notifyAll`` => :meth:`threading.Condition.notify_all`" msgstr "" -#: whatsnew/3.10.rst:1739 +#: whatsnew/3.10.rst:1726 msgid "``threading.Event.isSet`` => :meth:`threading.Event.is_set`" msgstr "" -#: whatsnew/3.10.rst:1741 +#: whatsnew/3.10.rst:1728 msgid "``threading.Thread.setName`` => :attr:`threading.Thread.name`" msgstr "" -#: whatsnew/3.10.rst:1743 +#: whatsnew/3.10.rst:1730 msgid "``threading.thread.getName`` => :attr:`threading.Thread.name`" msgstr "" -#: whatsnew/3.10.rst:1745 +#: whatsnew/3.10.rst:1732 msgid "``threading.Thread.isDaemon`` => :attr:`threading.Thread.daemon`" msgstr "" -#: whatsnew/3.10.rst:1747 +#: whatsnew/3.10.rst:1734 msgid "``threading.Thread.setDaemon`` => :attr:`threading.Thread.daemon`" msgstr "" -#: whatsnew/3.10.rst:1749 +#: whatsnew/3.10.rst:1736 msgid "(Contributed by Jelle Zijlstra in :gh:`87889`.)" msgstr "" -#: whatsnew/3.10.rst:1751 +#: whatsnew/3.10.rst:1738 msgid "" ":meth:`pathlib.Path.link_to` is deprecated and slated for removal in Python " "3.12. Use :meth:`pathlib.Path.hardlink_to` instead. (Contributed by Barney " "Gale in :issue:`39950`.)" msgstr "" -#: whatsnew/3.10.rst:1755 +#: whatsnew/3.10.rst:1742 msgid "" "``cgi.log()`` is deprecated and slated for removal in Python 3.12. " "(Contributed by Inada Naoki in :issue:`41139`.)" msgstr "" -#: whatsnew/3.10.rst:1758 +#: whatsnew/3.10.rst:1745 msgid "" "The following :mod:`ssl` features have been deprecated since Python 3.6, " "Python 3.7, or OpenSSL 1.1.0 and will be removed in 3.11:" msgstr "" -#: whatsnew/3.10.rst:1761 +#: whatsnew/3.10.rst:1748 msgid "" ":data:`~ssl.OP_NO_SSLv2`, :data:`~ssl.OP_NO_SSLv3`, :data:`~ssl." "OP_NO_TLSv1`, :data:`~ssl.OP_NO_TLSv1_1`, :data:`~ssl.OP_NO_TLSv1_2`, and :" @@ -2215,7 +2201,7 @@ msgid "" "minimum_version` and :attr:`sslSSLContext.maximum_version`." msgstr "" -#: whatsnew/3.10.rst:1767 +#: whatsnew/3.10.rst:1754 msgid "" ":data:`~ssl.PROTOCOL_SSLv2`, :data:`~ssl.PROTOCOL_SSLv3`, :data:`~ssl." "PROTOCOL_SSLv23`, :data:`~ssl.PROTOCOL_TLSv1`, :data:`~ssl." @@ -2224,26 +2210,26 @@ msgid "" "and :data:`~ssl.PROTOCOL_TLS_SERVER`" msgstr "" -#: whatsnew/3.10.rst:1773 +#: whatsnew/3.10.rst:1760 msgid "" ":func:`~ssl.wrap_socket` is replaced by :meth:`ssl.SSLContext.wrap_socket`" msgstr "" -#: whatsnew/3.10.rst:1775 +#: whatsnew/3.10.rst:1762 msgid ":func:`~ssl.match_hostname`" msgstr "" -#: whatsnew/3.10.rst:1777 +#: whatsnew/3.10.rst:1764 msgid ":func:`~ssl.RAND_pseudo_bytes`, :func:`~ssl.RAND_egd`" msgstr "" -#: whatsnew/3.10.rst:1779 +#: whatsnew/3.10.rst:1766 msgid "" "NPN features like :meth:`ssl.SSLSocket.selected_npn_protocol` and :meth:`ssl." "SSLContext.set_npn_protocols` are replaced by ALPN." msgstr "" -#: whatsnew/3.10.rst:1782 +#: whatsnew/3.10.rst:1769 msgid "" "The threading debug (:envvar:`PYTHONTHREADDEBUG` environment variable) is " "deprecated in Python 3.10 and will be removed in Python 3.12. This feature " @@ -2251,7 +2237,7 @@ msgid "" "Victor Stinner in :issue:`44584`.)" msgstr "" -#: whatsnew/3.10.rst:1787 +#: whatsnew/3.10.rst:1774 msgid "" "Importing from the ``typing.io`` and ``typing.re`` submodules will now emit :" "exc:`DeprecationWarning`. These submodules will be removed in a future " @@ -2260,11 +2246,11 @@ msgid "" "Rittau in :issue:`38291`.)" msgstr "" -#: whatsnew/3.10.rst:2219 +#: whatsnew/3.10.rst:2206 msgid "Removed" msgstr "" -#: whatsnew/3.10.rst:1798 +#: whatsnew/3.10.rst:1785 msgid "" "Removed special methods ``__int__``, ``__float__``, ``__floordiv__``, " "``__mod__``, ``__divmod__``, ``__rfloordiv__``, ``__rmod__`` and " @@ -2272,7 +2258,7 @@ msgid "" "`TypeError`. (Contributed by Serhiy Storchaka in :issue:`41974`.)" msgstr "" -#: whatsnew/3.10.rst:1804 +#: whatsnew/3.10.rst:1791 msgid "" "The ``ParserBase.error()`` method from the private and undocumented " "``_markupbase`` module has been removed. :class:`html.parser.HTMLParser` is " @@ -2281,7 +2267,7 @@ msgid "" "`31844`.)" msgstr "" -#: whatsnew/3.10.rst:1810 +#: whatsnew/3.10.rst:1797 msgid "" "Removed the ``unicodedata.ucnhash_CAPI`` attribute which was an internal " "PyCapsule object. The related private ``_PyUnicode_Name_CAPI`` structure was " @@ -2289,7 +2275,7 @@ msgid "" "`42157`.)" msgstr "" -#: whatsnew/3.10.rst:1815 +#: whatsnew/3.10.rst:1802 msgid "" "Removed the ``parser`` module, which was deprecated in 3.9 due to the switch " "to the new PEG parser, as well as all the C source and header files that " @@ -2297,7 +2283,7 @@ msgid "" "``graminit.h`` and ``grammar.h``." msgstr "" -#: whatsnew/3.10.rst:1820 +#: whatsnew/3.10.rst:1807 msgid "" "Removed the Public C API functions ``PyParser_SimpleParseStringFlags``, " "``PyParser_SimpleParseStringFlagsFilename``, " @@ -2305,7 +2291,7 @@ msgid "" "deprecated in 3.9 due to the switch to the new PEG parser." msgstr "" -#: whatsnew/3.10.rst:1825 +#: whatsnew/3.10.rst:1812 msgid "" "Removed the ``formatter`` module, which was deprecated in Python 3.4. It is " "somewhat obsolete, little used, and not tested. It was originally scheduled " @@ -2315,71 +2301,71 @@ msgid "" "`42299`.)" msgstr "" -#: whatsnew/3.10.rst:1832 +#: whatsnew/3.10.rst:1819 msgid "" "Removed the :c:func:`PyModule_GetWarningsModule` function that was useless " "now due to the _warnings module was converted to a builtin module in 2.6. " "(Contributed by Hai Shi in :issue:`42599`.)" msgstr "" -#: whatsnew/3.10.rst:1836 +#: whatsnew/3.10.rst:1823 msgid "" "Remove deprecated aliases to :ref:`collections-abstract-base-classes` from " "the :mod:`collections` module. (Contributed by Victor Stinner in :issue:" "`37324`.)" msgstr "" -#: whatsnew/3.10.rst:1840 +#: whatsnew/3.10.rst:1827 msgid "" "The ``loop`` parameter has been removed from most of :mod:`asyncio`\\ 's :" "doc:`high-level API <../library/asyncio-api-index>` following deprecation in " "Python 3.8. The motivation behind this change is multifold:" msgstr "" -#: whatsnew/3.10.rst:1844 +#: whatsnew/3.10.rst:1831 msgid "This simplifies the high-level API." msgstr "" -#: whatsnew/3.10.rst:1845 +#: whatsnew/3.10.rst:1832 msgid "" "The functions in the high-level API have been implicitly getting the current " "thread's running event loop since Python 3.7. There isn't a need to pass " "the event loop to the API in most normal use cases." msgstr "" -#: whatsnew/3.10.rst:1848 +#: whatsnew/3.10.rst:1835 msgid "" "Event loop passing is error-prone especially when dealing with loops running " "in different threads." msgstr "" -#: whatsnew/3.10.rst:1851 +#: whatsnew/3.10.rst:1838 msgid "" "Note that the low-level API will still accept ``loop``. See :ref:`changes-" "python-api` for examples of how to replace existing code." msgstr "" -#: whatsnew/3.10.rst:1926 +#: whatsnew/3.10.rst:1913 msgid "" "(Contributed by Yurii Karabas, Andrew Svetlov, Yury Selivanov and Kyle " "Stanley in :issue:`42392`.)" msgstr "" -#: whatsnew/3.10.rst:2146 +#: whatsnew/3.10.rst:2133 msgid "Porting to Python 3.10" msgstr "" -#: whatsnew/3.10.rst:1861 +#: whatsnew/3.10.rst:1848 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.10.rst:1866 +#: whatsnew/3.10.rst:1853 msgid "Changes in the Python syntax" msgstr "" -#: whatsnew/3.10.rst:1868 +#: whatsnew/3.10.rst:1855 msgid "" "Deprecation warning is now emitted when compiling previously valid syntax if " "the numeric literal is immediately followed by a keyword (like in ``0in " @@ -2389,11 +2375,11 @@ msgid "" "following keyword. (Contributed by Serhiy Storchaka in :issue:`43833`.)" msgstr "" -#: whatsnew/3.10.rst:1879 +#: whatsnew/3.10.rst:1866 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.10.rst:1881 +#: whatsnew/3.10.rst:1868 msgid "" "The *etype* parameters of the :func:`~traceback.format_exception`, :func:" "`~traceback.format_exception_only`, and :func:`~traceback.print_exception` " @@ -2401,7 +2387,7 @@ msgid "" "(Contributed by Zackery Spytz and Matthias Bussonnier in :issue:`26389`.)" msgstr "" -#: whatsnew/3.10.rst:1887 +#: whatsnew/3.10.rst:1874 msgid "" ":mod:`atexit`: At Python exit, if a callback registered with :func:`atexit." "register` fails, its exception is now logged. Previously, only some " @@ -2409,7 +2395,7 @@ msgid "" "(Contributed by Victor Stinner in :issue:`42639`.)" msgstr "" -#: whatsnew/3.10.rst:1893 +#: whatsnew/3.10.rst:1880 msgid "" ":class:`collections.abc.Callable` generic now flattens type parameters, " "similar to what :data:`typing.Callable` currently does. This means that " @@ -2422,7 +2408,7 @@ msgid "" "`42195`.)" msgstr "" -#: whatsnew/3.10.rst:1903 +#: whatsnew/3.10.rst:1890 msgid "" ":meth:`socket.htons` and :meth:`socket.ntohs` now raise :exc:`OverflowError` " "instead of :exc:`DeprecationWarning` if the given parameter will not fit in " @@ -2430,29 +2416,29 @@ msgid "" "`42393`.)" msgstr "" -#: whatsnew/3.10.rst:1908 +#: whatsnew/3.10.rst:1895 msgid "" "The ``loop`` parameter has been removed from most of :mod:`asyncio`\\ 's :" "doc:`high-level API <../library/asyncio-api-index>` following deprecation in " "Python 3.8." msgstr "" -#: whatsnew/3.10.rst:1912 +#: whatsnew/3.10.rst:1899 msgid "A coroutine that currently looks like this::" msgstr "" -#: whatsnew/3.10.rst:1917 +#: whatsnew/3.10.rst:1904 msgid "Should be replaced with this::" msgstr "" -#: whatsnew/3.10.rst:1922 +#: whatsnew/3.10.rst:1909 msgid "" "If ``foo()`` was specifically designed *not* to run in the current thread's " "running event loop (e.g. running in another thread's event loop), consider " "using :func:`asyncio.run_coroutine_threadsafe` instead." msgstr "" -#: whatsnew/3.10.rst:1929 +#: whatsnew/3.10.rst:1916 msgid "" "The :data:`types.FunctionType` constructor now inherits the current builtins " "if the *globals* dictionary has no ``\"__builtins__\"`` key, rather than " @@ -2463,11 +2449,11 @@ msgid "" "`42990`.)" msgstr "" -#: whatsnew/3.10.rst:1938 +#: whatsnew/3.10.rst:1925 msgid "Changes in the C API" msgstr "" -#: whatsnew/3.10.rst:1940 +#: whatsnew/3.10.rst:1927 msgid "" "The C API functions ``PyParser_SimpleParseStringFlags``, " "``PyParser_SimpleParseStringFlagsFilename``, " @@ -2476,31 +2462,31 @@ msgid "" "PEG parser." msgstr "" -#: whatsnew/3.10.rst:1946 +#: whatsnew/3.10.rst:1933 msgid "" "Source should be now be compiled directly to a code object using, for " "example, :c:func:`Py_CompileString`. The resulting code object can then be " "evaluated using, for example, :c:func:`PyEval_EvalCode`." msgstr "" -#: whatsnew/3.10.rst:1950 +#: whatsnew/3.10.rst:1937 msgid "Specifically:" msgstr "" -#: whatsnew/3.10.rst:1952 +#: whatsnew/3.10.rst:1939 msgid "" "A call to ``PyParser_SimpleParseStringFlags`` followed by ``PyNode_Compile`` " "can be replaced by calling :c:func:`Py_CompileString`." msgstr "" -#: whatsnew/3.10.rst:1955 +#: whatsnew/3.10.rst:1942 msgid "" "There is no direct replacement for ``PyParser_SimpleParseFileFlags``. To " "compile code from a ``FILE *`` argument, you will need to read the file in C " "and pass the resulting buffer to :c:func:`Py_CompileString`." msgstr "" -#: whatsnew/3.10.rst:1959 +#: whatsnew/3.10.rst:1946 msgid "" "To compile a file given a ``char *`` filename, explicitly open the file, " "read it and compile the result. One way to do this is using the :py:mod:`io` " @@ -2509,7 +2495,7 @@ msgid "" "(Declarations and error handling are omitted.) ::" msgstr "" -#: whatsnew/3.10.rst:1972 +#: whatsnew/3.10.rst:1959 msgid "" "For ``FrameObject`` objects, the ``f_lasti`` member now represents a " "wordcode offset instead of a simple offset into the bytecode string. This " @@ -2519,53 +2505,53 @@ msgid "" "considered stable: please use :c:func:`PyFrame_GetLineNumber` instead." msgstr "" -#: whatsnew/3.10.rst:1980 +#: whatsnew/3.10.rst:1967 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.10.rst:1982 +#: whatsnew/3.10.rst:1969 msgid "" "The ``MAKE_FUNCTION`` instruction now accepts either a dict or a tuple of " "strings as the function's annotations. (Contributed by Yurii Karabas and " "Inada Naoki in :issue:`42202`.)" msgstr "" -#: whatsnew/3.10.rst:1987 +#: whatsnew/3.10.rst:1974 msgid "Build Changes" msgstr "" -#: whatsnew/3.10.rst:1989 +#: whatsnew/3.10.rst:1976 msgid "" ":pep:`644`: Python now requires OpenSSL 1.1.1 or newer. OpenSSL 1.0.2 is no " "longer supported. (Contributed by Christian Heimes in :issue:`43669`.)" msgstr "" -#: whatsnew/3.10.rst:1993 +#: whatsnew/3.10.rst:1980 msgid "" "The C99 functions :c:func:`snprintf` and :c:func:`vsnprintf` are now " "required to build Python. (Contributed by Victor Stinner in :issue:`36020`.)" msgstr "" -#: whatsnew/3.10.rst:1997 +#: whatsnew/3.10.rst:1984 msgid "" ":mod:`sqlite3` requires SQLite 3.7.15 or higher. (Contributed by Sergey " "Fedoseev and Erlend E. Aasland in :issue:`40744` and :issue:`40810`.)" msgstr "" -#: whatsnew/3.10.rst:2000 +#: whatsnew/3.10.rst:1987 msgid "" "The :mod:`atexit` module must now always be built as a built-in module. " "(Contributed by Victor Stinner in :issue:`42639`.)" msgstr "" -#: whatsnew/3.10.rst:2003 +#: whatsnew/3.10.rst:1990 msgid "" "Add :option:`--disable-test-modules` option to the ``configure`` script: " "don't build nor install test modules. (Contributed by Xavier de Gaye, Thomas " "Petazzoni and Peixing Xin in :issue:`27640`.)" msgstr "" -#: whatsnew/3.10.rst:2007 +#: whatsnew/3.10.rst:1994 msgid "" "Add :option:`--with-wheel-pkg-dir=PATH option <--with-wheel-pkg-dir>` to the " "``./configure`` script. If specified, the :mod:`ensurepip` module looks for " @@ -2574,7 +2560,7 @@ msgid "" "packages." msgstr "" -#: whatsnew/3.10.rst:2013 +#: whatsnew/3.10.rst:2000 msgid "" "Some Linux distribution packaging policies recommend against bundling " "dependencies. For example, Fedora installs wheel packages in the ``/usr/" @@ -2582,22 +2568,22 @@ msgid "" "_bundled`` package." msgstr "" -#: whatsnew/3.10.rst:2018 +#: whatsnew/3.10.rst:2005 msgid "(Contributed by Victor Stinner in :issue:`42856`.)" msgstr "" -#: whatsnew/3.10.rst:2020 +#: whatsnew/3.10.rst:2007 msgid "" "Add a new :option:`configure --without-static-libpython option <--without-" "static-libpython>` to not build the ``libpythonMAJOR.MINOR.a`` static " "library and not install the ``python.o`` object file." msgstr "" -#: whatsnew/3.10.rst:2024 +#: whatsnew/3.10.rst:2011 msgid "(Contributed by Victor Stinner in :issue:`43103`.)" msgstr "" -#: whatsnew/3.10.rst:2026 +#: whatsnew/3.10.rst:2013 msgid "" "The ``configure`` script now uses the ``pkg-config`` utility, if available, " "to detect the location of Tcl/Tk headers and libraries. As before, those " @@ -2606,7 +2592,7 @@ msgid "" "(Contributed by Manolis Stamatogiannakis in :issue:`42603`.)" msgstr "" -#: whatsnew/3.10.rst:2032 +#: whatsnew/3.10.rst:2019 msgid "" "Add :option:`--with-openssl-rpath` option to ``configure`` script. The " "option simplifies building Python with a custom OpenSSL installation, e.g. " @@ -2614,15 +2600,15 @@ msgid "" "(Contributed by Christian Heimes in :issue:`43466`.)" msgstr "" -#: whatsnew/3.10.rst:2039 +#: whatsnew/3.10.rst:2026 msgid "C API Changes" msgstr "" -#: whatsnew/3.10.rst:2042 +#: whatsnew/3.10.rst:2029 msgid "PEP 652: Maintaining the Stable ABI" msgstr "" -#: whatsnew/3.10.rst:2044 +#: whatsnew/3.10.rst:2031 msgid "" "The Stable ABI (Application Binary Interface) for extension modules or " "embedding Python is now explicitly defined. :ref:`stable` describes C API " @@ -2630,25 +2616,25 @@ msgid "" "ABI." msgstr "" -#: whatsnew/3.10.rst:2049 +#: whatsnew/3.10.rst:2036 msgid "(Contributed by Petr Viktorin in :pep:`652` and :issue:`43795`.)" msgstr "" -#: whatsnew/3.10.rst:2054 +#: whatsnew/3.10.rst:2041 msgid "" "The result of :c:func:`PyNumber_Index` now always has exact type :class:" "`int`. Previously, the result could have been an instance of a subclass of " "``int``. (Contributed by Serhiy Storchaka in :issue:`40792`.)" msgstr "" -#: whatsnew/3.10.rst:2058 +#: whatsnew/3.10.rst:2045 msgid "" "Add a new :c:member:`~PyConfig.orig_argv` member to the :c:type:`PyConfig` " "structure: the list of the original command line arguments passed to the " "Python executable. (Contributed by Victor Stinner in :issue:`23427`.)" msgstr "" -#: whatsnew/3.10.rst:2063 +#: whatsnew/3.10.rst:2050 msgid "" "The :c:func:`PyDateTime_DATE_GET_TZINFO` and :c:func:" "`PyDateTime_TIME_GET_TZINFO` macros have been added for accessing the " @@ -2656,72 +2642,72 @@ msgid "" "time` objects. (Contributed by Zackery Spytz in :issue:`30155`.)" msgstr "" -#: whatsnew/3.10.rst:2069 +#: whatsnew/3.10.rst:2056 msgid "" "Add a :c:func:`PyCodec_Unregister` function to unregister a codec search " "function. (Contributed by Hai Shi in :issue:`41842`.)" msgstr "" -#: whatsnew/3.10.rst:2073 +#: whatsnew/3.10.rst:2060 msgid "" "The :c:func:`PyIter_Send` function was added to allow sending value into " "iterator without raising ``StopIteration`` exception. (Contributed by " "Vladimir Matveev in :issue:`41756`.)" msgstr "" -#: whatsnew/3.10.rst:2077 +#: whatsnew/3.10.rst:2064 msgid "" "Add :c:func:`PyUnicode_AsUTF8AndSize` to the limited C API. (Contributed by " "Alex Gaynor in :issue:`41784`.)" msgstr "" -#: whatsnew/3.10.rst:2080 +#: whatsnew/3.10.rst:2067 msgid "" "Add :c:func:`PyModule_AddObjectRef` function: similar to :c:func:" "`PyModule_AddObject` but don't steal a reference to the value on success. " "(Contributed by Victor Stinner in :issue:`1635741`.)" msgstr "" -#: whatsnew/3.10.rst:2085 +#: whatsnew/3.10.rst:2072 msgid "" "Add :c:func:`Py_NewRef` and :c:func:`Py_XNewRef` functions to increment the " "reference count of an object and return the object. (Contributed by Victor " "Stinner in :issue:`42262`.)" msgstr "" -#: whatsnew/3.10.rst:2089 +#: whatsnew/3.10.rst:2076 msgid "" "The :c:func:`PyType_FromSpecWithBases` and :c:func:" "`PyType_FromModuleAndSpec` functions now accept a single class as the " "*bases* argument. (Contributed by Serhiy Storchaka in :issue:`42423`.)" msgstr "" -#: whatsnew/3.10.rst:2093 +#: whatsnew/3.10.rst:2080 msgid "" "The :c:func:`PyType_FromModuleAndSpec` function now accepts NULL ``tp_doc`` " "slot. (Contributed by Hai Shi in :issue:`41832`.)" msgstr "" -#: whatsnew/3.10.rst:2097 +#: whatsnew/3.10.rst:2084 msgid "" "The :c:func:`PyType_GetSlot` function can accept :ref:`static types `. (Contributed by Hai Shi and Petr Viktorin in :issue:`41073`.)" msgstr "" -#: whatsnew/3.10.rst:2101 +#: whatsnew/3.10.rst:2088 msgid "" "Add a new :c:func:`PySet_CheckExact` function to the C-API to check if an " "object is an instance of :class:`set` but not an instance of a subtype. " "(Contributed by Pablo Galindo in :issue:`43277`.)" msgstr "" -#: whatsnew/3.10.rst:2105 +#: whatsnew/3.10.rst:2092 msgid "" "Add :c:func:`PyErr_SetInterruptEx` which allows passing a signal number to " "simulate. (Contributed by Antoine Pitrou in :issue:`43356`.)" msgstr "" -#: whatsnew/3.10.rst:2109 +#: whatsnew/3.10.rst:2096 msgid "" "The limited C API is now supported if :ref:`Python is built in debug mode " "` (if the ``Py_DEBUG`` macro is defined). In the limited C API, " @@ -2734,14 +2720,14 @@ msgid "" "`36465`)." msgstr "" -#: whatsnew/3.10.rst:2119 +#: whatsnew/3.10.rst:2106 msgid "" "The limited C API is still not supported in the :option:`--with-trace-refs` " "special build (``Py_TRACE_REFS`` macro). (Contributed by Victor Stinner in :" "issue:`43688`.)" msgstr "" -#: whatsnew/3.10.rst:2123 +#: whatsnew/3.10.rst:2110 msgid "" "Add the :c:func:`Py_Is(x, y) ` function to test if the *x* object is " "the *y* object, the same as ``x is y`` in Python. Add also the :c:func:" @@ -2751,7 +2737,7 @@ msgid "" "`43753`.)" msgstr "" -#: whatsnew/3.10.rst:2130 +#: whatsnew/3.10.rst:2117 msgid "" "Add new functions to control the garbage collector from C code: :c:func:" "`PyGC_Enable()`, :c:func:`PyGC_Disable()`, :c:func:`PyGC_IsEnabled()`. These " @@ -2759,20 +2745,20 @@ msgid "" "collector from C code without having to import the :mod:`gc` module." msgstr "" -#: whatsnew/3.10.rst:2137 +#: whatsnew/3.10.rst:2124 msgid "" "Add a new :c:data:`Py_TPFLAGS_DISALLOW_INSTANTIATION` type flag to disallow " "creating type instances. (Contributed by Victor Stinner in :issue:`43916`.)" msgstr "" -#: whatsnew/3.10.rst:2141 +#: whatsnew/3.10.rst:2128 msgid "" "Add a new :c:data:`Py_TPFLAGS_IMMUTABLETYPE` type flag for creating " "immutable type objects: type attributes cannot be set nor deleted. " "(Contributed by Victor Stinner and Erlend E. Aasland in :issue:`43908`.)" msgstr "" -#: whatsnew/3.10.rst:2148 +#: whatsnew/3.10.rst:2135 msgid "" "The ``PY_SSIZE_T_CLEAN`` macro must now be defined to use :c:func:" "`PyArg_ParseTuple` and :c:func:`Py_BuildValue` formats which use ``#``: " @@ -2781,7 +2767,7 @@ msgid "" "`40943`.)" msgstr "" -#: whatsnew/3.10.rst:2154 +#: whatsnew/3.10.rst:2141 msgid "" "Since :c:func:`Py_REFCNT()` is changed to the inline static function, " "``Py_REFCNT(obj) = new_refcnt`` must be replaced with ``Py_SET_REFCNT(obj, " @@ -2789,18 +2775,18 @@ msgid "" "For backward compatibility, this macro can be used::" msgstr "" -#: whatsnew/3.10.rst:2163 +#: whatsnew/3.10.rst:2150 msgid "(Contributed by Victor Stinner in :issue:`39573`.)" msgstr "" -#: whatsnew/3.10.rst:2165 +#: whatsnew/3.10.rst:2152 msgid "" "Calling :c:func:`PyDict_GetItem` without :term:`GIL` held had been allowed " "for historical reason. It is no longer allowed. (Contributed by Victor " "Stinner in :issue:`40839`.)" msgstr "" -#: whatsnew/3.10.rst:2169 +#: whatsnew/3.10.rst:2156 msgid "" "``PyUnicode_FromUnicode(NULL, size)`` and " "``PyUnicode_FromStringAndSize(NULL, size)`` raise ``DeprecationWarning`` " @@ -2808,14 +2794,14 @@ msgid "" "data. (Contributed by Inada Naoki in :issue:`36346`.)" msgstr "" -#: whatsnew/3.10.rst:2174 +#: whatsnew/3.10.rst:2161 msgid "" "The private ``_PyUnicode_Name_CAPI`` structure of the PyCapsule API " "``unicodedata.ucnhash_CAPI`` has been moved to the internal C API. " "(Contributed by Victor Stinner in :issue:`42157`.)" msgstr "" -#: whatsnew/3.10.rst:2178 +#: whatsnew/3.10.rst:2165 msgid "" ":c:func:`Py_GetPath`, :c:func:`Py_GetPrefix`, :c:func:`Py_GetExecPrefix`, :c:" "func:`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome` and :c:func:" @@ -2825,7 +2811,7 @@ msgid "" "Stinner in :issue:`42260`.)" msgstr "" -#: whatsnew/3.10.rst:2185 +#: whatsnew/3.10.rst:2172 msgid "" ":c:func:`PyList_SET_ITEM`, :c:func:`PyTuple_SET_ITEM` and :c:func:" "`PyCell_SET` macros can no longer be used as l-value or r-value. For " @@ -2835,7 +2821,7 @@ msgid "" "and Victor Stinner in :issue:`30459`.)" msgstr "" -#: whatsnew/3.10.rst:2192 +#: whatsnew/3.10.rst:2179 msgid "" "The non-limited API files ``odictobject.h``, ``parser_interface.h``, " "``picklebufobject.h``, ``pyarena.h``, ``pyctype.h``, ``pydebug.h``, ``pyfpe." @@ -2846,7 +2832,7 @@ msgid "" "issue:`35134`.)" msgstr "" -#: whatsnew/3.10.rst:2200 +#: whatsnew/3.10.rst:2187 msgid "" "Use the :c:data:`Py_TPFLAGS_IMMUTABLETYPE` type flag to create immutable " "type objects. Do not rely on :c:data:`Py_TPFLAGS_HEAPTYPE` to decide if a " @@ -2855,85 +2841,85 @@ msgid "" "issue:`43908`.)" msgstr "" -#: whatsnew/3.10.rst:2206 +#: whatsnew/3.10.rst:2193 msgid "" "The undocumented function ``Py_FrozenMain`` has been removed from the " "limited API. The function is mainly useful for custom builds of Python. " "(Contributed by Petr Viktorin in :issue:`26241`.)" msgstr "" -#: whatsnew/3.10.rst:2213 +#: whatsnew/3.10.rst:2200 msgid "" "The ``PyUnicode_InternImmortal()`` function is now deprecated and will be " "removed in Python 3.12: use :c:func:`PyUnicode_InternInPlace` instead. " "(Contributed by Victor Stinner in :issue:`41692`.)" msgstr "" -#: whatsnew/3.10.rst:2221 +#: whatsnew/3.10.rst:2208 msgid "" "Removed ``Py_UNICODE_str*`` functions manipulating ``Py_UNICODE*`` strings. " "(Contributed by Inada Naoki in :issue:`41123`.)" msgstr "" -#: whatsnew/3.10.rst:2224 +#: whatsnew/3.10.rst:2211 msgid "" "``Py_UNICODE_strlen``: use :c:func:`PyUnicode_GetLength` or :c:macro:" "`PyUnicode_GET_LENGTH`" msgstr "" -#: whatsnew/3.10.rst:2226 +#: whatsnew/3.10.rst:2213 msgid "" "``Py_UNICODE_strcat``: use :c:func:`PyUnicode_CopyCharacters` or :c:func:" "`PyUnicode_FromFormat`" msgstr "" -#: whatsnew/3.10.rst:2228 +#: whatsnew/3.10.rst:2215 msgid "" "``Py_UNICODE_strcpy``, ``Py_UNICODE_strncpy``: use :c:func:" "`PyUnicode_CopyCharacters` or :c:func:`PyUnicode_Substring`" msgstr "" -#: whatsnew/3.10.rst:2230 +#: whatsnew/3.10.rst:2217 msgid "``Py_UNICODE_strcmp``: use :c:func:`PyUnicode_Compare`" msgstr "" -#: whatsnew/3.10.rst:2231 +#: whatsnew/3.10.rst:2218 msgid "``Py_UNICODE_strncmp``: use :c:func:`PyUnicode_Tailmatch`" msgstr "" -#: whatsnew/3.10.rst:2232 +#: whatsnew/3.10.rst:2219 msgid "" "``Py_UNICODE_strchr``, ``Py_UNICODE_strrchr``: use :c:func:" "`PyUnicode_FindChar`" msgstr "" -#: whatsnew/3.10.rst:2235 +#: whatsnew/3.10.rst:2222 msgid "" "Removed ``PyUnicode_GetMax()``. Please migrate to new (:pep:`393`) APIs. " "(Contributed by Inada Naoki in :issue:`41103`.)" msgstr "" -#: whatsnew/3.10.rst:2238 +#: whatsnew/3.10.rst:2225 msgid "" "Removed ``PyLong_FromUnicode()``. Please migrate to :c:func:" "`PyLong_FromUnicodeObject`. (Contributed by Inada Naoki in :issue:`41103`.)" msgstr "" -#: whatsnew/3.10.rst:2241 +#: whatsnew/3.10.rst:2228 msgid "" "Removed ``PyUnicode_AsUnicodeCopy()``. Please use :c:func:" "`PyUnicode_AsUCS4Copy` or :c:func:`PyUnicode_AsWideCharString` (Contributed " "by Inada Naoki in :issue:`41103`.)" msgstr "" -#: whatsnew/3.10.rst:2245 +#: whatsnew/3.10.rst:2232 msgid "" "Removed ``_Py_CheckRecursionLimit`` variable: it has been replaced by " "``ceval.recursion_limit`` of the :c:type:`PyInterpreterState` structure. " "(Contributed by Victor Stinner in :issue:`41834`.)" msgstr "" -#: whatsnew/3.10.rst:2249 +#: whatsnew/3.10.rst:2236 msgid "" "Removed undocumented macros ``Py_ALLOW_RECURSION`` and " "``Py_END_ALLOW_RECURSION`` and the ``recursion_critical`` field of the :c:" @@ -2941,14 +2927,14 @@ msgid "" "issue:`41936`.)" msgstr "" -#: whatsnew/3.10.rst:2254 +#: whatsnew/3.10.rst:2241 msgid "" "Removed the undocumented ``PyOS_InitInterrupts()`` function. Initializing " "Python already implicitly installs signal handlers: see :c:member:`PyConfig." "install_signal_handlers`. (Contributed by Victor Stinner in :issue:`41713`.)" msgstr "" -#: whatsnew/3.10.rst:2259 +#: whatsnew/3.10.rst:2246 msgid "" "Remove the ``PyAST_Validate()`` function. It is no longer possible to build " "a AST object (``mod_ty`` type) with the public C API. The function was " @@ -2956,48 +2942,48 @@ msgid "" "Stinner in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2264 +#: whatsnew/3.10.rst:2251 msgid "Remove the ``symtable.h`` header file and the undocumented functions:" msgstr "" -#: whatsnew/3.10.rst:2266 +#: whatsnew/3.10.rst:2253 msgid "``PyST_GetScope()``" msgstr "" -#: whatsnew/3.10.rst:2267 +#: whatsnew/3.10.rst:2254 msgid "``PySymtable_Build()``" msgstr "" -#: whatsnew/3.10.rst:2268 +#: whatsnew/3.10.rst:2255 msgid "``PySymtable_BuildObject()``" msgstr "" -#: whatsnew/3.10.rst:2269 +#: whatsnew/3.10.rst:2256 msgid "``PySymtable_Free()``" msgstr "" -#: whatsnew/3.10.rst:2270 +#: whatsnew/3.10.rst:2257 msgid "``Py_SymtableString()``" msgstr "" -#: whatsnew/3.10.rst:2271 +#: whatsnew/3.10.rst:2258 msgid "``Py_SymtableStringObject()``" msgstr "" -#: whatsnew/3.10.rst:2273 +#: whatsnew/3.10.rst:2260 msgid "" "The ``Py_SymtableString()`` function was part the stable ABI by mistake but " "it could not be used, because the ``symtable.h`` header file was excluded " "from the limited C API." msgstr "" -#: whatsnew/3.10.rst:2277 +#: whatsnew/3.10.rst:2264 msgid "" "Use Python :mod:`symtable` module instead. (Contributed by Victor Stinner " "in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2280 +#: whatsnew/3.10.rst:2267 msgid "" "Remove :c:func:`PyOS_ReadlineFunctionPointer` from the limited C API headers " "and from ``python3.dll``, the library that provides the stable ABI on " @@ -3005,7 +2991,7 @@ msgid "" "cannot be guaranteed. (Contributed by Petr Viktorin in :issue:`43868`.)" msgstr "" -#: whatsnew/3.10.rst:2286 +#: whatsnew/3.10.rst:2273 msgid "" "Remove ``ast.h``, ``asdl.h``, and ``Python-ast.h`` header files. These " "functions were undocumented and excluded from the limited C API. Most names " @@ -3016,96 +3002,96 @@ msgid "" "(Contributed by Victor Stinner in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2294 +#: whatsnew/3.10.rst:2281 msgid "" "Remove the compiler and parser functions using ``struct _mod`` type, because " "the public AST C API was removed:" msgstr "" -#: whatsnew/3.10.rst:2297 +#: whatsnew/3.10.rst:2284 msgid "``PyAST_Compile()``" msgstr "" -#: whatsnew/3.10.rst:2298 +#: whatsnew/3.10.rst:2285 msgid "``PyAST_CompileEx()``" msgstr "" -#: whatsnew/3.10.rst:2299 +#: whatsnew/3.10.rst:2286 msgid "``PyAST_CompileObject()``" msgstr "" -#: whatsnew/3.10.rst:2300 +#: whatsnew/3.10.rst:2287 msgid "``PyFuture_FromAST()``" msgstr "" -#: whatsnew/3.10.rst:2301 +#: whatsnew/3.10.rst:2288 msgid "``PyFuture_FromASTObject()``" msgstr "" -#: whatsnew/3.10.rst:2302 +#: whatsnew/3.10.rst:2289 msgid "``PyParser_ASTFromFile()``" msgstr "" -#: whatsnew/3.10.rst:2303 +#: whatsnew/3.10.rst:2290 msgid "``PyParser_ASTFromFileObject()``" msgstr "" -#: whatsnew/3.10.rst:2304 +#: whatsnew/3.10.rst:2291 msgid "``PyParser_ASTFromFilename()``" msgstr "" -#: whatsnew/3.10.rst:2305 +#: whatsnew/3.10.rst:2292 msgid "``PyParser_ASTFromString()``" msgstr "" -#: whatsnew/3.10.rst:2306 +#: whatsnew/3.10.rst:2293 msgid "``PyParser_ASTFromStringObject()``" msgstr "" -#: whatsnew/3.10.rst:2308 +#: whatsnew/3.10.rst:2295 msgid "" "These functions were undocumented and excluded from the limited C API. " "(Contributed by Victor Stinner in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2311 +#: whatsnew/3.10.rst:2298 msgid "Remove the ``pyarena.h`` header file with functions:" msgstr "" -#: whatsnew/3.10.rst:2313 +#: whatsnew/3.10.rst:2300 msgid "``PyArena_New()``" msgstr "" -#: whatsnew/3.10.rst:2314 +#: whatsnew/3.10.rst:2301 msgid "``PyArena_Free()``" msgstr "" -#: whatsnew/3.10.rst:2315 +#: whatsnew/3.10.rst:2302 msgid "``PyArena_Malloc()``" msgstr "" -#: whatsnew/3.10.rst:2316 +#: whatsnew/3.10.rst:2303 msgid "``PyArena_AddPyObject()``" msgstr "" -#: whatsnew/3.10.rst:2318 +#: whatsnew/3.10.rst:2305 msgid "" "These functions were undocumented, excluded from the limited C API, and were " "only used internally by the compiler. (Contributed by Victor Stinner in :" "issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2322 +#: whatsnew/3.10.rst:2309 msgid "" "The ``PyThreadState.use_tracing`` member has been removed to optimize " "Python. (Contributed by Mark Shannon in :issue:`43760`.)" msgstr "" -#: whatsnew/3.10.rst:2327 +#: whatsnew/3.10.rst:2314 msgid "Notable security feature in 3.10.7" msgstr "" -#: whatsnew/3.10.rst:2329 +#: whatsnew/3.10.rst:2316 msgid "" "Converting between :class:`int` and :class:`str` in bases other than 2 " "(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) " @@ -3119,11 +3105,11 @@ msgid "" "string form." msgstr "" -#: whatsnew/3.10.rst:2341 +#: whatsnew/3.10.rst:2328 msgid "Notable security feature in 3.10.8" msgstr "" -#: whatsnew/3.10.rst:2343 +#: whatsnew/3.10.rst:2330 msgid "" "The deprecated :mod:`mailcap` module now refuses to inject unsafe text " "(filenames, MIME types, parameters) into shell commands. Instead of using " diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index ebec306b7..525a02f37 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-05 18:31+0300\n" +"POT-Creation-Date: 2023-02-04 22:37+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -20,110 +20,94 @@ msgstr "" msgid "What's New In Python 3.9" msgstr "" -#: whatsnew/3.9.rst:0 -msgid "Release" -msgstr "" - -#: whatsnew/3.9.rst:5 -msgid "|release|" -msgstr "" - -#: whatsnew/3.9.rst:0 -msgid "Date" -msgstr "" - -#: whatsnew/3.9.rst:6 -msgid "|today|" -msgstr "" - #: whatsnew/3.9.rst:0 msgid "Editor" msgstr "" -#: whatsnew/3.9.rst:7 +#: whatsnew/3.9.rst:5 msgid "Łukasz Langa" msgstr "" -#: whatsnew/3.9.rst:47 +#: whatsnew/3.9.rst:45 msgid "" "This article explains the new features in Python 3.9, compared to 3.8. " "Python 3.9 was released on October 5, 2020." msgstr "" -#: whatsnew/3.9.rst:50 +#: whatsnew/3.9.rst:48 msgid "For full details, see the :ref:`changelog `." msgstr "" -#: whatsnew/3.9.rst:54 +#: whatsnew/3.9.rst:52 msgid ":pep:`596` - Python 3.9 Release Schedule" msgstr "" -#: whatsnew/3.9.rst:58 +#: whatsnew/3.9.rst:56 msgid "Summary -- Release highlights" msgstr "" -#: whatsnew/3.9.rst:63 +#: whatsnew/3.9.rst:61 msgid "New syntax features:" msgstr "" -#: whatsnew/3.9.rst:65 +#: whatsnew/3.9.rst:63 msgid ":pep:`584`, union operators added to ``dict``;" msgstr "" -#: whatsnew/3.9.rst:66 +#: whatsnew/3.9.rst:64 msgid ":pep:`585`, type hinting generics in standard collections;" msgstr "" -#: whatsnew/3.9.rst:67 +#: whatsnew/3.9.rst:65 msgid ":pep:`614`, relaxed grammar restrictions on decorators." msgstr "" -#: whatsnew/3.9.rst:69 +#: whatsnew/3.9.rst:67 msgid "New built-in features:" msgstr "" -#: whatsnew/3.9.rst:71 +#: whatsnew/3.9.rst:69 msgid ":pep:`616`, string methods to remove prefixes and suffixes." msgstr "" -#: whatsnew/3.9.rst:73 +#: whatsnew/3.9.rst:71 msgid "New features in the standard library:" msgstr "" -#: whatsnew/3.9.rst:75 +#: whatsnew/3.9.rst:73 msgid ":pep:`593`, flexible function and variable annotations;" msgstr "" -#: whatsnew/3.9.rst:76 +#: whatsnew/3.9.rst:74 msgid "" ":func:`os.pidfd_open` added that allows process management without races and " "signals." msgstr "" -#: whatsnew/3.9.rst:79 +#: whatsnew/3.9.rst:77 msgid "Interpreter improvements:" msgstr "" -#: whatsnew/3.9.rst:81 +#: whatsnew/3.9.rst:79 msgid "" ":pep:`573`, fast access to module state from methods of C extension types;" msgstr "" -#: whatsnew/3.9.rst:83 +#: whatsnew/3.9.rst:81 msgid ":pep:`617`, CPython now uses a new parser based on PEG;" msgstr "" -#: whatsnew/3.9.rst:84 +#: whatsnew/3.9.rst:82 msgid "" "a number of Python builtins (range, tuple, set, frozenset, list, dict) are " "now sped up using :pep:`590` vectorcall;" msgstr "" -#: whatsnew/3.9.rst:86 +#: whatsnew/3.9.rst:84 msgid "garbage collection does not block on resurrected objects;" msgstr "" -#: whatsnew/3.9.rst:87 +#: whatsnew/3.9.rst:85 msgid "" "a number of Python modules (:mod:`_abc`, :mod:`audioop`, :mod:`_bz2`, :mod:" "`_codecs`, :mod:`_contextvars`, :mod:`_crypt`, :mod:`_functools`, :mod:" @@ -132,7 +116,7 @@ msgid "" "489;" msgstr "" -#: whatsnew/3.9.rst:92 +#: whatsnew/3.9.rst:90 msgid "" "a number of standard library modules (:mod:`audioop`, :mod:`ast`, :mod:" "`grp`, :mod:`_hashlib`, :mod:`pwd`, :mod:`_posixsubprocess`, :mod:`random`, :" @@ -140,35 +124,35 @@ msgid "" "stable ABI defined by PEP 384." msgstr "" -#: whatsnew/3.9.rst:97 +#: whatsnew/3.9.rst:95 msgid "New library modules:" msgstr "" -#: whatsnew/3.9.rst:99 +#: whatsnew/3.9.rst:97 msgid "" ":pep:`615`, the IANA Time Zone Database is now present in the standard " "library in the :mod:`zoneinfo` module;" msgstr "" -#: whatsnew/3.9.rst:101 +#: whatsnew/3.9.rst:99 msgid "" "an implementation of a topological sort of a graph is now provided in the " "new :mod:`graphlib` module." msgstr "" -#: whatsnew/3.9.rst:104 +#: whatsnew/3.9.rst:102 msgid "Release process changes:" msgstr "" -#: whatsnew/3.9.rst:106 +#: whatsnew/3.9.rst:104 msgid ":pep:`602`, CPython adopts an annual release cycle." msgstr "" -#: whatsnew/3.9.rst:110 +#: whatsnew/3.9.rst:108 msgid "You should check for DeprecationWarning in your code" msgstr "" -#: whatsnew/3.9.rst:112 +#: whatsnew/3.9.rst:110 msgid "" "When Python 2.7 was still supported, a lot of functionality in Python 3 was " "kept for backward compatibility with Python 2.7. With the end of Python 2 " @@ -179,7 +163,7 @@ msgid "" "3.3, released in 2012." msgstr "" -#: whatsnew/3.9.rst:120 +#: whatsnew/3.9.rst:118 msgid "" "Test your application with the :option:`-W` ``default`` command-line option " "to see :exc:`DeprecationWarning` and :exc:`PendingDeprecationWarning`, or " @@ -188,14 +172,14 @@ msgid "" "code." msgstr "" -#: whatsnew/3.9.rst:125 +#: whatsnew/3.9.rst:123 msgid "" "Python 3.9 is the last version providing those Python 2 backward " "compatibility layers, to give more time to Python projects maintainers to " "organize the removal of the Python 2 support and add support for Python 3.9." msgstr "" -#: whatsnew/3.9.rst:129 +#: whatsnew/3.9.rst:127 msgid "" "Aliases to :ref:`Abstract Base Classes ` " "in the :mod:`collections` module, like ``collections.Mapping`` alias to :" @@ -203,49 +187,49 @@ msgid "" "compatibility. They will be removed from Python 3.10." msgstr "" -#: whatsnew/3.9.rst:134 +#: whatsnew/3.9.rst:132 msgid "" "More generally, try to run your tests in the :ref:`Python Development Mode " "` which helps to prepare your code to make it compatible with the " "next Python version." msgstr "" -#: whatsnew/3.9.rst:138 +#: whatsnew/3.9.rst:136 msgid "" "Note: a number of pre-existing deprecations were removed in this version of " "Python as well. Consult the :ref:`removed-in-python-39` section." msgstr "" -#: whatsnew/3.9.rst:1276 +#: whatsnew/3.9.rst:1274 msgid "New Features" msgstr "" -#: whatsnew/3.9.rst:146 +#: whatsnew/3.9.rst:144 msgid "Dictionary Merge & Update Operators" msgstr "" -#: whatsnew/3.9.rst:148 +#: whatsnew/3.9.rst:146 msgid "" "Merge (``|``) and update (``|=``) operators have been added to the built-in :" "class:`dict` class. Those complement the existing ``dict.update`` and " "``{**d1, **d2}`` methods of merging dictionaries." msgstr "" -#: whatsnew/3.9.rst:285 +#: whatsnew/3.9.rst:283 msgid "Example::" msgstr "" -#: whatsnew/3.9.rst:161 +#: whatsnew/3.9.rst:159 msgid "" "See :pep:`584` for a full description. (Contributed by Brandt Bucher in :" "issue:`36144`.)" msgstr "" -#: whatsnew/3.9.rst:165 +#: whatsnew/3.9.rst:163 msgid "New String Methods to Remove Prefixes and Suffixes" msgstr "" -#: whatsnew/3.9.rst:167 +#: whatsnew/3.9.rst:165 msgid "" ":meth:`str.removeprefix(prefix)` and :meth:`str." "removesuffix(suffix)` have been added to easily remove an " @@ -255,11 +239,11 @@ msgid "" "issue:`39939`.)" msgstr "" -#: whatsnew/3.9.rst:175 +#: whatsnew/3.9.rst:173 msgid "Type Hinting Generics in Standard Collections" msgstr "" -#: whatsnew/3.9.rst:177 +#: whatsnew/3.9.rst:175 msgid "" "In type annotations you can now use built-in collection types such as " "``list`` and ``dict`` as generic types instead of importing the " @@ -268,21 +252,21 @@ msgid "" "for example ``queue.Queue``." msgstr "" -#: whatsnew/3.9.rst:1164 +#: whatsnew/3.9.rst:1162 msgid "Example:" msgstr "" -#: whatsnew/3.9.rst:191 +#: whatsnew/3.9.rst:189 msgid "" "See :pep:`585` for more details. (Contributed by Guido van Rossum, Ethan " "Smith, and Batuhan Taşkaya in :issue:`39481`.)" msgstr "" -#: whatsnew/3.9.rst:195 +#: whatsnew/3.9.rst:193 msgid "New Parser" msgstr "" -#: whatsnew/3.9.rst:197 +#: whatsnew/3.9.rst:195 msgid "" "Python 3.9 uses a new parser, based on `PEG `_ instead of `LL(1) ` and in :ref:`debug build " "`, the *encoding* and *errors* arguments are now checked for " @@ -343,14 +327,14 @@ msgid "" "encode` and :meth:`bytes.decode`." msgstr "" -#: whatsnew/3.9.rst:239 +#: whatsnew/3.9.rst:237 msgid "" "By default, for best performance, the *errors* argument is only checked at " "the first encoding/decoding error and the *encoding* argument is sometimes " "ignored for empty strings. (Contributed by Victor Stinner in :issue:`37388`.)" msgstr "" -#: whatsnew/3.9.rst:244 +#: whatsnew/3.9.rst:242 msgid "" "``\"\".replace(\"\", s, n)`` now returns ``s`` instead of an empty string " "for all non-zero ``n``. It is now consistent with ``\"\".replace(\"\", " @@ -358,14 +342,14 @@ msgid "" "objects. (Contributed by Serhiy Storchaka in :issue:`28029`.)" msgstr "" -#: whatsnew/3.9.rst:249 +#: whatsnew/3.9.rst:247 msgid "" "Any valid expression can now be used as a :term:`decorator`. Previously, " "the grammar was much more restrictive. See :pep:`614` for details. " "(Contributed by Brandt Bucher in :issue:`39702`.)" msgstr "" -#: whatsnew/3.9.rst:253 +#: whatsnew/3.9.rst:251 msgid "" "Improved help for the :mod:`typing` module. Docstrings are now shown for all " "special forms and special generic aliases (like ``Union`` and ``List``). " @@ -374,7 +358,7 @@ msgid "" "Serhiy Storchaka in :issue:`40257`.)" msgstr "" -#: whatsnew/3.9.rst:259 +#: whatsnew/3.9.rst:257 msgid "" "Parallel running of :meth:`~agen.aclose` / :meth:`~agen.asend` / :meth:" "`~agen.athrow` is now prohibited, and ``ag_running`` now reflects the actual " @@ -382,7 +366,7 @@ msgid "" "issue:`30773`.)" msgstr "" -#: whatsnew/3.9.rst:264 +#: whatsnew/3.9.rst:262 msgid "" "Unexpected errors in calling the ``__iter__`` method are no longer masked by " "``TypeError`` in the :keyword:`in` operator and functions :func:`~operator." @@ -390,49 +374,49 @@ msgid "" "mod:`operator` module. (Contributed by Serhiy Storchaka in :issue:`40824`.)" msgstr "" -#: whatsnew/3.9.rst:270 +#: whatsnew/3.9.rst:268 msgid "" "Unparenthesized lambda expressions can no longer be the expression part in " "an ``if`` clause in comprehensions and generator expressions. See :issue:" "`41848` and :issue:`43755` for details." msgstr "" -#: whatsnew/3.9.rst:276 +#: whatsnew/3.9.rst:274 msgid "New Modules" msgstr "" -#: whatsnew/3.9.rst:279 +#: whatsnew/3.9.rst:277 msgid "zoneinfo" msgstr "" -#: whatsnew/3.9.rst:281 +#: whatsnew/3.9.rst:279 msgid "" "The :mod:`zoneinfo` module brings support for the IANA time zone database to " "the standard library. It adds :class:`zoneinfo.ZoneInfo`, a concrete :class:" "`datetime.tzinfo` implementation backed by the system's time zone data." msgstr "" -#: whatsnew/3.9.rst:305 +#: whatsnew/3.9.rst:303 msgid "" "As a fall-back source of data for platforms that don't ship the IANA " "database, the |tzdata|_ module was released as a first-party package -- " "distributed via PyPI and maintained by the CPython core team." msgstr "" -#: whatsnew/3.9.rst:314 +#: whatsnew/3.9.rst:312 msgid "" ":pep:`615` -- Support for the IANA Time Zone Database in the Standard Library" msgstr "" -#: whatsnew/3.9.rst:315 +#: whatsnew/3.9.rst:313 msgid "PEP written and implemented by Paul Ganssle" msgstr "" -#: whatsnew/3.9.rst:319 +#: whatsnew/3.9.rst:317 msgid "graphlib" msgstr "" -#: whatsnew/3.9.rst:321 +#: whatsnew/3.9.rst:319 msgid "" "A new module, :mod:`graphlib`, was added that contains the :class:`graphlib." "TopologicalSorter` class to offer functionality to perform topological " @@ -440,22 +424,22 @@ msgid "" "Hastings in :issue:`17005`.)" msgstr "" -#: whatsnew/3.9.rst:328 +#: whatsnew/3.9.rst:326 msgid "Improved Modules" msgstr "" -#: whatsnew/3.9.rst:331 +#: whatsnew/3.9.rst:329 msgid "ast" msgstr "" -#: whatsnew/3.9.rst:333 +#: whatsnew/3.9.rst:331 msgid "" "Added the *indent* option to :func:`~ast.dump` which allows it to produce a " "multiline indented output. (Contributed by Serhiy Storchaka in :issue:" "`37995`.)" msgstr "" -#: whatsnew/3.9.rst:337 +#: whatsnew/3.9.rst:335 msgid "" "Added :func:`ast.unparse` as a function in the :mod:`ast` module that can be " "used to unparse an :class:`ast.AST` object and produce a string with code " @@ -463,17 +447,17 @@ msgid "" "(Contributed by Pablo Galindo and Batuhan Taskaya in :issue:`38870`.)" msgstr "" -#: whatsnew/3.9.rst:342 +#: whatsnew/3.9.rst:340 msgid "" "Added docstrings to AST nodes that contains the ASDL signature used to " "construct that node. (Contributed by Batuhan Taskaya in :issue:`39638`.)" msgstr "" -#: whatsnew/3.9.rst:346 +#: whatsnew/3.9.rst:344 msgid "asyncio" msgstr "" -#: whatsnew/3.9.rst:348 +#: whatsnew/3.9.rst:346 msgid "" "Due to significant security concerns, the *reuse_address* parameter of :meth:" "`asyncio.loop.create_datagram_endpoint` is no longer supported. This is " @@ -483,7 +467,7 @@ msgid "" "`37228`.)" msgstr "" -#: whatsnew/3.9.rst:355 +#: whatsnew/3.9.rst:353 msgid "" "Added a new :term:`coroutine` :meth:`~asyncio.loop." "shutdown_default_executor` that schedules a shutdown for the default " @@ -492,13 +476,13 @@ msgid "" "new :term:`coroutine`. (Contributed by Kyle Stanley in :issue:`34037`.)" msgstr "" -#: whatsnew/3.9.rst:361 +#: whatsnew/3.9.rst:359 msgid "" "Added :class:`asyncio.PidfdChildWatcher`, a Linux-specific child watcher " "implementation that polls process file descriptors. (:issue:`38692`)" msgstr "" -#: whatsnew/3.9.rst:364 +#: whatsnew/3.9.rst:362 msgid "" "Added a new :term:`coroutine` :func:`asyncio.to_thread`. It is mainly used " "for running IO-bound functions in a separate thread to avoid blocking the " @@ -507,7 +491,7 @@ msgid "" "by Kyle Stanley and Yury Selivanov in :issue:`32309`.)" msgstr "" -#: whatsnew/3.9.rst:370 +#: whatsnew/3.9.rst:368 msgid "" "When cancelling the task due to a timeout, :meth:`asyncio.wait_for` will now " "wait until the cancellation is complete also in the case when *timeout* is " @@ -515,25 +499,25 @@ msgid "" "Pranskevichus in :issue:`32751`.)" msgstr "" -#: whatsnew/3.9.rst:375 +#: whatsnew/3.9.rst:373 msgid "" ":mod:`asyncio` now raises :exc:`TyperError` when calling incompatible " "methods with an :class:`ssl.SSLSocket` socket. (Contributed by Ido Michael " "in :issue:`37404`.)" msgstr "" -#: whatsnew/3.9.rst:380 +#: whatsnew/3.9.rst:378 msgid "compileall" msgstr "" -#: whatsnew/3.9.rst:382 +#: whatsnew/3.9.rst:380 msgid "" "Added new possibility to use hardlinks for duplicated ``.pyc`` files: " "*hardlink_dupes* parameter and --hardlink-dupes command line option. " "(Contributed by Lumír 'Frenzy' Balhar in :issue:`40495`.)" msgstr "" -#: whatsnew/3.9.rst:385 +#: whatsnew/3.9.rst:383 msgid "" "Added new options for path manipulation in resulting ``.pyc`` files: " "*stripdir*, *prependdir*, *limit_sl_dest* parameters and -s, -p, -e command " @@ -542,11 +526,11 @@ msgid "" "issue:`38112`.)" msgstr "" -#: whatsnew/3.9.rst:390 +#: whatsnew/3.9.rst:388 msgid "concurrent.futures" msgstr "" -#: whatsnew/3.9.rst:392 +#: whatsnew/3.9.rst:390 msgid "" "Added a new *cancel_futures* parameter to :meth:`concurrent.futures.Executor." "shutdown` that cancels all pending futures which have not started running, " @@ -554,7 +538,7 @@ msgid "" "(Contributed by Kyle Stanley in :issue:`39349`.)" msgstr "" -#: whatsnew/3.9.rst:398 +#: whatsnew/3.9.rst:396 msgid "" "Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor` " "and :class:`~concurrent.futures.ProcessPoolExecutor`. This improves " @@ -562,7 +546,7 @@ msgid "" "processes. (Contributed by Kyle Stanley in :issue:`39812`.)" msgstr "" -#: whatsnew/3.9.rst:403 +#: whatsnew/3.9.rst:401 msgid "" "Workers in :class:`~concurrent.futures.ProcessPoolExecutor` are now spawned " "on demand, only when there are no available idle workers to reuse. This " @@ -570,22 +554,22 @@ msgid "" "workers. (Contributed by Kyle Stanley in :issue:`39207`.)" msgstr "" -#: whatsnew/3.9.rst:409 +#: whatsnew/3.9.rst:407 msgid "curses" msgstr "" -#: whatsnew/3.9.rst:411 +#: whatsnew/3.9.rst:409 msgid "" "Added :func:`curses.get_escdelay`, :func:`curses.set_escdelay`, :func:" "`curses.get_tabsize`, and :func:`curses.set_tabsize` functions. (Contributed " "by Anthony Sottile in :issue:`38312`.)" msgstr "" -#: whatsnew/3.9.rst:416 +#: whatsnew/3.9.rst:414 msgid "datetime" msgstr "" -#: whatsnew/3.9.rst:417 +#: whatsnew/3.9.rst:415 msgid "" "The :meth:`~datetime.date.isocalendar()` of :class:`datetime.date` and :meth:" "`~datetime.datetime.isocalendar()` of :class:`datetime.datetime` methods now " @@ -593,32 +577,32 @@ msgid "" "(Contributed by Dong-hee Na in :issue:`24416`.)" msgstr "" -#: whatsnew/3.9.rst:423 +#: whatsnew/3.9.rst:421 msgid "distutils" msgstr "" -#: whatsnew/3.9.rst:425 +#: whatsnew/3.9.rst:423 msgid "" "The :command:`upload` command now creates SHA2-256 and Blake2b-256 hash " "digests. It skips MD5 on platforms that block MD5 digest. (Contributed by " "Christian Heimes in :issue:`40698`.)" msgstr "" -#: whatsnew/3.9.rst:430 +#: whatsnew/3.9.rst:428 msgid "fcntl" msgstr "" -#: whatsnew/3.9.rst:432 +#: whatsnew/3.9.rst:430 msgid "" "Added constants :data:`~fcntl.F_OFD_GETLK`, :data:`~fcntl.F_OFD_SETLK` and :" "data:`~fcntl.F_OFD_SETLKW`. (Contributed by Dong-hee Na in :issue:`38602`.)" msgstr "" -#: whatsnew/3.9.rst:437 +#: whatsnew/3.9.rst:435 msgid "ftplib" msgstr "" -#: whatsnew/3.9.rst:439 +#: whatsnew/3.9.rst:437 msgid "" ":class:`~ftplib.FTP` and :class:`~ftplib.FTP_TLS` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -626,11 +610,11 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:444 +#: whatsnew/3.9.rst:442 msgid "gc" msgstr "" -#: whatsnew/3.9.rst:446 +#: whatsnew/3.9.rst:444 msgid "" "When the garbage collector makes a collection in which some objects " "resurrect (they are reachable from outside the isolated cycles after the " @@ -639,24 +623,24 @@ msgid "" "issue:`38379`.)" msgstr "" -#: whatsnew/3.9.rst:451 +#: whatsnew/3.9.rst:449 msgid "" "Added a new function :func:`gc.is_finalized` to check if an object has been " "finalized by the garbage collector. (Contributed by Pablo Galindo in :issue:" "`39322`.)" msgstr "" -#: whatsnew/3.9.rst:456 +#: whatsnew/3.9.rst:454 msgid "hashlib" msgstr "" -#: whatsnew/3.9.rst:458 +#: whatsnew/3.9.rst:456 msgid "" "The :mod:`hashlib` module can now use SHA3 hashes and SHAKE XOF from OpenSSL " "when available. (Contributed by Christian Heimes in :issue:`37630`.)" msgstr "" -#: whatsnew/3.9.rst:462 +#: whatsnew/3.9.rst:460 msgid "" "Builtin hash modules can now be disabled with ``./configure --without-" "builtin-hashlib-hashes`` or selectively enabled with e.g. ``./configure --" @@ -664,55 +648,55 @@ msgid "" "implementation. (Contributed by Christian Heimes in :issue:`40479`)" msgstr "" -#: whatsnew/3.9.rst:470 +#: whatsnew/3.9.rst:468 msgid "http" msgstr "" -#: whatsnew/3.9.rst:472 +#: whatsnew/3.9.rst:470 msgid "" "HTTP status codes ``103 EARLY_HINTS``, ``418 IM_A_TEAPOT`` and ``425 " "TOO_EARLY`` are added to :class:`http.HTTPStatus`. (Contributed by Dong-hee " "Na in :issue:`39509` and Ross Rhodes in :issue:`39507`.)" msgstr "" -#: whatsnew/3.9.rst:476 +#: whatsnew/3.9.rst:474 msgid "IDLE and idlelib" msgstr "" -#: whatsnew/3.9.rst:478 +#: whatsnew/3.9.rst:476 msgid "" "Added option to toggle cursor blink off. (Contributed by Zackery Spytz in :" "issue:`4603`.)" msgstr "" -#: whatsnew/3.9.rst:481 +#: whatsnew/3.9.rst:479 msgid "" "Escape key now closes IDLE completion windows. (Contributed by Johnny " "Najera in :issue:`38944`.)" msgstr "" -#: whatsnew/3.9.rst:484 +#: whatsnew/3.9.rst:482 msgid "" "Added keywords to module name completion list. (Contributed by Terry J. " "Reedy in :issue:`37765`.)" msgstr "" -#: whatsnew/3.9.rst:487 +#: whatsnew/3.9.rst:485 msgid "New in 3.9 maintenance releases" msgstr "" -#: whatsnew/3.9.rst:489 +#: whatsnew/3.9.rst:487 msgid "" "Make IDLE invoke :func:`sys.excepthook` (when started without '-n'). User " "hooks were previously ignored. (Contributed by Ken Hilton in :issue:" "`43008`.)" msgstr "" -#: whatsnew/3.9.rst:493 +#: whatsnew/3.9.rst:491 msgid "The changes above have been backported to 3.8 maintenance releases." msgstr "" -#: whatsnew/3.9.rst:495 +#: whatsnew/3.9.rst:493 msgid "" "Rearrange the settings dialog. Split the General tab into Windows and Shell/" "Ed tabs. Move help sources, which extend the Help menu, to the Extensions " @@ -723,17 +707,17 @@ msgid "" "`33962`.)" msgstr "" -#: whatsnew/3.9.rst:503 +#: whatsnew/3.9.rst:501 msgid "" "Apply syntax highlighting to ``.pyi`` files. (Contributed by Alex Waygood " "and Terry Jan Reedy in :issue:`45447`.)" msgstr "" -#: whatsnew/3.9.rst:507 +#: whatsnew/3.9.rst:505 msgid "imaplib" msgstr "" -#: whatsnew/3.9.rst:509 +#: whatsnew/3.9.rst:507 msgid "" ":class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now have an optional " "*timeout* parameter for their constructors. Also, the :meth:`~imaplib.IMAP4." @@ -743,7 +727,7 @@ msgid "" "issue:`38615`.)" msgstr "" -#: whatsnew/3.9.rst:516 +#: whatsnew/3.9.rst:514 msgid "" ":meth:`imaplib.IMAP4.unselect` is added. :meth:`imaplib.IMAP4.unselect` " "frees server's resources associated with the selected mailbox and returns " @@ -753,11 +737,11 @@ msgid "" "Dong-hee Na in :issue:`40375`.)" msgstr "" -#: whatsnew/3.9.rst:524 +#: whatsnew/3.9.rst:522 msgid "importlib" msgstr "" -#: whatsnew/3.9.rst:526 +#: whatsnew/3.9.rst:524 msgid "" "To improve consistency with import statements, :func:`importlib.util." "resolve_name` now raises :exc:`ImportError` instead of :exc:`ValueError` for " @@ -765,47 +749,47 @@ msgid "" "`37444`.)" msgstr "" -#: whatsnew/3.9.rst:531 +#: whatsnew/3.9.rst:529 msgid "" "Import loaders which publish immutable module objects can now publish " "immutable packages in addition to individual modules. (Contributed by Dino " "Viehland in :issue:`39336`.)" msgstr "" -#: whatsnew/3.9.rst:535 +#: whatsnew/3.9.rst:533 msgid "" "Added :func:`importlib.resources.files` function with support for " "subdirectories in package data, matching backport in ``importlib_resources`` " "version 1.5. (Contributed by Jason R. Coombs in :issue:`39791`.)" msgstr "" -#: whatsnew/3.9.rst:540 +#: whatsnew/3.9.rst:538 msgid "" "Refreshed ``importlib.metadata`` from ``importlib_metadata`` version 1.6.1." msgstr "" -#: whatsnew/3.9.rst:543 +#: whatsnew/3.9.rst:541 msgid "inspect" msgstr "" -#: whatsnew/3.9.rst:545 +#: whatsnew/3.9.rst:543 msgid "" ":attr:`inspect.BoundArguments.arguments` is changed from ``OrderedDict`` to " "regular dict. (Contributed by Inada Naoki in :issue:`36350` and :issue:" "`39775`.)" msgstr "" -#: whatsnew/3.9.rst:549 +#: whatsnew/3.9.rst:547 msgid "ipaddress" msgstr "" -#: whatsnew/3.9.rst:551 +#: whatsnew/3.9.rst:549 msgid "" ":mod:`ipaddress` now supports IPv6 Scoped Addresses (IPv6 address with " "suffix ``%``)." msgstr "" -#: whatsnew/3.9.rst:553 +#: whatsnew/3.9.rst:551 msgid "" "Scoped IPv6 addresses can be parsed using :class:`ipaddress.IPv6Address`. If " "present, scope zone ID is available through the :attr:`~ipaddress." @@ -813,59 +797,59 @@ msgid "" "`34788`.)" msgstr "" -#: whatsnew/3.9.rst:557 +#: whatsnew/3.9.rst:555 msgid "" "Starting with Python 3.9.5 the :mod:`ipaddress` module no longer accepts any " "leading zeros in IPv4 address strings. (Contributed by Christian Heimes in :" "issue:`36384`)." msgstr "" -#: whatsnew/3.9.rst:562 +#: whatsnew/3.9.rst:560 msgid "math" msgstr "" -#: whatsnew/3.9.rst:564 +#: whatsnew/3.9.rst:562 msgid "" "Expanded the :func:`math.gcd` function to handle multiple arguments. " "Formerly, it only supported two arguments. (Contributed by Serhiy Storchaka " "in :issue:`39648`.)" msgstr "" -#: whatsnew/3.9.rst:568 +#: whatsnew/3.9.rst:566 msgid "" "Added :func:`math.lcm`: return the least common multiple of specified " "arguments. (Contributed by Mark Dickinson, Ananthakrishnan and Serhiy " "Storchaka in :issue:`39479` and :issue:`39648`.)" msgstr "" -#: whatsnew/3.9.rst:572 +#: whatsnew/3.9.rst:570 msgid "" "Added :func:`math.nextafter`: return the next floating-point value after *x* " "towards *y*. (Contributed by Victor Stinner in :issue:`39288`.)" msgstr "" -#: whatsnew/3.9.rst:576 +#: whatsnew/3.9.rst:574 msgid "" "Added :func:`math.ulp`: return the value of the least significant bit of a " "float. (Contributed by Victor Stinner in :issue:`39310`.)" msgstr "" -#: whatsnew/3.9.rst:581 +#: whatsnew/3.9.rst:579 msgid "multiprocessing" msgstr "" -#: whatsnew/3.9.rst:583 +#: whatsnew/3.9.rst:581 msgid "" "The :class:`multiprocessing.SimpleQueue` class has a new :meth:" "`~multiprocessing.SimpleQueue.close` method to explicitly close the queue. " "(Contributed by Victor Stinner in :issue:`30966`.)" msgstr "" -#: whatsnew/3.9.rst:589 +#: whatsnew/3.9.rst:587 msgid "nntplib" msgstr "" -#: whatsnew/3.9.rst:591 +#: whatsnew/3.9.rst:589 msgid "" ":class:`~nntplib.NNTP` and :class:`~nntplib.NNTP_SSL` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -873,65 +857,65 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:596 +#: whatsnew/3.9.rst:594 msgid "os" msgstr "" -#: whatsnew/3.9.rst:598 +#: whatsnew/3.9.rst:596 msgid "" "Added :data:`~os.CLD_KILLED` and :data:`~os.CLD_STOPPED` for :attr:" "`si_code`. (Contributed by Dong-hee Na in :issue:`38493`.)" msgstr "" -#: whatsnew/3.9.rst:601 +#: whatsnew/3.9.rst:599 msgid "" "Exposed the Linux-specific :func:`os.pidfd_open` (:issue:`38692`) and :data:" "`os.P_PIDFD` (:issue:`38713`) for process management with file descriptors." msgstr "" -#: whatsnew/3.9.rst:605 +#: whatsnew/3.9.rst:603 msgid "" "The :func:`os.unsetenv` function is now also available on Windows. " "(Contributed by Victor Stinner in :issue:`39413`.)" msgstr "" -#: whatsnew/3.9.rst:608 +#: whatsnew/3.9.rst:606 msgid "" "The :func:`os.putenv` and :func:`os.unsetenv` functions are now always " "available. (Contributed by Victor Stinner in :issue:`39395`.)" msgstr "" -#: whatsnew/3.9.rst:612 +#: whatsnew/3.9.rst:610 msgid "" "Added :func:`os.waitstatus_to_exitcode` function: convert a wait status to " "an exit code. (Contributed by Victor Stinner in :issue:`40094`.)" msgstr "" -#: whatsnew/3.9.rst:617 +#: whatsnew/3.9.rst:615 msgid "pathlib" msgstr "" -#: whatsnew/3.9.rst:619 +#: whatsnew/3.9.rst:617 msgid "" "Added :meth:`pathlib.Path.readlink()` which acts similarly to :func:`os." "readlink`. (Contributed by Girts Folkmanis in :issue:`30618`)" msgstr "" -#: whatsnew/3.9.rst:624 +#: whatsnew/3.9.rst:622 msgid "pdb" msgstr "" -#: whatsnew/3.9.rst:626 +#: whatsnew/3.9.rst:624 msgid "" "On Windows now :class:`~pdb.Pdb` supports ``~/.pdbrc``. (Contributed by Tim " "Hopper and Dan Lidral-Porter in :issue:`20523`.)" msgstr "" -#: whatsnew/3.9.rst:630 +#: whatsnew/3.9.rst:628 msgid "poplib" msgstr "" -#: whatsnew/3.9.rst:632 +#: whatsnew/3.9.rst:630 msgid "" ":class:`~poplib.POP3` and :class:`~poplib.POP3_SSL` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -939,53 +923,53 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:637 +#: whatsnew/3.9.rst:635 msgid "pprint" msgstr "" -#: whatsnew/3.9.rst:639 +#: whatsnew/3.9.rst:637 msgid "" ":mod:`pprint` can now pretty-print :class:`types.SimpleNamespace`. " "(Contributed by Carl Bordum Hansen in :issue:`37376`.)" msgstr "" -#: whatsnew/3.9.rst:643 +#: whatsnew/3.9.rst:641 msgid "pydoc" msgstr "" -#: whatsnew/3.9.rst:645 +#: whatsnew/3.9.rst:643 msgid "" "The documentation string is now shown not only for class, function, method " "etc, but for any object that has its own ``__doc__`` attribute. (Contributed " "by Serhiy Storchaka in :issue:`40257`.)" msgstr "" -#: whatsnew/3.9.rst:650 +#: whatsnew/3.9.rst:648 msgid "random" msgstr "" -#: whatsnew/3.9.rst:652 +#: whatsnew/3.9.rst:650 msgid "" "Added a new :attr:`random.Random.randbytes` method: generate random bytes. " "(Contributed by Victor Stinner in :issue:`40286`.)" msgstr "" -#: whatsnew/3.9.rst:656 +#: whatsnew/3.9.rst:654 msgid "signal" msgstr "" -#: whatsnew/3.9.rst:658 +#: whatsnew/3.9.rst:656 msgid "" "Exposed the Linux-specific :func:`signal.pidfd_send_signal` for sending to " "signals to a process using a file descriptor instead of a pid. (:issue:" "`38712`)" msgstr "" -#: whatsnew/3.9.rst:662 +#: whatsnew/3.9.rst:660 msgid "smtplib" msgstr "" -#: whatsnew/3.9.rst:664 +#: whatsnew/3.9.rst:662 msgid "" ":class:`~smtplib.SMTP` and :class:`~smtplib.SMTP_SSL` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -993,41 +977,41 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:668 +#: whatsnew/3.9.rst:666 msgid "" ":class:`~smtplib.LMTP` constructor now has an optional *timeout* parameter. " "(Contributed by Dong-hee Na in :issue:`39329`.)" msgstr "" -#: whatsnew/3.9.rst:672 +#: whatsnew/3.9.rst:670 msgid "socket" msgstr "" -#: whatsnew/3.9.rst:674 +#: whatsnew/3.9.rst:672 msgid "" "The :mod:`socket` module now exports the :data:`~socket." "CAN_RAW_JOIN_FILTERS` constant on Linux 4.1 and greater. (Contributed by " "Stefan Tatschner and Zackery Spytz in :issue:`25780`.)" msgstr "" -#: whatsnew/3.9.rst:678 +#: whatsnew/3.9.rst:676 msgid "" "The socket module now supports the :data:`~socket.CAN_J1939` protocol on " "platforms that support it. (Contributed by Karl Ding in :issue:`40291`.)" msgstr "" -#: whatsnew/3.9.rst:681 +#: whatsnew/3.9.rst:679 msgid "" "The socket module now has the :func:`socket.send_fds` and :func:`socket." "recv_fds` functions. (Contributed by Joannah Nanjekye, Shinya Okano and " "Victor Stinner in :issue:`28724`.)" msgstr "" -#: whatsnew/3.9.rst:687 +#: whatsnew/3.9.rst:685 msgid "time" msgstr "" -#: whatsnew/3.9.rst:689 +#: whatsnew/3.9.rst:687 msgid "" "On AIX, :func:`~time.thread_time` is now implemented with " "``thread_cputime()`` which has nanosecond resolution, rather than " @@ -1035,11 +1019,11 @@ msgid "" "(Contributed by Batuhan Taskaya in :issue:`40192`)" msgstr "" -#: whatsnew/3.9.rst:695 +#: whatsnew/3.9.rst:693 msgid "sys" msgstr "" -#: whatsnew/3.9.rst:697 +#: whatsnew/3.9.rst:695 msgid "" "Added a new :attr:`sys.platlibdir` attribute: name of the platform-specific " "library directory. It is used to build the path of standard library and the " @@ -1049,29 +1033,29 @@ msgid "" "and Victor Stinner in :issue:`1294959`.)" msgstr "" -#: whatsnew/3.9.rst:703 +#: whatsnew/3.9.rst:701 msgid "" "Previously, :attr:`sys.stderr` was block-buffered when non-interactive. Now " "``stderr`` defaults to always being line-buffered. (Contributed by Jendrik " "Seipp in :issue:`13601`.)" msgstr "" -#: whatsnew/3.9.rst:708 +#: whatsnew/3.9.rst:706 msgid "tracemalloc" msgstr "" -#: whatsnew/3.9.rst:710 +#: whatsnew/3.9.rst:708 msgid "" "Added :func:`tracemalloc.reset_peak` to set the peak size of traced memory " "blocks to the current size, to measure the peak of specific pieces of code. " "(Contributed by Huon Wilson in :issue:`40630`.)" msgstr "" -#: whatsnew/3.9.rst:1498 +#: whatsnew/3.9.rst:1496 msgid "typing" msgstr "" -#: whatsnew/3.9.rst:717 +#: whatsnew/3.9.rst:715 msgid "" ":pep:`593` introduced an :data:`typing.Annotated` type to decorate existing " "types with context-specific metadata and new ``include_extras`` parameter " @@ -1079,20 +1063,20 @@ msgid "" "(Contributed by Till Varoquaux and Konstantin Kashin.)" msgstr "" -#: whatsnew/3.9.rst:723 +#: whatsnew/3.9.rst:721 msgid "unicodedata" msgstr "" -#: whatsnew/3.9.rst:725 +#: whatsnew/3.9.rst:723 msgid "" "The Unicode database has been updated to version 13.0.0. (:issue:`39926`)." msgstr "" -#: whatsnew/3.9.rst:728 +#: whatsnew/3.9.rst:726 msgid "venv" msgstr "" -#: whatsnew/3.9.rst:730 +#: whatsnew/3.9.rst:728 msgid "" "The activation scripts provided by :mod:`venv` now all specify their prompt " "customization consistently by always using the value specified by " @@ -1102,11 +1086,11 @@ msgid "" "Cannon in :issue:`37663`.)" msgstr "" -#: whatsnew/3.9.rst:738 +#: whatsnew/3.9.rst:736 msgid "xml" msgstr "" -#: whatsnew/3.9.rst:740 +#: whatsnew/3.9.rst:738 msgid "" "White space characters within attributes are now preserved when serializing :" "mod:`xml.etree.ElementTree` to XML file. EOLNs are no longer normalized to " @@ -1114,32 +1098,32 @@ msgid "" "2.11 of XML spec. (Contributed by Mefistotelis in :issue:`39011`.)" msgstr "" -#: whatsnew/3.9.rst:748 +#: whatsnew/3.9.rst:746 msgid "Optimizations" msgstr "" -#: whatsnew/3.9.rst:750 +#: whatsnew/3.9.rst:748 msgid "" "Optimized the idiom for assignment a temporary variable in comprehensions. " "Now ``for y in [expr]`` in comprehensions is as fast as a simple assignment " "``y = expr``. For example:" msgstr "" -#: whatsnew/3.9.rst:754 +#: whatsnew/3.9.rst:752 msgid "sums = [s for s in [0] for x in data for s in [s + x]]" msgstr "" -#: whatsnew/3.9.rst:756 +#: whatsnew/3.9.rst:754 msgid "" "Unlike the ``:=`` operator this idiom does not leak a variable to the outer " "scope." msgstr "" -#: whatsnew/3.9.rst:759 +#: whatsnew/3.9.rst:757 msgid "(Contributed by Serhiy Storchaka in :issue:`32856`.)" msgstr "" -#: whatsnew/3.9.rst:761 +#: whatsnew/3.9.rst:759 msgid "" "Optimized signal handling in multithreaded applications. If a thread " "different than the main thread gets a signal, the bytecode evaluation loop " @@ -1148,27 +1132,27 @@ msgid "" "interpreter can handle signals." msgstr "" -#: whatsnew/3.9.rst:767 +#: whatsnew/3.9.rst:765 msgid "" "Previously, the bytecode evaluation loop was interrupted at each instruction " "until the main thread handles signals. (Contributed by Victor Stinner in :" "issue:`40010`.)" msgstr "" -#: whatsnew/3.9.rst:771 +#: whatsnew/3.9.rst:769 msgid "" "Optimized the :mod:`subprocess` module on FreeBSD using ``closefrom()``. " "(Contributed by Ed Maste, Conrad Meyer, Kyle Evans, Kubilay Kocak and Victor " "Stinner in :issue:`38061`.)" msgstr "" -#: whatsnew/3.9.rst:775 +#: whatsnew/3.9.rst:773 msgid "" ":c:func:`PyLong_FromDouble` is now up to 1.87x faster for values that fit " "into :c:expr:`long`. (Contributed by Sergey Fedoseev in :issue:`37986`.)" msgstr "" -#: whatsnew/3.9.rst:779 +#: whatsnew/3.9.rst:777 msgid "" "A number of Python builtins (:class:`range`, :class:`tuple`, :class:`set`, :" "class:`frozenset`, :class:`list`, :class:`dict`) are now sped up by using :" @@ -1176,14 +1160,14 @@ msgid "" "Jeroen Demeyer and Petr Viktorin in :issue:`37207`.)" msgstr "" -#: whatsnew/3.9.rst:784 +#: whatsnew/3.9.rst:782 msgid "" "Optimized :func:`~set.difference_update` for the case when the other set is " "much larger than the base set. (Suggested by Evgeny Kapun with code " "contributed by Michele Orrù in :issue:`8425`.)" msgstr "" -#: whatsnew/3.9.rst:788 +#: whatsnew/3.9.rst:786 msgid "" "Python's small object allocator (``obmalloc.c``) now allows (no more than) " "one empty arena to remain available for immediate reuse, without returning " @@ -1192,26 +1176,26 @@ msgid "" "in :issue:`37257`.)" msgstr "" -#: whatsnew/3.9.rst:794 +#: whatsnew/3.9.rst:792 msgid "" ":term:`floor division` of float operation now has a better performance. Also " "the message of :exc:`ZeroDivisionError` for this operation is updated. " "(Contributed by Dong-hee Na in :issue:`39434`.)" msgstr "" -#: whatsnew/3.9.rst:798 +#: whatsnew/3.9.rst:796 msgid "" "Decoding short ASCII strings with UTF-8 and ascii codecs is now about 15% " "faster. (Contributed by Inada Naoki in :issue:`37348`.)" msgstr "" -#: whatsnew/3.9.rst:801 +#: whatsnew/3.9.rst:799 msgid "" "Here's a summary of performance improvements from Python 3.4 through Python " "3.9:" msgstr "" -#: whatsnew/3.9.rst:848 +#: whatsnew/3.9.rst:846 msgid "" "These results were generated from the variable access benchmark script at: " "``Tools/scripts/var_access_benchmark.py``. The benchmark script displays " @@ -1222,18 +1206,18 @@ msgid "" "python.org/downloads/mac-osx/>`_." msgstr "" -#: whatsnew/3.9.rst:858 +#: whatsnew/3.9.rst:856 msgid "Deprecated" msgstr "" -#: whatsnew/3.9.rst:860 +#: whatsnew/3.9.rst:858 msgid "" "The distutils ``bdist_msi`` command is now deprecated, use ``bdist_wheel`` " "(wheel packages) instead. (Contributed by Hugo van Kemenade in :issue:" "`39586`.)" msgstr "" -#: whatsnew/3.9.rst:864 +#: whatsnew/3.9.rst:862 msgid "" "Currently :func:`math.factorial` accepts :class:`float` instances with non-" "negative integer values (like ``5.0``). It raises a :exc:`ValueError` for " @@ -1242,7 +1226,7 @@ msgid "" "Serhiy Storchaka in :issue:`37315`.)" msgstr "" -#: whatsnew/3.9.rst:870 +#: whatsnew/3.9.rst:868 msgid "" "The :mod:`parser` and :mod:`symbol` modules are deprecated and will be " "removed in future versions of Python. For the majority of use cases, users " @@ -1250,7 +1234,7 @@ msgid "" "stage, using the :mod:`ast` module." msgstr "" -#: whatsnew/3.9.rst:875 +#: whatsnew/3.9.rst:873 msgid "" "The Public C API functions :c:func:`PyParser_SimpleParseStringFlags`, :c:" "func:`PyParser_SimpleParseStringFlagsFilename`, :c:func:" @@ -1258,7 +1242,7 @@ msgid "" "and will be removed in Python 3.10 together with the old parser." msgstr "" -#: whatsnew/3.9.rst:880 +#: whatsnew/3.9.rst:878 msgid "" "Using :data:`NotImplemented` in a boolean context has been deprecated, as it " "is almost exclusively the result of incorrect rich comparator " @@ -1266,7 +1250,7 @@ msgid "" "Python. (Contributed by Josh Rosenberg in :issue:`35712`.)" msgstr "" -#: whatsnew/3.9.rst:886 +#: whatsnew/3.9.rst:884 msgid "" "The :mod:`random` module currently accepts any hashable type as a possible " "seed value. Unfortunately, some of those types are not guaranteed to have a " @@ -1275,7 +1259,7 @@ msgid "" "`bytes`, and :class:`bytearray`." msgstr "" -#: whatsnew/3.9.rst:892 +#: whatsnew/3.9.rst:890 msgid "" "Opening the :class:`~gzip.GzipFile` file for writing without specifying the " "*mode* argument is deprecated. In future Python versions it will always be " @@ -1284,39 +1268,39 @@ msgid "" "issue:`28286`.)" msgstr "" -#: whatsnew/3.9.rst:898 +#: whatsnew/3.9.rst:896 msgid "" "Deprecated the ``split()`` method of :class:`_tkinter.TkappType` in favour " "of the ``splitlist()`` method which has more consistent and predicable " "behavior. (Contributed by Serhiy Storchaka in :issue:`38371`.)" msgstr "" -#: whatsnew/3.9.rst:903 +#: whatsnew/3.9.rst:901 msgid "" "The explicit passing of coroutine objects to :func:`asyncio.wait` has been " "deprecated and will be removed in version 3.11. (Contributed by Yury " "Selivanov and Kyle Stanley in :issue:`34790`.)" msgstr "" -#: whatsnew/3.9.rst:907 +#: whatsnew/3.9.rst:905 msgid "" "binhex4 and hexbin4 standards are now deprecated. The :mod:`binhex` module " "and the following :mod:`binascii` functions are now deprecated:" msgstr "" -#: whatsnew/3.9.rst:910 +#: whatsnew/3.9.rst:908 msgid ":func:`~binascii.b2a_hqx`, :func:`~binascii.a2b_hqx`" msgstr "" -#: whatsnew/3.9.rst:911 +#: whatsnew/3.9.rst:909 msgid ":func:`~binascii.rlecode_hqx`, :func:`~binascii.rledecode_hqx`" msgstr "" -#: whatsnew/3.9.rst:913 +#: whatsnew/3.9.rst:911 msgid "(Contributed by Victor Stinner in :issue:`39353`.)" msgstr "" -#: whatsnew/3.9.rst:915 +#: whatsnew/3.9.rst:913 msgid "" ":mod:`ast` classes ``slice``, ``Index`` and ``ExtSlice`` are considered " "deprecated and will be removed in future Python versions. ``value`` itself " @@ -1325,7 +1309,7 @@ msgid "" "Storchaka in :issue:`34822`.)" msgstr "" -#: whatsnew/3.9.rst:921 +#: whatsnew/3.9.rst:919 msgid "" ":mod:`ast` classes ``Suite``, ``Param``, ``AugLoad`` and ``AugStore`` are " "considered deprecated and will be removed in future Python versions. They " @@ -1334,7 +1318,7 @@ msgid "" "`39969` and Serhiy Storchaka in :issue:`39988`.)" msgstr "" -#: whatsnew/3.9.rst:928 +#: whatsnew/3.9.rst:926 msgid "" "The :c:func:`PyEval_InitThreads` and :c:func:`PyEval_ThreadsInitialized` " "functions are now deprecated and will be removed in Python 3.11. Calling :c:" @@ -1343,20 +1327,20 @@ msgid "" "Stinner in :issue:`39877`.)" msgstr "" -#: whatsnew/3.9.rst:934 +#: whatsnew/3.9.rst:932 msgid "" "Passing ``None`` as the first argument to the :func:`shlex.split` function " "has been deprecated. (Contributed by Zackery Spytz in :issue:`33262`.)" msgstr "" -#: whatsnew/3.9.rst:937 +#: whatsnew/3.9.rst:935 msgid "" ":func:`smtpd.MailmanProxy` is now deprecated as it is unusable without an " "external module, ``mailman``. (Contributed by Samuel Colvin in :issue:" "`35800`.)" msgstr "" -#: whatsnew/3.9.rst:940 +#: whatsnew/3.9.rst:938 msgid "" "The :mod:`lib2to3` module now emits a :exc:`PendingDeprecationWarning`. " "Python 3.9 switched to a PEG parser (see :pep:`617`), and Python 3.10 may " @@ -1366,22 +1350,22 @@ msgid "" "`parso`_. (Contributed by Carl Meyer in :issue:`40360`.)" msgstr "" -#: whatsnew/3.9.rst:948 +#: whatsnew/3.9.rst:946 msgid "" "The *random* parameter of :func:`random.shuffle` has been deprecated. " "(Contributed by Raymond Hettinger in :issue:`40465`)" msgstr "" -#: whatsnew/3.9.rst:1412 +#: whatsnew/3.9.rst:1410 msgid "Removed" msgstr "" -#: whatsnew/3.9.rst:959 +#: whatsnew/3.9.rst:957 msgid "" "The erroneous version at :data:`unittest.mock.__version__` has been removed." msgstr "" -#: whatsnew/3.9.rst:961 +#: whatsnew/3.9.rst:959 msgid "" ":class:`nntplib.NNTP`: ``xpath()`` and ``xgtitle()`` methods have been " "removed. These methods are deprecated since Python 3.3. Generally, these " @@ -1391,14 +1375,14 @@ msgid "" "`39366`.)" msgstr "" -#: whatsnew/3.9.rst:968 +#: whatsnew/3.9.rst:966 msgid "" ":class:`array.array`: ``tostring()`` and ``fromstring()`` methods have been " "removed. They were aliases to ``tobytes()`` and ``frombytes()``, deprecated " "since Python 3.2. (Contributed by Victor Stinner in :issue:`38916`.)" msgstr "" -#: whatsnew/3.9.rst:973 +#: whatsnew/3.9.rst:971 msgid "" "The undocumented ``sys.callstats()`` function has been removed. Since Python " "3.7, it was deprecated and always returned :const:`None`. It required a " @@ -1406,7 +1390,7 @@ msgid "" "3.7. (Contributed by Victor Stinner in :issue:`37414`.)" msgstr "" -#: whatsnew/3.9.rst:978 +#: whatsnew/3.9.rst:976 msgid "" "The ``sys.getcheckinterval()`` and ``sys.setcheckinterval()`` functions have " "been removed. They were deprecated since Python 3.2. Use :func:`sys." @@ -1414,21 +1398,21 @@ msgid "" "by Victor Stinner in :issue:`37392`.)" msgstr "" -#: whatsnew/3.9.rst:983 +#: whatsnew/3.9.rst:981 msgid "" "The C function ``PyImport_Cleanup()`` has been removed. It was documented " "as: \"Empty the module table. For internal use only.\" (Contributed by " "Victor Stinner in :issue:`36710`.)" msgstr "" -#: whatsnew/3.9.rst:987 +#: whatsnew/3.9.rst:985 msgid "" "``_dummy_thread`` and ``dummy_threading`` modules have been removed. These " "modules were deprecated since Python 3.7 which requires threading support. " "(Contributed by Victor Stinner in :issue:`37312`.)" msgstr "" -#: whatsnew/3.9.rst:991 +#: whatsnew/3.9.rst:989 msgid "" "``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to " "``sunau.open()``, and ``wave.openfp()`` alias to :func:`wave.open()` have " @@ -1436,14 +1420,14 @@ msgid "" "Stinner in :issue:`37320`.)" msgstr "" -#: whatsnew/3.9.rst:996 +#: whatsnew/3.9.rst:994 msgid "" "The :meth:`~threading.Thread.isAlive()` method of :class:`threading.Thread` " "has been removed. It was deprecated since Python 3.8. Use :meth:`~threading." "Thread.is_alive()` instead. (Contributed by Dong-hee Na in :issue:`37804`.)" msgstr "" -#: whatsnew/3.9.rst:1001 +#: whatsnew/3.9.rst:999 msgid "" "Methods ``getchildren()`` and ``getiterator()`` of classes :class:`~xml." "etree.ElementTree.ElementTree` and :class:`~xml.etree.ElementTree.Element` " @@ -1453,7 +1437,7 @@ msgid "" "getiterator()``. (Contributed by Serhiy Storchaka in :issue:`36543`.)" msgstr "" -#: whatsnew/3.9.rst:1009 +#: whatsnew/3.9.rst:1007 msgid "" "The old :mod:`plistlib` API has been removed, it was deprecated since Python " "3.4. Use the :func:`~plistlib.load`, :func:`~plistlib.loads`, :func:" @@ -1462,7 +1446,7 @@ msgid "" "are always used instead. (Contributed by Jon Janzen in :issue:`36409`.)" msgstr "" -#: whatsnew/3.9.rst:1015 +#: whatsnew/3.9.rst:1013 msgid "" "The C function ``PyGen_NeedsFinalizing`` has been removed. It was not " "documented, tested, or used anywhere within CPython after the implementation " @@ -1470,7 +1454,7 @@ msgid "" "in :issue:`15088`)" msgstr "" -#: whatsnew/3.9.rst:1020 +#: whatsnew/3.9.rst:1018 msgid "" "``base64.encodestring()`` and ``base64.decodestring()``, aliases deprecated " "since Python 3.1, have been removed: use :func:`base64.encodebytes` and :" @@ -1478,14 +1462,14 @@ msgid "" "`39351`.)" msgstr "" -#: whatsnew/3.9.rst:1025 +#: whatsnew/3.9.rst:1023 msgid "" "``fractions.gcd()`` function has been removed, it was deprecated since " "Python 3.5 (:issue:`22486`): use :func:`math.gcd` instead. (Contributed by " "Victor Stinner in :issue:`39350`.)" msgstr "" -#: whatsnew/3.9.rst:1029 +#: whatsnew/3.9.rst:1027 msgid "" "The *buffering* parameter of :class:`bz2.BZ2File` has been removed. Since " "Python 3.0, it was ignored and using it emitted a :exc:`DeprecationWarning`. " @@ -1493,7 +1477,7 @@ msgid "" "Victor Stinner in :issue:`39357`.)" msgstr "" -#: whatsnew/3.9.rst:1034 +#: whatsnew/3.9.rst:1032 msgid "" "The *encoding* parameter of :func:`json.loads` has been removed. As of " "Python 3.1, it was deprecated and ignored; using it has emitted a :exc:" @@ -1501,7 +1485,7 @@ msgid "" "`39377`)" msgstr "" -#: whatsnew/3.9.rst:1039 +#: whatsnew/3.9.rst:1037 msgid "" "``with (await asyncio.lock):`` and ``with (yield from asyncio.lock):`` " "statements are not longer supported, use ``async with lock`` instead. The " @@ -1509,7 +1493,7 @@ msgid "" "(Contributed by Andrew Svetlov in :issue:`34793`.)" msgstr "" -#: whatsnew/3.9.rst:1044 +#: whatsnew/3.9.rst:1042 msgid "" "The :func:`sys.getcounts` function, the ``-X showalloccount`` command line " "option and the ``show_alloc_count`` field of the C structure :c:type:" @@ -1518,7 +1502,7 @@ msgid "" "`39489`.)" msgstr "" -#: whatsnew/3.9.rst:1050 +#: whatsnew/3.9.rst:1048 msgid "" "The ``_field_types`` attribute of the :class:`typing.NamedTuple` class has " "been removed. It was deprecated since Python 3.8. Use the " @@ -1526,14 +1510,14 @@ msgid "" "issue:`40182`.)" msgstr "" -#: whatsnew/3.9.rst:1055 +#: whatsnew/3.9.rst:1053 msgid "" "The :meth:`symtable.SymbolTable.has_exec` method has been removed. It was " "deprecated since 2006, and only returning ``False`` when it's called. " "(Contributed by Batuhan Taskaya in :issue:`40208`)" msgstr "" -#: whatsnew/3.9.rst:1059 +#: whatsnew/3.9.rst:1057 msgid "" "The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks` " "have been removed. They were deprecated since Python 3.7 and you can use :" @@ -1541,7 +1525,7 @@ msgid "" "(Contributed by Rémi Lapeyre in :issue:`40967`)" msgstr "" -#: whatsnew/3.9.rst:1064 +#: whatsnew/3.9.rst:1062 msgid "" "The ``unescape()`` method in the :class:`html.parser.HTMLParser` class has " "been removed (it was deprecated since Python 3.4). :func:`html.unescape` " @@ -1549,21 +1533,21 @@ msgid "" "unicode characters." msgstr "" -#: whatsnew/3.9.rst:1338 +#: whatsnew/3.9.rst:1336 msgid "Porting to Python 3.9" msgstr "" -#: whatsnew/3.9.rst:1073 +#: whatsnew/3.9.rst:1071 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.9.rst:1078 +#: whatsnew/3.9.rst:1076 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.9.rst:1080 +#: whatsnew/3.9.rst:1078 msgid "" ":func:`__import__` and :func:`importlib.util.resolve_name` now raise :exc:" "`ImportError` where it previously raised :exc:`ValueError`. Callers catching " @@ -1571,26 +1555,26 @@ msgid "" "versions will need to catch both using ``except (ImportError, ValueError):``." msgstr "" -#: whatsnew/3.9.rst:1085 +#: whatsnew/3.9.rst:1083 msgid "" "The :mod:`venv` activation scripts no longer special-case when " "``__VENV_PROMPT__`` is set to ``\"\"``." msgstr "" -#: whatsnew/3.9.rst:1088 +#: whatsnew/3.9.rst:1086 msgid "" "The :meth:`select.epoll.unregister` method no longer ignores the :data:" "`~errno.EBADF` error. (Contributed by Victor Stinner in :issue:`39239`.)" msgstr "" -#: whatsnew/3.9.rst:1092 +#: whatsnew/3.9.rst:1090 msgid "" "The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only, " "since the *buffering* parameter has been removed. (Contributed by Victor " "Stinner in :issue:`39357`.)" msgstr "" -#: whatsnew/3.9.rst:1096 +#: whatsnew/3.9.rst:1094 msgid "" "Simplified AST for subscription. Simple indices will be represented by their " "value, extended slices will be represented as tuples. ``Index(value)`` will " @@ -1598,21 +1582,21 @@ msgid "" "Load())``. (Contributed by Serhiy Storchaka in :issue:`34822`.)" msgstr "" -#: whatsnew/3.9.rst:1102 +#: whatsnew/3.9.rst:1100 msgid "" "The :mod:`importlib` module now ignores the :envvar:`PYTHONCASEOK` " "environment variable when the :option:`-E` or :option:`-I` command line " "options are being used." msgstr "" -#: whatsnew/3.9.rst:1106 +#: whatsnew/3.9.rst:1104 msgid "" "The *encoding* parameter has been added to the classes :class:`ftplib.FTP` " "and :class:`ftplib.FTP_TLS` as a keyword-only parameter, and the default " "encoding is changed from Latin-1 to UTF-8 to follow :rfc:`2640`." msgstr "" -#: whatsnew/3.9.rst:1110 +#: whatsnew/3.9.rst:1108 msgid "" ":meth:`asyncio.loop.shutdown_default_executor` has been added to :class:" "`~asyncio.AbstractEventLoop`, meaning alternative event loops that inherit " @@ -1620,7 +1604,7 @@ msgid "" "issue:`34037`.)" msgstr "" -#: whatsnew/3.9.rst:1115 +#: whatsnew/3.9.rst:1113 msgid "" "The constant values of future flags in the :mod:`__future__` module is " "updated in order to prevent collision with compiler flags. Previously " @@ -1628,7 +1612,7 @@ msgid "" "(Contributed by Batuhan Taskaya in :issue:`39562`)" msgstr "" -#: whatsnew/3.9.rst:1120 +#: whatsnew/3.9.rst:1118 msgid "" "``array('u')`` now uses ``wchar_t`` as C type instead of ``Py_UNICODE``. " "This change doesn't affect to its behavior because ``Py_UNICODE`` is alias " @@ -1636,7 +1620,7 @@ msgid "" "`34538`.)" msgstr "" -#: whatsnew/3.9.rst:1125 +#: whatsnew/3.9.rst:1123 msgid "" "The :func:`logging.getLogger` API now returns the root logger when passed " "the name ``'root'``, whereas previously it returned a non-root logger named " @@ -1646,7 +1630,7 @@ msgid "" "(Contributed by Vinay Sajip in :issue:`37742`.)" msgstr "" -#: whatsnew/3.9.rst:1132 +#: whatsnew/3.9.rst:1130 msgid "" "Division handling of :class:`~pathlib.PurePath` now returns " "``NotImplemented`` instead of raising a :exc:`TypeError` when passed " @@ -1655,7 +1639,7 @@ msgid "" "mentioned types. (Contributed by Roger Aiudi in :issue:`34775`)." msgstr "" -#: whatsnew/3.9.rst:1138 +#: whatsnew/3.9.rst:1136 msgid "" "Starting with Python 3.9.5 the :mod:`ipaddress` module no longer accepts any " "leading zeros in IPv4 address strings. Leading zeros are ambiguous and " @@ -1665,7 +1649,7 @@ msgid "" "leading zeros. (Contributed by Christian Heimes in :issue:`36384`)." msgstr "" -#: whatsnew/3.9.rst:1146 +#: whatsnew/3.9.rst:1144 msgid "" ":func:`codecs.lookup` now normalizes the encoding name the same way as :func:" "`encodings.normalize_encoding`, except that :func:`codecs.lookup` also " @@ -1674,11 +1658,11 @@ msgid "" "in :issue:`37751`.)" msgstr "" -#: whatsnew/3.9.rst:1154 +#: whatsnew/3.9.rst:1152 msgid "Changes in the C API" msgstr "" -#: whatsnew/3.9.rst:1156 +#: whatsnew/3.9.rst:1154 msgid "" "Instances of :ref:`heap-allocated types ` (such as those created " "with :c:func:`PyType_FromSpec` and similar APIs) hold a reference to their " @@ -1689,7 +1673,7 @@ msgid "" "heap-allocated types visit the object's type." msgstr "" -#: whatsnew/3.9.rst:1177 +#: whatsnew/3.9.rst:1175 msgid "" "If your traverse function delegates to ``tp_traverse`` of its base class (or " "another type), ensure that ``Py_TYPE(self)`` is visited only once. Note that " @@ -1697,19 +1681,19 @@ msgid "" "``tp_traverse``." msgstr "" -#: whatsnew/3.9.rst:1182 +#: whatsnew/3.9.rst:1180 msgid "For example, if your ``tp_traverse`` function includes:" msgstr "" -#: whatsnew/3.9.rst:1188 +#: whatsnew/3.9.rst:1186 msgid "then add:" msgstr "" -#: whatsnew/3.9.rst:1201 +#: whatsnew/3.9.rst:1199 msgid "(See :issue:`35810` and :issue:`40217` for more information.)" msgstr "" -#: whatsnew/3.9.rst:1203 +#: whatsnew/3.9.rst:1201 msgid "" "The functions ``PyEval_CallObject``, ``PyEval_CallFunction``, " "``PyEval_CallMethod`` and ``PyEval_CallObjectWithKeywords`` are deprecated. " @@ -1717,11 +1701,11 @@ msgid "" "issue:`29548`.)" msgstr "" -#: whatsnew/3.9.rst:1209 +#: whatsnew/3.9.rst:1207 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.9.rst:1211 +#: whatsnew/3.9.rst:1209 msgid "" "The :opcode:`LOAD_ASSERTION_ERROR` opcode was added for handling the :" "keyword:`assert` statement. Previously, the assert statement would not work " @@ -1729,37 +1713,37 @@ msgid "" "(Contributed by Zackery Spytz in :issue:`34880`.)" msgstr "" -#: whatsnew/3.9.rst:1216 +#: whatsnew/3.9.rst:1214 msgid "" "The :opcode:`COMPARE_OP` opcode was split into four distinct instructions:" msgstr "" -#: whatsnew/3.9.rst:1218 +#: whatsnew/3.9.rst:1216 msgid "``COMPARE_OP`` for rich comparisons" msgstr "" -#: whatsnew/3.9.rst:1219 +#: whatsnew/3.9.rst:1217 msgid "``IS_OP`` for 'is' and 'is not' tests" msgstr "" -#: whatsnew/3.9.rst:1220 +#: whatsnew/3.9.rst:1218 msgid "``CONTAINS_OP`` for 'in' and 'not in' tests" msgstr "" -#: whatsnew/3.9.rst:1221 +#: whatsnew/3.9.rst:1219 msgid "" "``JUMP_IF_NOT_EXC_MATCH`` for checking exceptions in 'try-except' statements." msgstr "" -#: whatsnew/3.9.rst:1224 +#: whatsnew/3.9.rst:1222 msgid "(Contributed by Mark Shannon in :issue:`39156`.)" msgstr "" -#: whatsnew/3.9.rst:1228 +#: whatsnew/3.9.rst:1226 msgid "Build Changes" msgstr "" -#: whatsnew/3.9.rst:1230 +#: whatsnew/3.9.rst:1228 msgid "" "Added ``--with-platlibdir`` option to the ``configure`` script: name of the " "platform-specific library directory, stored in the new :attr:`sys." @@ -1768,26 +1752,26 @@ msgid "" "and Victor Stinner in :issue:`1294959`.)" msgstr "" -#: whatsnew/3.9.rst:1236 +#: whatsnew/3.9.rst:1234 msgid "" "The ``COUNT_ALLOCS`` special build macro has been removed. (Contributed by " "Victor Stinner in :issue:`39489`.)" msgstr "" -#: whatsnew/3.9.rst:1239 +#: whatsnew/3.9.rst:1237 msgid "" "On non-Windows platforms, the :c:func:`setenv` and :c:func:`unsetenv` " "functions are now required to build Python. (Contributed by Victor Stinner " "in :issue:`39395`.)" msgstr "" -#: whatsnew/3.9.rst:1243 +#: whatsnew/3.9.rst:1241 msgid "" "On non-Windows platforms, creating ``bdist_wininst`` installers is now " "officially unsupported. (See :issue:`10945` for more details.)" msgstr "" -#: whatsnew/3.9.rst:1246 +#: whatsnew/3.9.rst:1244 msgid "" "When building Python on macOS from source, ``_tkinter`` now links with non-" "system Tcl and Tk frameworks if they are installed in ``/Library/" @@ -1798,13 +1782,13 @@ msgid "" "libs`. (Contributed by Ned Deily in :issue:`34956`.)" msgstr "" -#: whatsnew/3.9.rst:1255 +#: whatsnew/3.9.rst:1253 msgid "" "Python can now be built for Windows 10 ARM64. (Contributed by Steve Dower " "in :issue:`33125`.)" msgstr "" -#: whatsnew/3.9.rst:1258 +#: whatsnew/3.9.rst:1256 msgid "" "Some individual tests are now skipped when ``--pgo`` is used. The tests in " "question increased the PGO task time significantly and likely didn't help " @@ -1820,11 +1804,11 @@ msgid "" "details.)" msgstr "" -#: whatsnew/3.9.rst:1273 +#: whatsnew/3.9.rst:1271 msgid "C API Changes" msgstr "" -#: whatsnew/3.9.rst:1278 +#: whatsnew/3.9.rst:1276 msgid "" ":pep:`573`: Added :c:func:`PyType_FromModuleAndSpec` to associate a module " "with a class; :c:func:`PyType_GetModule` and :c:func:`PyType_GetModuleState` " @@ -1833,20 +1817,20 @@ msgid "" "(Contributed by Marcel Plch and Petr Viktorin in :issue:`38787`.)" msgstr "" -#: whatsnew/3.9.rst:1285 +#: whatsnew/3.9.rst:1283 msgid "" "Added :c:func:`PyFrame_GetCode` function: get a frame code. Added :c:func:" "`PyFrame_GetBack` function: get the frame next outer frame. (Contributed by " "Victor Stinner in :issue:`40421`.)" msgstr "" -#: whatsnew/3.9.rst:1289 +#: whatsnew/3.9.rst:1287 msgid "" "Added :c:func:`PyFrame_GetLineNumber` to the limited C API. (Contributed by " "Victor Stinner in :issue:`40421`.)" msgstr "" -#: whatsnew/3.9.rst:1292 +#: whatsnew/3.9.rst:1290 msgid "" "Added :c:func:`PyThreadState_GetInterpreter` and :c:func:" "`PyInterpreterState_Get` functions to get the interpreter. Added :c:func:" @@ -1856,7 +1840,7 @@ msgid "" "issue:`39947`.)" msgstr "" -#: whatsnew/3.9.rst:1300 +#: whatsnew/3.9.rst:1298 msgid "" "Added a new public :c:func:`PyObject_CallNoArgs` function to the C API, " "which calls a callable Python object without any arguments. It is the most " @@ -1864,11 +1848,11 @@ msgid "" "(Contributed by Victor Stinner in :issue:`37194`.)" msgstr "" -#: whatsnew/3.9.rst:1423 +#: whatsnew/3.9.rst:1421 msgid "Changes in the limited C API (if ``Py_LIMITED_API`` macro is defined):" msgstr "" -#: whatsnew/3.9.rst:1307 +#: whatsnew/3.9.rst:1305 msgid "" "Provide :c:func:`Py_EnterRecursiveCall` and :c:func:`Py_LeaveRecursiveCall` " "as regular functions for the limited API. Previously, there were defined as " @@ -1877,23 +1861,23 @@ msgid "" "the limited C API)." msgstr "" -#: whatsnew/3.9.rst:1313 +#: whatsnew/3.9.rst:1311 msgid "" "``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular \"opaque\" " "function to hide implementation details." msgstr "" -#: whatsnew/3.9.rst:1450 +#: whatsnew/3.9.rst:1448 msgid "(Contributed by Victor Stinner in :issue:`38644` and :issue:`39542`.)" msgstr "" -#: whatsnew/3.9.rst:1318 +#: whatsnew/3.9.rst:1316 msgid "" "The :c:func:`PyModule_AddType` function is added to help adding a type to a " "module. (Contributed by Dong-hee Na in :issue:`40024`.)" msgstr "" -#: whatsnew/3.9.rst:1322 +#: whatsnew/3.9.rst:1320 msgid "" "Added the functions :c:func:`PyObject_GC_IsTracked` and :c:func:" "`PyObject_GC_IsFinalized` to the public API to allow to query if Python " @@ -1902,27 +1886,27 @@ msgid "" "issue:`40241`.)" msgstr "" -#: whatsnew/3.9.rst:1328 +#: whatsnew/3.9.rst:1326 msgid "" "Added :c:func:`_PyObject_FunctionStr` to get a user-friendly string " "representation of a function-like object. (Patch by Jeroen Demeyer in :issue:" "`37645`.)" msgstr "" -#: whatsnew/3.9.rst:1332 +#: whatsnew/3.9.rst:1330 msgid "" "Added :c:func:`PyObject_CallOneArg` for calling an object with one " "positional argument (Patch by Jeroen Demeyer in :issue:`37483`.)" msgstr "" -#: whatsnew/3.9.rst:1340 +#: whatsnew/3.9.rst:1338 msgid "" "``PyInterpreterState.eval_frame`` (:pep:`523`) now requires a new mandatory " "*tstate* parameter (``PyThreadState*``). (Contributed by Victor Stinner in :" "issue:`38500`.)" msgstr "" -#: whatsnew/3.9.rst:1344 +#: whatsnew/3.9.rst:1342 msgid "" "Extension modules: :c:member:`~PyModuleDef.m_traverse`, :c:member:" "`~PyModuleDef.m_clear` and :c:member:`~PyModuleDef.m_free` functions of :c:" @@ -1934,12 +1918,12 @@ msgid "" "`PyModule_GetState`) is ``NULL``." msgstr "" -#: whatsnew/3.9.rst:1353 +#: whatsnew/3.9.rst:1351 msgid "" "Extension modules without module state (``m_size <= 0``) are not affected." msgstr "" -#: whatsnew/3.9.rst:1355 +#: whatsnew/3.9.rst:1353 msgid "" "If :c:func:`Py_AddPendingCall` is called in a subinterpreter, the function " "is now scheduled to be called from the subinterpreter, rather than being " @@ -1947,7 +1931,7 @@ msgid "" "of scheduled calls. (Contributed by Victor Stinner in :issue:`39984`.)" msgstr "" -#: whatsnew/3.9.rst:1361 +#: whatsnew/3.9.rst:1359 msgid "" "The Windows registry is no longer used to initialize :data:`sys.path` when " "the ``-E`` option is used (if :c:member:`PyConfig.use_environment` is set to " @@ -1955,21 +1939,21 @@ msgid "" "by Zackery Spytz in :issue:`8901`.)" msgstr "" -#: whatsnew/3.9.rst:1366 +#: whatsnew/3.9.rst:1364 msgid "" "The global variable :c:data:`PyStructSequence_UnnamedField` is now a " "constant and refers to a constant string. (Contributed by Serhiy Storchaka " "in :issue:`38650`.)" msgstr "" -#: whatsnew/3.9.rst:1370 +#: whatsnew/3.9.rst:1368 msgid "" "The :c:type:`PyGC_Head` structure is now opaque. It is only defined in the " "internal C API (``pycore_gc.h``). (Contributed by Victor Stinner in :issue:" "`40241`.)" msgstr "" -#: whatsnew/3.9.rst:1374 +#: whatsnew/3.9.rst:1372 msgid "" "The ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, :c:" "func:`PyUnicode_FromUnicode`, :c:func:`PyUnicode_AsUnicode`, " @@ -1978,7 +1962,7 @@ msgid "" "Python 3.3. (Contributed by Inada Naoki in :issue:`36346`.)" msgstr "" -#: whatsnew/3.9.rst:1381 +#: whatsnew/3.9.rst:1379 msgid "" "The :c:func:`Py_FatalError` function is replaced with a macro which logs " "automatically the name of the current function, unless the " @@ -1986,22 +1970,22 @@ msgid "" "issue:`39882`.)" msgstr "" -#: whatsnew/3.9.rst:1386 +#: whatsnew/3.9.rst:1384 msgid "" "The vectorcall protocol now requires that the caller passes only strings as " "keyword names. (See :issue:`37540` for more information.)" msgstr "" -#: whatsnew/3.9.rst:1389 +#: whatsnew/3.9.rst:1387 msgid "" "Implementation details of a number of macros and functions are now hidden:" msgstr "" -#: whatsnew/3.9.rst:1391 +#: whatsnew/3.9.rst:1389 msgid ":c:func:`PyObject_IS_GC` macro was converted to a function." msgstr "" -#: whatsnew/3.9.rst:1393 +#: whatsnew/3.9.rst:1391 msgid "" "The :c:func:`PyObject_NEW` macro becomes an alias to the :c:func:" "`PyObject_New` macro, and the :c:func:`PyObject_NEW_VAR` macro becomes an " @@ -2009,38 +1993,38 @@ msgid "" "the :c:member:`PyTypeObject.tp_basicsize` member." msgstr "" -#: whatsnew/3.9.rst:1398 +#: whatsnew/3.9.rst:1396 msgid "" ":c:func:`PyObject_GET_WEAKREFS_LISTPTR` macro was converted to a function: " "the macro accessed directly the :c:member:`PyTypeObject.tp_weaklistoffset` " "member." msgstr "" -#: whatsnew/3.9.rst:1402 +#: whatsnew/3.9.rst:1400 msgid "" ":c:func:`PyObject_CheckBuffer` macro was converted to a function: the macro " "accessed directly the :c:member:`PyTypeObject.tp_as_buffer` member." msgstr "" -#: whatsnew/3.9.rst:1405 +#: whatsnew/3.9.rst:1403 msgid "" ":c:func:`PyIndex_Check` is now always declared as an opaque function to hide " "implementation details: removed the ``PyIndex_Check()`` macro. The macro " "accessed directly the :c:member:`PyTypeObject.tp_as_number` member." msgstr "" -#: whatsnew/3.9.rst:1409 +#: whatsnew/3.9.rst:1407 msgid "(See :issue:`40170` for more details.)" msgstr "" -#: whatsnew/3.9.rst:1414 +#: whatsnew/3.9.rst:1412 msgid "" "Excluded ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of " "``pyfpe.h`` from the limited C API. (Contributed by Victor Stinner in :issue:" "`38835`.)" msgstr "" -#: whatsnew/3.9.rst:1418 +#: whatsnew/3.9.rst:1416 msgid "" "The ``tp_print`` slot of :ref:`PyTypeObject ` has been " "removed. It was used for printing objects to files in Python 2.7 and before. " @@ -2048,89 +2032,89 @@ msgid "" "Demeyer in :issue:`36974`.)" msgstr "" -#: whatsnew/3.9.rst:1425 +#: whatsnew/3.9.rst:1423 msgid "Excluded the following functions from the limited C API:" msgstr "" -#: whatsnew/3.9.rst:1427 +#: whatsnew/3.9.rst:1425 msgid "" "``PyThreadState_DeleteCurrent()`` (Contributed by Joannah Nanjekye in :issue:" "`37878`.)" msgstr "" -#: whatsnew/3.9.rst:1429 +#: whatsnew/3.9.rst:1427 msgid "``_Py_CheckRecursionLimit``" msgstr "" -#: whatsnew/3.9.rst:1430 +#: whatsnew/3.9.rst:1428 msgid "``_Py_NewReference()``" msgstr "" -#: whatsnew/3.9.rst:1431 +#: whatsnew/3.9.rst:1429 msgid "``_Py_ForgetReference()``" msgstr "" -#: whatsnew/3.9.rst:1432 +#: whatsnew/3.9.rst:1430 msgid "``_PyTraceMalloc_NewReference()``" msgstr "" -#: whatsnew/3.9.rst:1433 +#: whatsnew/3.9.rst:1431 msgid "``_Py_GetRefTotal()``" msgstr "" -#: whatsnew/3.9.rst:1434 +#: whatsnew/3.9.rst:1432 msgid "The trashcan mechanism which never worked in the limited C API." msgstr "" -#: whatsnew/3.9.rst:1435 +#: whatsnew/3.9.rst:1433 msgid "``PyTrash_UNWIND_LEVEL``" msgstr "" -#: whatsnew/3.9.rst:1436 +#: whatsnew/3.9.rst:1434 msgid "``Py_TRASHCAN_BEGIN_CONDITION``" msgstr "" -#: whatsnew/3.9.rst:1437 +#: whatsnew/3.9.rst:1435 msgid "``Py_TRASHCAN_BEGIN``" msgstr "" -#: whatsnew/3.9.rst:1438 +#: whatsnew/3.9.rst:1436 msgid "``Py_TRASHCAN_END``" msgstr "" -#: whatsnew/3.9.rst:1439 +#: whatsnew/3.9.rst:1437 msgid "``Py_TRASHCAN_SAFE_BEGIN``" msgstr "" -#: whatsnew/3.9.rst:1440 +#: whatsnew/3.9.rst:1438 msgid "``Py_TRASHCAN_SAFE_END``" msgstr "" -#: whatsnew/3.9.rst:1442 +#: whatsnew/3.9.rst:1440 msgid "Moved following functions and definitions to the internal C API:" msgstr "" -#: whatsnew/3.9.rst:1444 +#: whatsnew/3.9.rst:1442 msgid "``_PyDebug_PrintTotalRefs()``" msgstr "" -#: whatsnew/3.9.rst:1445 +#: whatsnew/3.9.rst:1443 msgid "``_Py_PrintReferences()``" msgstr "" -#: whatsnew/3.9.rst:1446 +#: whatsnew/3.9.rst:1444 msgid "``_Py_PrintReferenceAddresses()``" msgstr "" -#: whatsnew/3.9.rst:1447 +#: whatsnew/3.9.rst:1445 msgid "``_Py_tracemalloc_config``" msgstr "" -#: whatsnew/3.9.rst:1448 +#: whatsnew/3.9.rst:1446 msgid "``_Py_AddToAllObjects()`` (specific to ``Py_TRACE_REFS`` build)" msgstr "" -#: whatsnew/3.9.rst:1452 +#: whatsnew/3.9.rst:1450 msgid "" "Removed ``_PyRuntime.getframe`` hook and removed ``_PyThreadState_GetFrame`` " "macro which was an alias to ``_PyRuntime.getframe``. They were only exposed " @@ -2138,72 +2122,72 @@ msgid "" "(Contributed by Victor Stinner in :issue:`39946`.)" msgstr "" -#: whatsnew/3.9.rst:1457 +#: whatsnew/3.9.rst:1455 msgid "" "Removed the following functions from the C API. Call :c:func:`PyGC_Collect` " "explicitly to clear all free lists. (Contributed by Inada Naoki and Victor " "Stinner in :issue:`37340`, :issue:`38896` and :issue:`40428`.)" msgstr "" -#: whatsnew/3.9.rst:1462 +#: whatsnew/3.9.rst:1460 msgid "``PyAsyncGen_ClearFreeLists()``" msgstr "" -#: whatsnew/3.9.rst:1463 +#: whatsnew/3.9.rst:1461 msgid "``PyContext_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1464 +#: whatsnew/3.9.rst:1462 msgid "``PyDict_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1465 +#: whatsnew/3.9.rst:1463 msgid "``PyFloat_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1466 +#: whatsnew/3.9.rst:1464 msgid "``PyFrame_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1467 +#: whatsnew/3.9.rst:1465 msgid "``PyList_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1468 +#: whatsnew/3.9.rst:1466 msgid "" "``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()``: the free " "lists of bound method objects have been removed." msgstr "" -#: whatsnew/3.9.rst:1470 +#: whatsnew/3.9.rst:1468 msgid "" "``PySet_ClearFreeList()``: the set free list has been removed in Python 3.4." msgstr "" -#: whatsnew/3.9.rst:1472 +#: whatsnew/3.9.rst:1470 msgid "``PyTuple_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1473 +#: whatsnew/3.9.rst:1471 msgid "" "``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in " "Python 3.3." msgstr "" -#: whatsnew/3.9.rst:1476 +#: whatsnew/3.9.rst:1474 msgid "" "Removed ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor " "Stinner in :issue:`39465`.)" msgstr "" -#: whatsnew/3.9.rst:1479 +#: whatsnew/3.9.rst:1477 msgid "" "Removed ``Py_UNICODE_MATCH``. It has been deprecated by :pep:`393`, and " "broken since Python 3.3. The :c:func:`PyUnicode_Tailmatch` function can be " "used instead. (Contributed by Inada Naoki in :issue:`36346`.)" msgstr "" -#: whatsnew/3.9.rst:1484 +#: whatsnew/3.9.rst:1482 msgid "" "Cleaned header files of interfaces defined but with no implementation. The " "public API symbols being removed are: " @@ -2216,26 +2200,26 @@ msgid "" "`39372`.)" msgstr "" -#: whatsnew/3.9.rst:1495 +#: whatsnew/3.9.rst:1493 msgid "Notable changes in Python 3.9.1" msgstr "" -#: whatsnew/3.9.rst:1500 +#: whatsnew/3.9.rst:1498 msgid "" "The behavior of :class:`typing.Literal` was changed to conform with :pep:" "`586` and to match the behavior of static type checkers specified in the PEP." msgstr "" -#: whatsnew/3.9.rst:1503 +#: whatsnew/3.9.rst:1501 msgid "``Literal`` now de-duplicates parameters." msgstr "" -#: whatsnew/3.9.rst:1504 +#: whatsnew/3.9.rst:1502 msgid "" "Equality comparisons between ``Literal`` objects are now order independent." msgstr "" -#: whatsnew/3.9.rst:1505 +#: whatsnew/3.9.rst:1503 msgid "" "``Literal`` comparisons now respect types. For example, ``Literal[0] == " "Literal[False]`` previously evaluated to ``True``. It is now ``False``. To " @@ -2243,7 +2227,7 @@ msgid "" "differentiating types." msgstr "" -#: whatsnew/3.9.rst:1509 +#: whatsnew/3.9.rst:1507 msgid "" "``Literal`` objects will now raise a :exc:`TypeError` exception during " "equality comparisons if any of their parameters are not :term:`hashable`. " @@ -2251,15 +2235,15 @@ msgid "" "error::" msgstr "" -#: whatsnew/3.9.rst:1521 +#: whatsnew/3.9.rst:1519 msgid "(Contributed by Yurii Karabas in :issue:`42345`.)" msgstr "" -#: whatsnew/3.9.rst:1524 +#: whatsnew/3.9.rst:1522 msgid "macOS 11.0 (Big Sur) and Apple Silicon Mac support" msgstr "" -#: whatsnew/3.9.rst:1526 +#: whatsnew/3.9.rst:1524 msgid "" "As of 3.9.1, Python now fully supports building and running on macOS 11.0 " "(Big Sur) and on Apple Silicon Macs (based on the ``ARM64`` architecture). A " @@ -2271,19 +2255,19 @@ msgid "" "version in use at runtime (\"weaklinking\")." msgstr "" -#: whatsnew/3.9.rst:1535 +#: whatsnew/3.9.rst:1533 msgid "(Contributed by Ronald Oussoren and Lawrence D'Anna in :issue:`41100`.)" msgstr "" -#: whatsnew/3.9.rst:1538 +#: whatsnew/3.9.rst:1536 msgid "Notable changes in Python 3.9.2" msgstr "" -#: whatsnew/3.9.rst:1541 +#: whatsnew/3.9.rst:1539 msgid "collections.abc" msgstr "" -#: whatsnew/3.9.rst:1543 +#: whatsnew/3.9.rst:1541 msgid "" ":class:`collections.abc.Callable` generic now flattens type parameters, " "similar to what :data:`typing.Callable` currently does. This means that " @@ -2299,11 +2283,11 @@ msgid "" "Python 3.10. (Contributed by Ken Jin in :issue:`42195`.)" msgstr "" -#: whatsnew/3.9.rst:1557 +#: whatsnew/3.9.rst:1555 msgid "urllib.parse" msgstr "" -#: whatsnew/3.9.rst:1559 +#: whatsnew/3.9.rst:1557 msgid "" "Earlier Python versions allowed using both ``;`` and ``&`` as query " "parameter separators in :func:`urllib.parse.parse_qs` and :func:`urllib." From 00ed31aa45543bfde90cb1d3146b1e71d9e4142d Mon Sep 17 00:00:00 2001 From: egeakman Date: Sun, 5 Feb 2023 02:54:46 +0300 Subject: [PATCH 2/2] Bump year --- about.po | 2 +- bugs.po | 2 +- c-api/abstract.po | 2 +- c-api/allocation.po | 2 +- c-api/apiabiversion.po | 2 +- c-api/arg.po | 2 +- c-api/bool.po | 2 +- c-api/buffer.po | 2 +- c-api/bytearray.po | 2 +- c-api/bytes.po | 2 +- c-api/call.po | 2 +- c-api/capsule.po | 2 +- c-api/cell.po | 2 +- c-api/code.po | 2 +- c-api/codec.po | 2 +- c-api/complex.po | 2 +- c-api/concrete.po | 2 +- c-api/contextvars.po | 2 +- c-api/conversion.po | 2 +- c-api/coro.po | 2 +- c-api/datetime.po | 2 +- c-api/descriptor.po | 2 +- c-api/dict.po | 2 +- c-api/exceptions.po | 2 +- c-api/file.po | 2 +- c-api/float.po | 2 +- c-api/function.po | 2 +- c-api/gcsupport.po | 2 +- c-api/gen.po | 2 +- c-api/import.po | 2 +- c-api/index.po | 2 +- c-api/init.po | 2 +- c-api/init_config.po | 2 +- c-api/intro.po | 2 +- c-api/iter.po | 2 +- c-api/iterator.po | 2 +- c-api/list.po | 2 +- c-api/long.po | 2 +- c-api/mapping.po | 2 +- c-api/marshal.po | 2 +- c-api/memory.po | 2 +- c-api/memoryview.po | 2 +- c-api/method.po | 2 +- c-api/module.po | 2 +- c-api/none.po | 2 +- c-api/number.po | 2 +- c-api/objbuffer.po | 2 +- c-api/object.po | 2 +- c-api/objimpl.po | 2 +- c-api/refcounting.po | 2 +- c-api/reflection.po | 2 +- c-api/sequence.po | 2 +- c-api/set.po | 2 +- c-api/slice.po | 2 +- c-api/stable.po | 2 +- c-api/structures.po | 2 +- c-api/sys.po | 2 +- c-api/tuple.po | 2 +- c-api/type.po | 2 +- c-api/typehints.po | 2 +- c-api/typeobj.po | 2 +- c-api/unicode.po | 2 +- c-api/utilities.po | 2 +- c-api/veryhigh.po | 2 +- c-api/weakref.po | 2 +- contents.po | 2 +- copyright.po | 5 ++--- distributing/index.po | 2 +- distutils/_setuptools_disclaimer.po | 2 +- distutils/apiref.po | 2 +- distutils/builtdist.po | 2 +- distutils/commandref.po | 2 +- distutils/configfile.po | 2 +- distutils/examples.po | 2 +- distutils/extending.po | 2 +- distutils/index.po | 2 +- distutils/introduction.po | 2 +- distutils/packageindex.po | 2 +- distutils/setupscript.po | 2 +- distutils/sourcedist.po | 2 +- distutils/uploading.po | 2 +- extending/building.po | 2 +- extending/embedding.po | 2 +- extending/extending.po | 2 +- extending/index.po | 2 +- extending/newtypes.po | 2 +- extending/newtypes_tutorial.po | 2 +- extending/windows.po | 2 +- faq/design.po | 2 +- faq/extending.po | 2 +- faq/general.po | 2 +- faq/gui.po | 2 +- faq/index.po | 2 +- faq/installed.po | 2 +- faq/library.po | 2 +- faq/programming.po | 2 +- faq/windows.po | 2 +- glossary.po | 2 +- howto/annotations.po | 2 +- howto/argparse.po | 2 +- howto/clinic.po | 2 +- howto/cporting.po | 2 +- howto/curses.po | 2 +- howto/descriptor.po | 2 +- howto/functional.po | 2 +- howto/index.po | 2 +- howto/instrumentation.po | 2 +- howto/ipaddress.po | 2 +- howto/logging-cookbook.po | 2 +- howto/logging.po | 2 +- howto/pyporting.po | 2 +- howto/regex.po | 2 +- howto/sockets.po | 2 +- howto/sorting.po | 2 +- howto/unicode.po | 2 +- howto/urllib2.po | 2 +- install/index.po | 2 +- installing/index.po | 2 +- library/2to3.po | 2 +- library/__future__.po | 2 +- library/__main__.po | 2 +- library/_thread.po | 2 +- library/abc.po | 2 +- library/aifc.po | 2 +- library/allos.po | 2 +- library/archiving.po | 2 +- library/argparse.po | 2 +- library/array.po | 2 +- library/ast.po | 2 +- library/asynchat.po | 2 +- library/asyncio-api-index.po | 2 +- library/asyncio-dev.po | 2 +- library/asyncio-eventloop.po | 2 +- library/asyncio-exceptions.po | 2 +- library/asyncio-future.po | 2 +- library/asyncio-llapi-index.po | 2 +- library/asyncio-platforms.po | 2 +- library/asyncio-policy.po | 2 +- library/asyncio-protocol.po | 2 +- library/asyncio-queue.po | 2 +- library/asyncio-stream.po | 2 +- library/asyncio-subprocess.po | 2 +- library/asyncio-sync.po | 2 +- library/asyncio-task.po | 2 +- library/asyncio.po | 2 +- library/asyncore.po | 2 +- library/atexit.po | 2 +- library/audioop.po | 2 +- library/audit_events.po | 2 +- library/base64.po | 2 +- library/bdb.po | 2 +- library/binary.po | 2 +- library/binascii.po | 2 +- library/binhex.po | 2 +- library/bisect.po | 2 +- library/builtins.po | 2 +- library/bz2.po | 2 +- library/calendar.po | 2 +- library/cgi.po | 2 +- library/cgitb.po | 2 +- library/chunk.po | 2 +- library/cmath.po | 2 +- library/cmd.po | 2 +- library/code.po | 2 +- library/codecs.po | 2 +- library/codeop.po | 2 +- library/collections.abc.po | 2 +- library/collections.po | 2 +- library/colorsys.po | 2 +- library/compileall.po | 2 +- library/concurrency.po | 2 +- library/concurrent.futures.po | 2 +- library/concurrent.po | 2 +- library/configparser.po | 2 +- library/constants.po | 2 +- library/contextlib.po | 2 +- library/contextvars.po | 2 +- library/copy.po | 2 +- library/copyreg.po | 2 +- library/crypt.po | 2 +- library/crypto.po | 2 +- library/csv.po | 2 +- library/ctypes.po | 2 +- library/curses.ascii.po | 2 +- library/curses.panel.po | 2 +- library/curses.po | 2 +- library/custominterp.po | 2 +- library/dataclasses.po | 2 +- library/datatypes.po | 2 +- library/datetime.po | 2 +- library/dbm.po | 2 +- library/debug.po | 2 +- library/decimal.po | 2 +- library/development.po | 2 +- library/devmode.po | 2 +- library/dialog.po | 2 +- library/difflib.po | 2 +- library/dis.po | 2 +- library/distribution.po | 2 +- library/distutils.po | 2 +- library/doctest.po | 2 +- library/email.charset.po | 2 +- library/email.compat32-message.po | 2 +- library/email.contentmanager.po | 2 +- library/email.encoders.po | 2 +- library/email.errors.po | 2 +- library/email.examples.po | 2 +- library/email.generator.po | 2 +- library/email.header.po | 2 +- library/email.headerregistry.po | 2 +- library/email.iterators.po | 2 +- library/email.message.po | 2 +- library/email.mime.po | 2 +- library/email.parser.po | 2 +- library/email.po | 2 +- library/email.policy.po | 2 +- library/email.utils.po | 2 +- library/ensurepip.po | 2 +- library/enum.po | 2 +- library/errno.po | 2 +- library/exceptions.po | 2 +- library/faulthandler.po | 2 +- library/fcntl.po | 2 +- library/filecmp.po | 2 +- library/fileformats.po | 2 +- library/fileinput.po | 2 +- library/filesys.po | 2 +- library/fnmatch.po | 2 +- library/fractions.po | 2 +- library/frameworks.po | 2 +- library/ftplib.po | 2 +- library/functional.po | 2 +- library/functions.po | 2 +- library/functools.po | 2 +- library/gc.po | 2 +- library/getopt.po | 2 +- library/getpass.po | 2 +- library/gettext.po | 2 +- library/glob.po | 2 +- library/graphlib.po | 2 +- library/grp.po | 2 +- library/gzip.po | 2 +- library/hashlib.po | 2 +- library/heapq.po | 2 +- library/hmac.po | 2 +- library/html.entities.po | 2 +- library/html.parser.po | 2 +- library/html.po | 2 +- library/http.client.po | 2 +- library/http.cookiejar.po | 2 +- library/http.cookies.po | 2 +- library/http.po | 2 +- library/http.server.po | 2 +- library/i18n.po | 2 +- library/idle.po | 2 +- library/imaplib.po | 2 +- library/imghdr.po | 2 +- library/imp.po | 2 +- library/importlib.metadata.po | 2 +- library/importlib.po | 2 +- library/index.po | 2 +- library/inspect.po | 2 +- library/internet.po | 2 +- library/intro.po | 2 +- library/io.po | 2 +- library/ipaddress.po | 2 +- library/ipc.po | 2 +- library/itertools.po | 2 +- library/json.po | 2 +- library/keyword.po | 2 +- library/language.po | 2 +- library/linecache.po | 2 +- library/locale.po | 2 +- library/logging.config.po | 2 +- library/logging.handlers.po | 2 +- library/logging.po | 2 +- library/lzma.po | 2 +- library/mailbox.po | 2 +- library/mailcap.po | 2 +- library/markup.po | 2 +- library/marshal.po | 2 +- library/math.po | 2 +- library/mimetypes.po | 2 +- library/mm.po | 2 +- library/mmap.po | 2 +- library/modulefinder.po | 2 +- library/modules.po | 2 +- library/msilib.po | 2 +- library/msvcrt.po | 2 +- library/multiprocessing.po | 2 +- library/multiprocessing.shared_memory.po | 2 +- library/netdata.po | 2 +- library/netrc.po | 2 +- library/nis.po | 2 +- library/nntplib.po | 2 +- library/numbers.po | 2 +- library/numeric.po | 2 +- library/operator.po | 2 +- library/optparse.po | 2 +- library/os.path.po | 2 +- library/os.po | 2 +- library/ossaudiodev.po | 2 +- library/pathlib.po | 2 +- library/pdb.po | 2 +- library/persistence.po | 2 +- library/pickle.po | 2 +- library/pickletools.po | 2 +- library/pipes.po | 2 +- library/pkgutil.po | 2 +- library/platform.po | 2 +- library/plistlib.po | 2 +- library/poplib.po | 2 +- library/posix.po | 2 +- library/pprint.po | 2 +- library/profile.po | 2 +- library/pty.po | 2 +- library/pwd.po | 2 +- library/py_compile.po | 2 +- library/pyclbr.po | 2 +- library/pydoc.po | 2 +- library/pyexpat.po | 2 +- library/python.po | 2 +- library/queue.po | 2 +- library/quopri.po | 2 +- library/random.po | 2 +- library/re.po | 2 +- library/readline.po | 2 +- library/reprlib.po | 2 +- library/resource.po | 2 +- library/rlcompleter.po | 2 +- library/runpy.po | 2 +- library/sched.po | 2 +- library/secrets.po | 2 +- library/security_warnings.po | 2 +- library/select.po | 2 +- library/selectors.po | 2 +- library/shelve.po | 2 +- library/shlex.po | 2 +- library/shutil.po | 2 +- library/signal.po | 2 +- library/site.po | 2 +- library/smtpd.po | 2 +- library/smtplib.po | 2 +- library/sndhdr.po | 2 +- library/socket.po | 2 +- library/socketserver.po | 2 +- library/spwd.po | 2 +- library/sqlite3.po | 2 +- library/ssl.po | 2 +- library/stat.po | 2 +- library/statistics.po | 2 +- library/stdtypes.po | 2 +- library/string.po | 2 +- library/stringprep.po | 2 +- library/struct.po | 2 +- library/subprocess.po | 2 +- library/sunau.po | 2 +- library/superseded.po | 2 +- library/symtable.po | 2 +- library/sys.po | 2 +- library/sysconfig.po | 2 +- library/syslog.po | 2 +- library/tabnanny.po | 2 +- library/tarfile.po | 2 +- library/telnetlib.po | 2 +- library/tempfile.po | 2 +- library/termios.po | 2 +- library/test.po | 2 +- library/text.po | 2 +- library/textwrap.po | 2 +- library/threading.po | 2 +- library/time.po | 2 +- library/timeit.po | 2 +- library/tk.po | 2 +- library/tkinter.colorchooser.po | 2 +- library/tkinter.dnd.po | 2 +- library/tkinter.font.po | 2 +- library/tkinter.messagebox.po | 2 +- library/tkinter.po | 2 +- library/tkinter.scrolledtext.po | 2 +- library/tkinter.tix.po | 2 +- library/tkinter.ttk.po | 2 +- library/token.po | 2 +- library/tokenize.po | 2 +- library/trace.po | 2 +- library/traceback.po | 2 +- library/tracemalloc.po | 2 +- library/tty.po | 2 +- library/turtle.po | 2 +- library/types.po | 2 +- library/typing.po | 2 +- library/unicodedata.po | 2 +- library/unittest.mock-examples.po | 2 +- library/unittest.mock.po | 2 +- library/unittest.po | 2 +- library/unix.po | 2 +- library/urllib.error.po | 2 +- library/urllib.parse.po | 2 +- library/urllib.po | 2 +- library/urllib.request.po | 2 +- library/urllib.robotparser.po | 2 +- library/uu.po | 2 +- library/uuid.po | 2 +- library/venv.po | 2 +- library/warnings.po | 2 +- library/wave.po | 2 +- library/weakref.po | 2 +- library/webbrowser.po | 2 +- library/windows.po | 2 +- library/winreg.po | 2 +- library/winsound.po | 2 +- library/wsgiref.po | 2 +- library/xdrlib.po | 2 +- library/xml.dom.minidom.po | 2 +- library/xml.dom.po | 2 +- library/xml.dom.pulldom.po | 2 +- library/xml.etree.elementtree.po | 2 +- library/xml.po | 2 +- library/xml.sax.handler.po | 2 +- library/xml.sax.po | 2 +- library/xml.sax.reader.po | 2 +- library/xml.sax.utils.po | 2 +- library/xmlrpc.client.po | 2 +- library/xmlrpc.po | 2 +- library/xmlrpc.server.po | 2 +- library/zipapp.po | 2 +- library/zipfile.po | 2 +- library/zipimport.po | 2 +- library/zlib.po | 2 +- library/zoneinfo.po | 2 +- license.po | 2 +- reference/compound_stmts.po | 2 +- reference/datamodel.po | 2 +- reference/executionmodel.po | 2 +- reference/expressions.po | 2 +- reference/grammar.po | 2 +- reference/import.po | 2 +- reference/index.po | 2 +- reference/introduction.po | 2 +- reference/lexical_analysis.po | 2 +- reference/simple_stmts.po | 2 +- reference/toplevel_components.po | 2 +- sphinx.po | 2 +- tutorial/appendix.po | 2 +- tutorial/appetite.po | 2 +- tutorial/classes.po | 2 +- tutorial/controlflow.po | 2 +- tutorial/datastructures.po | 2 +- tutorial/errors.po | 2 +- tutorial/floatingpoint.po | 2 +- tutorial/index.po | 2 +- tutorial/inputoutput.po | 2 +- tutorial/interactive.po | 2 +- tutorial/interpreter.po | 2 +- tutorial/introduction.po | 2 +- tutorial/modules.po | 2 +- tutorial/stdlib.po | 2 +- tutorial/stdlib2.po | 2 +- tutorial/venv.po | 2 +- tutorial/whatnow.po | 2 +- using/cmdline.po | 2 +- using/configure.po | 2 +- using/editors.po | 2 +- using/index.po | 2 +- using/mac.po | 2 +- using/unix.po | 2 +- using/windows.po | 2 +- whatsnew/2.0.po | 2 +- whatsnew/2.1.po | 2 +- whatsnew/2.2.po | 2 +- whatsnew/2.3.po | 2 +- whatsnew/2.4.po | 2 +- whatsnew/2.5.po | 2 +- whatsnew/2.6.po | 2 +- whatsnew/2.7.po | 2 +- whatsnew/3.0.po | 2 +- whatsnew/3.1.po | 2 +- whatsnew/3.10.po | 2 +- whatsnew/3.2.po | 2 +- whatsnew/3.3.po | 2 +- whatsnew/3.4.po | 2 +- whatsnew/3.5.po | 2 +- whatsnew/3.6.po | 2 +- whatsnew/3.7.po | 2 +- whatsnew/3.8.po | 2 +- whatsnew/3.9.po | 2 +- whatsnew/index.po | 2 +- 487 files changed, 488 insertions(+), 489 deletions(-) diff --git a/about.po b/about.po index 91c6c8c71..4db1480c0 100644 --- a/about.po +++ b/about.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/bugs.po b/bugs.po index f08192172..cdd7c43be 100644 --- a/bugs.po +++ b/bugs.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/c-api/abstract.po b/c-api/abstract.po index 6990069aa..f5877a0ae 100644 --- a/c-api/abstract.po +++ b/c-api/abstract.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/allocation.po b/c-api/allocation.po index d3e27937f..17161ba0f 100644 --- a/c-api/allocation.po +++ b/c-api/allocation.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/apiabiversion.po b/c-api/apiabiversion.po index a58be596e..7a4c2677c 100644 --- a/c-api/apiabiversion.po +++ b/c-api/apiabiversion.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/arg.po b/c-api/arg.po index c317fa1ee..18b0daa41 100644 --- a/c-api/arg.po +++ b/c-api/arg.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/bool.po b/c-api/bool.po index 259b1fb49..60efb23b7 100644 --- a/c-api/bool.po +++ b/c-api/bool.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/buffer.po b/c-api/buffer.po index 22b518966..a1c0e38fd 100644 --- a/c-api/buffer.po +++ b/c-api/buffer.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/bytearray.po b/c-api/bytearray.po index 393228386..b9a34340c 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/bytes.po b/c-api/bytes.po index ec1919b30..de3e6e913 100644 --- a/c-api/bytes.po +++ b/c-api/bytes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/call.po b/c-api/call.po index 997835b57..3ac3a6521 100644 --- a/c-api/call.po +++ b/c-api/call.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/capsule.po b/c-api/capsule.po index 3b73454fe..c8080fb7d 100644 --- a/c-api/capsule.po +++ b/c-api/capsule.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/cell.po b/c-api/cell.po index ef874c1d5..a4cd092a0 100644 --- a/c-api/cell.po +++ b/c-api/cell.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/code.po b/c-api/code.po index 5c0605354..55ce392d3 100644 --- a/c-api/code.po +++ b/c-api/code.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/codec.po b/c-api/codec.po index c6114f6ef..672dd01ed 100644 --- a/c-api/codec.po +++ b/c-api/codec.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/complex.po b/c-api/complex.po index 948b6c47d..6d6d6eed0 100644 --- a/c-api/complex.po +++ b/c-api/complex.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/concrete.po b/c-api/concrete.po index 939ad6856..d4fc16795 100644 --- a/c-api/concrete.po +++ b/c-api/concrete.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/contextvars.po b/c-api/contextvars.po index ed6806435..db8655ebb 100644 --- a/c-api/contextvars.po +++ b/c-api/contextvars.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/conversion.po b/c-api/conversion.po index 3f549788d..5526b3657 100644 --- a/c-api/conversion.po +++ b/c-api/conversion.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/coro.po b/c-api/coro.po index 2229e5db7..e415c980d 100644 --- a/c-api/coro.po +++ b/c-api/coro.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/datetime.po b/c-api/datetime.po index a81199ffc..3119441aa 100644 --- a/c-api/datetime.po +++ b/c-api/datetime.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/descriptor.po b/c-api/descriptor.po index 54264c5fc..7dcf260f6 100644 --- a/c-api/descriptor.po +++ b/c-api/descriptor.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/dict.po b/c-api/dict.po index f11d2a698..1d513c0c5 100644 --- a/c-api/dict.po +++ b/c-api/dict.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/exceptions.po b/c-api/exceptions.po index e77ad387a..b2fba53da 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/file.po b/c-api/file.po index bf398fbd7..6b7575ece 100644 --- a/c-api/file.po +++ b/c-api/file.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/float.po b/c-api/float.po index f8b631d17..cecefeed4 100644 --- a/c-api/float.po +++ b/c-api/float.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/function.po b/c-api/function.po index 61c40f0c2..30a0a3fd4 100644 --- a/c-api/function.po +++ b/c-api/function.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/gcsupport.po b/c-api/gcsupport.po index ebeebbaf7..e6b90c5b6 100644 --- a/c-api/gcsupport.po +++ b/c-api/gcsupport.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/gen.po b/c-api/gen.po index befc96d6f..04f36e293 100644 --- a/c-api/gen.po +++ b/c-api/gen.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/import.po b/c-api/import.po index 8124b452d..b12496edd 100644 --- a/c-api/import.po +++ b/c-api/import.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/index.po b/c-api/index.po index 16550626b..f3e161595 100644 --- a/c-api/index.po +++ b/c-api/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/init.po b/c-api/init.po index 014fec4cf..81db41e5e 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/init_config.po b/c-api/init_config.po index 3da05ea4c..b5ec211b0 100644 --- a/c-api/init_config.po +++ b/c-api/init_config.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/intro.po b/c-api/intro.po index e9a83ae71..712def7c9 100644 --- a/c-api/intro.po +++ b/c-api/intro.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/iter.po b/c-api/iter.po index f366fef4f..5517a7d8e 100644 --- a/c-api/iter.po +++ b/c-api/iter.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/iterator.po b/c-api/iterator.po index 27b95c144..e104b537f 100644 --- a/c-api/iterator.po +++ b/c-api/iterator.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/list.po b/c-api/list.po index 3c5fc44c9..fb05204a6 100644 --- a/c-api/list.po +++ b/c-api/list.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/long.po b/c-api/long.po index 500c8d4fa..7d82bce0e 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/mapping.po b/c-api/mapping.po index f86d2ad13..740ce32d4 100644 --- a/c-api/mapping.po +++ b/c-api/mapping.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/marshal.po b/c-api/marshal.po index 5d28eaeeb..1bc1fbb87 100644 --- a/c-api/marshal.po +++ b/c-api/marshal.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/memory.po b/c-api/memory.po index c32da35a3..48209d6ab 100644 --- a/c-api/memory.po +++ b/c-api/memory.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/memoryview.po b/c-api/memoryview.po index ac2de8ce7..13998f81a 100644 --- a/c-api/memoryview.po +++ b/c-api/memoryview.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/method.po b/c-api/method.po index a938abd11..e18be282f 100644 --- a/c-api/method.po +++ b/c-api/method.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/module.po b/c-api/module.po index d1ee478fa..4360be2d6 100644 --- a/c-api/module.po +++ b/c-api/module.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/none.po b/c-api/none.po index 361bad133..ad8ca1697 100644 --- a/c-api/none.po +++ b/c-api/none.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/number.po b/c-api/number.po index 2ebd9b6fa..3b2fb4192 100644 --- a/c-api/number.po +++ b/c-api/number.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/objbuffer.po b/c-api/objbuffer.po index ac11dfc54..dfcd42700 100644 --- a/c-api/objbuffer.po +++ b/c-api/objbuffer.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/object.po b/c-api/object.po index d6ab962ac..2c16ba7f4 100644 --- a/c-api/object.po +++ b/c-api/object.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/objimpl.po b/c-api/objimpl.po index 2d42cb068..f7bd5a6a7 100644 --- a/c-api/objimpl.po +++ b/c-api/objimpl.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/refcounting.po b/c-api/refcounting.po index 57dfa8afe..d7c58d29b 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/reflection.po b/c-api/reflection.po index 7ea3acaa0..79e3a3c80 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/sequence.po b/c-api/sequence.po index ecbef5481..510c64127 100644 --- a/c-api/sequence.po +++ b/c-api/sequence.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/set.po b/c-api/set.po index 0c13bcce5..0a38fbcb3 100644 --- a/c-api/set.po +++ b/c-api/set.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/slice.po b/c-api/slice.po index fab0163c6..35170b392 100644 --- a/c-api/slice.po +++ b/c-api/slice.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/stable.po b/c-api/stable.po index 58cc73e1c..3e12d5d64 100644 --- a/c-api/stable.po +++ b/c-api/stable.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/structures.po b/c-api/structures.po index 35406bc8e..f1492f1da 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/sys.po b/c-api/sys.po index a6270981b..804a73b21 100644 --- a/c-api/sys.po +++ b/c-api/sys.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/tuple.po b/c-api/tuple.po index e63150c89..24731cf30 100644 --- a/c-api/tuple.po +++ b/c-api/tuple.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/type.po b/c-api/type.po index ce1be31bb..217dce361 100644 --- a/c-api/type.po +++ b/c-api/type.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/typehints.po b/c-api/typehints.po index 730ca629c..20a91cccf 100644 --- a/c-api/typehints.po +++ b/c-api/typehints.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/typeobj.po b/c-api/typeobj.po index 68918d908..53712b4db 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/unicode.po b/c-api/unicode.po index 574c3e995..958442740 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/utilities.po b/c-api/utilities.po index 6b1804245..583014d4b 100644 --- a/c-api/utilities.po +++ b/c-api/utilities.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/veryhigh.po b/c-api/veryhigh.po index a5ae593d4..3b02c7d36 100644 --- a/c-api/veryhigh.po +++ b/c-api/veryhigh.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/c-api/weakref.po b/c-api/weakref.po index cdfde0885..6c06c53c6 100644 --- a/c-api/weakref.po +++ b/c-api/weakref.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/contents.po b/contents.po index e954e9c28..c0d4ef132 100644 --- a/contents.po +++ b/contents.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/copyright.po b/copyright.po index 050768b56..bb2644d96 100644 --- a/copyright.po +++ b/copyright.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" @@ -26,10 +26,9 @@ msgid "Python and this documentation is:" msgstr "Python ve bu dokümantasyon:" #: copyright.rst:7 -#, fuzzy msgid "Copyright © 2001-2023 Python Software Foundation. All rights reserved." msgstr "" -"Telif Hakkı © 2001-2021 Python Software Foundation. Tüm hakları saklıdır." +"Telif Hakkı © 2001-2023 Python Software Foundation. Tüm hakları saklıdır." #: copyright.rst:9 msgid "Copyright © 2000 BeOpen.com. All rights reserved." diff --git a/distributing/index.po b/distributing/index.po index cbeb3474d..a011c6d0c 100644 --- a/distributing/index.po +++ b/distributing/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/distutils/_setuptools_disclaimer.po b/distutils/_setuptools_disclaimer.po index 6ae84d3fb..450833c49 100644 --- a/distutils/_setuptools_disclaimer.po +++ b/distutils/_setuptools_disclaimer.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/distutils/apiref.po b/distutils/apiref.po index 8d0c5d85c..ca0601299 100644 --- a/distutils/apiref.po +++ b/distutils/apiref.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/distutils/builtdist.po b/distutils/builtdist.po index a12d43f10..b9e1b53ca 100644 --- a/distutils/builtdist.po +++ b/distutils/builtdist.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/distutils/commandref.po b/distutils/commandref.po index 65ef853fb..ca51093e8 100644 --- a/distutils/commandref.po +++ b/distutils/commandref.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/distutils/configfile.po b/distutils/configfile.po index b64a403da..8c476c8f8 100644 --- a/distutils/configfile.po +++ b/distutils/configfile.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/distutils/examples.po b/distutils/examples.po index 15130fa07..ba16d1b73 100644 --- a/distutils/examples.po +++ b/distutils/examples.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/distutils/extending.po b/distutils/extending.po index a399d7f30..2155e15e8 100644 --- a/distutils/extending.po +++ b/distutils/extending.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/distutils/index.po b/distutils/index.po index ac2707c1a..a637920d4 100644 --- a/distutils/index.po +++ b/distutils/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/distutils/introduction.po b/distutils/introduction.po index cf6cfae9a..9deccfb36 100644 --- a/distutils/introduction.po +++ b/distutils/introduction.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/distutils/packageindex.po b/distutils/packageindex.po index 70fc053f3..738f8b7f1 100644 --- a/distutils/packageindex.po +++ b/distutils/packageindex.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/distutils/setupscript.po b/distutils/setupscript.po index f4318747a..33a82e78e 100644 --- a/distutils/setupscript.po +++ b/distutils/setupscript.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/distutils/sourcedist.po b/distutils/sourcedist.po index 841094d25..b36932c1a 100644 --- a/distutils/sourcedist.po +++ b/distutils/sourcedist.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/distutils/uploading.po b/distutils/uploading.po index c5882fa3c..9b2a35045 100644 --- a/distutils/uploading.po +++ b/distutils/uploading.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/extending/building.po b/extending/building.po index 8193d6c04..a0b1eacd9 100644 --- a/extending/building.po +++ b/extending/building.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/extending/embedding.po b/extending/embedding.po index b1cd67f5b..235012f6c 100644 --- a/extending/embedding.po +++ b/extending/embedding.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/extending/extending.po b/extending/extending.po index 6c09d4db1..85cab10a3 100644 --- a/extending/extending.po +++ b/extending/extending.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/extending/index.po b/extending/index.po index 108e3cd22..04dffb5b2 100644 --- a/extending/index.po +++ b/extending/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/extending/newtypes.po b/extending/newtypes.po index 51cd9e3b6..703dba4ff 100644 --- a/extending/newtypes.po +++ b/extending/newtypes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/extending/newtypes_tutorial.po b/extending/newtypes_tutorial.po index 329db4942..127533640 100644 --- a/extending/newtypes_tutorial.po +++ b/extending/newtypes_tutorial.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/extending/windows.po b/extending/windows.po index 28d08bfdf..319f8ef86 100644 --- a/extending/windows.po +++ b/extending/windows.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/faq/design.po b/faq/design.po index ef12782c5..c474d7add 100644 --- a/faq/design.po +++ b/faq/design.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/faq/extending.po b/faq/extending.po index d578d2656..551782ea0 100644 --- a/faq/extending.po +++ b/faq/extending.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/faq/general.po b/faq/general.po index b8ffb12d1..73a8271eb 100644 --- a/faq/general.po +++ b/faq/general.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/faq/gui.po b/faq/gui.po index 220c792f4..dfc4cb124 100644 --- a/faq/gui.po +++ b/faq/gui.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/faq/index.po b/faq/index.po index c7707d975..4e385f8fe 100644 --- a/faq/index.po +++ b/faq/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/faq/installed.po b/faq/installed.po index 142ee44e7..fcbdfd130 100644 --- a/faq/installed.po +++ b/faq/installed.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/faq/library.po b/faq/library.po index cd2dd888a..dea159b96 100644 --- a/faq/library.po +++ b/faq/library.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/faq/programming.po b/faq/programming.po index fceb87b43..c59c2e06a 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/faq/windows.po b/faq/windows.po index fcb2dcede..716cca247 100644 --- a/faq/windows.po +++ b/faq/windows.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/glossary.po b/glossary.po index 80afccf72..7b53c3f49 100644 --- a/glossary.po +++ b/glossary.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/howto/annotations.po b/howto/annotations.po index 3e39067ff..1ae68db44 100644 --- a/howto/annotations.po +++ b/howto/annotations.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/argparse.po b/howto/argparse.po index 2a6cda89e..a24d048b1 100644 --- a/howto/argparse.po +++ b/howto/argparse.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/clinic.po b/howto/clinic.po index 5e756c2f5..0734ebb29 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/cporting.po b/howto/cporting.po index 0b9676b2e..f00bebfe0 100644 --- a/howto/cporting.po +++ b/howto/cporting.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/curses.po b/howto/curses.po index c8a2d15fb..0a4b2d96d 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/descriptor.po b/howto/descriptor.po index fbd4383ad..6dfdeb7b5 100644 --- a/howto/descriptor.po +++ b/howto/descriptor.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/functional.po b/howto/functional.po index ac9efdc87..7b3113d8c 100644 --- a/howto/functional.po +++ b/howto/functional.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/index.po b/howto/index.po index a00f003ae..00f3479a7 100644 --- a/howto/index.po +++ b/howto/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/instrumentation.po b/howto/instrumentation.po index a17ab3dab..fc4582ea9 100644 --- a/howto/instrumentation.po +++ b/howto/instrumentation.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/ipaddress.po b/howto/ipaddress.po index 8be16fae8..6df270ec4 100644 --- a/howto/ipaddress.po +++ b/howto/ipaddress.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index 0d0834507..d9f14d3a3 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/logging.po b/howto/logging.po index ddafd6929..d1ac75ffd 100644 --- a/howto/logging.po +++ b/howto/logging.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/pyporting.po b/howto/pyporting.po index fdee33fb6..f355aa54b 100644 --- a/howto/pyporting.po +++ b/howto/pyporting.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/regex.po b/howto/regex.po index 8538dc427..3eaf7243a 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/sockets.po b/howto/sockets.po index 2fdf07b44..b79e6dbe7 100644 --- a/howto/sockets.po +++ b/howto/sockets.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/sorting.po b/howto/sorting.po index 743095120..de5ec5ee5 100644 --- a/howto/sorting.po +++ b/howto/sorting.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/unicode.po b/howto/unicode.po index ef73cc13e..ee750c042 100644 --- a/howto/unicode.po +++ b/howto/unicode.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/howto/urllib2.po b/howto/urllib2.po index 039a45e18..4deadd7c7 100644 --- a/howto/urllib2.po +++ b/howto/urllib2.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/install/index.po b/install/index.po index 27076d452..ffbe3dd01 100644 --- a/install/index.po +++ b/install/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/installing/index.po b/installing/index.po index 3de21ef1c..f40ba63a8 100644 --- a/installing/index.po +++ b/installing/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/2to3.po b/library/2to3.po index 6b5b785b1..578d58f56 100644 --- a/library/2to3.po +++ b/library/2to3.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/__future__.po b/library/__future__.po index 5bbd436c1..ad56f14d7 100644 --- a/library/__future__.po +++ b/library/__future__.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/__main__.po b/library/__main__.po index ba5805d05..9568c2059 100644 --- a/library/__main__.po +++ b/library/__main__.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/_thread.po b/library/_thread.po index 3d015a1b3..35cde18ba 100644 --- a/library/_thread.po +++ b/library/_thread.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/abc.po b/library/abc.po index c165b1f90..365f62d88 100644 --- a/library/abc.po +++ b/library/abc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/aifc.po b/library/aifc.po index 5ce09cbce..6d7ab3e2a 100644 --- a/library/aifc.po +++ b/library/aifc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/allos.po b/library/allos.po index a0408682f..59fd84b17 100644 --- a/library/allos.po +++ b/library/allos.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/archiving.po b/library/archiving.po index 0f6252120..a69c84e22 100644 --- a/library/archiving.po +++ b/library/archiving.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/argparse.po b/library/argparse.po index ced8ec330..c8ff1ed78 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/array.po b/library/array.po index d766df7d7..cc6a4f20c 100644 --- a/library/array.po +++ b/library/array.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ast.po b/library/ast.po index dc4f6d5b8..2da15bf15 100644 --- a/library/ast.po +++ b/library/ast.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asynchat.po b/library/asynchat.po index 284b71e1f..698e2b3e7 100644 --- a/library/asynchat.po +++ b/library/asynchat.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-api-index.po b/library/asyncio-api-index.po index ae88685b3..147fb0e09 100644 --- a/library/asyncio-api-index.po +++ b/library/asyncio-api-index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-dev.po b/library/asyncio-dev.po index 8ab56966c..782c87754 100644 --- a/library/asyncio-dev.po +++ b/library/asyncio-dev.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index e042922c4..663bff9f1 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-exceptions.po b/library/asyncio-exceptions.po index 8d6be97ca..208494022 100644 --- a/library/asyncio-exceptions.po +++ b/library/asyncio-exceptions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-future.po b/library/asyncio-future.po index 225d4554d..1eadc1cdc 100644 --- a/library/asyncio-future.po +++ b/library/asyncio-future.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-llapi-index.po b/library/asyncio-llapi-index.po index 32bc87af3..d7c15d59c 100644 --- a/library/asyncio-llapi-index.po +++ b/library/asyncio-llapi-index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-platforms.po b/library/asyncio-platforms.po index 61578692d..b71cdea2f 100644 --- a/library/asyncio-platforms.po +++ b/library/asyncio-platforms.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-policy.po b/library/asyncio-policy.po index e1af0df72..b40bac42c 100644 --- a/library/asyncio-policy.po +++ b/library/asyncio-policy.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-protocol.po b/library/asyncio-protocol.po index f28b4dc6c..272e5d417 100644 --- a/library/asyncio-protocol.po +++ b/library/asyncio-protocol.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-queue.po b/library/asyncio-queue.po index 6676035fb..67885f8eb 100644 --- a/library/asyncio-queue.po +++ b/library/asyncio-queue.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-stream.po b/library/asyncio-stream.po index 5db423554..418ebdcce 100644 --- a/library/asyncio-stream.po +++ b/library/asyncio-stream.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-subprocess.po b/library/asyncio-subprocess.po index 742f2dc32..504e28575 100644 --- a/library/asyncio-subprocess.po +++ b/library/asyncio-subprocess.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-sync.po b/library/asyncio-sync.po index 3dab3057d..68ce43840 100644 --- a/library/asyncio-sync.po +++ b/library/asyncio-sync.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio-task.po b/library/asyncio-task.po index 018ed5953..4ca297e39 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncio.po b/library/asyncio.po index 482f184e6..1b30849d1 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/asyncore.po b/library/asyncore.po index fb43d21ec..f0f67d848 100644 --- a/library/asyncore.po +++ b/library/asyncore.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/atexit.po b/library/atexit.po index 0117dc6ed..09a470126 100644 --- a/library/atexit.po +++ b/library/atexit.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/audioop.po b/library/audioop.po index 25e8add5b..20e76321a 100644 --- a/library/audioop.po +++ b/library/audioop.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/audit_events.po b/library/audit_events.po index 400bcd0cf..78d27038c 100644 --- a/library/audit_events.po +++ b/library/audit_events.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/base64.po b/library/base64.po index 927f47a8b..892e1a6e2 100644 --- a/library/base64.po +++ b/library/base64.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/bdb.po b/library/bdb.po index f49fe8b17..84b2df590 100644 --- a/library/bdb.po +++ b/library/bdb.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/binary.po b/library/binary.po index 6f9e138fd..f23d7f536 100644 --- a/library/binary.po +++ b/library/binary.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/binascii.po b/library/binascii.po index b659effd9..0b12f964a 100644 --- a/library/binascii.po +++ b/library/binascii.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/binhex.po b/library/binhex.po index 6f3fd60fb..3016b3d1c 100644 --- a/library/binhex.po +++ b/library/binhex.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/bisect.po b/library/bisect.po index 0d8244fe7..4ab925cce 100644 --- a/library/bisect.po +++ b/library/bisect.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/builtins.po b/library/builtins.po index 1a6eeae24..773174564 100644 --- a/library/builtins.po +++ b/library/builtins.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/bz2.po b/library/bz2.po index fb22a0dff..2e5a10dc0 100644 --- a/library/bz2.po +++ b/library/bz2.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/calendar.po b/library/calendar.po index 5c4030521..0af7bc543 100644 --- a/library/calendar.po +++ b/library/calendar.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/cgi.po b/library/cgi.po index 0db34a855..dc2893257 100644 --- a/library/cgi.po +++ b/library/cgi.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/cgitb.po b/library/cgitb.po index 47a647cef..3b798548b 100644 --- a/library/cgitb.po +++ b/library/cgitb.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/chunk.po b/library/chunk.po index c6ca0d8bd..d03a54039 100644 --- a/library/chunk.po +++ b/library/chunk.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/cmath.po b/library/cmath.po index d601068f0..39228e5c9 100644 --- a/library/cmath.po +++ b/library/cmath.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/cmd.po b/library/cmd.po index 4f9d13101..b16316029 100644 --- a/library/cmd.po +++ b/library/cmd.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/code.po b/library/code.po index 94740eb8c..e5e240f9b 100644 --- a/library/code.po +++ b/library/code.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/codecs.po b/library/codecs.po index ffb3a97d7..1bf05654d 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/codeop.po b/library/codeop.po index 39040a016..e49e2b977 100644 --- a/library/codeop.po +++ b/library/codeop.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/collections.abc.po b/library/collections.abc.po index 6a139f1fc..c1e74a1a7 100644 --- a/library/collections.abc.po +++ b/library/collections.abc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/collections.po b/library/collections.po index 9354d9389..df7d3fa7c 100644 --- a/library/collections.po +++ b/library/collections.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/colorsys.po b/library/colorsys.po index 9fa436078..35f817042 100644 --- a/library/colorsys.po +++ b/library/colorsys.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/compileall.po b/library/compileall.po index 584cad783..1ce9c1c6f 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/concurrency.po b/library/concurrency.po index 1fa156181..81595b22b 100644 --- a/library/concurrency.po +++ b/library/concurrency.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/concurrent.futures.po b/library/concurrent.futures.po index adb231174..1b008f55d 100644 --- a/library/concurrent.futures.po +++ b/library/concurrent.futures.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/concurrent.po b/library/concurrent.po index ace60fd56..41d74cdd4 100644 --- a/library/concurrent.po +++ b/library/concurrent.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/configparser.po b/library/configparser.po index 790bb013f..f05a005da 100644 --- a/library/configparser.po +++ b/library/configparser.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/constants.po b/library/constants.po index 7ed52bd50..bbde258e8 100644 --- a/library/constants.po +++ b/library/constants.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/contextlib.po b/library/contextlib.po index b60d2b387..025e70b0a 100644 --- a/library/contextlib.po +++ b/library/contextlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/contextvars.po b/library/contextvars.po index b1e881343..e573ac8d1 100644 --- a/library/contextvars.po +++ b/library/contextvars.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/copy.po b/library/copy.po index e49b5cca1..53f350de7 100644 --- a/library/copy.po +++ b/library/copy.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/copyreg.po b/library/copyreg.po index 244c7de61..b1b6a3e77 100644 --- a/library/copyreg.po +++ b/library/copyreg.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/crypt.po b/library/crypt.po index a7bc0ddef..be10cc83f 100644 --- a/library/crypt.po +++ b/library/crypt.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/crypto.po b/library/crypto.po index 3a1190d15..49c14f214 100644 --- a/library/crypto.po +++ b/library/crypto.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/csv.po b/library/csv.po index 72827696f..34e0406ef 100644 --- a/library/csv.po +++ b/library/csv.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ctypes.po b/library/ctypes.po index 4b86e35e1..aa2d5da35 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/curses.ascii.po b/library/curses.ascii.po index 3950c7ed1..113101a91 100644 --- a/library/curses.ascii.po +++ b/library/curses.ascii.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/curses.panel.po b/library/curses.panel.po index e94c454c7..7a64372ed 100644 --- a/library/curses.panel.po +++ b/library/curses.panel.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/curses.po b/library/curses.po index a9afacf3c..6537e6785 100644 --- a/library/curses.po +++ b/library/curses.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/custominterp.po b/library/custominterp.po index 8fd04a1a3..cdfbb8968 100644 --- a/library/custominterp.po +++ b/library/custominterp.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/dataclasses.po b/library/dataclasses.po index 3c226fa2f..f800667b3 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/datatypes.po b/library/datatypes.po index 3bc3d2ab2..b7c94b57a 100644 --- a/library/datatypes.po +++ b/library/datatypes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/datetime.po b/library/datetime.po index 4ed6b9a8e..b571d125f 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/dbm.po b/library/dbm.po index 85d1fe31b..2528b8c70 100644 --- a/library/dbm.po +++ b/library/dbm.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/debug.po b/library/debug.po index eb305ed94..b6247667a 100644 --- a/library/debug.po +++ b/library/debug.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/decimal.po b/library/decimal.po index 516ef4fd7..903e4850e 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/development.po b/library/development.po index c55cf974c..f92d50908 100644 --- a/library/development.po +++ b/library/development.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/devmode.po b/library/devmode.po index a5c66f4c9..2c915af16 100644 --- a/library/devmode.po +++ b/library/devmode.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/dialog.po b/library/dialog.po index 5e9fad76e..1cf0d608d 100644 --- a/library/dialog.po +++ b/library/dialog.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/difflib.po b/library/difflib.po index 161506559..09cad9ad4 100644 --- a/library/difflib.po +++ b/library/difflib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/dis.po b/library/dis.po index e3b18e38b..2d3d0eeb8 100644 --- a/library/dis.po +++ b/library/dis.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/distribution.po b/library/distribution.po index 0d8f4acce..d20eb2af7 100644 --- a/library/distribution.po +++ b/library/distribution.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/distutils.po b/library/distutils.po index f88cbbf14..e8d88eaab 100644 --- a/library/distutils.po +++ b/library/distutils.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/doctest.po b/library/doctest.po index dd17d01a8..714a24a3f 100644 --- a/library/doctest.po +++ b/library/doctest.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.charset.po b/library/email.charset.po index 387e234ab..de96b9b8c 100644 --- a/library/email.charset.po +++ b/library/email.charset.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.compat32-message.po b/library/email.compat32-message.po index 728aa73d9..b64f230df 100644 --- a/library/email.compat32-message.po +++ b/library/email.compat32-message.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.contentmanager.po b/library/email.contentmanager.po index 0b3a32c44..d7c61921f 100644 --- a/library/email.contentmanager.po +++ b/library/email.contentmanager.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.encoders.po b/library/email.encoders.po index 08fe7d1f7..38dd41460 100644 --- a/library/email.encoders.po +++ b/library/email.encoders.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.errors.po b/library/email.errors.po index b70bc2472..92cc98c42 100644 --- a/library/email.errors.po +++ b/library/email.errors.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.examples.po b/library/email.examples.po index daf690f0d..038e29caa 100644 --- a/library/email.examples.po +++ b/library/email.examples.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.generator.po b/library/email.generator.po index e091c5118..883667d8d 100644 --- a/library/email.generator.po +++ b/library/email.generator.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.header.po b/library/email.header.po index 46bcf8033..8b0a3f34a 100644 --- a/library/email.header.po +++ b/library/email.header.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.headerregistry.po b/library/email.headerregistry.po index 47b35c761..2e9f63205 100644 --- a/library/email.headerregistry.po +++ b/library/email.headerregistry.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.iterators.po b/library/email.iterators.po index fd02f3566..64be3bff2 100644 --- a/library/email.iterators.po +++ b/library/email.iterators.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.message.po b/library/email.message.po index d2a33d3fb..dc0d6c932 100644 --- a/library/email.message.po +++ b/library/email.message.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.mime.po b/library/email.mime.po index 9c9c5c848..a5b44470d 100644 --- a/library/email.mime.po +++ b/library/email.mime.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.parser.po b/library/email.parser.po index 0b99409ff..a49c167fe 100644 --- a/library/email.parser.po +++ b/library/email.parser.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.po b/library/email.po index 2eeba1ef0..b6936eefc 100644 --- a/library/email.po +++ b/library/email.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.policy.po b/library/email.policy.po index 5e1c517f4..ef9d9e7de 100644 --- a/library/email.policy.po +++ b/library/email.policy.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/email.utils.po b/library/email.utils.po index 21bd24576..18db429e3 100644 --- a/library/email.utils.po +++ b/library/email.utils.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ensurepip.po b/library/ensurepip.po index aef7c1095..929073b3b 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/enum.po b/library/enum.po index 81fea71ed..52184dd3d 100644 --- a/library/enum.po +++ b/library/enum.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/errno.po b/library/errno.po index 3f7e518ab..fce8a506d 100644 --- a/library/errno.po +++ b/library/errno.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/exceptions.po b/library/exceptions.po index d2ae5b8a3..72462d4bc 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/faulthandler.po b/library/faulthandler.po index 71709229b..64c6d7346 100644 --- a/library/faulthandler.po +++ b/library/faulthandler.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/fcntl.po b/library/fcntl.po index 34d3af4a3..64c9566e4 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/filecmp.po b/library/filecmp.po index e14713c9a..732c353d6 100644 --- a/library/filecmp.po +++ b/library/filecmp.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/fileformats.po b/library/fileformats.po index 15a851e4a..d97d522d2 100644 --- a/library/fileformats.po +++ b/library/fileformats.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/fileinput.po b/library/fileinput.po index 72d272337..1460ed5b8 100644 --- a/library/fileinput.po +++ b/library/fileinput.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/filesys.po b/library/filesys.po index e41aa69bf..55e411234 100644 --- a/library/filesys.po +++ b/library/filesys.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/fnmatch.po b/library/fnmatch.po index d18c42b29..b11881c88 100644 --- a/library/fnmatch.po +++ b/library/fnmatch.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/fractions.po b/library/fractions.po index df486bd83..873868d2f 100644 --- a/library/fractions.po +++ b/library/fractions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/frameworks.po b/library/frameworks.po index 355eff6fe..0ee473e5a 100644 --- a/library/frameworks.po +++ b/library/frameworks.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ftplib.po b/library/ftplib.po index 8589362c2..c09c4107d 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/functional.po b/library/functional.po index 673bbae39..1fb5c601d 100644 --- a/library/functional.po +++ b/library/functional.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/functions.po b/library/functions.po index 0c6d6c012..2b2f4f9fb 100644 --- a/library/functions.po +++ b/library/functions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/library/functools.po b/library/functools.po index ecd76d3ab..c2793e25a 100644 --- a/library/functools.po +++ b/library/functools.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/gc.po b/library/gc.po index 87335d1fe..e452e01dc 100644 --- a/library/gc.po +++ b/library/gc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/getopt.po b/library/getopt.po index dc6e425cb..80b06c851 100644 --- a/library/getopt.po +++ b/library/getopt.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/getpass.po b/library/getpass.po index 5f24a833f..cc7829107 100644 --- a/library/getpass.po +++ b/library/getpass.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/gettext.po b/library/gettext.po index 5ecf00078..050e81534 100644 --- a/library/gettext.po +++ b/library/gettext.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/glob.po b/library/glob.po index e90129259..fa1330b8e 100644 --- a/library/glob.po +++ b/library/glob.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/graphlib.po b/library/graphlib.po index c12f8b16a..b60b5851a 100644 --- a/library/graphlib.po +++ b/library/graphlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/grp.po b/library/grp.po index e7499ee00..3523c065d 100644 --- a/library/grp.po +++ b/library/grp.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/gzip.po b/library/gzip.po index 13c0be5c9..dd9f5a5c2 100644 --- a/library/gzip.po +++ b/library/gzip.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/hashlib.po b/library/hashlib.po index dde0c012f..8fe250466 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/heapq.po b/library/heapq.po index 623803db1..55b016a22 100644 --- a/library/heapq.po +++ b/library/heapq.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/hmac.po b/library/hmac.po index 57717acd2..9fcc33d3b 100644 --- a/library/hmac.po +++ b/library/hmac.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/html.entities.po b/library/html.entities.po index 8b1cfd203..b53db84c1 100644 --- a/library/html.entities.po +++ b/library/html.entities.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/html.parser.po b/library/html.parser.po index 50ee74496..3c22e25c9 100644 --- a/library/html.parser.po +++ b/library/html.parser.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/html.po b/library/html.po index 8d130474e..b0761be52 100644 --- a/library/html.po +++ b/library/html.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/http.client.po b/library/http.client.po index 09ca8fc57..be2926b84 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/http.cookiejar.po b/library/http.cookiejar.po index 9c34ce40c..ef9d4b86f 100644 --- a/library/http.cookiejar.po +++ b/library/http.cookiejar.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/http.cookies.po b/library/http.cookies.po index 75e99196f..3baef27ef 100644 --- a/library/http.cookies.po +++ b/library/http.cookies.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/http.po b/library/http.po index 39395f29e..7a999461f 100644 --- a/library/http.po +++ b/library/http.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/http.server.po b/library/http.server.po index ae65e5c84..2312c9b92 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/i18n.po b/library/i18n.po index 9e8b49b0d..5c3f73fc1 100644 --- a/library/i18n.po +++ b/library/i18n.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/idle.po b/library/idle.po index f76a5666f..19cf81941 100644 --- a/library/idle.po +++ b/library/idle.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/imaplib.po b/library/imaplib.po index 3bedb7d72..5b86d3561 100644 --- a/library/imaplib.po +++ b/library/imaplib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/imghdr.po b/library/imghdr.po index 5f919c044..445b2dd0f 100644 --- a/library/imghdr.po +++ b/library/imghdr.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/imp.po b/library/imp.po index d8d36d140..ce3ef7177 100644 --- a/library/imp.po +++ b/library/imp.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/importlib.metadata.po b/library/importlib.metadata.po index 11194e002..a46cba87a 100644 --- a/library/importlib.metadata.po +++ b/library/importlib.metadata.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/importlib.po b/library/importlib.po index f34ba6b2f..2c0945420 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/index.po b/library/index.po index 3cc0f4480..bc0dc1c5f 100644 --- a/library/index.po +++ b/library/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/inspect.po b/library/inspect.po index 3f2562604..cbf1eba94 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/internet.po b/library/internet.po index b5f90012a..f70381287 100644 --- a/library/internet.po +++ b/library/internet.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/intro.po b/library/intro.po index 92b75bd9b..50cf668b0 100644 --- a/library/intro.po +++ b/library/intro.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/io.po b/library/io.po index 15402b0cd..2dc97866b 100644 --- a/library/io.po +++ b/library/io.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ipaddress.po b/library/ipaddress.po index cf07e2b85..a2f5d8715 100644 --- a/library/ipaddress.po +++ b/library/ipaddress.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ipc.po b/library/ipc.po index 509475025..3fa9227e4 100644 --- a/library/ipc.po +++ b/library/ipc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/itertools.po b/library/itertools.po index 427e8fb59..97f5b90bb 100644 --- a/library/itertools.po +++ b/library/itertools.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/json.po b/library/json.po index ab5b1bdb3..bce03efbb 100644 --- a/library/json.po +++ b/library/json.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/keyword.po b/library/keyword.po index cd5b78c97..008b5e0dd 100644 --- a/library/keyword.po +++ b/library/keyword.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/language.po b/library/language.po index aa77fd2d1..e25fedd31 100644 --- a/library/language.po +++ b/library/language.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/linecache.po b/library/linecache.po index cc6da9287..6a3e3234e 100644 --- a/library/linecache.po +++ b/library/linecache.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/locale.po b/library/locale.po index a654f4ca0..5ed93ca76 100644 --- a/library/locale.po +++ b/library/locale.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/logging.config.po b/library/logging.config.po index bc19581cb..fc9e8e84c 100644 --- a/library/logging.config.po +++ b/library/logging.config.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/logging.handlers.po b/library/logging.handlers.po index a75fdbc07..e611c9168 100644 --- a/library/logging.handlers.po +++ b/library/logging.handlers.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/logging.po b/library/logging.po index baef683d1..2eb565e63 100644 --- a/library/logging.po +++ b/library/logging.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/lzma.po b/library/lzma.po index aaf81623c..48a86db09 100644 --- a/library/lzma.po +++ b/library/lzma.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/mailbox.po b/library/mailbox.po index 6b355aa81..ba4859a9b 100644 --- a/library/mailbox.po +++ b/library/mailbox.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/mailcap.po b/library/mailcap.po index a6896f377..f07e20600 100644 --- a/library/mailcap.po +++ b/library/mailcap.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/markup.po b/library/markup.po index eca502fe9..91d17400d 100644 --- a/library/markup.po +++ b/library/markup.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/marshal.po b/library/marshal.po index adc180a3c..e0f2c3bc3 100644 --- a/library/marshal.po +++ b/library/marshal.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/math.po b/library/math.po index 8bcae356c..8cce35b0c 100644 --- a/library/math.po +++ b/library/math.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/mimetypes.po b/library/mimetypes.po index 492d196f9..8bbea06c9 100644 --- a/library/mimetypes.po +++ b/library/mimetypes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/mm.po b/library/mm.po index 84dcacd93..cb8056a2e 100644 --- a/library/mm.po +++ b/library/mm.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/mmap.po b/library/mmap.po index e8ab67dd6..c04129a21 100644 --- a/library/mmap.po +++ b/library/mmap.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/modulefinder.po b/library/modulefinder.po index c435474c4..a6b6f9c54 100644 --- a/library/modulefinder.po +++ b/library/modulefinder.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/modules.po b/library/modules.po index ebe69c9fc..e33462d1a 100644 --- a/library/modules.po +++ b/library/modules.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/msilib.po b/library/msilib.po index 7374dfa17..ac3c5b3b5 100644 --- a/library/msilib.po +++ b/library/msilib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/msvcrt.po b/library/msvcrt.po index f96f518f7..f23e9e8a6 100644 --- a/library/msvcrt.po +++ b/library/msvcrt.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/multiprocessing.po b/library/multiprocessing.po index 417586ff5..d00bb77f5 100644 --- a/library/multiprocessing.po +++ b/library/multiprocessing.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/multiprocessing.shared_memory.po b/library/multiprocessing.shared_memory.po index 4d26f7d3c..26d0982b5 100644 --- a/library/multiprocessing.shared_memory.po +++ b/library/multiprocessing.shared_memory.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/netdata.po b/library/netdata.po index d9a16ab56..f9a104d88 100644 --- a/library/netdata.po +++ b/library/netdata.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/netrc.po b/library/netrc.po index d454e685b..21e75d295 100644 --- a/library/netrc.po +++ b/library/netrc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/nis.po b/library/nis.po index 284c99714..704a5fb8a 100644 --- a/library/nis.po +++ b/library/nis.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/nntplib.po b/library/nntplib.po index 39d6c4238..a437db6e9 100644 --- a/library/nntplib.po +++ b/library/nntplib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/numbers.po b/library/numbers.po index b964a2b2a..a097fa745 100644 --- a/library/numbers.po +++ b/library/numbers.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/numeric.po b/library/numeric.po index 3c92a3a2a..528ba46a9 100644 --- a/library/numeric.po +++ b/library/numeric.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/operator.po b/library/operator.po index afe18f6ce..bc2fccfb0 100644 --- a/library/operator.po +++ b/library/operator.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/optparse.po b/library/optparse.po index 20044912f..3b647b74b 100644 --- a/library/optparse.po +++ b/library/optparse.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/os.path.po b/library/os.path.po index 8bac621f0..329326945 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/os.po b/library/os.po index 233b22cc4..f569575d9 100644 --- a/library/os.po +++ b/library/os.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ossaudiodev.po b/library/ossaudiodev.po index a8fe32788..30ed26159 100644 --- a/library/ossaudiodev.po +++ b/library/ossaudiodev.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pathlib.po b/library/pathlib.po index 78bb25ed5..50a55b5d9 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pdb.po b/library/pdb.po index 4e71edef3..ff0bc7660 100644 --- a/library/pdb.po +++ b/library/pdb.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/persistence.po b/library/persistence.po index d1acba462..1e05085b3 100644 --- a/library/persistence.po +++ b/library/persistence.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pickle.po b/library/pickle.po index f631f59bd..e0f0e7c0d 100644 --- a/library/pickle.po +++ b/library/pickle.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pickletools.po b/library/pickletools.po index 058c38289..23762dd13 100644 --- a/library/pickletools.po +++ b/library/pickletools.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pipes.po b/library/pipes.po index 512b207dc..1a892e91b 100644 --- a/library/pipes.po +++ b/library/pipes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pkgutil.po b/library/pkgutil.po index 3cf513d22..fe0847f59 100644 --- a/library/pkgutil.po +++ b/library/pkgutil.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/platform.po b/library/platform.po index 3b7069fbe..5c7b48314 100644 --- a/library/platform.po +++ b/library/platform.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/plistlib.po b/library/plistlib.po index 79f317a28..0d23d1682 100644 --- a/library/plistlib.po +++ b/library/plistlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/poplib.po b/library/poplib.po index 650b50c79..67b7bf824 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/posix.po b/library/posix.po index 9a1644888..42b616800 100644 --- a/library/posix.po +++ b/library/posix.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pprint.po b/library/pprint.po index 783d80f69..82c9a4f22 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/profile.po b/library/profile.po index c6de097b1..1cfee8568 100644 --- a/library/profile.po +++ b/library/profile.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pty.po b/library/pty.po index ad4bae82d..c49fc3239 100644 --- a/library/pty.po +++ b/library/pty.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pwd.po b/library/pwd.po index 8d4bf6433..11751a8f3 100644 --- a/library/pwd.po +++ b/library/pwd.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/py_compile.po b/library/py_compile.po index 050d7d37e..76c4e261c 100644 --- a/library/py_compile.po +++ b/library/py_compile.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pyclbr.po b/library/pyclbr.po index d4f8bcb84..af2229612 100644 --- a/library/pyclbr.po +++ b/library/pyclbr.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pydoc.po b/library/pydoc.po index 7c7496fa3..26fc1fe47 100644 --- a/library/pydoc.po +++ b/library/pydoc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/pyexpat.po b/library/pyexpat.po index 638b1661f..960117d51 100644 --- a/library/pyexpat.po +++ b/library/pyexpat.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/python.po b/library/python.po index 4189e61c2..4f4b95ab9 100644 --- a/library/python.po +++ b/library/python.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/queue.po b/library/queue.po index fbfd15598..933dd7bf5 100644 --- a/library/queue.po +++ b/library/queue.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/quopri.po b/library/quopri.po index c843cf9c6..882488187 100644 --- a/library/quopri.po +++ b/library/quopri.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/random.po b/library/random.po index 6512fa2e8..e35d78358 100644 --- a/library/random.po +++ b/library/random.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/re.po b/library/re.po index cf1aeee25..b0649db57 100644 --- a/library/re.po +++ b/library/re.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/readline.po b/library/readline.po index 73941f79f..1d8970579 100644 --- a/library/readline.po +++ b/library/readline.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/reprlib.po b/library/reprlib.po index 675825dfe..845a09574 100644 --- a/library/reprlib.po +++ b/library/reprlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/resource.po b/library/resource.po index eda682d99..e3574472e 100644 --- a/library/resource.po +++ b/library/resource.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/rlcompleter.po b/library/rlcompleter.po index 795452d2d..bea03ab12 100644 --- a/library/rlcompleter.po +++ b/library/rlcompleter.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/runpy.po b/library/runpy.po index 52c7b4606..81059d215 100644 --- a/library/runpy.po +++ b/library/runpy.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sched.po b/library/sched.po index 0edb974d9..ff841c1d4 100644 --- a/library/sched.po +++ b/library/sched.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/secrets.po b/library/secrets.po index ed87433b1..c79c78cbd 100644 --- a/library/secrets.po +++ b/library/secrets.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/security_warnings.po b/library/security_warnings.po index b92528246..794b93628 100644 --- a/library/security_warnings.po +++ b/library/security_warnings.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/select.po b/library/select.po index f00d7cf6d..8ea5f824f 100644 --- a/library/select.po +++ b/library/select.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/selectors.po b/library/selectors.po index ed3a1ed11..b31a32b1f 100644 --- a/library/selectors.po +++ b/library/selectors.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/shelve.po b/library/shelve.po index 0875456aa..f26b47af9 100644 --- a/library/shelve.po +++ b/library/shelve.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/shlex.po b/library/shlex.po index 3b93602c4..0fd6cb49e 100644 --- a/library/shlex.po +++ b/library/shlex.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/shutil.po b/library/shutil.po index 39ee35318..ef09befe9 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/signal.po b/library/signal.po index 6f8072a8d..8699d207a 100644 --- a/library/signal.po +++ b/library/signal.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/site.po b/library/site.po index 79e26e75e..f7bca4d90 100644 --- a/library/site.po +++ b/library/site.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/smtpd.po b/library/smtpd.po index 314631b17..420a6c85a 100644 --- a/library/smtpd.po +++ b/library/smtpd.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/smtplib.po b/library/smtplib.po index d4678ff15..6e0dfbcb6 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sndhdr.po b/library/sndhdr.po index 0cf40f6ef..50a2b31ba 100644 --- a/library/sndhdr.po +++ b/library/sndhdr.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/socket.po b/library/socket.po index 162ca64d7..0a8f11190 100644 --- a/library/socket.po +++ b/library/socket.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/socketserver.po b/library/socketserver.po index 50243e1c8..3b7148619 100644 --- a/library/socketserver.po +++ b/library/socketserver.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/spwd.po b/library/spwd.po index e7bda9410..20555cb5a 100644 --- a/library/spwd.po +++ b/library/spwd.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sqlite3.po b/library/sqlite3.po index d59382f53..0ea3ff28b 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/ssl.po b/library/ssl.po index aa0bd101c..657fce16e 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/stat.po b/library/stat.po index 7fa40e42b..98dae47ae 100644 --- a/library/stat.po +++ b/library/stat.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/statistics.po b/library/statistics.po index 3ea35d6e5..051841545 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/stdtypes.po b/library/stdtypes.po index 8d10db4c2..536bce884 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/library/string.po b/library/string.po index d1cd1ec9a..3eb6cd0a4 100644 --- a/library/string.po +++ b/library/string.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/stringprep.po b/library/stringprep.po index 5769cc066..d53c859fb 100644 --- a/library/stringprep.po +++ b/library/stringprep.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/struct.po b/library/struct.po index d313e0003..fb33812cf 100644 --- a/library/struct.po +++ b/library/struct.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/subprocess.po b/library/subprocess.po index a9adc8c00..443dc9ef7 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sunau.po b/library/sunau.po index e3a954a39..55d9a30cd 100644 --- a/library/sunau.po +++ b/library/sunau.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/superseded.po b/library/superseded.po index 430f9176f..5f16c885c 100644 --- a/library/superseded.po +++ b/library/superseded.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/symtable.po b/library/symtable.po index 1a7f83775..543b8e4bd 100644 --- a/library/symtable.po +++ b/library/symtable.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sys.po b/library/sys.po index c04fd3074..1fe13e82f 100644 --- a/library/sys.po +++ b/library/sys.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/sysconfig.po b/library/sysconfig.po index 55629e664..a0c236b40 100644 --- a/library/sysconfig.po +++ b/library/sysconfig.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/syslog.po b/library/syslog.po index 804d30956..034253782 100644 --- a/library/syslog.po +++ b/library/syslog.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tabnanny.po b/library/tabnanny.po index 558ab603c..1c20bd42b 100644 --- a/library/tabnanny.po +++ b/library/tabnanny.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tarfile.po b/library/tarfile.po index 653144e81..4bb5cc347 100644 --- a/library/tarfile.po +++ b/library/tarfile.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/telnetlib.po b/library/telnetlib.po index 8286e77a2..0aa5181cb 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tempfile.po b/library/tempfile.po index e19cadf8d..d8e005f9e 100644 --- a/library/tempfile.po +++ b/library/tempfile.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/termios.po b/library/termios.po index 6eeeded3b..2748aa70c 100644 --- a/library/termios.po +++ b/library/termios.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/test.po b/library/test.po index 815d79fb7..ab42eaa6a 100644 --- a/library/test.po +++ b/library/test.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/text.po b/library/text.po index 4526df4af..17e2bbe65 100644 --- a/library/text.po +++ b/library/text.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/textwrap.po b/library/textwrap.po index 86f0e93c4..4684884f4 100644 --- a/library/textwrap.po +++ b/library/textwrap.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/threading.po b/library/threading.po index 55aedb5ff..a218cecde 100644 --- a/library/threading.po +++ b/library/threading.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/time.po b/library/time.po index 98f6cb6c6..ba5325999 100644 --- a/library/time.po +++ b/library/time.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/timeit.po b/library/timeit.po index 4dfbd1ff6..f2c97e225 100644 --- a/library/timeit.po +++ b/library/timeit.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tk.po b/library/tk.po index 77c9facf6..90850b075 100644 --- a/library/tk.po +++ b/library/tk.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.colorchooser.po b/library/tkinter.colorchooser.po index 0385767b5..f90b914c4 100644 --- a/library/tkinter.colorchooser.po +++ b/library/tkinter.colorchooser.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.dnd.po b/library/tkinter.dnd.po index 5e6451dbc..6161022a3 100644 --- a/library/tkinter.dnd.po +++ b/library/tkinter.dnd.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.font.po b/library/tkinter.font.po index f16eec07a..a351c2592 100644 --- a/library/tkinter.font.po +++ b/library/tkinter.font.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.messagebox.po b/library/tkinter.messagebox.po index 96aae901d..5020196de 100644 --- a/library/tkinter.messagebox.po +++ b/library/tkinter.messagebox.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.po b/library/tkinter.po index 55642e666..c67134e02 100644 --- a/library/tkinter.po +++ b/library/tkinter.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.scrolledtext.po b/library/tkinter.scrolledtext.po index be399c415..7f10f436b 100644 --- a/library/tkinter.scrolledtext.po +++ b/library/tkinter.scrolledtext.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.tix.po b/library/tkinter.tix.po index 0fec1dca3..715248edf 100644 --- a/library/tkinter.tix.po +++ b/library/tkinter.tix.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tkinter.ttk.po b/library/tkinter.ttk.po index 3b2525acb..012ab6841 100644 --- a/library/tkinter.ttk.po +++ b/library/tkinter.ttk.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/token.po b/library/token.po index a95bbd6e7..8e2da3d09 100644 --- a/library/token.po +++ b/library/token.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tokenize.po b/library/tokenize.po index 9761a479f..1556cad3f 100644 --- a/library/tokenize.po +++ b/library/tokenize.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/trace.po b/library/trace.po index 69c9fd8c2..19632fb41 100644 --- a/library/trace.po +++ b/library/trace.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/traceback.po b/library/traceback.po index e1c04c4d6..feee23173 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tracemalloc.po b/library/tracemalloc.po index 30ed18bb7..2c169c404 100644 --- a/library/tracemalloc.po +++ b/library/tracemalloc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/tty.po b/library/tty.po index 66d5442cd..0f950ee48 100644 --- a/library/tty.po +++ b/library/tty.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/turtle.po b/library/turtle.po index 3379dab6d..32e727723 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/types.po b/library/types.po index 11365045d..7c7f9f13f 100644 --- a/library/types.po +++ b/library/types.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/typing.po b/library/typing.po index 75321f72a..e30973772 100644 --- a/library/typing.po +++ b/library/typing.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/unicodedata.po b/library/unicodedata.po index 53b5c0ea4..450aadfcc 100644 --- a/library/unicodedata.po +++ b/library/unicodedata.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/unittest.mock-examples.po b/library/unittest.mock-examples.po index 9b100bad9..56b53b59d 100644 --- a/library/unittest.mock-examples.po +++ b/library/unittest.mock-examples.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/unittest.mock.po b/library/unittest.mock.po index 2161512f5..a80f1d107 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/unittest.po b/library/unittest.po index ce988af42..9c7496c75 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/unix.po b/library/unix.po index 3387d0a87..d187ecb57 100644 --- a/library/unix.po +++ b/library/unix.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/urllib.error.po b/library/urllib.error.po index 2604ad41e..0e719a61d 100644 --- a/library/urllib.error.po +++ b/library/urllib.error.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/urllib.parse.po b/library/urllib.parse.po index dcff9d4b5..2c6f6fe2f 100644 --- a/library/urllib.parse.po +++ b/library/urllib.parse.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/urllib.po b/library/urllib.po index 6a9eaafcf..255e3ac09 100644 --- a/library/urllib.po +++ b/library/urllib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/urllib.request.po b/library/urllib.request.po index f4bb8396c..1f17221ed 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/urllib.robotparser.po b/library/urllib.robotparser.po index f74dcaac2..7b0937f7c 100644 --- a/library/urllib.robotparser.po +++ b/library/urllib.robotparser.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/uu.po b/library/uu.po index 971924a09..06b6d742a 100644 --- a/library/uu.po +++ b/library/uu.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/uuid.po b/library/uuid.po index f5b0c65e4..52686ceea 100644 --- a/library/uuid.po +++ b/library/uuid.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/venv.po b/library/venv.po index 05b0ca27a..6d3cffed2 100644 --- a/library/venv.po +++ b/library/venv.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/warnings.po b/library/warnings.po index 5af2ca865..d33bd04f1 100644 --- a/library/warnings.po +++ b/library/warnings.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/wave.po b/library/wave.po index b1e6f9cf2..7138c6e04 100644 --- a/library/wave.po +++ b/library/wave.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/weakref.po b/library/weakref.po index 6b3ba4a1a..f0f39a660 100644 --- a/library/weakref.po +++ b/library/weakref.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/webbrowser.po b/library/webbrowser.po index 5a71584ff..2d5c61a96 100644 --- a/library/webbrowser.po +++ b/library/webbrowser.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/windows.po b/library/windows.po index cc4040cb7..93fdc4828 100644 --- a/library/windows.po +++ b/library/windows.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/winreg.po b/library/winreg.po index 054880316..c5e6cb900 100644 --- a/library/winreg.po +++ b/library/winreg.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/winsound.po b/library/winsound.po index abd9b3845..d73664540 100644 --- a/library/winsound.po +++ b/library/winsound.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/wsgiref.po b/library/wsgiref.po index 7bacfddee..22207dbaa 100644 --- a/library/wsgiref.po +++ b/library/wsgiref.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xdrlib.po b/library/xdrlib.po index 5fd272781..cfa4c3244 100644 --- a/library/xdrlib.po +++ b/library/xdrlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.dom.minidom.po b/library/xml.dom.minidom.po index abb661dfe..3eb3083d3 100644 --- a/library/xml.dom.minidom.po +++ b/library/xml.dom.minidom.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.dom.po b/library/xml.dom.po index 1dcb8db49..6e249f5c7 100644 --- a/library/xml.dom.po +++ b/library/xml.dom.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.dom.pulldom.po b/library/xml.dom.pulldom.po index a5ad80fdb..a5a0b5897 100644 --- a/library/xml.dom.pulldom.po +++ b/library/xml.dom.pulldom.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.etree.elementtree.po b/library/xml.etree.elementtree.po index 097832414..c216c05d3 100644 --- a/library/xml.etree.elementtree.po +++ b/library/xml.etree.elementtree.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.po b/library/xml.po index e41c462df..0d00a39c7 100644 --- a/library/xml.po +++ b/library/xml.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.sax.handler.po b/library/xml.sax.handler.po index c54a851ad..b5fad1132 100644 --- a/library/xml.sax.handler.po +++ b/library/xml.sax.handler.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.sax.po b/library/xml.sax.po index d469247ed..79d963980 100644 --- a/library/xml.sax.po +++ b/library/xml.sax.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.sax.reader.po b/library/xml.sax.reader.po index d95ccc296..83c293dfa 100644 --- a/library/xml.sax.reader.po +++ b/library/xml.sax.reader.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xml.sax.utils.po b/library/xml.sax.utils.po index 24593e6df..a35363724 100644 --- a/library/xml.sax.utils.po +++ b/library/xml.sax.utils.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index 3c9e2c4b7..573acc09e 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xmlrpc.po b/library/xmlrpc.po index e4cc2b675..c5313a6e8 100644 --- a/library/xmlrpc.po +++ b/library/xmlrpc.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/xmlrpc.server.po b/library/xmlrpc.server.po index 16e52d97e..614f31180 100644 --- a/library/xmlrpc.server.po +++ b/library/xmlrpc.server.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/zipapp.po b/library/zipapp.po index be25e08fd..f0a27f21e 100644 --- a/library/zipapp.po +++ b/library/zipapp.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/zipfile.po b/library/zipfile.po index 599e4e59e..82951d855 100644 --- a/library/zipfile.po +++ b/library/zipfile.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/zipimport.po b/library/zipimport.po index 1e1acbef5..b9f482153 100644 --- a/library/zipimport.po +++ b/library/zipimport.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/zlib.po b/library/zlib.po index 490195a6d..3bcb88373 100644 --- a/library/zlib.po +++ b/library/zlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/library/zoneinfo.po b/library/zoneinfo.po index 1795c3c6c..d1242c7c8 100644 --- a/library/zoneinfo.po +++ b/library/zoneinfo.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/license.po b/license.po index c0ad50a66..29f27efe6 100644 --- a/license.po +++ b/license.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index 4e408b10d..9bbeff31b 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/datamodel.po b/reference/datamodel.po index 65634c578..ebb9caeb2 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/executionmodel.po b/reference/executionmodel.po index 551f33eda..4231cf1d7 100644 --- a/reference/executionmodel.po +++ b/reference/executionmodel.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/expressions.po b/reference/expressions.po index 63d53f887..5511e4182 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/grammar.po b/reference/grammar.po index 346473b74..29287ed57 100644 --- a/reference/grammar.po +++ b/reference/grammar.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/import.po b/reference/import.po index d88a8660b..b075b2d0d 100644 --- a/reference/import.po +++ b/reference/import.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/index.po b/reference/index.po index 96978a154..81dbc8b98 100644 --- a/reference/index.po +++ b/reference/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/introduction.po b/reference/introduction.po index d90375eb6..644adaa21 100644 --- a/reference/introduction.po +++ b/reference/introduction.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index 5788dc209..2dd336652 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index 1082267bb..13c6b24ef 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/reference/toplevel_components.po b/reference/toplevel_components.po index 711f296de..75e9366bb 100644 --- a/reference/toplevel_components.po +++ b/reference/toplevel_components.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/sphinx.po b/sphinx.po index 803d452ae..1d5c7a4e0 100644 --- a/sphinx.po +++ b/sphinx.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/appendix.po b/tutorial/appendix.po index 20ebe4aa3..05b935145 100644 --- a/tutorial/appendix.po +++ b/tutorial/appendix.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/appetite.po b/tutorial/appetite.po index 38b510668..99125dee0 100644 --- a/tutorial/appetite.po +++ b/tutorial/appetite.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/classes.po b/tutorial/classes.po index d1640124b..a89a8586b 100644 --- a/tutorial/classes.po +++ b/tutorial/classes.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/controlflow.po b/tutorial/controlflow.po index 61deb4d73..ac164b7bd 100644 --- a/tutorial/controlflow.po +++ b/tutorial/controlflow.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index 3d7a7d001..b929c84cb 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/errors.po b/tutorial/errors.po index 72198e7c0..fd84974e7 100644 --- a/tutorial/errors.po +++ b/tutorial/errors.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/floatingpoint.po b/tutorial/floatingpoint.po index 208b4fec8..1699bc6c4 100644 --- a/tutorial/floatingpoint.po +++ b/tutorial/floatingpoint.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/index.po b/tutorial/index.po index 92eb3c5f5..0ac855054 100644 --- a/tutorial/index.po +++ b/tutorial/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/inputoutput.po b/tutorial/inputoutput.po index 79ca7e75a..3578b0c9b 100644 --- a/tutorial/inputoutput.po +++ b/tutorial/inputoutput.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/interactive.po b/tutorial/interactive.po index af7139ebd..79db8dbc9 100644 --- a/tutorial/interactive.po +++ b/tutorial/interactive.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/interpreter.po b/tutorial/interpreter.po index 58b41619d..473713363 100644 --- a/tutorial/interpreter.po +++ b/tutorial/interpreter.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 786f5318c..fb8af2da6 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/modules.po b/tutorial/modules.po index eb5f393d9..6e19026db 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/stdlib.po b/tutorial/stdlib.po index 19060abdc..24f1594a1 100644 --- a/tutorial/stdlib.po +++ b/tutorial/stdlib.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/stdlib2.po b/tutorial/stdlib2.po index bb7749fc0..ab996306d 100644 --- a/tutorial/stdlib2.po +++ b/tutorial/stdlib2.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/venv.po b/tutorial/venv.po index 3ad062d89..049cf290b 100644 --- a/tutorial/venv.po +++ b/tutorial/venv.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/tutorial/whatnow.po b/tutorial/whatnow.po index 0e9e0f230..81502c6d0 100644 --- a/tutorial/whatnow.po +++ b/tutorial/whatnow.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # msgid "" diff --git a/using/cmdline.po b/using/cmdline.po index 7f02680f1..858bbfa2b 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/using/configure.po b/using/configure.po index a79b64a5d..d4e4fc4aa 100644 --- a/using/configure.po +++ b/using/configure.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/using/editors.po b/using/editors.po index 478e1c9eb..17eb1f6d1 100644 --- a/using/editors.po +++ b/using/editors.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/using/index.po b/using/index.po index 712e3d541..c85ca3569 100644 --- a/using/index.po +++ b/using/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/using/mac.po b/using/mac.po index 68e15225b..a734b6b8f 100644 --- a/using/mac.po +++ b/using/mac.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/using/unix.po b/using/unix.po index e2bfcb48d..060c6c3ce 100644 --- a/using/unix.po +++ b/using/unix.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/using/windows.po b/using/windows.po index ee6209df5..0ca771202 100644 --- a/using/windows.po +++ b/using/windows.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.0.po b/whatsnew/2.0.po index bdef6df01..83453333e 100644 --- a/whatsnew/2.0.po +++ b/whatsnew/2.0.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.1.po b/whatsnew/2.1.po index 20dc961a0..1adef76e0 100644 --- a/whatsnew/2.1.po +++ b/whatsnew/2.1.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.2.po b/whatsnew/2.2.po index 128b4d70d..4a4af4861 100644 --- a/whatsnew/2.2.po +++ b/whatsnew/2.2.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.3.po b/whatsnew/2.3.po index d8ea68eed..e9dd72b33 100644 --- a/whatsnew/2.3.po +++ b/whatsnew/2.3.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.4.po b/whatsnew/2.4.po index 4b85de811..1233178fd 100644 --- a/whatsnew/2.4.po +++ b/whatsnew/2.4.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.5.po b/whatsnew/2.5.po index 8b9adf756..9512591db 100644 --- a/whatsnew/2.5.po +++ b/whatsnew/2.5.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.6.po b/whatsnew/2.6.po index 06d16ff74..19978b7dd 100644 --- a/whatsnew/2.6.po +++ b/whatsnew/2.6.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index d9bc0b7ee..2116d27e2 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.0.po b/whatsnew/3.0.po index 4ac4a9b4f..f75bb81eb 100644 --- a/whatsnew/3.0.po +++ b/whatsnew/3.0.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.1.po b/whatsnew/3.1.po index 64cfb6569..fdf5fbf36 100644 --- a/whatsnew/3.1.po +++ b/whatsnew/3.1.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.10.po b/whatsnew/3.10.po index 9ae591ed3..cfca24069 100644 --- a/whatsnew/3.10.po +++ b/whatsnew/3.10.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.2.po b/whatsnew/3.2.po index b8f51c9a9..ab49cceab 100644 --- a/whatsnew/3.2.po +++ b/whatsnew/3.2.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.3.po b/whatsnew/3.3.po index 08d7d73c4..db57d6fca 100644 --- a/whatsnew/3.3.po +++ b/whatsnew/3.3.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.4.po b/whatsnew/3.4.po index b9dfecf13..d58d1b1f2 100644 --- a/whatsnew/3.4.po +++ b/whatsnew/3.4.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.5.po b/whatsnew/3.5.po index 046458dba..1d95e02b0 100644 --- a/whatsnew/3.5.po +++ b/whatsnew/3.5.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.6.po b/whatsnew/3.6.po index 79e124758..c04a1a05e 100644 --- a/whatsnew/3.6.po +++ b/whatsnew/3.6.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index bd7a1d2f2..5cd936961 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.8.po b/whatsnew/3.8.po index 0bbaf3ac5..8ce125a9b 100644 --- a/whatsnew/3.8.po +++ b/whatsnew/3.8.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index 525a02f37..418be5685 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy diff --git a/whatsnew/index.po b/whatsnew/index.po index 9f141641a..bd13b2887 100644 --- a/whatsnew/index.po +++ b/whatsnew/index.po @@ -1,5 +1,5 @@ # Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation +# Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy