From f54b0f6c509713f12f205acd9787ad0bad4843c3 Mon Sep 17 00:00:00 2001 From: python-docs-turkish Date: Wed, 1 Mar 2023 00:20:42 +0000 Subject: [PATCH 01/12] Get changes from CPython Doc for 3.11 --- Makefile | 2 +- bugs.po | 57 ++- c-api/dict.po | 9 +- c-api/module.po | 16 +- c-api/object.po | 6 +- faq/programming.po | 8 +- howto/logging-cookbook.po | 4 +- includes/wasm-notavail.po | 4 +- library/_thread.po | 6 +- library/abc.po | 6 +- library/asynchat.po | 4 +- library/asyncio-eventloop.po | 718 +++++++++++++++-------------- library/asyncio-stream.po | 124 ++--- library/asyncio-task.po | 4 +- library/asyncio.po | 4 +- library/asyncore.po | 4 +- library/cgi.po | 4 +- library/cmath.po | 155 ++++--- library/codecs.po | 4 +- library/collections.abc.po | 10 +- library/collections.po | 6 +- library/compileall.po | 4 +- library/concurrent.futures.po | 4 +- library/configparser.po | 4 +- library/crypt.po | 6 +- library/datetime.po | 6 +- library/decimal.po | 281 ++++++----- library/ensurepip.po | 4 +- library/enum.po | 96 ++-- library/errno.po | 4 +- library/fcntl.po | 4 +- library/fractions.po | 8 +- library/ftplib.po | 4 +- library/functions.po | 13 +- library/functools.po | 4 +- library/getpass.po | 4 +- library/graphlib.po | 8 +- library/grp.po | 4 +- library/http.client.po | 4 +- library/http.server.po | 4 +- library/imaplib.po | 4 +- library/importlib.po | 4 +- library/importlib.resources.abc.po | 38 +- library/inspect.po | 293 ++++++------ library/itertools.po | 4 +- library/mimetypes.po | 4 +- library/mmap.po | 4 +- library/multiprocessing.po | 4 +- library/nis.po | 4 +- library/nntplib.po | 4 +- library/operator.po | 6 +- library/os.path.po | 4 +- library/os.po | 74 +-- library/pathlib.po | 8 +- library/pipes.po | 4 +- library/plistlib.po | 4 +- library/poplib.po | 4 +- library/pwd.po | 4 +- library/queue.po | 47 +- library/re.po | 521 ++++++++++----------- library/resource.po | 16 +- library/select.po | 6 +- library/selectors.po | 4 +- library/shutil.po | 4 +- library/signal.po | 11 +- library/smtpd.po | 4 +- library/smtplib.po | 4 +- library/socket.po | 72 +-- library/socketserver.po | 4 +- library/spwd.po | 4 +- library/sqlite3.po | 324 +++++++------ library/ssl.po | 6 +- library/stdtypes.po | 31 +- library/subprocess.po | 575 ++++++++++++----------- library/sys.po | 8 +- library/syslog.po | 4 +- library/telnetlib.po | 4 +- library/threading.po | 10 +- library/time.po | 33 +- library/traceback.po | 160 +++---- library/turtle.po | 40 +- library/types.po | 9 +- library/typing.po | 12 +- library/unittest.mock.po | 6 +- library/urllib.request.po | 4 +- library/venv.po | 4 +- library/webbrowser.po | 4 +- library/wsgiref.po | 8 +- library/xmlrpc.client.po | 4 +- library/xmlrpc.server.po | 4 +- library/zipfile.po | 371 +++++++-------- library/zoneinfo.po | 4 +- reference/compound_stmts.po | 556 +++++++++++----------- reference/datamodel.po | 622 ++++++++++++------------- using/cmdline.po | 6 +- whatsnew/3.9.po | 12 +- 96 files changed, 2852 insertions(+), 2758 deletions(-) diff --git a/Makefile b/Makefile index 61162d2ab..4e984dc01 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 := 7cbcfbe2fffebfc57c9b50ae937bfbb896401fba +CPYTHON_CURRENT_COMMIT := d01cf5072be5511595b6d0c35ace6c1b07716f8d LANGUAGE := tr BRANCH := 3.11 diff --git a/bugs.po b/bugs.po index 009b1b878..010fd954f 100644 --- a/bugs.po +++ b/bugs.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: 2022-12-28 11:29+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -58,6 +58,12 @@ msgstr "" #: bugs.rst:22 msgid "" +"You can also open a discussion item on our `Documentation Discourse forum " +"`_." +msgstr "" + +#: bugs.rst:25 +msgid "" "If you're short on time, you can also email documentation bug reports to " "docs@python.org (behavioral bugs can be sent to python-list@python.org). " "'docs@' is a mailing list run by volunteers; your request will be noticed, " @@ -69,27 +75,27 @@ msgstr "" "posta listesidir; talebiniz fark edilecektir, ancak işlenmesi biraz zaman " "alabilir." -#: bugs.rst:30 +#: bugs.rst:33 msgid "`Documentation bugs`_" msgstr "`Dokümantasyon hataları`_" -#: bugs.rst:30 +#: bugs.rst:33 msgid "" "A list of documentation bugs that have been submitted to the Python issue " "tracker." msgstr "Python sorun takipçisine gönderilen dokümantasyon hatalarının listesi." -#: bugs.rst:33 +#: bugs.rst:36 msgid "`Issue Tracking `_" msgstr "`Hata Takibi `_" -#: bugs.rst:33 +#: bugs.rst:36 msgid "" "Overview of the process involved in reporting an improvement on the tracker." msgstr "" "Takipçide bir iyileştirmenin bildirilmesiyle ilgili sürece genel bakış." -#: bugs.rst:36 +#: bugs.rst:39 msgid "" "`Helping with Documentation `_" @@ -97,7 +103,7 @@ msgstr "" "`Dokümantasyona Yardım Etmek `_" -#: bugs.rst:36 +#: bugs.rst:39 msgid "" "Comprehensive guide for individuals that are interested in contributing to " "Python documentation." @@ -105,7 +111,7 @@ msgstr "" "Python dokümantasyonuna katkıda bulunmak isteyen bireyler için kapsamlı " "kılavuz." -#: bugs.rst:38 +#: bugs.rst:41 msgid "" "`Documentation Translations `_" @@ -113,7 +119,7 @@ msgstr "" "`Dokümantasyon Çevirileri `_" -#: bugs.rst:39 +#: bugs.rst:42 msgid "" "A list of GitHub pages for documentation translation and their primary " "contacts." @@ -121,11 +127,11 @@ msgstr "" "Dokümantasyon çevirilerinin GitHub sayfaları ve bunların iletişim " "bilgilerini içeren bir liste." -#: bugs.rst:45 +#: bugs.rst:48 msgid "Using the Python issue tracker" msgstr "Python hata takipçisini kullanmak" -#: bugs.rst:47 +#: bugs.rst:50 msgid "" "Issue reports for Python itself should be submitted via the GitHub issues " "tracker (https://github.com/python/cpython/issues). The GitHub issues " @@ -137,7 +143,7 @@ msgstr "" "bilgilerin girilmesini ve geliştiricilere gönderilmesini sağlayan bir web " "formu sunar." -#: bugs.rst:52 +#: bugs.rst:55 msgid "" "The first step in filing a report is to determine whether the problem has " "already been reported. The advantage in doing so, aside from saving the " @@ -154,7 +160,7 @@ msgstr "" "mümkünse bilgileri sağlayabilirsiniz!). Bunu yapmak için, sayfanın üst " "kısmındaki arama kutusunu kullanarak hata veritabanında arama yapın." -#: bugs.rst:59 +#: bugs.rst:62 msgid "" "If the problem you're reporting is not already in the list, log in to " "GitHub. If you don't already have a GitHub account, create a new account " @@ -165,7 +171,7 @@ msgstr "" "hesabınız, \"Kayıt Ol\" bağlantısına tıklayın. Hata raporunu anonim olarak " "göndermek mümkün değildir." -#: bugs.rst:64 +#: bugs.rst:67 msgid "" "Being now logged in, you can submit an issue. Click on the \"New issue\" " "button in the top bar to report a new issue." @@ -173,19 +179,20 @@ msgstr "" "Oturum açtıktan sonra bir hata raporu gönderebilirsiniz. Yeni bir rapor " "oluşturmak için sayfanın üst kısmındaki \"New issue\" butonuna tıklayın." -#: bugs.rst:67 +#: bugs.rst:70 msgid "The submission form has two fields, \"Title\" and \"Comment\"." msgstr "Form iki kısımdan oluşur. \"Başlık\" ve \"Yorum\"." -#: bugs.rst:69 +#: bugs.rst:72 +#, fuzzy msgid "" "For the \"Title\" field, enter a *very* short description of the problem; " -"less than ten words is good." +"fewer than ten words is good." msgstr "" "\"Başlık\" için hatanın *çok* kısa açıklamasını girin; başlığın on kelimeden " "az olması tercih edilir." -#: bugs.rst:72 +#: bugs.rst:75 msgid "" "In the \"Comment\" field, describe the problem in detail, including what you " "expected to happen and what did happen. Be sure to include whether any " @@ -197,7 +204,7 @@ msgstr "" "dahil olup olmadığını, hangi donanım ve yazılım platformunu kullandığınızı " "(uygun sürüm bilgileri dahil) eklediğinizden emin olun." -#: bugs.rst:77 +#: bugs.rst:80 msgid "" "Each issue report will be reviewed by a developer who will determine what " "needs to be done to correct the problem. You will receive an update each " @@ -207,7 +214,7 @@ msgstr "" "bir geliştiriciye atanır. Hata üzerinde her işlem başlatıldığında bir " "güncelleme alırsınız." -#: bugs.rst:86 +#: bugs.rst:89 msgid "" "`How to Report Bugs Effectively `_" @@ -215,7 +222,7 @@ msgstr "" "'Hataları Etkili Bir Şekilde Bildirmek '_" -#: bugs.rst:85 +#: bugs.rst:88 msgid "" "Article which goes into some detail about how to create a useful bug report. " "This describes what kind of information is useful and why it is useful." @@ -224,7 +231,7 @@ msgstr "" "giren makale. Bu makale, ne tür bilgilerin yararlı olduğunu ve neden yararlı " "olduğunu açıklar." -#: bugs.rst:89 +#: bugs.rst:92 msgid "" "`Bug Writing Guidelines `_" @@ -232,7 +239,7 @@ msgstr "" "'Hata Raporu Yazma Yönergeleri '_" -#: bugs.rst:89 +#: bugs.rst:92 msgid "" "Information about writing a good bug report. Some of this is specific to " "the Mozilla project, but describes general good practices." @@ -240,11 +247,11 @@ msgstr "" "İyi bir hata raporu yazma hakkında bilgi. Bunların bir kısmı Mozilla " "projesine özgüdür, ancak genel iyi uygulamaları açıklar." -#: bugs.rst:95 +#: bugs.rst:98 msgid "Getting started contributing to Python yourself" msgstr "Python'a kendiniz katkıda bulunmaya başlayın" -#: bugs.rst:97 +#: bugs.rst:100 msgid "" "Beyond just reporting bugs that you find, you are also welcome to submit " "patches to fix them. You can find more information on how to get started " diff --git a/c-api/dict.po b/c-api/dict.po index 05b7ba2c6..5ea6832a8 100644 --- a/c-api/dict.po +++ b/c-api/dict.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -87,9 +87,10 @@ msgstr "" #: c-api/dict.rst:83 msgid "" -"Remove the entry in dictionary *p* with key *key*. *key* must be hashable; " -"if it isn't, :exc:`TypeError` is raised. If *key* is not in the dictionary, :" -"exc:`KeyError` is raised. Return ``0`` on success or ``-1`` on failure." +"Remove the entry in dictionary *p* with key *key*. *key* must be :term:" +"`hashable`; if it isn't, :exc:`TypeError` is raised. If *key* is not in the " +"dictionary, :exc:`KeyError` is raised. Return ``0`` on success or ``-1`` on " +"failure." msgstr "" #: c-api/dict.rst:91 diff --git a/c-api/module.po b/c-api/module.po index 2ec194b63..77c90d2ad 100644 --- a/c-api/module.po +++ b/c-api/module.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -439,17 +439,17 @@ msgstr "" #: c-api/module.rst:391 msgid "" -"Create a new module object, given the definition in *module* and the " -"ModuleSpec *spec*. This behaves like :c:func:`PyModule_FromDefAndSpec2` " -"with *module_api_version* set to :const:`PYTHON_API_VERSION`." +"Create a new module object, given the definition in *def* and the ModuleSpec " +"*spec*. This behaves like :c:func:`PyModule_FromDefAndSpec2` with " +"*module_api_version* set to :const:`PYTHON_API_VERSION`." msgstr "" #: c-api/module.rst:399 msgid "" -"Create a new module object, given the definition in *module* and the " -"ModuleSpec *spec*, assuming the API version *module_api_version*. If that " -"version does not match the version of the running interpreter, a :exc:" -"`RuntimeWarning` is emitted." +"Create a new module object, given the definition in *def* and the ModuleSpec " +"*spec*, assuming the API version *module_api_version*. If that version does " +"not match the version of the running interpreter, a :exc:`RuntimeWarning` is " +"emitted." msgstr "" #: c-api/module.rst:406 diff --git a/c-api/object.po b/c-api/object.po index 97abdea25..231962cb2 100644 --- a/c-api/object.po +++ b/c-api/object.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -299,8 +299,8 @@ msgstr "" #: c-api/object.rst:284 msgid "" -"Set a :exc:`TypeError` indicating that ``type(o)`` is not hashable and " -"return ``-1``. This function receives special treatment when stored in a " +"Set a :exc:`TypeError` indicating that ``type(o)`` is not :term:`hashable` " +"and return ``-1``. This function receives special treatment when stored in a " "``tp_hash`` slot, allowing a type to explicitly indicate to the interpreter " "that it is not hashable." msgstr "" diff --git a/faq/programming.po b/faq/programming.po index 723e73973..4ff1ceb3d 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2093,9 +2093,9 @@ msgstr "" #: faq/programming.rst:1982 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." +"The *lru_cache* approach works with methods that have :term:`hashable` " +"arguments. It creates a reference to the instance unless special efforts " +"are made to pass in weak references." msgstr "" #: faq/programming.rst:1986 diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index ab39b88a9..08e45d0f1 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1356,7 +1356,7 @@ msgid "" "additional contextual information to be added to the log). So you cannot " "directly make logging calls using :meth:`str.format` or :class:`string." "Template` syntax, because internally the logging package uses %-formatting " -"to merge the format string and the variable arguments. There would no " +"to merge the format string and the variable arguments. There would be no " "changing this while preserving backward compatibility, since all logging " "calls which are out there in existing code will be using %-format strings." msgstr "" diff --git a/includes/wasm-notavail.po b/includes/wasm-notavail.po index 8797ed503..d3d36b376 100644 --- a/includes/wasm-notavail.po +++ b/includes/wasm-notavail.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -16,7 +16,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/_thread.po b/library/_thread.po index 8fd7af7ac..f7d49b8a6 100644 --- a/library/_thread.po +++ b/library/_thread.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -138,7 +138,7 @@ msgid "" "after which the value may be recycled by the OS)." msgstr "" -#: library/_thread.rst:122 +#: library/_thread.rst:121 msgid "" ":ref:`Availability `: Windows, FreeBSD, Linux, macOS, OpenBSD, " "NetBSD, AIX." @@ -163,7 +163,7 @@ msgid "" "information)." msgstr "" -#: library/_thread.rst:-1 +#: library/_thread.rst:143 msgid ":ref:`Availability `: Windows, pthreads." msgstr "" diff --git a/library/abc.po b/library/abc.po index 3d5246659..0cce7f50d 100644 --- a/library/abc.po +++ b/library/abc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -37,8 +37,8 @@ msgid "" "The :mod:`collections` module has some concrete classes that derive from " "ABCs; these can, of course, be further derived. In addition, the :mod:" "`collections.abc` submodule has some ABCs that can be used to test whether a " -"class or instance provides a particular interface, for example, if it is " -"hashable or if it is a mapping." +"class or instance provides a particular interface, for example, if it is :" +"term:`hashable` or if it is a mapping." msgstr "" #: library/abc.rst:27 diff --git a/library/asynchat.po b/library/asynchat.po index 002269db9..661da32de 100644 --- a/library/asynchat.po +++ b/library/asynchat.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -51,7 +51,7 @@ msgid "" "connection requests." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index 91be5b7e8..29c9ee5ce 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -250,223 +250,237 @@ msgid "" "should be used to reliably finalize all scheduled asynchronous generators." msgstr "" -#: library/asyncio-eventloop.rst:179 library/asyncio-eventloop.rst:199 +#: library/asyncio-eventloop.rst:179 msgid "" "Note that there is no need to call this function when :func:`asyncio.run` is " "used." msgstr "" -#: library/asyncio-eventloop.rst:182 library/asyncio-eventloop.rst:1212 -#: library/asyncio-eventloop.rst:1600 +#: library/asyncio-eventloop.rst:182 library/asyncio-eventloop.rst:1216 +#: library/asyncio-eventloop.rst:1604 msgid "Example::" msgstr "" #: 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, " -"a :exc:`RuntimeError` will be raised if :meth:`loop.run_in_executor` is " -"called while using the default executor." +"the threads in the :class:`~concurrent.futures.ThreadPoolExecutor`. Once " +"this method has been called, using the default executor with :meth:`loop." +"run_in_executor` will raise a :exc:`RuntimeError`." msgstr "" -#: library/asyncio-eventloop.rst:206 +#: library/asyncio-eventloop.rst:202 +msgid "" +"Do not call this method when using :func:`asyncio.run`, as the latter " +"handles default executor shutdown automatically." +msgstr "" + +#: library/asyncio-eventloop.rst:209 msgid "Scheduling callbacks" msgstr "" -#: library/asyncio-eventloop.rst:210 +#: library/asyncio-eventloop.rst:213 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:213 +#: library/asyncio-eventloop.rst:216 msgid "" -"Callbacks are called in the order in which they are registered. Each " -"callback will be called exactly once." +"Return an instance of :class:`asyncio.Handle`, which can be used later to " +"cancel the callback." msgstr "" -#: library/asyncio-eventloop.rst:216 library/asyncio-eventloop.rst:283 +#: library/asyncio-eventloop.rst:219 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." +"Callbacks are called in the order in which they are registered. Each " +"callback will be called exactly once." msgstr "" -#: library/asyncio-eventloop.rst:220 +#: library/asyncio-eventloop.rst:222 msgid "" -"An instance of :class:`asyncio.Handle` is returned, which can be used later " -"to cancel the callback." +"The optional keyword-only *context* argument specifies a custom :class:" +"`contextvars.Context` for the *callback* to run in. Callbacks use the " +"current context when no *context* is provided." msgstr "" -#: library/asyncio-eventloop.rst:223 -msgid "This method is not thread-safe." +#: library/asyncio-eventloop.rst:226 +msgid "Unlike :meth:`call_soon_threadsafe`, this method is not thread-safe." msgstr "" -#: library/asyncio-eventloop.rst:227 +#: library/asyncio-eventloop.rst:230 msgid "" -"A thread-safe variant of :meth:`call_soon`. Must be used to schedule " -"callbacks *from another thread*." +"A thread-safe variant of :meth:`call_soon`. When scheduling callbacks from " +"another thread, this function *must* be used, since :meth:`call_soon` is not " +"thread-safe." msgstr "" -#: library/asyncio-eventloop.rst:230 +#: library/asyncio-eventloop.rst:234 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:234 +#: library/asyncio-eventloop.rst:238 msgid "" "See the :ref:`concurrency and multithreading ` " "section of the documentation." msgstr "" -#: library/asyncio-eventloop.rst:237 library/asyncio-eventloop.rst:287 -#: library/asyncio-eventloop.rst:307 +#: library/asyncio-eventloop.rst:241 library/asyncio-eventloop.rst:291 +#: library/asyncio-eventloop.rst:311 msgid "" "The *context* keyword-only parameter was added. See :pep:`567` for more " "details." msgstr "" -#: library/asyncio-eventloop.rst:245 +#: library/asyncio-eventloop.rst:249 msgid "" "Most :mod:`asyncio` scheduling functions don't allow passing keyword " "arguments. To do that, use :func:`functools.partial`::" msgstr "" -#: library/asyncio-eventloop.rst:252 +#: library/asyncio-eventloop.rst:256 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:260 +#: library/asyncio-eventloop.rst:264 msgid "Scheduling delayed callbacks" msgstr "" -#: library/asyncio-eventloop.rst:262 +#: library/asyncio-eventloop.rst:266 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:269 +#: library/asyncio-eventloop.rst:273 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:272 library/asyncio-eventloop.rst:304 +#: library/asyncio-eventloop.rst:276 library/asyncio-eventloop.rst:308 msgid "" "An instance of :class:`asyncio.TimerHandle` is returned which can be used to " "cancel the callback." msgstr "" -#: library/asyncio-eventloop.rst:275 +#: library/asyncio-eventloop.rst:279 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:279 +#: library/asyncio-eventloop.rst:283 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:291 +#: library/asyncio-eventloop.rst:287 +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:295 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:298 +#: library/asyncio-eventloop.rst:302 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:302 +#: library/asyncio-eventloop.rst:306 msgid "This method's behavior is the same as :meth:`call_later`." msgstr "" -#: library/asyncio-eventloop.rst:311 +#: library/asyncio-eventloop.rst:315 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:318 +#: library/asyncio-eventloop.rst:322 msgid "" "Return the current time, as a :class:`float` value, according to the event " "loop's internal monotonic clock." msgstr "" -#: library/asyncio-eventloop.rst:322 +#: library/asyncio-eventloop.rst:326 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:328 +#: library/asyncio-eventloop.rst:332 msgid "The :func:`asyncio.sleep` function." msgstr "" -#: library/asyncio-eventloop.rst:332 +#: library/asyncio-eventloop.rst:336 msgid "Creating Futures and Tasks" msgstr "" -#: library/asyncio-eventloop.rst:336 +#: library/asyncio-eventloop.rst:340 msgid "Create an :class:`asyncio.Future` object attached to the event loop." msgstr "" -#: library/asyncio-eventloop.rst:338 +#: library/asyncio-eventloop.rst:342 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:346 +#: library/asyncio-eventloop.rst:350 msgid "" "Schedule the execution of :ref:`coroutine ` *coro*. Return a :" "class:`Task` object." msgstr "" -#: library/asyncio-eventloop.rst:349 +#: library/asyncio-eventloop.rst:353 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:353 +#: library/asyncio-eventloop.rst:357 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:356 +#: library/asyncio-eventloop.rst:360 msgid "" "An optional keyword-only *context* argument allows specifying a custom :" "class:`contextvars.Context` for the *coro* to run in. The current context " "copy is created when no *context* is provided." msgstr "" -#: library/asyncio-eventloop.rst:360 +#: library/asyncio-eventloop.rst:364 msgid "Added the *name* parameter." msgstr "" -#: library/asyncio-eventloop.rst:363 +#: library/asyncio-eventloop.rst:367 msgid "Added the *context* parameter." msgstr "" -#: library/asyncio-eventloop.rst:368 +#: library/asyncio-eventloop.rst:372 msgid "Set a task factory that will be used by :meth:`loop.create_task`." msgstr "" -#: library/asyncio-eventloop.rst:371 +#: library/asyncio-eventloop.rst:375 msgid "" "If *factory* is ``None`` the default task factory will be set. Otherwise, " "*factory* must be a *callable* with the signature matching ``(loop, coro, " @@ -475,80 +489,80 @@ msgid "" "Future`-compatible object." msgstr "" -#: library/asyncio-eventloop.rst:379 +#: library/asyncio-eventloop.rst:383 msgid "Return a task factory or ``None`` if the default one is in use." msgstr "" -#: library/asyncio-eventloop.rst:383 +#: library/asyncio-eventloop.rst:387 msgid "Opening network connections" msgstr "" -#: library/asyncio-eventloop.rst:393 +#: library/asyncio-eventloop.rst:397 msgid "" "Open a streaming transport connection to a given address specified by *host* " "and *port*." msgstr "" -#: library/asyncio-eventloop.rst:396 +#: library/asyncio-eventloop.rst:400 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:400 +#: library/asyncio-eventloop.rst:404 msgid "The socket type will be :py:data:`~socket.SOCK_STREAM`." msgstr "" -#: library/asyncio-eventloop.rst:402 library/asyncio-eventloop.rst:1128 -#: library/asyncio-eventloop.rst:1144 +#: library/asyncio-eventloop.rst:406 library/asyncio-eventloop.rst:1132 +#: library/asyncio-eventloop.rst:1148 msgid "" "*protocol_factory* must be a callable returning an :ref:`asyncio protocol " "` implementation." msgstr "" -#: library/asyncio-eventloop.rst:405 +#: library/asyncio-eventloop.rst:409 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:408 +#: library/asyncio-eventloop.rst:412 msgid "The chronological synopsis of the underlying operation is as follows:" msgstr "" -#: library/asyncio-eventloop.rst:410 +#: library/asyncio-eventloop.rst:414 msgid "" "The connection is established and a :ref:`transport ` is " "created for it." msgstr "" -#: library/asyncio-eventloop.rst:413 +#: library/asyncio-eventloop.rst:417 msgid "" "*protocol_factory* is called without arguments and is expected to return a :" "ref:`protocol ` instance." msgstr "" -#: library/asyncio-eventloop.rst:416 +#: library/asyncio-eventloop.rst:420 msgid "" "The protocol instance is coupled with the transport by calling its :meth:" "`~BaseProtocol.connection_made` method." msgstr "" -#: library/asyncio-eventloop.rst:419 +#: library/asyncio-eventloop.rst:423 msgid "A ``(transport, protocol)`` tuple is returned on success." msgstr "" -#: library/asyncio-eventloop.rst:421 +#: library/asyncio-eventloop.rst:425 msgid "" "The created transport is an implementation-dependent bidirectional stream." msgstr "" -#: library/asyncio-eventloop.rst:424 library/asyncio-eventloop.rst:545 +#: library/asyncio-eventloop.rst:428 library/asyncio-eventloop.rst:549 msgid "Other arguments:" msgstr "" -#: library/asyncio-eventloop.rst:426 +#: library/asyncio-eventloop.rst:430 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` " @@ -557,11 +571,11 @@ msgid "" "is used." msgstr "" -#: library/asyncio-eventloop.rst:432 +#: library/asyncio-eventloop.rst:436 msgid ":ref:`SSL/TLS security considerations `" msgstr "" -#: library/asyncio-eventloop.rst:434 +#: library/asyncio-eventloop.rst:438 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 " @@ -572,7 +586,7 @@ msgid "" "potential man-in-the-middle attacks)." msgstr "" -#: library/asyncio-eventloop.rst:442 +#: library/asyncio-eventloop.rst:446 msgid "" "*family*, *proto*, *flags* are the optional address family, protocol and " "flags to be passed through to getaddrinfo() for *host* resolution. If given, " @@ -580,7 +594,7 @@ msgid "" "constants." msgstr "" -#: library/asyncio-eventloop.rst:447 +#: library/asyncio-eventloop.rst:451 msgid "" "*happy_eyeballs_delay*, if given, enables Happy Eyeballs for this " "connection. It should be a floating-point number representing the amount of " @@ -590,7 +604,7 @@ msgid "" "the RFC is ``0.25`` (250 milliseconds)." msgstr "" -#: library/asyncio-eventloop.rst:455 +#: library/asyncio-eventloop.rst:459 msgid "" "*interleave* controls address reordering when a host name resolves to " "multiple IP addresses. If ``0`` or unspecified, no reordering is done, and " @@ -601,7 +615,7 @@ msgid "" "*happy_eyeballs_delay* is not specified, and ``1`` if it is." msgstr "" -#: library/asyncio-eventloop.rst:464 +#: library/asyncio-eventloop.rst:468 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 " @@ -609,123 +623,123 @@ msgid "" "*interleave* and *local_addr* should be specified." msgstr "" -#: library/asyncio-eventloop.rst:472 library/asyncio-eventloop.rst:576 -#: library/asyncio-eventloop.rst:800 +#: library/asyncio-eventloop.rst:476 library/asyncio-eventloop.rst:580 +#: library/asyncio-eventloop.rst:804 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:476 +#: library/asyncio-eventloop.rst:480 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:480 library/asyncio-eventloop.rst:891 +#: library/asyncio-eventloop.rst:484 library/asyncio-eventloop.rst:895 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:484 library/asyncio-eventloop.rst:717 -#: library/asyncio-eventloop.rst:811 library/asyncio-eventloop.rst:895 +#: library/asyncio-eventloop.rst:488 library/asyncio-eventloop.rst:721 +#: library/asyncio-eventloop.rst:815 library/asyncio-eventloop.rst:899 msgid "" "*ssl_shutdown_timeout* is the time in seconds to wait for the SSL shutdown " "to complete before aborting the connection. ``30.0`` seconds if ``None`` " "(default)." msgstr "" -#: library/asyncio-eventloop.rst:490 library/asyncio-eventloop.rst:729 +#: library/asyncio-eventloop.rst:494 library/asyncio-eventloop.rst:733 msgid "Added support for SSL/TLS in :class:`ProactorEventLoop`." msgstr "" -#: library/asyncio-eventloop.rst:494 +#: library/asyncio-eventloop.rst:498 msgid "" "The socket option :py:data:`~socket.TCP_NODELAY` is set by default for all " "TCP connections." msgstr "" -#: library/asyncio-eventloop.rst:499 library/asyncio-eventloop.rst:821 +#: library/asyncio-eventloop.rst:503 library/asyncio-eventloop.rst:825 msgid "Added the *ssl_handshake_timeout* parameter." msgstr "" -#: library/asyncio-eventloop.rst:503 +#: library/asyncio-eventloop.rst:507 msgid "Added the *happy_eyeballs_delay* and *interleave* parameters." msgstr "" -#: library/asyncio-eventloop.rst:505 +#: library/asyncio-eventloop.rst:509 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 " "are not working, a dual-stack client application experiences significant " "connection delay compared to an IPv4-only client. This is undesirable " -"because it causes the dual- stack client to have a worse user experience. " +"because it causes the dual-stack client to have a worse user experience. " "This document specifies requirements for algorithms that reduce this user-" "visible delay and provides an algorithm." msgstr "" -#: library/asyncio-eventloop.rst:514 +#: library/asyncio-eventloop.rst:518 msgid "For more information: https://tools.ietf.org/html/rfc6555" msgstr "" -#: library/asyncio-eventloop.rst:518 library/asyncio-eventloop.rst:637 -#: library/asyncio-eventloop.rst:743 library/asyncio-eventloop.rst:778 -#: library/asyncio-eventloop.rst:825 library/asyncio-eventloop.rst:903 +#: library/asyncio-eventloop.rst:522 library/asyncio-eventloop.rst:641 +#: library/asyncio-eventloop.rst:747 library/asyncio-eventloop.rst:782 +#: library/asyncio-eventloop.rst:829 library/asyncio-eventloop.rst:907 msgid "Added the *ssl_shutdown_timeout* parameter." msgstr "" -#: library/asyncio-eventloop.rst:522 +#: library/asyncio-eventloop.rst:526 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:532 +#: library/asyncio-eventloop.rst:536 msgid "Create a datagram connection." msgstr "" -#: library/asyncio-eventloop.rst:534 +#: library/asyncio-eventloop.rst:538 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:538 +#: library/asyncio-eventloop.rst:542 msgid "The socket type will be :py:data:`~socket.SOCK_DGRAM`." msgstr "" -#: library/asyncio-eventloop.rst:540 library/asyncio-eventloop.rst:660 -#: library/asyncio-eventloop.rst:792 +#: library/asyncio-eventloop.rst:544 library/asyncio-eventloop.rst:664 +#: library/asyncio-eventloop.rst:796 msgid "" "*protocol_factory* must be a callable returning a :ref:`protocol ` implementation." msgstr "" -#: library/asyncio-eventloop.rst:543 library/asyncio-eventloop.rst:619 +#: library/asyncio-eventloop.rst:547 library/asyncio-eventloop.rst:623 msgid "A tuple of ``(transport, protocol)`` is returned on success." msgstr "" -#: library/asyncio-eventloop.rst:547 +#: library/asyncio-eventloop.rst:551 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:551 +#: library/asyncio-eventloop.rst:555 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:555 +#: library/asyncio-eventloop.rst:559 msgid "" "*family*, *proto*, *flags* are the optional address family, protocol and " "flags to be passed through to :meth:`getaddrinfo` for *host* resolution. If " @@ -733,7 +747,7 @@ msgid "" "module constants." msgstr "" -#: library/asyncio-eventloop.rst:560 +#: library/asyncio-eventloop.rst:564 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 " @@ -742,13 +756,13 @@ msgid "" "this capability is unsupported." msgstr "" -#: library/asyncio-eventloop.rst:566 +#: library/asyncio-eventloop.rst:570 msgid "" "*allow_broadcast* tells the kernel to allow this endpoint to send messages " "to the broadcast address." msgstr "" -#: library/asyncio-eventloop.rst:569 +#: library/asyncio-eventloop.rst:573 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 " @@ -756,33 +770,33 @@ msgid "" "`None`)." msgstr "" -#: library/asyncio-eventloop.rst:580 +#: library/asyncio-eventloop.rst:584 msgid "" "See :ref:`UDP echo client protocol ` and :" "ref:`UDP echo server protocol ` examples." msgstr "" -#: library/asyncio-eventloop.rst:583 +#: library/asyncio-eventloop.rst:587 msgid "" "The *family*, *proto*, *flags*, *reuse_address*, *reuse_port*, " "*allow_broadcast*, and *sock* parameters were added." msgstr "" -#: library/asyncio-eventloop.rst:587 +#: library/asyncio-eventloop.rst:591 msgid "" "The *reuse_address* parameter 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:592 +#: library/asyncio-eventloop.rst:596 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:596 +#: library/asyncio-eventloop.rst:600 msgid "" "For supported platforms, *reuse_port* can be used as a replacement for " "similar functionality. With *reuse_port*, :py:data:`~sockets.SO_REUSEPORT` " @@ -790,94 +804,94 @@ msgid "" "from assigning sockets to the same socket address." msgstr "" -#: library/asyncio-eventloop.rst:602 +#: library/asyncio-eventloop.rst:606 msgid "Added support for Windows." msgstr "" -#: library/asyncio-eventloop.rst:605 +#: library/asyncio-eventloop.rst:609 msgid "" "The *reuse_address* parameter, disabled since Python 3.9.0, 3.8.1, 3.7.6 and " "3.6.10, has been entirely removed." msgstr "" -#: library/asyncio-eventloop.rst:614 +#: library/asyncio-eventloop.rst:618 msgid "Create a Unix connection." msgstr "" -#: library/asyncio-eventloop.rst:616 +#: library/asyncio-eventloop.rst:620 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:621 +#: library/asyncio-eventloop.rst:625 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:626 +#: library/asyncio-eventloop.rst:630 msgid "" "See the documentation of the :meth:`loop.create_connection` method for " "information about arguments to this method." msgstr "" -#: library/asyncio-eventloop.rst:630 library/asyncio-eventloop.rst:770 -#: library/asyncio-eventloop.rst:1195 +#: library/asyncio-eventloop.rst:633 library/asyncio-eventloop.rst:773 +#: library/asyncio-eventloop.rst:1199 msgid ":ref:`Availability `: Unix." msgstr "" -#: library/asyncio-eventloop.rst:631 +#: library/asyncio-eventloop.rst:635 msgid "" "Added the *ssl_handshake_timeout* parameter. The *path* parameter can now be " "a :term:`path-like object`." msgstr "" -#: library/asyncio-eventloop.rst:641 +#: library/asyncio-eventloop.rst:645 msgid "Creating network servers" msgstr "" -#: library/asyncio-eventloop.rst:653 +#: library/asyncio-eventloop.rst:657 msgid "" "Create a TCP server (socket type :data:`~socket.SOCK_STREAM`) listening on " "*port* of the *host* address." msgstr "" -#: library/asyncio-eventloop.rst:656 +#: library/asyncio-eventloop.rst:660 msgid "Returns a :class:`Server` object." msgstr "" -#: library/asyncio-eventloop.rst:658 +#: library/asyncio-eventloop.rst:662 msgid "Arguments:" msgstr "" -#: library/asyncio-eventloop.rst:663 +#: library/asyncio-eventloop.rst:667 msgid "" "The *host* parameter can be set to several types which determine where the " "server would be listening:" msgstr "" -#: library/asyncio-eventloop.rst:666 +#: library/asyncio-eventloop.rst:670 msgid "" "If *host* is a string, the TCP server is bound to a single network interface " "specified by *host*." msgstr "" -#: library/asyncio-eventloop.rst:669 +#: library/asyncio-eventloop.rst:673 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:672 +#: library/asyncio-eventloop.rst:676 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:676 +#: library/asyncio-eventloop.rst:680 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 " @@ -885,63 +899,63 @@ msgid "" "different random port will be selected for each interface)." msgstr "" -#: library/asyncio-eventloop.rst:681 +#: library/asyncio-eventloop.rst:685 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:686 +#: library/asyncio-eventloop.rst:690 msgid "*flags* is a bitmask for :meth:`getaddrinfo`." msgstr "" -#: library/asyncio-eventloop.rst:688 +#: library/asyncio-eventloop.rst:692 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:693 +#: library/asyncio-eventloop.rst:697 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:697 +#: library/asyncio-eventloop.rst:701 msgid "" "*backlog* is the maximum number of queued connections passed to :meth:" "`~socket.socket.listen` (defaults to 100)." msgstr "" -#: library/asyncio-eventloop.rst:700 +#: library/asyncio-eventloop.rst:704 msgid "" "*ssl* can be set to an :class:`~ssl.SSLContext` instance to enable TLS over " "the accepted connections." msgstr "" -#: library/asyncio-eventloop.rst:703 +#: library/asyncio-eventloop.rst:707 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:708 +#: library/asyncio-eventloop.rst:712 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:713 +#: library/asyncio-eventloop.rst:717 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:721 +#: library/asyncio-eventloop.rst:725 msgid "" "*start_serving* set to ``True`` (the default) causes the created server to " "start accepting connections immediately. When set to ``False``, the user " @@ -949,104 +963,104 @@ msgid "" "to make the server to start accepting connections." msgstr "" -#: library/asyncio-eventloop.rst:733 +#: library/asyncio-eventloop.rst:737 msgid "The *host* parameter can be a sequence of strings." msgstr "" -#: library/asyncio-eventloop.rst:737 +#: library/asyncio-eventloop.rst:741 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:747 +#: library/asyncio-eventloop.rst:751 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:758 +#: library/asyncio-eventloop.rst:762 msgid "" "Similar to :meth:`loop.create_server` but works with the :py:data:`~socket." "AF_UNIX` socket family." msgstr "" -#: library/asyncio-eventloop.rst:761 +#: library/asyncio-eventloop.rst:765 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:766 +#: library/asyncio-eventloop.rst:770 msgid "" "See the documentation of the :meth:`loop.create_server` method for " "information about arguments to this method." msgstr "" -#: library/asyncio-eventloop.rst:773 +#: library/asyncio-eventloop.rst:777 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:785 +#: library/asyncio-eventloop.rst:789 msgid "Wrap an already accepted connection into a transport/protocol pair." msgstr "" -#: library/asyncio-eventloop.rst:787 +#: library/asyncio-eventloop.rst:791 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:790 library/asyncio-eventloop.rst:877 +#: library/asyncio-eventloop.rst:794 library/asyncio-eventloop.rst:881 msgid "Parameters:" msgstr "" -#: library/asyncio-eventloop.rst:795 +#: library/asyncio-eventloop.rst:799 msgid "" "*sock* is a preexisting socket object returned from :meth:`socket.accept " "`." msgstr "" -#: library/asyncio-eventloop.rst:804 +#: library/asyncio-eventloop.rst:808 msgid "" "*ssl* can be set to an :class:`~ssl.SSLContext` to enable SSL over the " "accepted connections." msgstr "" -#: library/asyncio-eventloop.rst:807 +#: library/asyncio-eventloop.rst:811 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:815 +#: library/asyncio-eventloop.rst:819 msgid "Returns a ``(transport, protocol)`` pair." msgstr "" -#: library/asyncio-eventloop.rst:829 +#: library/asyncio-eventloop.rst:833 msgid "Transferring files" msgstr "" -#: library/asyncio-eventloop.rst:834 +#: library/asyncio-eventloop.rst:838 msgid "" "Send a *file* over a *transport*. Return the total number of bytes sent." msgstr "" -#: library/asyncio-eventloop.rst:837 +#: library/asyncio-eventloop.rst:841 msgid "The method uses high-performance :meth:`os.sendfile` if available." msgstr "" -#: library/asyncio-eventloop.rst:839 +#: library/asyncio-eventloop.rst:843 msgid "*file* must be a regular file object opened in binary mode." msgstr "" -#: library/asyncio-eventloop.rst:841 library/asyncio-eventloop.rst:1083 +#: library/asyncio-eventloop.rst:845 library/asyncio-eventloop.rst:1087 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 " @@ -1055,35 +1069,35 @@ msgid "" "obtain the actual number of bytes sent." msgstr "" -#: library/asyncio-eventloop.rst:848 +#: library/asyncio-eventloop.rst:852 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:852 +#: library/asyncio-eventloop.rst:856 msgid "" "Raise :exc:`SendfileNotAvailableError` if the system does not support the " "*sendfile* syscall and *fallback* is ``False``." msgstr "" -#: library/asyncio-eventloop.rst:859 +#: library/asyncio-eventloop.rst:863 msgid "TLS Upgrade" msgstr "" -#: library/asyncio-eventloop.rst:866 +#: library/asyncio-eventloop.rst:870 msgid "Upgrade an existing transport-based connection to TLS." msgstr "" -#: library/asyncio-eventloop.rst:868 +#: library/asyncio-eventloop.rst:872 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:872 +#: library/asyncio-eventloop.rst:876 msgid "" "Return the created two-interface instance. After *await*, the *protocol* " "must stop using the original *transport* and communicate with the returned " @@ -1091,73 +1105,73 @@ msgid "" "exchanges extra TLS session packets with *transport*." msgstr "" -#: library/asyncio-eventloop.rst:879 +#: library/asyncio-eventloop.rst:883 msgid "" "*transport* and *protocol* instances that methods like :meth:`~loop." "create_server` and :meth:`~loop.create_connection` return." msgstr "" -#: library/asyncio-eventloop.rst:883 +#: library/asyncio-eventloop.rst:887 msgid "*sslcontext*: a configured instance of :class:`~ssl.SSLContext`." msgstr "" -#: library/asyncio-eventloop.rst:885 +#: library/asyncio-eventloop.rst:889 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:888 +#: library/asyncio-eventloop.rst:892 msgid "" "*server_hostname*: sets or overrides the host name that the target server's " "certificate will be matched against." msgstr "" -#: library/asyncio-eventloop.rst:908 +#: library/asyncio-eventloop.rst:912 msgid "Watching file descriptors" msgstr "" -#: library/asyncio-eventloop.rst:912 +#: library/asyncio-eventloop.rst:916 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:918 +#: library/asyncio-eventloop.rst:922 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:923 +#: library/asyncio-eventloop.rst:927 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:927 library/asyncio-eventloop.rst:1182 +#: library/asyncio-eventloop.rst:931 library/asyncio-eventloop.rst:1186 msgid "" "Use :func:`functools.partial` :ref:`to pass keyword arguments ` to *callback*." msgstr "" -#: library/asyncio-eventloop.rst:932 +#: library/asyncio-eventloop.rst:936 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:935 +#: library/asyncio-eventloop.rst:939 msgid "" "See also :ref:`Platform Support ` section for some " "limitations of these methods." msgstr "" -#: library/asyncio-eventloop.rst:940 +#: library/asyncio-eventloop.rst:944 msgid "Working with socket objects directly" msgstr "" -#: library/asyncio-eventloop.rst:942 +#: library/asyncio-eventloop.rst:946 msgid "" "In general, protocol implementations that use transport-based APIs such as :" "meth:`loop.create_connection` and :meth:`loop.create_server` are faster than " @@ -1166,68 +1180,68 @@ msgid "" "socket` objects directly is more convenient." msgstr "" -#: library/asyncio-eventloop.rst:951 +#: library/asyncio-eventloop.rst:955 msgid "" "Receive up to *nbytes* from *sock*. Asynchronous version of :meth:`socket." "recv() `." msgstr "" -#: library/asyncio-eventloop.rst:954 +#: library/asyncio-eventloop.rst:958 msgid "Return the received data as a bytes object." msgstr "" -#: library/asyncio-eventloop.rst:956 library/asyncio-eventloop.rst:970 -#: library/asyncio-eventloop.rst:981 library/asyncio-eventloop.rst:993 -#: library/asyncio-eventloop.rst:1008 library/asyncio-eventloop.rst:1023 -#: library/asyncio-eventloop.rst:1033 library/asyncio-eventloop.rst:1059 -#: library/asyncio-eventloop.rst:1097 +#: library/asyncio-eventloop.rst:960 library/asyncio-eventloop.rst:974 +#: library/asyncio-eventloop.rst:985 library/asyncio-eventloop.rst:997 +#: library/asyncio-eventloop.rst:1012 library/asyncio-eventloop.rst:1027 +#: library/asyncio-eventloop.rst:1037 library/asyncio-eventloop.rst:1063 +#: library/asyncio-eventloop.rst:1101 msgid "*sock* must be a non-blocking socket." msgstr "" -#: library/asyncio-eventloop.rst:958 +#: library/asyncio-eventloop.rst:962 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:965 +#: library/asyncio-eventloop.rst:969 msgid "" "Receive data from *sock* into the *buf* buffer. Modeled after the blocking :" "meth:`socket.recv_into() ` method." msgstr "" -#: library/asyncio-eventloop.rst:968 +#: library/asyncio-eventloop.rst:972 msgid "Return the number of bytes written to the buffer." msgstr "" -#: library/asyncio-eventloop.rst:976 +#: library/asyncio-eventloop.rst:980 msgid "" "Receive a datagram of up to *bufsize* from *sock*. Asynchronous version of :" "meth:`socket.recvfrom() `." msgstr "" -#: library/asyncio-eventloop.rst:979 +#: library/asyncio-eventloop.rst:983 msgid "Return a tuple of (received data, remote address)." msgstr "" -#: library/asyncio-eventloop.rst:987 +#: library/asyncio-eventloop.rst:991 msgid "" "Receive a datagram of up to *nbytes* from *sock* into *buf*. Asynchronous " "version of :meth:`socket.recvfrom_into() `." msgstr "" -#: library/asyncio-eventloop.rst:991 +#: library/asyncio-eventloop.rst:995 msgid "Return a tuple of (number of bytes received, remote address)." msgstr "" -#: library/asyncio-eventloop.rst:999 +#: library/asyncio-eventloop.rst:1003 msgid "" "Send *data* to the *sock* socket. Asynchronous version of :meth:`socket." "sendall() `." msgstr "" -#: library/asyncio-eventloop.rst:1002 +#: library/asyncio-eventloop.rst:1006 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 " @@ -1236,33 +1250,33 @@ msgid "" "the connection." msgstr "" -#: library/asyncio-eventloop.rst:1010 library/asyncio-eventloop.rst:1061 +#: library/asyncio-eventloop.rst:1014 library/asyncio-eventloop.rst:1065 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:1017 +#: library/asyncio-eventloop.rst:1021 msgid "" "Send a datagram from *sock* to *address*. Asynchronous version of :meth:" "`socket.sendto() `." msgstr "" -#: library/asyncio-eventloop.rst:1021 +#: library/asyncio-eventloop.rst:1025 msgid "Return the number of bytes sent." msgstr "" -#: library/asyncio-eventloop.rst:1029 +#: library/asyncio-eventloop.rst:1033 msgid "Connect *sock* to a remote socket at *address*." msgstr "" -#: library/asyncio-eventloop.rst:1031 +#: library/asyncio-eventloop.rst:1035 msgid "" "Asynchronous version of :meth:`socket.connect() `." msgstr "" -#: library/asyncio-eventloop.rst:1035 +#: library/asyncio-eventloop.rst:1039 msgid "" "``address`` no longer needs to be resolved. ``sock_connect`` will try to " "check if the *address* is already resolved by calling :func:`socket." @@ -1270,19 +1284,19 @@ msgid "" "*address*." msgstr "" -#: library/asyncio-eventloop.rst:1044 +#: library/asyncio-eventloop.rst:1048 msgid "" ":meth:`loop.create_connection` and :func:`asyncio.open_connection() " "`." msgstr "" -#: library/asyncio-eventloop.rst:1050 +#: library/asyncio-eventloop.rst:1054 msgid "" "Accept a connection. Modeled after the blocking :meth:`socket.accept() " "` method." msgstr "" -#: library/asyncio-eventloop.rst:1053 +#: library/asyncio-eventloop.rst:1057 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 " @@ -1290,57 +1304,57 @@ msgid "" "the address bound to the socket on the other end of the connection." msgstr "" -#: library/asyncio-eventloop.rst:1068 +#: library/asyncio-eventloop.rst:1072 msgid ":meth:`loop.create_server` and :func:`start_server`." msgstr "" -#: library/asyncio-eventloop.rst:1073 +#: library/asyncio-eventloop.rst:1077 msgid "" "Send a file using high-performance :mod:`os.sendfile` if possible. Return " "the total number of bytes sent." msgstr "" -#: library/asyncio-eventloop.rst:1076 +#: library/asyncio-eventloop.rst:1080 msgid "" "Asynchronous version of :meth:`socket.sendfile() `." msgstr "" -#: library/asyncio-eventloop.rst:1078 +#: library/asyncio-eventloop.rst:1082 msgid "" "*sock* must be a non-blocking :const:`socket.SOCK_STREAM` :class:`~socket." "socket`." msgstr "" -#: library/asyncio-eventloop.rst:1081 +#: library/asyncio-eventloop.rst:1085 msgid "*file* must be a regular file object open in binary mode." msgstr "" -#: library/asyncio-eventloop.rst:1090 +#: library/asyncio-eventloop.rst:1094 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:1094 +#: library/asyncio-eventloop.rst:1098 msgid "" "Raise :exc:`SendfileNotAvailableError` if the system does not support " "*sendfile* syscall and *fallback* is ``False``." msgstr "" -#: library/asyncio-eventloop.rst:1103 +#: library/asyncio-eventloop.rst:1107 msgid "DNS" msgstr "" -#: library/asyncio-eventloop.rst:1108 +#: library/asyncio-eventloop.rst:1112 msgid "Asynchronous version of :meth:`socket.getaddrinfo`." msgstr "" -#: library/asyncio-eventloop.rst:1112 +#: library/asyncio-eventloop.rst:1116 msgid "Asynchronous version of :meth:`socket.getnameinfo`." msgstr "" -#: library/asyncio-eventloop.rst:1114 +#: library/asyncio-eventloop.rst:1118 msgid "" "Both *getaddrinfo* and *getnameinfo* methods were always documented to " "return a coroutine, but prior to Python 3.7 they were, in fact, returning :" @@ -1348,66 +1362,66 @@ msgid "" "coroutines." msgstr "" -#: library/asyncio-eventloop.rst:1122 +#: library/asyncio-eventloop.rst:1126 msgid "Working with pipes" msgstr "" -#: library/asyncio-eventloop.rst:1126 +#: library/asyncio-eventloop.rst:1130 msgid "Register the read end of *pipe* in the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1131 +#: library/asyncio-eventloop.rst:1135 msgid "*pipe* is a :term:`file-like object `." msgstr "" -#: library/asyncio-eventloop.rst:1133 +#: library/asyncio-eventloop.rst:1137 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:1137 library/asyncio-eventloop.rst:1153 +#: library/asyncio-eventloop.rst:1141 library/asyncio-eventloop.rst:1157 msgid "" "With :class:`SelectorEventLoop` event loop, the *pipe* is set to non-" "blocking mode." msgstr "" -#: library/asyncio-eventloop.rst:1142 +#: library/asyncio-eventloop.rst:1146 msgid "Register the write end of *pipe* in the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1147 +#: library/asyncio-eventloop.rst:1151 msgid "*pipe* is :term:`file-like object `." msgstr "" -#: library/asyncio-eventloop.rst:1149 +#: library/asyncio-eventloop.rst:1153 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:1158 +#: library/asyncio-eventloop.rst:1162 msgid "" ":class:`SelectorEventLoop` does not support the above methods on Windows. " "Use :class:`ProactorEventLoop` instead for Windows." msgstr "" -#: library/asyncio-eventloop.rst:1163 +#: library/asyncio-eventloop.rst:1167 msgid "" "The :meth:`loop.subprocess_exec` and :meth:`loop.subprocess_shell` methods." msgstr "" -#: library/asyncio-eventloop.rst:1168 +#: library/asyncio-eventloop.rst:1172 msgid "Unix signals" msgstr "" -#: library/asyncio-eventloop.rst:1172 +#: library/asyncio-eventloop.rst:1176 msgid "Set *callback* as the handler for the *signum* signal." msgstr "" -#: library/asyncio-eventloop.rst:1174 +#: library/asyncio-eventloop.rst:1178 msgid "" "The callback will be invoked by *loop*, along with other queued callbacks " "and runnable coroutines of that event loop. Unlike signal handlers " @@ -1415,46 +1429,46 @@ msgid "" "function is allowed to interact with the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1179 +#: library/asyncio-eventloop.rst:1183 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:1185 +#: library/asyncio-eventloop.rst:1189 msgid "" "Like :func:`signal.signal`, this function must be invoked in the main thread." msgstr "" -#: library/asyncio-eventloop.rst:1190 +#: library/asyncio-eventloop.rst:1194 msgid "Remove the handler for the *sig* signal." msgstr "" -#: library/asyncio-eventloop.rst:1192 +#: library/asyncio-eventloop.rst:1196 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:1199 +#: library/asyncio-eventloop.rst:1203 msgid "The :mod:`signal` module." msgstr "" -#: library/asyncio-eventloop.rst:1203 +#: library/asyncio-eventloop.rst:1207 msgid "Executing code in thread or process pools" msgstr "" -#: library/asyncio-eventloop.rst:1207 +#: library/asyncio-eventloop.rst:1211 msgid "Arrange for *func* to be called in the specified executor." msgstr "" -#: library/asyncio-eventloop.rst:1209 +#: library/asyncio-eventloop.rst:1213 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:1254 +#: library/asyncio-eventloop.rst:1258 msgid "" "Note that the entry point guard (``if __name__ == '__main__'``) is required " "for option 3 due to the peculiarities of :mod:`multiprocessing`, which is " @@ -1462,17 +1476,17 @@ msgid "" "importing of main module `." msgstr "" -#: library/asyncio-eventloop.rst:1259 +#: library/asyncio-eventloop.rst:1263 msgid "This method returns a :class:`asyncio.Future` object." msgstr "" -#: library/asyncio-eventloop.rst:1261 +#: library/asyncio-eventloop.rst:1265 msgid "" "Use :func:`functools.partial` :ref:`to pass keyword arguments ` to *func*." msgstr "" -#: library/asyncio-eventloop.rst:1264 +#: library/asyncio-eventloop.rst:1268 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 " @@ -1480,32 +1494,32 @@ msgid "" "default." msgstr "" -#: library/asyncio-eventloop.rst:1273 +#: library/asyncio-eventloop.rst:1277 msgid "" "Set *executor* as the default executor used by :meth:`run_in_executor`. " "*executor* must be an instance of :class:`~concurrent.futures." "ThreadPoolExecutor`." msgstr "" -#: library/asyncio-eventloop.rst:1277 +#: library/asyncio-eventloop.rst:1281 msgid "" "*executor* must be an instance of :class:`~concurrent.futures." "ThreadPoolExecutor`." msgstr "" -#: library/asyncio-eventloop.rst:1283 +#: library/asyncio-eventloop.rst:1287 msgid "Error Handling API" msgstr "" -#: library/asyncio-eventloop.rst:1285 +#: library/asyncio-eventloop.rst:1289 msgid "Allows customizing how exceptions are handled in the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1289 +#: library/asyncio-eventloop.rst:1293 msgid "Set *handler* as the new event loop exception handler." msgstr "" -#: library/asyncio-eventloop.rst:1291 +#: library/asyncio-eventloop.rst:1295 msgid "" "If *handler* is ``None``, the default exception handler will be set. " "Otherwise, *handler* must be a callable with the signature matching ``(loop, " @@ -1514,158 +1528,158 @@ msgid "" "(see :meth:`call_exception_handler` documentation for details about context)." msgstr "" -#: library/asyncio-eventloop.rst:1301 +#: library/asyncio-eventloop.rst:1305 msgid "" "Return the current exception handler, or ``None`` if no custom exception " "handler was set." msgstr "" -#: library/asyncio-eventloop.rst:1308 +#: library/asyncio-eventloop.rst:1312 msgid "Default exception handler." msgstr "" -#: library/asyncio-eventloop.rst:1310 +#: library/asyncio-eventloop.rst:1314 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:1314 +#: library/asyncio-eventloop.rst:1318 msgid "" "*context* parameter has the same meaning as in :meth:" "`call_exception_handler`." msgstr "" -#: library/asyncio-eventloop.rst:1319 +#: library/asyncio-eventloop.rst:1323 msgid "Call the current event loop exception handler." msgstr "" -#: library/asyncio-eventloop.rst:1321 +#: library/asyncio-eventloop.rst:1325 msgid "" "*context* is a ``dict`` object containing the following keys (new keys may " "be introduced in future Python versions):" msgstr "" -#: library/asyncio-eventloop.rst:1324 +#: library/asyncio-eventloop.rst:1328 msgid "'message': Error message;" msgstr "" -#: library/asyncio-eventloop.rst:1325 +#: library/asyncio-eventloop.rst:1329 msgid "'exception' (optional): Exception object;" msgstr "" -#: library/asyncio-eventloop.rst:1326 +#: library/asyncio-eventloop.rst:1330 msgid "'future' (optional): :class:`asyncio.Future` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1327 +#: library/asyncio-eventloop.rst:1331 msgid "'task' (optional): :class:`asyncio.Task` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1328 +#: library/asyncio-eventloop.rst:1332 msgid "'handle' (optional): :class:`asyncio.Handle` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1329 +#: library/asyncio-eventloop.rst:1333 msgid "'protocol' (optional): :ref:`Protocol ` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1330 +#: library/asyncio-eventloop.rst:1334 msgid "'transport' (optional): :ref:`Transport ` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1331 +#: library/asyncio-eventloop.rst:1335 msgid "'socket' (optional): :class:`socket.socket` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1333 +#: library/asyncio-eventloop.rst:1337 msgid "'asyncgen' (optional): Asynchronous generator that caused" msgstr "" -#: library/asyncio-eventloop.rst:1333 +#: library/asyncio-eventloop.rst:1337 msgid "the exception." msgstr "" -#: library/asyncio-eventloop.rst:1337 +#: library/asyncio-eventloop.rst:1341 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:1342 +#: library/asyncio-eventloop.rst:1346 msgid "Enabling debug mode" msgstr "" -#: library/asyncio-eventloop.rst:1346 +#: library/asyncio-eventloop.rst:1350 msgid "Get the debug mode (:class:`bool`) of the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1348 +#: library/asyncio-eventloop.rst:1352 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:1354 +#: library/asyncio-eventloop.rst:1358 msgid "Set the debug mode of the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1358 +#: library/asyncio-eventloop.rst:1362 msgid "" "The new :ref:`Python Development Mode ` can now also be used to " "enable the debug mode." msgstr "" -#: library/asyncio-eventloop.rst:1363 +#: library/asyncio-eventloop.rst:1367 msgid "The :ref:`debug mode of asyncio `." msgstr "" -#: library/asyncio-eventloop.rst:1367 +#: library/asyncio-eventloop.rst:1371 msgid "Running Subprocesses" msgstr "" -#: library/asyncio-eventloop.rst:1369 +#: library/asyncio-eventloop.rst:1373 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:1376 +#: library/asyncio-eventloop.rst:1380 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:1385 +#: library/asyncio-eventloop.rst:1389 msgid "" "Create a subprocess from one or more string arguments specified by *args*." msgstr "" -#: library/asyncio-eventloop.rst:1388 +#: library/asyncio-eventloop.rst:1392 msgid "*args* must be a list of strings represented by:" msgstr "" -#: library/asyncio-eventloop.rst:1390 +#: library/asyncio-eventloop.rst:1394 msgid ":class:`str`;" msgstr "" -#: library/asyncio-eventloop.rst:1391 +#: library/asyncio-eventloop.rst:1395 msgid "" "or :class:`bytes`, encoded to the :ref:`filesystem encoding `." msgstr "" -#: library/asyncio-eventloop.rst:1394 +#: library/asyncio-eventloop.rst:1398 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:1398 +#: library/asyncio-eventloop.rst:1402 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 " @@ -1673,133 +1687,133 @@ msgid "" "which is list of strings, *subprocess_exec* takes multiple string arguments." msgstr "" -#: library/asyncio-eventloop.rst:1404 +#: library/asyncio-eventloop.rst:1408 msgid "" "The *protocol_factory* must be a callable returning a subclass of the :class:" "`asyncio.SubprocessProtocol` class." msgstr "" -#: library/asyncio-eventloop.rst:1407 +#: library/asyncio-eventloop.rst:1411 msgid "Other parameters:" msgstr "" -#: library/asyncio-eventloop.rst:1409 +#: library/asyncio-eventloop.rst:1413 msgid "*stdin* can be any of these:" msgstr "" -#: library/asyncio-eventloop.rst:1411 +#: library/asyncio-eventloop.rst:1415 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:1414 library/asyncio-eventloop.rst:1426 -#: library/asyncio-eventloop.rst:1438 +#: library/asyncio-eventloop.rst:1418 library/asyncio-eventloop.rst:1430 +#: library/asyncio-eventloop.rst:1442 msgid "" "the :const:`subprocess.PIPE` constant (default) which will create a new pipe " "and connect it," msgstr "" -#: library/asyncio-eventloop.rst:1416 library/asyncio-eventloop.rst:1428 -#: library/asyncio-eventloop.rst:1440 +#: library/asyncio-eventloop.rst:1420 library/asyncio-eventloop.rst:1432 +#: library/asyncio-eventloop.rst:1444 msgid "" "the value ``None`` which will make the subprocess inherit the file " "descriptor from this process" msgstr "" -#: library/asyncio-eventloop.rst:1418 library/asyncio-eventloop.rst:1430 -#: library/asyncio-eventloop.rst:1442 +#: library/asyncio-eventloop.rst:1422 library/asyncio-eventloop.rst:1434 +#: library/asyncio-eventloop.rst:1446 msgid "" "the :const:`subprocess.DEVNULL` constant which indicates that the special :" "data:`os.devnull` file will be used" msgstr "" -#: library/asyncio-eventloop.rst:1421 +#: library/asyncio-eventloop.rst:1425 msgid "*stdout* can be any of these:" msgstr "" -#: library/asyncio-eventloop.rst:1423 +#: library/asyncio-eventloop.rst:1427 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:1433 +#: library/asyncio-eventloop.rst:1437 msgid "*stderr* can be any of these:" msgstr "" -#: library/asyncio-eventloop.rst:1435 +#: library/asyncio-eventloop.rst:1439 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:1444 +#: library/asyncio-eventloop.rst:1448 msgid "" "the :const:`subprocess.STDOUT` constant which will connect the standard " "error stream to the process' standard output stream" msgstr "" -#: library/asyncio-eventloop.rst:1447 +#: library/asyncio-eventloop.rst:1451 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:1452 +#: library/asyncio-eventloop.rst:1456 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:1456 +#: library/asyncio-eventloop.rst:1460 msgid "" "See the constructor of the :class:`subprocess.Popen` class for documentation " "on other arguments." msgstr "" -#: library/asyncio-eventloop.rst:1459 +#: library/asyncio-eventloop.rst:1463 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:1467 +#: library/asyncio-eventloop.rst:1471 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:1472 +#: library/asyncio-eventloop.rst:1476 msgid "" "This is similar to the standard library :class:`subprocess.Popen` class " "called with ``shell=True``." msgstr "" -#: library/asyncio-eventloop.rst:1475 +#: library/asyncio-eventloop.rst:1479 msgid "" "The *protocol_factory* must be a callable returning a subclass of the :class:" "`SubprocessProtocol` class." msgstr "" -#: library/asyncio-eventloop.rst:1478 +#: library/asyncio-eventloop.rst:1482 msgid "" "See :meth:`~loop.subprocess_exec` for more details about the remaining " "arguments." msgstr "" -#: library/asyncio-eventloop.rst:1481 +#: library/asyncio-eventloop.rst:1485 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:1486 +#: library/asyncio-eventloop.rst:1490 msgid "" "It is the application's responsibility to ensure that all whitespace and " "special characters are quoted appropriately to avoid `shell injection " @@ -1809,105 +1823,105 @@ msgid "" "used to construct shell commands." msgstr "" -#: library/asyncio-eventloop.rst:1495 +#: library/asyncio-eventloop.rst:1499 msgid "Callback Handles" msgstr "" -#: library/asyncio-eventloop.rst:1499 +#: library/asyncio-eventloop.rst:1503 msgid "" "A callback wrapper object returned by :meth:`loop.call_soon`, :meth:`loop." "call_soon_threadsafe`." msgstr "" -#: library/asyncio-eventloop.rst:1504 +#: library/asyncio-eventloop.rst:1508 msgid "" "Cancel the callback. If the callback has already been canceled or executed, " "this method has no effect." msgstr "" -#: library/asyncio-eventloop.rst:1509 +#: library/asyncio-eventloop.rst:1513 msgid "Return ``True`` if the callback was cancelled." msgstr "" -#: library/asyncio-eventloop.rst:1515 +#: library/asyncio-eventloop.rst:1519 msgid "" "A callback wrapper object returned by :meth:`loop.call_later`, and :meth:" "`loop.call_at`." msgstr "" -#: library/asyncio-eventloop.rst:1518 +#: library/asyncio-eventloop.rst:1522 msgid "This class is a subclass of :class:`Handle`." msgstr "" -#: library/asyncio-eventloop.rst:1522 +#: library/asyncio-eventloop.rst:1526 msgid "Return a scheduled callback time as :class:`float` seconds." msgstr "" -#: library/asyncio-eventloop.rst:1524 +#: library/asyncio-eventloop.rst:1528 msgid "" "The time is an absolute timestamp, using the same time reference as :meth:" "`loop.time`." msgstr "" -#: library/asyncio-eventloop.rst:1531 +#: library/asyncio-eventloop.rst:1535 msgid "Server Objects" msgstr "" -#: library/asyncio-eventloop.rst:1533 +#: library/asyncio-eventloop.rst:1537 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:1537 +#: library/asyncio-eventloop.rst:1541 msgid "Do not instantiate the class directly." msgstr "" -#: library/asyncio-eventloop.rst:1541 +#: library/asyncio-eventloop.rst:1545 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:1554 +#: library/asyncio-eventloop.rst:1558 msgid "Server object is an asynchronous context manager since Python 3.7." msgstr "" -#: library/asyncio-eventloop.rst:1559 +#: library/asyncio-eventloop.rst:1563 msgid "" "Stop serving: close listening sockets and set the :attr:`sockets` attribute " "to ``None``." msgstr "" -#: library/asyncio-eventloop.rst:1562 +#: library/asyncio-eventloop.rst:1566 msgid "" "The sockets that represent existing incoming client connections are left " "open." msgstr "" -#: library/asyncio-eventloop.rst:1565 +#: library/asyncio-eventloop.rst:1569 msgid "" "The server is closed asynchronously, use the :meth:`wait_closed` coroutine " "to wait until the server is closed." msgstr "" -#: library/asyncio-eventloop.rst:1570 +#: library/asyncio-eventloop.rst:1574 msgid "Return the event loop associated with the server object." msgstr "" -#: library/asyncio-eventloop.rst:1576 +#: library/asyncio-eventloop.rst:1580 msgid "Start accepting connections." msgstr "" -#: library/asyncio-eventloop.rst:1578 +#: library/asyncio-eventloop.rst:1582 msgid "" "This method is idempotent, so it can be called when the server is already " "serving." msgstr "" -#: library/asyncio-eventloop.rst:1581 +#: library/asyncio-eventloop.rst:1585 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 " @@ -1916,96 +1930,96 @@ msgid "" "accepting connections." msgstr "" -#: library/asyncio-eventloop.rst:1592 +#: library/asyncio-eventloop.rst:1596 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:1596 +#: library/asyncio-eventloop.rst:1600 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:1618 +#: library/asyncio-eventloop.rst:1622 msgid "Return ``True`` if the server is accepting new connections." msgstr "" -#: library/asyncio-eventloop.rst:1624 +#: library/asyncio-eventloop.rst:1628 msgid "Wait until the :meth:`close` method completes." msgstr "" -#: library/asyncio-eventloop.rst:1628 +#: library/asyncio-eventloop.rst:1632 msgid "List of :class:`socket.socket` objects the server is listening on." msgstr "" -#: library/asyncio-eventloop.rst:1630 +#: library/asyncio-eventloop.rst:1634 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:1640 +#: library/asyncio-eventloop.rst:1644 msgid "Event Loop Implementations" msgstr "" -#: library/asyncio-eventloop.rst:1642 +#: library/asyncio-eventloop.rst:1646 msgid "" "asyncio ships with two different event loop implementations: :class:" "`SelectorEventLoop` and :class:`ProactorEventLoop`." msgstr "" -#: library/asyncio-eventloop.rst:1645 +#: library/asyncio-eventloop.rst:1649 msgid "" "By default asyncio is configured to use :class:`SelectorEventLoop` on Unix " "and :class:`ProactorEventLoop` on Windows." msgstr "" -#: library/asyncio-eventloop.rst:1651 +#: library/asyncio-eventloop.rst:1655 msgid "An event loop based on the :mod:`selectors` module." msgstr "" -#: library/asyncio-eventloop.rst:1653 +#: library/asyncio-eventloop.rst:1657 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:1668 +#: library/asyncio-eventloop.rst:1672 msgid ":ref:`Availability `: Unix, Windows." msgstr "" -#: library/asyncio-eventloop.rst:1673 +#: library/asyncio-eventloop.rst:1677 msgid "An event loop for Windows that uses \"I/O Completion Ports\" (IOCP)." msgstr "" -#: library/asyncio-eventloop.rst:1676 +#: library/asyncio-eventloop.rst:1679 msgid ":ref:`Availability `: Windows." msgstr "" -#: library/asyncio-eventloop.rst:1679 +#: library/asyncio-eventloop.rst:1683 msgid "" "`MSDN documentation on I/O Completion Ports `_." msgstr "" -#: library/asyncio-eventloop.rst:1685 +#: library/asyncio-eventloop.rst:1689 msgid "Abstract base class for asyncio-compliant event loops." msgstr "" -#: library/asyncio-eventloop.rst:1687 +#: library/asyncio-eventloop.rst:1691 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:1693 +#: library/asyncio-eventloop.rst:1697 msgid "Examples" msgstr "" -#: library/asyncio-eventloop.rst:1695 +#: library/asyncio-eventloop.rst:1699 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." @@ -2013,70 +2027,70 @@ msgid "" "consider using the high-level functions like :func:`asyncio.run`." msgstr "" -#: library/asyncio-eventloop.rst:1705 +#: library/asyncio-eventloop.rst:1709 msgid "Hello World with call_soon()" msgstr "" -#: library/asyncio-eventloop.rst:1707 +#: library/asyncio-eventloop.rst:1711 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:1731 +#: library/asyncio-eventloop.rst:1735 msgid "" "A similar :ref:`Hello World ` example created with a coroutine " "and the :func:`run` function." msgstr "" -#: library/asyncio-eventloop.rst:1738 +#: library/asyncio-eventloop.rst:1742 msgid "Display the current date with call_later()" msgstr "" -#: library/asyncio-eventloop.rst:1740 +#: library/asyncio-eventloop.rst:1744 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:1768 +#: library/asyncio-eventloop.rst:1772 msgid "" "A similar :ref:`current date ` example created with a " "coroutine and the :func:`run` function." msgstr "" -#: library/asyncio-eventloop.rst:1775 +#: library/asyncio-eventloop.rst:1779 msgid "Watch a file descriptor for read events" msgstr "" -#: library/asyncio-eventloop.rst:1777 +#: library/asyncio-eventloop.rst:1781 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:1815 +#: library/asyncio-eventloop.rst:1819 msgid "" "A similar :ref:`example ` using " "transports, protocols, and the :meth:`loop.create_connection` method." msgstr "" -#: library/asyncio-eventloop.rst:1819 +#: library/asyncio-eventloop.rst:1823 msgid "" "Another similar :ref:`example ` " "using the high-level :func:`asyncio.open_connection` function and streams." msgstr "" -#: library/asyncio-eventloop.rst:1827 +#: library/asyncio-eventloop.rst:1831 msgid "Set signal handlers for SIGINT and SIGTERM" msgstr "" -#: library/asyncio-eventloop.rst:1829 +#: library/asyncio-eventloop.rst:1833 msgid "(This ``signals`` example only works on Unix.)" msgstr "" -#: library/asyncio-eventloop.rst:1831 +#: library/asyncio-eventloop.rst:1835 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-stream.po b/library/asyncio-stream.po index 5c743f044..40841d08d 100644 --- a/library/asyncio-stream.po +++ b/library/asyncio-stream.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-04 22:37+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -147,6 +147,10 @@ msgstr "" msgid "See also the documentation of :meth:`loop.create_unix_connection`." msgstr "" +#: library/asyncio-stream.rst:181 +msgid ":ref:`Availability `: Unix." +msgstr "" + #: library/asyncio-stream.rst:153 msgid "" "Added the *ssl_handshake_timeout* parameter. The *path* parameter can now be " @@ -165,10 +169,6 @@ msgstr "" msgid "See also the documentation of :meth:`loop.create_unix_server`." msgstr "" -#: library/asyncio-stream.rst:182 -msgid ":ref:`Availability `: Unix." -msgstr "" - #: library/asyncio-stream.rst:183 msgid "" "Added the *ssl_handshake_timeout* and *start_serving* parameters. The *path* " @@ -193,63 +193,73 @@ msgid "" msgstr "" #: library/asyncio-stream.rst:209 +msgid "Read up to *n* bytes from the stream." +msgstr "" + +#: library/asyncio-stream.rst:211 msgid "" -"Read up to *n* bytes. If *n* is not provided, or set to ``-1``, read until " -"EOF and return all read bytes." +"If *n* is not provided or set to ``-1``, read until EOF, then return all " +"read :class:`bytes`. If EOF was received and the internal buffer is empty, " +"return an empty ``bytes`` object." +msgstr "" + +#: library/asyncio-stream.rst:216 +msgid "If *n* is ``0``, return an empty ``bytes`` object immediately." msgstr "" -#: library/asyncio-stream.rst:212 +#: library/asyncio-stream.rst:218 msgid "" -"If EOF was received and the internal buffer is empty, return an empty " -"``bytes`` object." +"If *n* is positive, return at most *n* available ``bytes`` as soon as at " +"least 1 byte is available in the internal buffer. If EOF is received before " +"any byte is read, return an empty ``bytes`` object." msgstr "" -#: library/asyncio-stream.rst:217 +#: library/asyncio-stream.rst:225 msgid "" "Read one line, where \"line\" is a sequence of bytes ending with ``\\n``." msgstr "" -#: library/asyncio-stream.rst:220 +#: library/asyncio-stream.rst:228 msgid "" "If EOF is received and ``\\n`` was not found, the method returns partially " "read data." msgstr "" -#: library/asyncio-stream.rst:223 +#: library/asyncio-stream.rst:231 msgid "" "If EOF is received and the internal buffer is empty, return an empty " "``bytes`` object." msgstr "" -#: library/asyncio-stream.rst:228 +#: library/asyncio-stream.rst:236 msgid "Read exactly *n* bytes." msgstr "" -#: library/asyncio-stream.rst:230 +#: library/asyncio-stream.rst:238 msgid "" "Raise an :exc:`IncompleteReadError` if EOF is reached before *n* can be " "read. Use the :attr:`IncompleteReadError.partial` attribute to get the " "partially read data." msgstr "" -#: library/asyncio-stream.rst:236 +#: library/asyncio-stream.rst:244 msgid "Read data from the stream until *separator* is found." msgstr "" -#: library/asyncio-stream.rst:238 +#: library/asyncio-stream.rst:246 msgid "" "On success, the data and separator will be removed from the internal buffer " "(consumed). Returned data will include the separator at the end." msgstr "" -#: library/asyncio-stream.rst:242 +#: library/asyncio-stream.rst:250 msgid "" "If the amount of data read exceeds the configured stream limit, a :exc:" "`LimitOverrunError` exception is raised, and the data is left in the " "internal buffer and can be read again." msgstr "" -#: library/asyncio-stream.rst:246 +#: library/asyncio-stream.rst:254 msgid "" "If EOF is reached before the complete separator is found, an :exc:" "`IncompleteReadError` exception is raised, and the internal buffer is " @@ -257,79 +267,79 @@ msgid "" "portion of the separator." msgstr "" -#: library/asyncio-stream.rst:255 +#: library/asyncio-stream.rst:263 msgid "Return ``True`` if the buffer is empty and :meth:`feed_eof` was called." msgstr "" -#: library/asyncio-stream.rst:260 +#: library/asyncio-stream.rst:268 msgid "StreamWriter" msgstr "" -#: library/asyncio-stream.rst:264 +#: library/asyncio-stream.rst:272 msgid "" "Represents a writer object that provides APIs to write data to the IO stream." msgstr "" -#: library/asyncio-stream.rst:267 +#: library/asyncio-stream.rst:275 msgid "" "It is not recommended to instantiate *StreamWriter* objects directly; use :" "func:`open_connection` and :func:`start_server` instead." msgstr "" -#: library/asyncio-stream.rst:273 +#: library/asyncio-stream.rst:281 msgid "" "The method attempts to write the *data* to the underlying socket " "immediately. If that fails, the data is queued in an internal write buffer " "until it can be sent." msgstr "" -#: library/asyncio-stream.rst:289 +#: library/asyncio-stream.rst:297 msgid "The method should be used along with the ``drain()`` method::" msgstr "" -#: library/asyncio-stream.rst:284 +#: library/asyncio-stream.rst:292 msgid "" "The method writes a list (or any iterable) of bytes to the underlying socket " "immediately. If that fails, the data is queued in an internal write buffer " "until it can be sent." msgstr "" -#: library/asyncio-stream.rst:296 +#: library/asyncio-stream.rst:304 msgid "The method closes the stream and the underlying socket." msgstr "" -#: library/asyncio-stream.rst:298 +#: library/asyncio-stream.rst:306 msgid "" "The method should be used, though not mandatory, along with the " "``wait_closed()`` method::" msgstr "" -#: library/asyncio-stream.rst:306 +#: library/asyncio-stream.rst:314 msgid "" "Return ``True`` if the underlying transport supports the :meth:`write_eof` " "method, ``False`` otherwise." msgstr "" -#: library/asyncio-stream.rst:311 +#: library/asyncio-stream.rst:319 msgid "" "Close the write end of the stream after the buffered write data is flushed." msgstr "" -#: library/asyncio-stream.rst:316 +#: library/asyncio-stream.rst:324 msgid "Return the underlying asyncio transport." msgstr "" -#: library/asyncio-stream.rst:320 +#: library/asyncio-stream.rst:328 msgid "" "Access optional transport information; see :meth:`BaseTransport." "get_extra_info` for details." msgstr "" -#: library/asyncio-stream.rst:325 +#: library/asyncio-stream.rst:333 msgid "Wait until it is appropriate to resume writing to the stream. Example::" msgstr "" -#: library/asyncio-stream.rst:331 +#: library/asyncio-stream.rst:339 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()* " @@ -338,116 +348,116 @@ msgid "" "`drain` returns immediately." msgstr "" -#: library/asyncio-stream.rst:341 +#: library/asyncio-stream.rst:349 msgid "Upgrade an existing stream-based connection to TLS." msgstr "" -#: library/asyncio-stream.rst:343 +#: library/asyncio-stream.rst:351 msgid "Parameters:" msgstr "" -#: library/asyncio-stream.rst:345 +#: library/asyncio-stream.rst:353 msgid "*sslcontext*: a configured instance of :class:`~ssl.SSLContext`." msgstr "" -#: library/asyncio-stream.rst:347 +#: library/asyncio-stream.rst:355 msgid "" "*server_hostname*: sets or overrides the host name that the target server's " "certificate will be matched against." msgstr "" -#: library/asyncio-stream.rst:350 +#: library/asyncio-stream.rst:358 msgid "" "*ssl_handshake_timeout* is 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-stream.rst:358 +#: library/asyncio-stream.rst:366 msgid "" "Return ``True`` if the stream is closed or in the process of being closed." msgstr "" -#: library/asyncio-stream.rst:365 +#: library/asyncio-stream.rst:373 msgid "Wait until the stream is closed." msgstr "" -#: library/asyncio-stream.rst:367 +#: library/asyncio-stream.rst:375 msgid "" "Should be called after :meth:`close` to wait until the underlying connection " "is closed, ensuring that all data has been flushed before e.g. exiting the " "program." msgstr "" -#: library/asyncio-stream.rst:375 +#: library/asyncio-stream.rst:383 msgid "Examples" msgstr "" -#: library/asyncio-stream.rst:380 +#: library/asyncio-stream.rst:388 msgid "TCP echo client using streams" msgstr "" -#: library/asyncio-stream.rst:382 +#: library/asyncio-stream.rst:390 msgid "TCP echo client using the :func:`asyncio.open_connection` function::" msgstr "" -#: library/asyncio-stream.rst:406 +#: library/asyncio-stream.rst:414 msgid "" "The :ref:`TCP echo client protocol " "` example uses the low-level :meth:" "`loop.create_connection` method." msgstr "" -#: library/asyncio-stream.rst:413 +#: library/asyncio-stream.rst:421 msgid "TCP echo server using streams" msgstr "" -#: library/asyncio-stream.rst:415 +#: library/asyncio-stream.rst:423 msgid "TCP echo server using the :func:`asyncio.start_server` function::" msgstr "" -#: library/asyncio-stream.rst:449 +#: library/asyncio-stream.rst:457 msgid "" "The :ref:`TCP echo server protocol " "` example uses the :meth:`loop." "create_server` method." msgstr "" -#: library/asyncio-stream.rst:454 +#: library/asyncio-stream.rst:462 msgid "Get HTTP headers" msgstr "" -#: library/asyncio-stream.rst:456 +#: library/asyncio-stream.rst:464 msgid "" "Simple example querying HTTP headers of the URL passed on the command line::" msgstr "" -#: library/asyncio-stream.rst:495 +#: library/asyncio-stream.rst:503 msgid "Usage::" msgstr "" -#: library/asyncio-stream.rst:499 +#: library/asyncio-stream.rst:507 msgid "or with HTTPS::" msgstr "" -#: library/asyncio-stream.rst:507 +#: library/asyncio-stream.rst:515 msgid "Register an open socket to wait for data using streams" msgstr "" -#: library/asyncio-stream.rst:509 +#: library/asyncio-stream.rst:517 msgid "" "Coroutine waiting until a socket receives data using the :func:" "`open_connection` function::" msgstr "" -#: library/asyncio-stream.rst:544 +#: library/asyncio-stream.rst:552 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:548 +#: library/asyncio-stream.rst:556 msgid "" "The :ref:`watch a file descriptor for read events " "` example uses the low-level :meth:`loop." diff --git a/library/asyncio-task.po b/library/asyncio-task.po index 03efc922a..8379be887 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1066,7 +1066,7 @@ msgstr "" #: library/asyncio-task.rst:1099 msgid "" "The *file* argument is an I/O stream to which the output is written; by " -"default output is written to :data:`sys.stderr`." +"default output is written to :data:`sys.stdout`." msgstr "" #: library/asyncio-task.rst:1104 diff --git a/library/asyncio.po b/library/asyncio.po index f42c0468c..fbbc270e8 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -111,7 +111,7 @@ msgstr "" msgid "You can experiment with an ``asyncio`` concurrent context in the REPL:" msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/asyncore.po b/library/asyncore.po index cf6190881..2bf628d10 100644 --- a/library/asyncore.po +++ b/library/asyncore.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -42,7 +42,7 @@ msgid "" "socket service clients and servers." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/cgi.po b/library/cgi.po index 0e503f9da..4cf903bcd 100644 --- a/library/cgi.po +++ b/library/cgi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -57,7 +57,7 @@ msgid "" "of this variable is ``0``, meaning the request size is unlimited." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/cmath.po b/library/cmath.po index 6ad0190d3..8921fba7b 100644 --- a/library/cmath.po +++ b/library/cmath.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -33,25 +33,41 @@ msgstr "" #: library/cmath.rst:18 msgid "" -"On platforms with hardware and system-level support for signed zeros, " -"functions involving branch cuts are continuous on *both* sides of the branch " -"cut: the sign of the zero distinguishes one side of the branch cut from the " -"other. On platforms that do not support signed zeros the continuity is as " -"specified below." +"For functions involving branch cuts, we have the problem of deciding how to " +"define those functions on the cut itself. Following Kahan's \"Branch cuts " +"for complex elementary functions\" paper, as well as Annex G of C99 and " +"later C standards, we use the sign of zero to distinguish one side of the " +"branch cut from the other: for a branch cut along (a portion of) the real " +"axis we look at the sign of the imaginary part, while for a branch cut along " +"the imaginary axis we look at the sign of the real part." msgstr "" #: library/cmath.rst:26 +msgid "" +"For example, the :func:`cmath.sqrt` function has a branch cut along the " +"negative real axis. An argument of ``complex(-2.0, -0.0)`` is treated as " +"though it lies *below* the branch cut, and so gives a result on the negative " +"imaginary axis::" +msgstr "" + +#: library/cmath.rst:34 +msgid "" +"But an argument of ``complex(-2.0, 0.0)`` is treated as though it lies above " +"the branch cut::" +msgstr "" + +#: library/cmath.rst:42 msgid "Conversions to and from polar coordinates" msgstr "" -#: library/cmath.rst:28 +#: library/cmath.rst:44 msgid "" "A Python complex number ``z`` is stored internally using *rectangular* or " "*Cartesian* coordinates. It is completely determined by its *real part* ``z." "real`` and its *imaginary part* ``z.imag``. In other words::" msgstr "" -#: library/cmath.rst:35 +#: library/cmath.rst:51 msgid "" "*Polar coordinates* give an alternative way to represent a complex number. " "In polar coordinates, a complex number *z* is defined by the modulus *r* and " @@ -61,180 +77,175 @@ msgid "" "to *z*." msgstr "" -#: library/cmath.rst:42 +#: library/cmath.rst:58 msgid "" "The following functions can be used to convert from the native rectangular " "coordinates to polar coordinates and back." msgstr "" -#: library/cmath.rst:47 +#: library/cmath.rst:63 msgid "" -"Return the phase of *x* (also known as the *argument* of *x*), as a float. " +"Return the phase of *x* (also known as the *argument* of *x*), as a float. " "``phase(x)`` is equivalent to ``math.atan2(x.imag, x.real)``. The result " "lies in the range [-\\ *π*, *π*], and the branch cut for this operation lies " -"along the negative real axis, continuous from above. On systems with " -"support for signed zeros (which includes most systems in current use), this " -"means that the sign of the result is the same as the sign of ``x.imag``, " -"even when ``x.imag`` is zero::" +"along the negative real axis. The sign of the result is the same as the " +"sign of ``x.imag``, even when ``x.imag`` is zero::" msgstr "" -#: library/cmath.rst:64 +#: library/cmath.rst:77 msgid "" "The modulus (absolute value) of a complex number *x* can be computed using " "the built-in :func:`abs` function. There is no separate :mod:`cmath` module " "function for this operation." msgstr "" -#: library/cmath.rst:71 +#: library/cmath.rst:84 msgid "" "Return the representation of *x* in polar coordinates. Returns a pair ``(r, " "phi)`` where *r* is the modulus of *x* and phi is the phase of *x*. " "``polar(x)`` is equivalent to ``(abs(x), phase(x))``." msgstr "" -#: library/cmath.rst:79 +#: library/cmath.rst:92 msgid "" "Return the complex number *x* with polar coordinates *r* and *phi*. " "Equivalent to ``r * (math.cos(phi) + math.sin(phi)*1j)``." msgstr "" -#: library/cmath.rst:84 +#: library/cmath.rst:97 msgid "Power and logarithmic functions" msgstr "" -#: library/cmath.rst:88 +#: library/cmath.rst:101 msgid "" "Return *e* raised to the power *x*, where *e* is the base of natural " "logarithms." msgstr "" -#: library/cmath.rst:94 +#: library/cmath.rst:107 msgid "" "Returns the logarithm of *x* to the given *base*. If the *base* is not " "specified, returns the natural logarithm of *x*. There is one branch cut, " -"from 0 along the negative real axis to -∞, continuous from above." +"from 0 along the negative real axis to -∞." msgstr "" -#: library/cmath.rst:101 +#: library/cmath.rst:114 msgid "" "Return the base-10 logarithm of *x*. This has the same branch cut as :func:" "`log`." msgstr "" -#: library/cmath.rst:107 +#: library/cmath.rst:120 msgid "" "Return the square root of *x*. This has the same branch cut as :func:`log`." msgstr "" -#: library/cmath.rst:111 +#: library/cmath.rst:124 msgid "Trigonometric functions" msgstr "" -#: library/cmath.rst:115 +#: library/cmath.rst:128 msgid "" "Return the arc cosine of *x*. There are two branch cuts: One extends right " -"from 1 along the real axis to ∞, continuous from below. The other extends " -"left from -1 along the real axis to -∞, continuous from above." +"from 1 along the real axis to ∞. The other extends left from -1 along the " +"real axis to -∞." msgstr "" -#: library/cmath.rst:122 +#: library/cmath.rst:135 msgid "" "Return the arc sine of *x*. This has the same branch cuts as :func:`acos`." msgstr "" -#: library/cmath.rst:127 +#: library/cmath.rst:140 msgid "" "Return the arc tangent of *x*. There are two branch cuts: One extends from " -"``1j`` along the imaginary axis to ``∞j``, continuous from the right. The " -"other extends from ``-1j`` along the imaginary axis to ``-∞j``, continuous " -"from the left." +"``1j`` along the imaginary axis to ``∞j``. The other extends from ``-1j`` " +"along the imaginary axis to ``-∞j``." msgstr "" -#: library/cmath.rst:135 +#: library/cmath.rst:147 msgid "Return the cosine of *x*." msgstr "" -#: library/cmath.rst:140 +#: library/cmath.rst:152 msgid "Return the sine of *x*." msgstr "" -#: library/cmath.rst:145 +#: library/cmath.rst:157 msgid "Return the tangent of *x*." msgstr "" -#: library/cmath.rst:149 +#: library/cmath.rst:161 msgid "Hyperbolic functions" msgstr "" -#: library/cmath.rst:153 +#: library/cmath.rst:165 msgid "" "Return the inverse hyperbolic cosine of *x*. There is one branch cut, " -"extending left from 1 along the real axis to -∞, continuous from above." +"extending left from 1 along the real axis to -∞." msgstr "" -#: library/cmath.rst:159 +#: library/cmath.rst:171 msgid "" "Return the inverse hyperbolic sine of *x*. There are two branch cuts: One " -"extends from ``1j`` along the imaginary axis to ``∞j``, continuous from the " -"right. The other extends from ``-1j`` along the imaginary axis to ``-∞j``, " -"continuous from the left." +"extends from ``1j`` along the imaginary axis to ``∞j``. The other extends " +"from ``-1j`` along the imaginary axis to ``-∞j``." msgstr "" -#: library/cmath.rst:167 +#: library/cmath.rst:178 msgid "" "Return the inverse hyperbolic tangent of *x*. There are two branch cuts: One " -"extends from ``1`` along the real axis to ``∞``, continuous from below. The " -"other extends from ``-1`` along the real axis to ``-∞``, continuous from " -"above." +"extends from ``1`` along the real axis to ``∞``. The other extends from " +"``-1`` along the real axis to ``-∞``." msgstr "" -#: library/cmath.rst:175 +#: library/cmath.rst:185 msgid "Return the hyperbolic cosine of *x*." msgstr "" -#: library/cmath.rst:180 +#: library/cmath.rst:190 msgid "Return the hyperbolic sine of *x*." msgstr "" -#: library/cmath.rst:185 +#: library/cmath.rst:195 msgid "Return the hyperbolic tangent of *x*." msgstr "" -#: library/cmath.rst:189 +#: library/cmath.rst:199 msgid "Classification functions" msgstr "" -#: library/cmath.rst:193 +#: library/cmath.rst:203 msgid "" "Return ``True`` if both the real and imaginary parts of *x* are finite, and " "``False`` otherwise." msgstr "" -#: library/cmath.rst:201 +#: library/cmath.rst:211 msgid "" "Return ``True`` if either the real or the imaginary part of *x* is an " "infinity, and ``False`` otherwise." msgstr "" -#: library/cmath.rst:207 +#: library/cmath.rst:217 msgid "" "Return ``True`` if either the real or the imaginary part of *x* is a NaN, " "and ``False`` otherwise." msgstr "" -#: library/cmath.rst:213 +#: library/cmath.rst:223 msgid "" "Return ``True`` if the values *a* and *b* are close to each other and " "``False`` otherwise." msgstr "" -#: library/cmath.rst:216 +#: library/cmath.rst:226 msgid "" "Whether or not two values are considered close is determined according to " "given absolute and relative tolerances." msgstr "" -#: library/cmath.rst:219 +#: library/cmath.rst:229 msgid "" "*rel_tol* is the relative tolerance -- it is the maximum allowed difference " "between *a* and *b*, relative to the larger absolute value of *a* or *b*. " @@ -243,19 +254,19 @@ msgid "" "within about 9 decimal digits. *rel_tol* must be greater than zero." msgstr "" -#: library/cmath.rst:225 +#: library/cmath.rst:235 msgid "" "*abs_tol* is the minimum absolute tolerance -- useful for comparisons near " "zero. *abs_tol* must be at least zero." msgstr "" -#: library/cmath.rst:228 +#: library/cmath.rst:238 msgid "" "If no errors occur, the result will be: ``abs(a-b) <= max(rel_tol * " "max(abs(a), abs(b)), abs_tol)``." msgstr "" -#: library/cmath.rst:231 +#: library/cmath.rst:241 msgid "" "The IEEE 754 special values of ``NaN``, ``inf``, and ``-inf`` will be " "handled according to IEEE rules. Specifically, ``NaN`` is not considered " @@ -263,49 +274,49 @@ msgid "" "considered close to themselves." msgstr "" -#: library/cmath.rst:240 +#: library/cmath.rst:250 msgid ":pep:`485` -- A function for testing approximate equality" msgstr "" -#: library/cmath.rst:244 +#: library/cmath.rst:254 msgid "Constants" msgstr "" -#: library/cmath.rst:248 +#: library/cmath.rst:258 msgid "The mathematical constant *π*, as a float." msgstr "" -#: library/cmath.rst:253 +#: library/cmath.rst:263 msgid "The mathematical constant *e*, as a float." msgstr "" -#: library/cmath.rst:258 +#: library/cmath.rst:268 msgid "The mathematical constant *τ*, as a float." msgstr "" -#: library/cmath.rst:265 +#: library/cmath.rst:275 msgid "Floating-point positive infinity. Equivalent to ``float('inf')``." msgstr "" -#: library/cmath.rst:272 +#: library/cmath.rst:282 msgid "" "Complex number with zero real part and positive infinity imaginary part. " "Equivalent to ``complex(0.0, float('inf'))``." msgstr "" -#: library/cmath.rst:280 +#: library/cmath.rst:290 msgid "" "A floating-point \"not a number\" (NaN) value. Equivalent to " "``float('nan')``." msgstr "" -#: library/cmath.rst:288 +#: library/cmath.rst:298 msgid "" "Complex number with zero real part and NaN imaginary part. Equivalent to " "``complex(0.0, float('nan'))``." msgstr "" -#: library/cmath.rst:296 +#: library/cmath.rst:306 msgid "" "Note that the selection of functions is similar, but not identical, to that " "in module :mod:`math`. The reason for having two modules is that some users " @@ -317,7 +328,7 @@ msgid "" "zero)." msgstr "" -#: library/cmath.rst:304 +#: library/cmath.rst:314 msgid "" "A note on branch cuts: They are curves along which the given function fails " "to be continuous. They are a necessary feature of many complex functions. " @@ -328,7 +339,7 @@ msgid "" "following:" msgstr "" -#: library/cmath.rst:314 +#: library/cmath.rst:324 msgid "" "Kahan, W: Branch cuts for complex elementary functions; or, Much ado about " "nothing's sign bit. In Iserles, A., and Powell, M. (eds.), The state of the " diff --git a/library/codecs.po b/library/codecs.po index 74def4822..41c52f047 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2622,7 +2622,7 @@ msgstr "" msgid "This module implements the ANSI codepage (CP_ACP)." msgstr "" -#: library/codecs.rst:1535 +#: library/codecs.rst:1534 msgid ":ref:`Availability `: Windows." msgstr "" diff --git a/library/collections.abc.po b/library/collections.abc.po index 461aab4dc..abab76f28 100644 --- a/library/collections.abc.po +++ b/library/collections.abc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+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 "" "This module provides :term:`abstract base classes ` " "that can be used to test whether a class provides a particular interface; " -"for example, whether it is hashable or whether it is a mapping." +"for example, whether it is :term:`hashable` or whether it is a mapping." msgstr "" #: library/collections.abc.rst:27 @@ -605,9 +605,9 @@ msgstr "" msgid "" "The :class:`Set` mixin provides a :meth:`_hash` method to compute a hash " "value for the set; however, :meth:`__hash__` is not defined because not all " -"sets are hashable or immutable. To add set hashability using mixins, " -"inherit from both :meth:`Set` and :meth:`Hashable`, then define ``__hash__ = " -"Set._hash``." +"sets are :term:`hashable` or immutable. To add set hashability using " +"mixins, inherit from both :meth:`Set` and :meth:`Hashable`, then define " +"``__hash__ = Set._hash``." msgstr "" #: library/collections.abc.rst:415 diff --git a/library/collections.po b/library/collections.po index d4bd9798a..620b95163 100644 --- a/library/collections.po +++ b/library/collections.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -60,7 +60,7 @@ msgid ":class:`Counter`" msgstr "" #: library/collections.rst:28 -msgid "dict subclass for counting hashable objects" +msgid "dict subclass for counting :term:`hashable` objects" msgstr "" #: library/collections.rst:29 @@ -283,7 +283,7 @@ msgstr "" #: library/collections.rst:244 msgid "" -"A :class:`Counter` is a :class:`dict` subclass for counting hashable " +"A :class:`Counter` is a :class:`dict` subclass for counting :term:`hashable` " "objects. It is a collection where elements are stored as dictionary keys and " "their counts are stored as dictionary values. Counts are allowed to be any " "integer value including zero or negative counts. The :class:`Counter` class " diff --git a/library/compileall.po b/library/compileall.po index e06176a68..3ab43c1b8 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -33,7 +33,7 @@ msgid "" "don't have write permission to the library directories." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/concurrent.futures.po b/library/concurrent.futures.po index b2e8a4d03..fc8bc69e8 100644 --- a/library/concurrent.futures.po +++ b/library/concurrent.futures.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -40,7 +40,7 @@ msgid "" "by the abstract :class:`Executor` class." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/configparser.po b/library/configparser.po index c25dc771e..94055b895 100644 --- a/library/configparser.po +++ b/library/configparser.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -165,7 +165,7 @@ msgid "" "Please note that default values have precedence over fallback values. For " "instance, in our example the ``'CompressionLevel'`` key was specified only " "in the ``'DEFAULT'`` section. If we try to get it from the section " -"``'topsecret.server.com'``, we will always get the default, even if we " +"``'topsecret.server.example'``, we will always get the default, even if we " "specify a fallback:" msgstr "" diff --git a/library/crypt.po b/library/crypt.po index a6e38ca80..338d23c17 100644 --- a/library/crypt.po +++ b/library/crypt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -48,11 +48,11 @@ msgid "" "be available on this module." msgstr "" -#: library/crypt.rst:40 +#: library/crypt.rst:39 msgid ":ref:`Availability `: Unix, not VxWorks." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/datetime.po b/library/datetime.po index f90e28704..52d3124ae 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -208,8 +208,8 @@ msgstr "" #: library/datetime.rst:163 msgid "" -"Objects of these types are hashable, meaning that they can be used as " -"dictionary keys." +"Objects of these types are :term:`hashable`, meaning that they can be used " +"as dictionary keys." msgstr "" #: library/datetime.rst:165 diff --git a/library/decimal.po b/library/decimal.po index 6ca4fdc77..c5aa6645c 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -42,18 +42,18 @@ msgstr "" #: library/decimal.rst:42 msgid "" -"Decimal numbers can be represented exactly. In contrast, numbers like :" -"const:`1.1` and :const:`2.2` do not have exact representations in binary " -"floating point. End users typically would not expect ``1.1 + 2.2`` to " -"display as :const:`3.3000000000000003` as it does with binary floating point." +"Decimal numbers can be represented exactly. In contrast, numbers like " +"``1.1`` and ``2.2`` do not have exact representations in binary floating " +"point. End users typically would not expect ``1.1 + 2.2`` to display as " +"``3.3000000000000003`` as it does with binary floating point." msgstr "" #: library/decimal.rst:47 msgid "" "The exactness carries over into arithmetic. In decimal floating point, " "``0.1 + 0.1 + 0.1 - 0.3`` is exactly equal to zero. In binary floating " -"point, the result is :const:`5.5511151231257827e-017`. While near to zero, " -"the differences prevent reliable equality testing and differences can " +"point, the result is ``5.5511151231257827e-017``. While near to zero, the " +"differences prevent reliable equality testing and differences can " "accumulate. For this reason, decimal is preferred in accounting applications " "which have strict equality invariants." msgstr "" @@ -61,11 +61,11 @@ msgstr "" #: library/decimal.rst:54 msgid "" "The decimal module incorporates a notion of significant places so that " -"``1.30 + 1.20`` is :const:`2.50`. The trailing zero is kept to indicate " +"``1.30 + 1.20`` is ``2.50``. The trailing zero is kept to indicate " "significance. This is the customary presentation for monetary applications. " "For multiplication, the \"schoolbook\" approach uses all the figures in the " -"multiplicands. For instance, ``1.3 * 1.2`` gives :const:`1.56` while ``1.30 " -"* 1.20`` gives :const:`1.5600`." +"multiplicands. For instance, ``1.3 * 1.2`` gives ``1.56`` while ``1.30 * " +"1.20`` gives ``1.5600``." msgstr "" #: library/decimal.rst:61 @@ -103,9 +103,9 @@ msgstr "" msgid "" "A decimal number is immutable. It has a sign, coefficient digits, and an " "exponent. To preserve significance, the coefficient digits do not truncate " -"trailing zeros. Decimals also include special values such as :const:" -"`Infinity`, :const:`-Infinity`, and :const:`NaN`. The standard also " -"differentiates :const:`-0` from :const:`+0`." +"trailing zeros. Decimals also include special values such as ``Infinity``, " +"``-Infinity``, and ``NaN``. The standard also differentiates ``-0`` from " +"``+0``." msgstr "" #: library/decimal.rst:94 @@ -159,8 +159,8 @@ msgid "" "Decimal instances can be constructed from integers, strings, floats, or " "tuples. Construction from an integer or a float performs an exact conversion " "of the value of that integer or float. Decimal numbers include special " -"values such as :const:`NaN` which stands for \"Not a number\", positive and " -"negative :const:`Infinity`, and :const:`-0`::" +"values such as ``NaN`` which stands for \"Not a number\", positive and " +"negative ``Infinity``, and ``-0``::" msgstr "" #: library/decimal.rst:163 @@ -195,9 +195,9 @@ msgstr "" #: library/decimal.rst:253 msgid "" -"The :meth:`quantize` method rounds a number to a fixed exponent. This " -"method is useful for monetary applications that often round results to a " -"fixed number of places:" +"The :meth:`~Decimal.quantize` method rounds a number to a fixed exponent. " +"This method is useful for monetary applications that often round results to " +"a fixed number of places:" msgstr "" #: library/decimal.rst:262 @@ -227,20 +227,20 @@ msgid "" "Contexts also have signal flags for monitoring exceptional conditions " "encountered during computations. The flags remain set until explicitly " "cleared, so it is best to clear the flags before each set of monitored " -"computations by using the :meth:`clear_flags` method. ::" +"computations by using the :meth:`~Context.clear_flags` method. ::" msgstr "" #: library/decimal.rst:312 msgid "" -"The *flags* entry shows that the rational approximation to :const:`Pi` was " -"rounded (digits beyond the context precision were thrown away) and that the " -"result is inexact (some of the discarded digits were non-zero)." +"The *flags* entry shows that the rational approximation to pi was rounded " +"(digits beyond the context precision were thrown away) and that the result " +"is inexact (some of the discarded digits were non-zero)." msgstr "" #: library/decimal.rst:316 msgid "" -"Individual traps are set using the dictionary in the :attr:`traps` field of " -"a context:" +"Individual traps are set using the dictionary in the :attr:`~Context.traps` " +"attribute of a context:" msgstr "" #: library/decimal.rst:331 @@ -279,10 +279,10 @@ msgstr "" #: library/decimal.rst:371 msgid "" -"If *value* is a :class:`tuple`, it should have three components, a sign (:" -"const:`0` for positive or :const:`1` for negative), a :class:`tuple` of " -"digits, and an integer exponent. For example, ``Decimal((0, (1, 4, 1, 4), " -"-3))`` returns ``Decimal('1.414')``." +"If *value* is a :class:`tuple`, it should have three components, a sign " +"(``0`` for positive or ``1`` for negative), a :class:`tuple` of digits, and " +"an integer exponent. For example, ``Decimal((0, (1, 4, 1, 4), -3))`` returns " +"``Decimal('1.414')``." msgstr "" #: library/decimal.rst:376 @@ -307,7 +307,7 @@ msgid "" "The purpose of the *context* argument is determining what to do if *value* " "is a malformed string. If the context traps :const:`InvalidOperation`, an " "exception is raised; otherwise, the constructor returns a new Decimal with " -"the value of :const:`NaN`." +"the value of ``NaN``." msgstr "" #: library/decimal.rst:392 @@ -636,7 +636,7 @@ msgstr "" #: library/decimal.rst:703 msgid "" "Like ``max(self, other)`` except that the context rounding rule is applied " -"before returning and that :const:`NaN` values are either signaled or ignored " +"before returning and that ``NaN`` values are either signaled or ignored " "(depending on the context and whether they are signaling or quiet)." msgstr "" @@ -649,7 +649,7 @@ msgstr "" #: library/decimal.rst:715 msgid "" "Like ``min(self, other)`` except that the context rounding rule is applied " -"before returning and that :const:`NaN` values are either signaled or ignored " +"before returning and that ``NaN`` values are either signaled or ignored " "(depending on the context and whether they are signaling or quiet)." msgstr "" @@ -684,11 +684,10 @@ msgstr "" #: library/decimal.rst:746 msgid "" "Normalize the number by stripping the rightmost trailing zeros and " -"converting any result equal to :const:`Decimal('0')` to :const:" -"`Decimal('0e0')`. Used for producing canonical values for attributes of an " -"equivalence class. For example, ``Decimal('32.100')`` and " -"``Decimal('0.321000e+2')`` both normalize to the equivalent value " -"``Decimal('32.1')``." +"converting any result equal to ``Decimal('0')`` to ``Decimal('0e0')``. Used " +"for producing canonical values for attributes of an equivalence class. For " +"example, ``Decimal('32.100')`` and ``Decimal('0.321000e+2')`` both normalize " +"to the equivalent value ``Decimal('32.1')``." msgstr "" #: library/decimal.rst:755 @@ -773,7 +772,7 @@ msgstr "" #: library/decimal.rst:792 msgid "" "An error is returned whenever the resulting exponent is greater than :attr:" -"`Emax` or less than :attr:`Etiny`." +"`~Context.Emax` or less than :meth:`~Context.Etiny`." msgstr "" #: library/decimal.rst:797 @@ -809,8 +808,8 @@ msgstr "" #: library/decimal.rst:832 msgid "" -"Test whether self and other have the same exponent or whether both are :" -"const:`NaN`." +"Test whether self and other have the same exponent or whether both are " +"``NaN``." msgstr "" #: library/decimal.rst:841 @@ -879,10 +878,11 @@ msgstr "" #: library/decimal.rst:895 msgid "" -"The :meth:`logical_and`, :meth:`logical_invert`, :meth:`logical_or`, and :" -"meth:`logical_xor` methods expect their arguments to be *logical operands*. " -"A *logical operand* is a :class:`Decimal` instance whose exponent and sign " -"are both zero, and whose digits are all either :const:`0` or :const:`1`." +"The :meth:`~Decimal.logical_and`, :meth:`~Decimal.logical_invert`, :meth:" +"`~Decimal.logical_or`, and :meth:`~Decimal.logical_xor` methods expect their " +"arguments to be *logical operands*. A *logical operand* is a :class:" +"`Decimal` instance whose exponent and sign are both zero, and whose digits " +"are all either ``0`` or ``1``." msgstr "" #: library/decimal.rst:907 @@ -980,9 +980,9 @@ msgstr "" #: library/decimal.rst:984 msgid "" "Because the traps are disabled, this context is useful for applications that " -"prefer to have result value of :const:`NaN` or :const:`Infinity` instead of " -"raising exceptions. This allows an application to complete a run in the " -"presence of conditions that would otherwise halt the program." +"prefer to have result value of ``NaN`` or ``Infinity`` instead of raising " +"exceptions. This allows an application to complete a run in the presence of " +"conditions that would otherwise halt the program." msgstr "" #: library/decimal.rst:992 @@ -1009,9 +1009,9 @@ msgstr "" #: library/decimal.rst:1004 msgid "" -"The default values are :attr:`prec`\\ =\\ :const:`28`, :attr:`rounding`\\ " -"=\\ :const:`ROUND_HALF_EVEN`, and enabled traps for :class:`Overflow`, :" -"class:`InvalidOperation`, and :class:`DivisionByZero`." +"The default values are :attr:`Context.prec`\\ =\\ ``28``, :attr:`Context." +"rounding`\\ =\\ :const:`ROUND_HALF_EVEN`, and enabled traps for :class:" +"`Overflow`, :class:`InvalidOperation`, and :class:`DivisionByZero`." msgstr "" #: library/decimal.rst:1009 @@ -1029,8 +1029,8 @@ msgstr "" #: library/decimal.rst:1019 msgid "" -"*prec* is an integer in the range [:const:`1`, :const:`MAX_PREC`] that sets " -"the precision for arithmetic operations in the context." +"*prec* is an integer in the range [``1``, :const:`MAX_PREC`] that sets the " +"precision for arithmetic operations in the context." msgstr "" #: library/decimal.rst:1022 @@ -1048,35 +1048,35 @@ msgstr "" #: library/decimal.rst:1028 msgid "" "The *Emin* and *Emax* fields are integers specifying the outer limits " -"allowable for exponents. *Emin* must be in the range [:const:`MIN_EMIN`, :" -"const:`0`], *Emax* in the range [:const:`0`, :const:`MAX_EMAX`]." +"allowable for exponents. *Emin* must be in the range [:const:`MIN_EMIN`, " +"``0``], *Emax* in the range [``0``, :const:`MAX_EMAX`]." msgstr "" #: library/decimal.rst:1032 msgid "" -"The *capitals* field is either :const:`0` or :const:`1` (the default). If " -"set to :const:`1`, exponents are printed with a capital :const:`E`; " -"otherwise, a lowercase :const:`e` is used: :const:`Decimal('6.02e+23')`." +"The *capitals* field is either ``0`` or ``1`` (the default). If set to " +"``1``, exponents are printed with a capital ``E``; otherwise, a lowercase " +"``e`` is used: ``Decimal('6.02e+23')``." msgstr "" #: library/decimal.rst:1036 msgid "" -"The *clamp* field is either :const:`0` (the default) or :const:`1`. If set " -"to :const:`1`, the exponent ``e`` of a :class:`Decimal` instance " -"representable in this context is strictly limited to the range ``Emin - prec " -"+ 1 <= e <= Emax - prec + 1``. If *clamp* is :const:`0` then a weaker " -"condition holds: the adjusted exponent of the :class:`Decimal` instance is " -"at most ``Emax``. When *clamp* is :const:`1`, a large normal number will, " -"where possible, have its exponent reduced and a corresponding number of " -"zeros added to its coefficient, in order to fit the exponent constraints; " -"this preserves the value of the number but loses information about " -"significant trailing zeros. For example::" +"The *clamp* field is either ``0`` (the default) or ``1``. If set to ``1``, " +"the exponent ``e`` of a :class:`Decimal` instance representable in this " +"context is strictly limited to the range ``Emin - prec + 1 <= e <= Emax - " +"prec + 1``. If *clamp* is ``0`` then a weaker condition holds: the adjusted " +"exponent of the :class:`Decimal` instance is at most :attr:`~Context.Emax`. " +"When *clamp* is ``1``, a large normal number will, where possible, have its " +"exponent reduced and a corresponding number of zeros added to its " +"coefficient, in order to fit the exponent constraints; this preserves the " +"value of the number but loses information about significant trailing zeros. " +"For example::" msgstr "" #: library/decimal.rst:1051 msgid "" -"A *clamp* value of :const:`1` allows compatibility with the fixed-width " -"decimal interchange formats specified in IEEE 754." +"A *clamp* value of ``1`` allows compatibility with the fixed-width decimal " +"interchange formats specified in IEEE 754." msgstr "" #: library/decimal.rst:1054 @@ -1084,20 +1084,20 @@ msgid "" "The :class:`Context` class defines several general purpose methods as well " "as a large number of methods for doing arithmetic directly in a given " "context. In addition, for each of the :class:`Decimal` methods described " -"above (with the exception of the :meth:`adjusted` and :meth:`as_tuple` " -"methods) there is a corresponding :class:`Context` method. For example, for " -"a :class:`Context` instance ``C`` and :class:`Decimal` instance ``x``, ``C." -"exp(x)`` is equivalent to ``x.exp(context=C)``. Each :class:`Context` " -"method accepts a Python integer (an instance of :class:`int`) anywhere that " -"a Decimal instance is accepted." +"above (with the exception of the :meth:`~Decimal.adjusted` and :meth:" +"`~Decimal.as_tuple` methods) there is a corresponding :class:`Context` " +"method. For example, for a :class:`Context` instance ``C`` and :class:" +"`Decimal` instance ``x``, ``C.exp(x)`` is equivalent to ``x." +"exp(context=C)``. Each :class:`Context` method accepts a Python integer (an " +"instance of :class:`int`) anywhere that a Decimal instance is accepted." msgstr "" #: library/decimal.rst:1067 -msgid "Resets all of the flags to :const:`0`." +msgid "Resets all of the flags to ``0``." msgstr "" #: library/decimal.rst:1071 -msgid "Resets all of the traps to :const:`0`." +msgid "Resets all of the traps to ``0``." msgstr "" #: library/decimal.rst:1077 @@ -1470,27 +1470,27 @@ msgid "64-bit" msgstr "" #: library/decimal.rst:1488 -msgid ":const:`425000000`" +msgid "``425000000``" msgstr "" #: library/decimal.rst:1488 -msgid ":const:`999999999999999999`" +msgid "``999999999999999999``" msgstr "" #: library/decimal.rst:1490 -msgid ":const:`-425000000`" +msgid "``-425000000``" msgstr "" #: library/decimal.rst:1490 -msgid ":const:`-999999999999999999`" +msgid "``-999999999999999999``" msgstr "" #: library/decimal.rst:1492 -msgid ":const:`-849999999`" +msgid "``-849999999``" msgstr "" #: library/decimal.rst:1492 -msgid ":const:`-1999999999999999997`" +msgid "``-1999999999999999997``" msgstr "" #: library/decimal.rst:1498 @@ -1516,7 +1516,7 @@ msgid "Rounding modes" msgstr "" #: library/decimal.rst:1517 -msgid "Round towards :const:`Infinity`." +msgid "Round towards ``Infinity``." msgstr "" #: library/decimal.rst:1521 @@ -1524,7 +1524,7 @@ msgid "Round towards zero." msgstr "" #: library/decimal.rst:1525 -msgid "Round towards :const:`-Infinity`." +msgid "Round towards ``-Infinity``." msgstr "" #: library/decimal.rst:1529 @@ -1582,8 +1582,8 @@ msgstr "" #: library/decimal.rst:1572 msgid "" "Typically, clamping occurs when an exponent falls outside the context's :" -"attr:`Emin` and :attr:`Emax` limits. If possible, the exponent is reduced " -"to fit by adding zeros to the coefficient." +"attr:`~Context.Emin` and :attr:`~Context.Emax` limits. If possible, the " +"exponent is reduced to fit by adding zeros to the coefficient." msgstr "" #: library/decimal.rst:1579 @@ -1597,9 +1597,8 @@ msgstr "" #: library/decimal.rst:1586 msgid "" "Can occur with division, modulo division, or when raising a number to a " -"negative power. If this signal is not trapped, returns :const:`Infinity` " -"or :const:`-Infinity` with the sign determined by the inputs to the " -"calculation." +"negative power. If this signal is not trapped, returns ``Infinity`` or ``-" +"Infinity`` with the sign determined by the inputs to the calculation." msgstr "" #: library/decimal.rst:1593 @@ -1620,7 +1619,7 @@ msgstr "" #: library/decimal.rst:1604 msgid "" "Indicates that an operation was requested that does not make sense. If not " -"trapped, returns :const:`NaN`. Possible causes include::" +"trapped, returns ``NaN``. Possible causes include::" msgstr "" #: library/decimal.rst:1620 @@ -1629,10 +1628,10 @@ msgstr "" #: library/decimal.rst:1622 msgid "" -"Indicates the exponent is larger than :attr:`Emax` after rounding has " -"occurred. If not trapped, the result depends on the rounding mode, either " -"pulling inward to the largest representable finite number or rounding " -"outward to :const:`Infinity`. In either case, :class:`Inexact` and :class:" +"Indicates the exponent is larger than :attr:`Context.Emax` after rounding " +"has occurred. If not trapped, the result depends on the rounding mode, " +"either pulling inward to the largest representable finite number or rounding " +"outward to ``Infinity``. In either case, :class:`Inexact` and :class:" "`Rounded` are also signaled." msgstr "" @@ -1643,13 +1642,12 @@ msgstr "" #: library/decimal.rst:1633 msgid "" "Signaled whenever rounding discards digits; even if those digits are zero " -"(such as rounding :const:`5.00` to :const:`5.0`). If not trapped, returns " -"the result unchanged. This signal is used to detect loss of significant " -"digits." +"(such as rounding ``5.00`` to ``5.0``). If not trapped, returns the result " +"unchanged. This signal is used to detect loss of significant digits." msgstr "" #: library/decimal.rst:1641 -msgid "Exponent was lower than :attr:`Emin` prior to rounding." +msgid "Exponent was lower than :attr:`~Context.Emin` prior to rounding." msgstr "" #: library/decimal.rst:1643 @@ -1705,9 +1703,9 @@ msgstr "" #: library/decimal.rst:1698 msgid "" "The use of decimal floating point eliminates decimal representation error " -"(making it possible to represent :const:`0.1` exactly); however, some " -"operations can still incur round-off error when non-zero digits exceed the " -"fixed precision." +"(making it possible to represent ``0.1`` exactly); however, some operations " +"can still incur round-off error when non-zero digits exceed the fixed " +"precision." msgstr "" #: library/decimal.rst:1702 @@ -1732,8 +1730,8 @@ msgstr "" #: library/decimal.rst:1748 msgid "" "The number system for the :mod:`decimal` module provides special values " -"including :const:`NaN`, :const:`sNaN`, :const:`-Infinity`, :const:" -"`Infinity`, and two zeros, :const:`+0` and :const:`-0`." +"including ``NaN``, ``sNaN``, ``-Infinity``, ``Infinity``, and two zeros, " +"``+0`` and ``-0``." msgstr "" #: library/decimal.rst:1752 @@ -1754,37 +1752,37 @@ msgstr "" #: library/decimal.rst:1761 msgid "" -"Some operations are indeterminate and return :const:`NaN`, or if the :exc:" +"Some operations are indeterminate and return ``NaN``, or if the :exc:" "`InvalidOperation` signal is trapped, raise an exception. For example, " -"``0/0`` returns :const:`NaN` which means \"not a number\". This variety of :" -"const:`NaN` is quiet and, once created, will flow through other computations " -"always resulting in another :const:`NaN`. This behavior can be useful for a " +"``0/0`` returns ``NaN`` which means \"not a number\". This variety of " +"``NaN`` is quiet and, once created, will flow through other computations " +"always resulting in another ``NaN``. This behavior can be useful for a " "series of computations that occasionally have missing inputs --- it allows " "the calculation to proceed while flagging specific results as invalid." msgstr "" #: library/decimal.rst:1769 msgid "" -"A variant is :const:`sNaN` which signals rather than remaining quiet after " -"every operation. This is a useful return value when an invalid result needs " -"to interrupt a calculation for special handling." +"A variant is ``sNaN`` which signals rather than remaining quiet after every " +"operation. This is a useful return value when an invalid result needs to " +"interrupt a calculation for special handling." msgstr "" #: library/decimal.rst:1773 msgid "" "The behavior of Python's comparison operators can be a little surprising " -"where a :const:`NaN` is involved. A test for equality where one of the " -"operands is a quiet or signaling :const:`NaN` always returns :const:`False` " -"(even when doing ``Decimal('NaN')==Decimal('NaN')``), while a test for " -"inequality always returns :const:`True`. An attempt to compare two Decimals " -"using any of the ``<``, ``<=``, ``>`` or ``>=`` operators will raise the :" -"exc:`InvalidOperation` signal if either operand is a :const:`NaN`, and " -"return :const:`False` if this signal is not trapped. Note that the General " -"Decimal Arithmetic specification does not specify the behavior of direct " -"comparisons; these rules for comparisons involving a :const:`NaN` were taken " -"from the IEEE 854 standard (see Table 3 in section 5.7). To ensure strict " -"standards-compliance, use the :meth:`compare` and :meth:`compare-signal` " -"methods instead." +"where a ``NaN`` is involved. A test for equality where one of the operands " +"is a quiet or signaling ``NaN`` always returns :const:`False` (even when " +"doing ``Decimal('NaN')==Decimal('NaN')``), while a test for inequality " +"always returns :const:`True`. An attempt to compare two Decimals using any " +"of the ``<``, ``<=``, ``>`` or ``>=`` operators will raise the :exc:" +"`InvalidOperation` signal if either operand is a ``NaN``, and return :const:" +"`False` if this signal is not trapped. Note that the General Decimal " +"Arithmetic specification does not specify the behavior of direct " +"comparisons; these rules for comparisons involving a ``NaN`` were taken from " +"the IEEE 854 standard (see Table 3 in section 5.7). To ensure strict " +"standards-compliance, use the :meth:`~Decimal.compare` and :meth:`~Decimal." +"compare_signal` methods instead." msgstr "" #: library/decimal.rst:1786 @@ -1871,8 +1869,9 @@ msgstr "" #: library/decimal.rst:2016 msgid "" -"A. The :meth:`quantize` method rounds to a fixed number of decimal places. " -"If the :const:`Inexact` trap is set, it is also useful for validation:" +"A. The :meth:`~Decimal.quantize` method rounds to a fixed number of decimal " +"places. If the :const:`Inexact` trap is set, it is also useful for " +"validation:" msgstr "" #: library/decimal.rst:2034 @@ -1886,27 +1885,27 @@ msgid "" "A. Some operations like addition, subtraction, and multiplication by an " "integer will automatically preserve fixed point. Others operations, like " "division and non-integer multiplication, will change the number of decimal " -"places and need to be followed-up with a :meth:`quantize` step:" +"places and need to be followed-up with a :meth:`~Decimal.quantize` step:" msgstr "" #: library/decimal.rst:2055 msgid "" "In developing fixed-point applications, it is convenient to define functions " -"to handle the :meth:`quantize` step:" +"to handle the :meth:`~Decimal.quantize` step:" msgstr "" #: library/decimal.rst:2068 msgid "" -"Q. There are many ways to express the same value. The numbers :const:" -"`200`, :const:`200.000`, :const:`2E2`, and :const:`.02E+4` all have the same " -"value at various precisions. Is there a way to transform them to a single " -"recognizable canonical value?" +"Q. There are many ways to express the same value. The numbers ``200``, " +"``200.000``, ``2E2``, and ``.02E+4`` all have the same value at various " +"precisions. Is there a way to transform them to a single recognizable " +"canonical value?" msgstr "" #: library/decimal.rst:2073 msgid "" -"A. The :meth:`normalize` method maps all equivalent values to a single " -"representative:" +"A. The :meth:`~Decimal.normalize` method maps all equivalent values to a " +"single representative:" msgstr "" #: library/decimal.rst:2080 @@ -1918,8 +1917,8 @@ msgstr "" #: library/decimal.rst:2083 msgid "" "A. For some values, exponential notation is the only way to express the " -"number of significant places in the coefficient. For example, expressing :" -"const:`5.0E+3` as :const:`5000` keeps the value constant but cannot show the " +"number of significant places in the coefficient. For example, expressing " +"``5.0E+3`` as ``5000`` keeps the value constant but cannot show the " "original's two-place significance." msgstr "" @@ -2003,15 +2002,15 @@ msgstr "" #: library/decimal.rst:2161 msgid "" "The context must be adapted for exact arbitrary precision arithmetic. :attr:" -"`Emin` and :attr:`Emax` should always be set to the maximum values, :attr:" -"`clamp` should always be 0 (the default). Setting :attr:`prec` requires " -"some care." +"`~Context.Emin` and :attr:`~Context.Emax` should always be set to the " +"maximum values, :attr:`~Context.clamp` should always be 0 (the default). " +"Setting :attr:`~Context.prec` requires some care." msgstr "" #: library/decimal.rst:2165 msgid "" "The easiest approach for trying out bignum arithmetic is to use the maximum " -"value for :attr:`prec` as well [#]_::" +"value for :attr:`~Context.prec` as well [#]_::" msgstr "" #: library/decimal.rst:2174 @@ -2023,9 +2022,9 @@ msgstr "" #: library/decimal.rst:2182 msgid "" "On systems with overallocation (e.g. Linux), a more sophisticated approach " -"is to adjust :attr:`prec` to the amount of available RAM. Suppose that you " -"have 8GB of RAM and expect 10 simultaneous operands using a maximum of 500MB " -"each::" +"is to adjust :attr:`~Context.prec` to the amount of available RAM. Suppose " +"that you have 8GB of RAM and expect 10 simultaneous operands using a maximum " +"of 500MB each::" msgstr "" #: library/decimal.rst:2206 diff --git a/library/ensurepip.po b/library/ensurepip.po index ebcac5d17..db8e4fe52 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -64,7 +64,7 @@ msgstr "" msgid "The original rationale and specification for this module." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/enum.po b/library/enum.po index b2e6f17a7..b4cb23903 100644 --- a/library/enum.po +++ b/library/enum.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -742,109 +742,107 @@ msgid "" msgstr "" #: library/enum.rst:695 -msgid "" -"Out-of-range values cause a :exc:`ValueError` to be raised. This is the " -"default for :class:`Flag`::" +msgid "Out-of-range values cause a :exc:`ValueError` to be raised::" msgstr "" -#: library/enum.rst:712 +#: library/enum.rst:711 msgid "" "Out-of-range values have invalid values removed, leaving a valid *Flag* " -"value::" +"value. This is the default for :class:`Flag`::" msgstr "" -#: library/enum.rst:725 +#: library/enum.rst:724 msgid "" "Out-of-range values lose their *Flag* membership and revert to :class:`int`. " "This is the default for :class:`IntFlag`::" msgstr "" -#: library/enum.rst:738 +#: library/enum.rst:737 msgid "" -"Out-of-range values are kept, and the *Flag* membership is kept. This is " -"used for some stdlib flags:" +"Out-of-range values are kept, and the *Flag* membership is kept. This is " +"used for some stdlib flags::" msgstr "" -#: library/enum.rst:754 +#: library/enum.rst:753 msgid "Supported ``__dunder__`` names" msgstr "" -#: library/enum.rst:756 +#: library/enum.rst:755 msgid "" ":attr:`~EnumType.__members__` is a read-only ordered mapping of " "``member_name``:``member`` items. It is only available on the class." msgstr "" -#: library/enum.rst:759 +#: library/enum.rst:758 msgid "" ":meth:`~object.__new__`, if specified, must create and return the enum " "members; it is also a very good idea to set the member's :attr:`!_value_` " "appropriately. Once all the members are created it is no longer used." msgstr "" -#: library/enum.rst:765 +#: library/enum.rst:764 msgid "Supported ``_sunder_`` names" msgstr "" -#: library/enum.rst:767 +#: library/enum.rst:766 msgid "``_name_`` -- name of the member" msgstr "" -#: library/enum.rst:768 +#: library/enum.rst:767 msgid "" "``_value_`` -- value of the member; can be set / modified in ``__new__``" msgstr "" -#: library/enum.rst:770 +#: library/enum.rst:769 msgid "" "``_missing_`` -- a lookup function used when a value is not found; may be " "overridden" msgstr "" -#: library/enum.rst:772 +#: library/enum.rst:771 msgid "" "``_ignore_`` -- a list of names, either as a :class:`list` or a :class:" "`str`, that will not be transformed into members, and will be removed from " "the final class" msgstr "" -#: library/enum.rst:775 +#: library/enum.rst:774 msgid "" "``_order_`` -- used in Python 2/3 code to ensure member order is consistent " "(class attribute, removed during class creation)" msgstr "" -#: library/enum.rst:777 +#: library/enum.rst:776 msgid "" "``_generate_next_value_`` -- used to get an appropriate value for an enum " "member; may be overridden" msgstr "" -#: library/enum.rst:782 +#: library/enum.rst:781 msgid "" "For standard :class:`Enum` classes the next value chosen is the last value " "seen incremented by one." msgstr "" -#: library/enum.rst:785 +#: library/enum.rst:784 msgid "" "For :class:`Flag` classes the next value chosen will be the next highest " "power-of-two, regardless of the last value seen." msgstr "" -#: library/enum.rst:788 +#: library/enum.rst:787 msgid "``_missing_``, ``_order_``, ``_generate_next_value_``" msgstr "" -#: library/enum.rst:789 +#: library/enum.rst:788 msgid "``_ignore_``" msgstr "" -#: library/enum.rst:794 +#: library/enum.rst:793 msgid "Utilities and Decorators" msgstr "" -#: library/enum.rst:798 +#: library/enum.rst:797 msgid "" "*auto* can be used in place of a value. If used, the *Enum* machinery will " "call an *Enum*'s :meth:`~Enum._generate_next_value_` to get an appropriate " @@ -855,58 +853,58 @@ msgid "" "manually specified values." msgstr "" -#: library/enum.rst:806 +#: library/enum.rst:805 msgid "" "*auto* instances are only resolved when at the top level of an assignment:" msgstr "" -#: library/enum.rst:808 +#: library/enum.rst:807 msgid "``FIRST = auto()`` will work (auto() is replaced with ``1``);" msgstr "" -#: library/enum.rst:809 +#: library/enum.rst:808 msgid "" "``SECOND = auto(), -2`` will work (auto is replaced with ``2``, so ``2, -2`` " "is" msgstr "" -#: library/enum.rst:810 +#: library/enum.rst:809 msgid "used to create the ``SECOND`` enum member;" msgstr "" -#: library/enum.rst:811 +#: library/enum.rst:810 msgid "" "``THREE = [auto(), -3]`` will *not* work (``, -3`` is used to " "create the ``THREE`` enum member)" msgstr "" -#: library/enum.rst:816 +#: library/enum.rst:815 msgid "" "In prior versions, ``auto()`` had to be the only thing on the assignment " "line to work properly." msgstr "" -#: library/enum.rst:819 +#: library/enum.rst:818 msgid "" "``_generate_next_value_`` can be overridden to customize the values used by " "*auto*." msgstr "" -#: library/enum.rst:822 +#: library/enum.rst:821 msgid "" "in 3.13 the default ``_generate_next_value_`` will always return the highest " "member value incremented by 1, and will fail if any member is an " "incompatible type." msgstr "" -#: library/enum.rst:828 +#: library/enum.rst:827 msgid "" "A decorator similar to the built-in *property*, but specifically for " "enumerations. It allows member attributes to have the same names as members " "themselves." msgstr "" -#: library/enum.rst:832 +#: library/enum.rst:831 msgid "" "the *property* and the member must be defined in separate classes; for " "example, the *value* and *name* attributes are defined in the *Enum* class, " @@ -914,29 +912,29 @@ msgid "" "``name``." msgstr "" -#: library/enum.rst:841 +#: library/enum.rst:840 msgid "" "A :keyword:`class` decorator specifically for enumerations. It searches an " "enumeration's :attr:`~EnumType.__members__`, gathering any aliases it finds; " "if any are found :exc:`ValueError` is raised with the details::" msgstr "" -#: library/enum.rst:859 +#: library/enum.rst:858 msgid "" "A :keyword:`class` decorator specifically for enumerations. Members from :" "class:`EnumCheck` are used to specify which constraints should be checked on " "the decorated enumeration." msgstr "" -#: library/enum.rst:867 +#: library/enum.rst:866 msgid "A decorator for use in enums: its target will become a member." msgstr "" -#: library/enum.rst:873 +#: library/enum.rst:872 msgid "A decorator for use in enums: its target will not become a member." msgstr "" -#: library/enum.rst:879 +#: library/enum.rst:878 msgid "" "A decorator to change the :class:`str() ` and :func:`repr` of an enum " "to show its members as belonging to the module instead of its class. Should " @@ -944,40 +942,40 @@ msgid "" "namespace (see :class:`re.RegexFlag` for an example)." msgstr "" -#: library/enum.rst:889 +#: library/enum.rst:888 msgid "Return a list of all power-of-two integers contained in a flag *value*." msgstr "" -#: library/enum.rst:896 +#: library/enum.rst:895 msgid "Notes" msgstr "" -#: library/enum.rst:898 +#: library/enum.rst:897 msgid ":class:`IntEnum`, :class:`StrEnum`, and :class:`IntFlag`" msgstr "" -#: library/enum.rst:900 +#: library/enum.rst:899 msgid "" "These three enum types are designed to be drop-in replacements for existing " "integer- and string-based values; as such, they have extra limitations:" msgstr "" -#: library/enum.rst:903 +#: library/enum.rst:902 msgid "``__str__`` uses the value and not the name of the enum member" msgstr "" -#: library/enum.rst:905 +#: library/enum.rst:904 msgid "" "``__format__``, because it uses ``__str__``, will also use the value of the " "enum member instead of its name" msgstr "" -#: library/enum.rst:908 +#: library/enum.rst:907 msgid "" "If you do not need/want those limitations, you can either create your own " "base class by mixing in the ``int`` or ``str`` type yourself::" msgstr "" -#: library/enum.rst:915 +#: library/enum.rst:914 msgid "or you can reassign the appropriate :meth:`str`, etc., in your enum::" msgstr "" diff --git a/library/errno.po b/library/errno.po index 3c54db286..3c96702da 100644 --- a/library/errno.po +++ b/library/errno.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -581,6 +581,6 @@ msgid "" "`PermissionError`." msgstr "" -#: library/errno.rst:667 +#: library/errno.rst:666 msgid ":ref:`Availability `: WASI, FreeBSD" msgstr "" diff --git a/library/fcntl.po b/library/fcntl.po index 5e215415c..dc0393bca 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgid "" "`ioctl(2)` Unix manual pages." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/fractions.po b/library/fractions.po index 5247f010c..fe141ff79 100644 --- a/library/fractions.po +++ b/library/fractions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -68,9 +68,9 @@ msgstr "" msgid "" "The :class:`Fraction` class inherits from the abstract base class :class:" "`numbers.Rational`, and implements all of the methods and operations from " -"that class. :class:`Fraction` instances are hashable, and should be treated " -"as immutable. In addition, :class:`Fraction` has the following properties " -"and methods:" +"that class. :class:`Fraction` instances are :term:`hashable`, and should be " +"treated as immutable. In addition, :class:`Fraction` has the following " +"properties and methods:" msgstr "" #: library/fractions.rst:84 diff --git a/library/ftplib.po b/library/ftplib.po index df1b08667..50e4c659a 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -38,7 +38,7 @@ msgstr "" msgid "The default encoding is UTF-8, following :rfc:`2640`." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/functions.po b/library/functions.po index a84e34f74..30af32f1c 100644 --- a/library/functions.po +++ b/library/functions.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: 2023-02-01 18:21-0500\n" "Last-Translator: \n" "Language-Team: TURKISH\n" @@ -1347,12 +1347,12 @@ msgid "Added the *closure* parameter." msgstr "*closure* parametresi eklendi." #: library/functions.rst:624 +#, fuzzy msgid "" "Construct an iterator from those elements of *iterable* for which *function* " -"returns true. *iterable* may be either a sequence, a container which " -"supports iteration, or an iterator. If *function* is ``None``, the identity " -"function is assumed, that is, all elements of *iterable* that are false are " -"removed." +"is true. *iterable* may be either a sequence, a container which supports " +"iteration, or an iterator. If *function* is ``None``, the identity function " +"is assumed, that is, all elements of *iterable* that are false are removed." msgstr "" "*function* 'ın doğru döndürdüğü *iterable* ögelerinden bir yineleyici " "oluşturun. *iterable* bir dizi, yinelemeyi destekleyen bir konteyner veya " @@ -1373,9 +1373,10 @@ msgstr "" "unutmayın." #: library/functions.rst:635 +#, fuzzy msgid "" "See :func:`itertools.filterfalse` for the complementary function that " -"returns elements of *iterable* for which *function* returns false." +"returns elements of *iterable* for which *function* is false." msgstr "" "*function* 'ın yanlış döndürdüğü *iterable* öğelerini döndüren tamamlayıcı " "fonksiyon için :func:`itertools.filterfalse` 'a bakınız.." diff --git a/library/functools.po b/library/functools.po index d889e10ee..a2e82bec8 100644 --- a/library/functools.po +++ b/library/functools.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -152,7 +152,7 @@ msgstr "" #: library/functools.rst:149 msgid "" "Since a dictionary is used to cache results, the positional and keyword " -"arguments to the function must be hashable." +"arguments to the function must be :term:`hashable`." msgstr "" #: library/functools.rst:152 diff --git a/library/getpass.po b/library/getpass.po index e1a0d180e..fcc2638ca 100644 --- a/library/getpass.po +++ b/library/getpass.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -24,7 +24,7 @@ msgstr "" msgid "**Source code:** :source:`Lib/getpass.py`" msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/graphlib.po b/library/graphlib.po index cd8552557..050dcd371 100644 --- a/library/graphlib.po +++ b/library/graphlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -25,7 +25,9 @@ msgid "**Source code:** :source:`Lib/graphlib.py`" msgstr "" #: library/graphlib.rst:20 -msgid "Provides functionality to topologically sort a graph of hashable nodes." +msgid "" +"Provides functionality to topologically sort a graph of :term:`hashable` " +"nodes." msgstr "" #: library/graphlib.rst:22 @@ -92,7 +94,7 @@ msgstr "" #: library/graphlib.rst:87 msgid "" "Add a new node and its predecessors to the graph. Both the *node* and all " -"elements in *predecessors* must be hashable." +"elements in *predecessors* must be :term:`hashable`." msgstr "" #: library/graphlib.rst:90 diff --git a/library/grp.po b/library/grp.po index 52a04f2d0..e178dfc1c 100644 --- a/library/grp.po +++ b/library/grp.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,7 +26,7 @@ msgid "" "all Unix versions." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/http.client.po b/library/http.client.po index 93e7b8da3..cfe2876b0 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -43,7 +43,7 @@ msgid "" "(through the :mod:`ssl` module)." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/http.server.po b/library/http.server.po index f7ec8718b..23b411a42 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -34,7 +34,7 @@ msgid "" "ref:`basic security checks `." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/imaplib.po b/library/imaplib.po index 4fc4e73a7..3a1dc7efe 100644 --- a/library/imaplib.po +++ b/library/imaplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -33,7 +33,7 @@ msgid "" "that the ``STATUS`` command is not supported in IMAP4." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/importlib.po b/library/importlib.po index 37e47cea2..9c7ab8a3c 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1696,7 +1696,7 @@ msgstr "" #: library/importlib.rst:1465 msgid "" -"A static method which returns a callable that creates a lazy loader. This is " +"A class method which returns a callable that creates a lazy loader. This is " "meant to be used in situations where the loader is passed by class instead " "of by instance. ::" msgstr "" diff --git a/library/importlib.resources.abc.po b/library/importlib.resources.abc.po index ff12d5b1c..13b62ed38 100644 --- a/library/importlib.resources.abc.po +++ b/library/importlib.resources.abc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -113,52 +113,58 @@ msgstr "" #: library/importlib.resources.abc.rst:89 msgid "" -"An object with a subset of pathlib.Path methods suitable for traversing " -"directories and opening files." +"An object with a subset of :class:`pathlib.Path` methods suitable for " +"traversing directories and opening files." msgstr "" -#: library/importlib.resources.abc.rst:96 +#: library/importlib.resources.abc.rst:92 +msgid "" +"For a representation of the object on the file-system, use :meth:`importlib." +"resources.as_file`." +msgstr "" + +#: library/importlib.resources.abc.rst:99 msgid "Abstract. The base name of this object without any parent references." msgstr "" -#: library/importlib.resources.abc.rst:100 +#: library/importlib.resources.abc.rst:103 msgid "Yield Traversable objects in self." msgstr "" -#: library/importlib.resources.abc.rst:104 +#: library/importlib.resources.abc.rst:107 msgid "Return True if self is a directory." msgstr "" -#: library/importlib.resources.abc.rst:108 +#: library/importlib.resources.abc.rst:111 msgid "Return True if self is a file." msgstr "" -#: library/importlib.resources.abc.rst:112 -#: library/importlib.resources.abc.rst:116 +#: library/importlib.resources.abc.rst:115 +#: library/importlib.resources.abc.rst:119 msgid "Return Traversable child in self." msgstr "" -#: library/importlib.resources.abc.rst:120 +#: library/importlib.resources.abc.rst:123 msgid "" "*mode* may be 'r' or 'rb' to open as text or binary. Return a handle " "suitable for reading (same as :attr:`pathlib.Path.open`)." msgstr "" -#: library/importlib.resources.abc.rst:123 +#: library/importlib.resources.abc.rst:126 msgid "" "When opening as text, accepts encoding parameters such as those accepted by :" "attr:`io.TextIOWrapper`." msgstr "" -#: library/importlib.resources.abc.rst:128 +#: library/importlib.resources.abc.rst:131 msgid "Read contents of self as bytes." msgstr "" -#: library/importlib.resources.abc.rst:132 +#: library/importlib.resources.abc.rst:135 msgid "Read contents of self as text." msgstr "" -#: library/importlib.resources.abc.rst:137 +#: library/importlib.resources.abc.rst:140 msgid "" "An abstract base class for resource readers capable of serving the :meth:" "`importlib.resources.files` interface. Subclasses :class:`importlib." @@ -168,13 +174,13 @@ msgid "" "also supplies ResourceReader." msgstr "" -#: library/importlib.resources.abc.rst:144 +#: library/importlib.resources.abc.rst:147 msgid "" "Loaders that wish to support resource reading are expected to implement this " "interface." msgstr "" -#: library/importlib.resources.abc.rst:151 +#: library/importlib.resources.abc.rst:154 msgid "" "Returns a :class:`importlib.resources.abc.Traversable` object for the loaded " "package." diff --git a/library/inspect.po b/library/inspect.po index 1c5d23cd8..87e8967de 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -941,7 +941,7 @@ msgid "" msgstr "" #: library/inspect.rst:670 -msgid "Signature objects are picklable and hashable." +msgid "Signature objects are picklable and :term:`hashable`." msgstr "" #: library/inspect.rst:675 @@ -955,7 +955,7 @@ msgid "" "including keyword-only parameters." msgstr "" -#: library/inspect.rst:1007 +#: library/inspect.rst:1008 msgid "" "Python only explicitly guaranteed that it preserved the declaration order of " "keyword-only parameters as of version 3.7, although in practice this order " @@ -1015,7 +1015,7 @@ msgid "" msgstr "" #: library/inspect.rst:748 -msgid "Parameter objects are picklable and hashable." +msgid "Parameter objects are picklable and :term:`hashable`." msgstr "" #: library/inspect.rst:753 @@ -1055,83 +1055,84 @@ msgstr "" #: library/inspect.rst:783 msgid "" -"Describes how argument values are bound to the parameter. Possible values " -"(accessible via :class:`Parameter`, like ``Parameter.KEYWORD_ONLY``):" +"Describes how argument values are bound to the parameter. The possible " +"values are accessible via :class:`Parameter` (like ``Parameter." +"KEYWORD_ONLY``), and support comparison and ordering, in the following order:" msgstr "" -#: library/inspect.rst:789 +#: library/inspect.rst:790 msgid "Name" msgstr "" -#: library/inspect.rst:789 +#: library/inspect.rst:790 msgid "Meaning" msgstr "" -#: library/inspect.rst:791 +#: library/inspect.rst:792 msgid "*POSITIONAL_ONLY*" msgstr "" -#: library/inspect.rst:791 +#: library/inspect.rst:792 msgid "" "Value must be supplied as a positional argument. Positional only parameters " "are those which appear before a ``/`` entry (if present) in a Python " "function definition." msgstr "" -#: library/inspect.rst:796 +#: library/inspect.rst:797 msgid "*POSITIONAL_OR_KEYWORD*" msgstr "" -#: library/inspect.rst:796 +#: library/inspect.rst:797 msgid "" "Value may be supplied as either a keyword or positional argument (this is " "the standard binding behaviour for functions implemented in Python.)" msgstr "" -#: library/inspect.rst:801 +#: library/inspect.rst:802 msgid "*VAR_POSITIONAL*" msgstr "" -#: library/inspect.rst:801 +#: library/inspect.rst:802 msgid "" "A tuple of positional arguments that aren't bound to any other parameter. " "This corresponds to a ``*args`` parameter in a Python function definition." msgstr "" -#: library/inspect.rst:806 +#: library/inspect.rst:807 msgid "*KEYWORD_ONLY*" msgstr "" -#: library/inspect.rst:806 +#: library/inspect.rst:807 msgid "" "Value must be supplied as a keyword argument. Keyword only parameters are " "those which appear after a ``*`` or ``*args`` entry in a Python function " "definition." msgstr "" -#: library/inspect.rst:811 +#: library/inspect.rst:812 msgid "*VAR_KEYWORD*" msgstr "" -#: library/inspect.rst:811 +#: library/inspect.rst:812 msgid "" "A dict of keyword arguments that aren't bound to any other parameter. This " "corresponds to a ``**kwargs`` parameter in a Python function definition." msgstr "" -#: library/inspect.rst:817 +#: library/inspect.rst:818 msgid "Example: print all keyword-only arguments without default values::" msgstr "" -#: library/inspect.rst:831 +#: library/inspect.rst:832 msgid "Describes a enum value of Parameter.kind." msgstr "" -#: library/inspect.rst:835 +#: library/inspect.rst:836 msgid "Example: print all descriptions of arguments::" msgstr "" -#: library/inspect.rst:850 +#: library/inspect.rst:851 msgid "" "Create a new Parameter instance based on the instance replaced was invoked " "on. To override a :class:`Parameter` attribute, pass the corresponding " @@ -1139,94 +1140,94 @@ msgid "" "pass :attr:`Parameter.empty`." msgstr "" -#: library/inspect.rst:868 +#: library/inspect.rst:869 msgid "" "In Python 3.3 Parameter objects were allowed to have ``name`` set to " "``None`` if their ``kind`` was set to ``POSITIONAL_ONLY``. This is no longer " "permitted." msgstr "" -#: library/inspect.rst:875 +#: library/inspect.rst:876 msgid "" "Result of a :meth:`Signature.bind` or :meth:`Signature.bind_partial` call. " "Holds the mapping of arguments to the function's parameters." msgstr "" -#: library/inspect.rst:880 +#: library/inspect.rst:881 msgid "" "A mutable mapping of parameters' names to arguments' values. Contains only " "explicitly bound arguments. Changes in :attr:`arguments` will reflect in :" "attr:`args` and :attr:`kwargs`." msgstr "" -#: library/inspect.rst:884 +#: library/inspect.rst:885 msgid "" "Should be used in conjunction with :attr:`Signature.parameters` for any " "argument processing purposes." msgstr "" -#: library/inspect.rst:889 +#: library/inspect.rst:890 msgid "" "Arguments for which :meth:`Signature.bind` or :meth:`Signature.bind_partial` " "relied on a default value are skipped. However, if needed, use :meth:" "`BoundArguments.apply_defaults` to add them." msgstr "" -#: library/inspect.rst:894 +#: library/inspect.rst:895 msgid "" ":attr:`arguments` is now of type :class:`dict`. Formerly, it was of type :" "class:`collections.OrderedDict`." msgstr "" -#: library/inspect.rst:900 +#: library/inspect.rst:901 msgid "" "A tuple of positional arguments values. Dynamically computed from the :attr:" "`arguments` attribute." msgstr "" -#: library/inspect.rst:905 +#: library/inspect.rst:906 msgid "" "A dict of keyword arguments values. Dynamically computed from the :attr:" "`arguments` attribute." msgstr "" -#: library/inspect.rst:910 +#: library/inspect.rst:911 msgid "A reference to the parent :class:`Signature` object." msgstr "" -#: library/inspect.rst:914 +#: library/inspect.rst:915 msgid "Set default values for missing arguments." msgstr "" -#: library/inspect.rst:916 +#: library/inspect.rst:917 msgid "" "For variable-positional arguments (``*args``) the default is an empty tuple." msgstr "" -#: library/inspect.rst:919 +#: library/inspect.rst:920 msgid "" "For variable-keyword arguments (``**kwargs``) the default is an empty dict." msgstr "" -#: library/inspect.rst:932 +#: library/inspect.rst:933 msgid "" "The :attr:`args` and :attr:`kwargs` properties can be used to invoke " "functions::" msgstr "" -#: library/inspect.rst:945 +#: library/inspect.rst:946 msgid ":pep:`362` - Function Signature Object." msgstr "" -#: library/inspect.rst:946 +#: library/inspect.rst:947 msgid "The detailed specification, implementation details and examples." msgstr "" -#: library/inspect.rst:952 +#: library/inspect.rst:953 msgid "Classes and functions" msgstr "" -#: library/inspect.rst:956 +#: library/inspect.rst:957 msgid "" "Arrange the given list of classes into a hierarchy of nested lists. Where a " "nested list appears, it contains classes derived from the class whose entry " @@ -1237,19 +1238,19 @@ msgid "" "will appear multiple times." msgstr "" -#: library/inspect.rst:967 +#: library/inspect.rst:968 msgid "" "Get the names and default values of a Python function's parameters. A :term:" "`named tuple` is returned:" msgstr "" -#: library/inspect.rst:970 +#: library/inspect.rst:971 msgid "" "``FullArgSpec(args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, " "annotations)``" msgstr "" -#: library/inspect.rst:973 +#: library/inspect.rst:974 msgid "" "*args* is a list of the positional parameter names. *varargs* is the name of " "the ``*`` parameter or ``None`` if arbitrary positional arguments are not " @@ -1264,7 +1265,7 @@ msgid "" "report the function return value annotation (if any)." msgstr "" -#: library/inspect.rst:988 +#: library/inspect.rst:989 msgid "" "Note that :func:`signature` and :ref:`Signature Object ` provide the recommended API for callable introspection, and support " @@ -1274,14 +1275,14 @@ msgid "" "``inspect`` module API." msgstr "" -#: library/inspect.rst:995 +#: library/inspect.rst:996 msgid "" "This function is now based on :func:`signature`, but still ignores " "``__wrapped__`` attributes and includes the already bound first parameter in " "the signature output for bound methods." msgstr "" -#: library/inspect.rst:1000 +#: library/inspect.rst:1001 msgid "" "This method was previously documented as deprecated in favour of :func:" "`signature` in Python 3.5, but that decision has been reversed in order to " @@ -1289,7 +1290,7 @@ msgid "" "code migrating away from the legacy :func:`getargspec` API." msgstr "" -#: library/inspect.rst:1015 +#: library/inspect.rst:1016 msgid "" "Get information about arguments passed into a particular frame. A :term:" "`named tuple` ``ArgInfo(args, varargs, keywords, locals)`` is returned. " @@ -1298,18 +1299,18 @@ msgid "" "dictionary of the given frame." msgstr "" -#: library/inspect.rst:1032 +#: library/inspect.rst:1033 msgid "This function was inadvertently marked as deprecated in Python 3.5." msgstr "" -#: library/inspect.rst:1027 +#: library/inspect.rst:1028 msgid "" "Format a pretty argument spec from the four values returned by :func:" "`getargvalues`. The format\\* arguments are the corresponding optional " "formatting functions that are called to turn names and values into strings." msgstr "" -#: library/inspect.rst:1037 +#: library/inspect.rst:1038 msgid "" "Return a tuple of class cls's base classes, including cls, in method " "resolution order. No class appears more than once in this tuple. Note that " @@ -1317,7 +1318,7 @@ msgid "" "user-defined metatype is in use, cls will be the first element of the tuple." msgstr "" -#: library/inspect.rst:1045 +#: library/inspect.rst:1046 msgid "" "Bind the *args* and *kwds* to the argument names of the Python function or " "method *func*, as if it was called with them. For bound methods, bind also " @@ -1330,11 +1331,11 @@ msgid "" "example::" msgstr "" -#: library/inspect.rst:1068 +#: library/inspect.rst:1069 msgid "Use :meth:`Signature.bind` and :meth:`Signature.bind_partial` instead." msgstr "" -#: library/inspect.rst:1074 +#: library/inspect.rst:1075 msgid "" "Get the mapping of external name references in a Python function or method " "*func* to their current values. A :term:`named tuple` " @@ -1346,18 +1347,18 @@ msgid "" "builtins." msgstr "" -#: library/inspect.rst:1083 +#: library/inspect.rst:1084 msgid "" ":exc:`TypeError` is raised if *func* is not a Python function or method." msgstr "" -#: library/inspect.rst:1090 +#: library/inspect.rst:1091 msgid "" "Get the object wrapped by *func*. It follows the chain of :attr:" "`__wrapped__` attributes returning the last object in the chain." msgstr "" -#: library/inspect.rst:1093 +#: library/inspect.rst:1094 msgid "" "*stop* is an optional callback accepting an object in the wrapper chain as " "its sole argument that allows the unwrapping to be terminated early if the " @@ -1367,68 +1368,68 @@ msgid "" "``__signature__`` attribute defined." msgstr "" -#: library/inspect.rst:1100 +#: library/inspect.rst:1101 msgid ":exc:`ValueError` is raised if a cycle is encountered." msgstr "" -#: library/inspect.rst:1107 +#: library/inspect.rst:1108 msgid "Compute the annotations dict for an object." msgstr "" -#: library/inspect.rst:1109 +#: library/inspect.rst:1110 msgid "" "``obj`` may be a callable, class, or module. Passing in an object of any " "other type raises :exc:`TypeError`." msgstr "" -#: library/inspect.rst:1112 +#: library/inspect.rst:1113 msgid "" "Returns a dict. ``get_annotations()`` returns a new dict every time it's " "called; calling it twice on the same object will return two different but " "equivalent dicts." msgstr "" -#: library/inspect.rst:1116 +#: library/inspect.rst:1117 msgid "This function handles several details for you:" msgstr "" -#: library/inspect.rst:1118 +#: library/inspect.rst:1119 msgid "" "If ``eval_str`` is true, values of type ``str`` will be un-stringized using :" "func:`eval()`. This is intended for use with stringized annotations (``from " "__future__ import annotations``)." msgstr "" -#: library/inspect.rst:1122 +#: library/inspect.rst:1123 msgid "" "If ``obj`` doesn't have an annotations dict, returns an empty dict. " "(Functions and methods always have an annotations dict; classes, modules, " "and other types of callables may not.)" msgstr "" -#: library/inspect.rst:1126 +#: library/inspect.rst:1127 msgid "" "Ignores inherited annotations on classes. If a class doesn't have its own " "annotations dict, returns an empty dict." msgstr "" -#: library/inspect.rst:1128 +#: library/inspect.rst:1129 msgid "" "All accesses to object members and dict values are done using ``getattr()`` " "and ``dict.get()`` for safety." msgstr "" -#: library/inspect.rst:1130 +#: library/inspect.rst:1131 msgid "Always, always, always returns a freshly created dict." msgstr "" -#: library/inspect.rst:1132 +#: library/inspect.rst:1133 msgid "" "``eval_str`` controls whether or not values of type ``str`` are replaced " "with the result of calling :func:`eval()` on those values:" msgstr "" -#: library/inspect.rst:1135 +#: library/inspect.rst:1136 msgid "" "If eval_str is true, :func:`eval()` is called on values of type ``str``. " "(Note that ``get_annotations`` doesn't catch exceptions; if :func:`eval()` " @@ -1436,12 +1437,12 @@ msgid "" "call.)" msgstr "" -#: library/inspect.rst:1139 +#: library/inspect.rst:1140 msgid "" "If eval_str is false (the default), values of type ``str`` are unchanged." msgstr "" -#: library/inspect.rst:1141 +#: library/inspect.rst:1142 msgid "" "``globals`` and ``locals`` are passed in to :func:`eval()`; see the " "documentation for :func:`eval()` for more information. If ``globals`` or " @@ -1449,35 +1450,35 @@ msgid "" "specific default, contingent on ``type(obj)``:" msgstr "" -#: library/inspect.rst:1146 +#: library/inspect.rst:1147 msgid "If ``obj`` is a module, ``globals`` defaults to ``obj.__dict__``." msgstr "" -#: library/inspect.rst:1147 +#: library/inspect.rst:1148 msgid "" "If ``obj`` is a class, ``globals`` defaults to ``sys.modules[obj.__module__]." "__dict__`` and ``locals`` defaults to the ``obj`` class namespace." msgstr "" -#: library/inspect.rst:1150 +#: library/inspect.rst:1151 msgid "" "If ``obj`` is a callable, ``globals`` defaults to ``obj.__globals__``, " "although if ``obj`` is a wrapped function (using ``functools." "update_wrapper()``) it is first unwrapped." msgstr "" -#: library/inspect.rst:1154 +#: library/inspect.rst:1155 msgid "" "Calling ``get_annotations`` is best practice for accessing the annotations " "dict of any object. See :ref:`annotations-howto` for more information on " "annotations best practices." msgstr "" -#: library/inspect.rst:1164 +#: library/inspect.rst:1165 msgid "The interpreter stack" msgstr "" -#: library/inspect.rst:1166 +#: library/inspect.rst:1167 msgid "" "Some of the following functions return :class:`FrameInfo` objects. For " "backwards compatibility these objects allow tuple-like operations on all " @@ -1485,95 +1486,95 @@ msgid "" "may be removed in the future." msgstr "" -#: library/inspect.rst:1175 +#: library/inspect.rst:1176 msgid "The :ref:`frame object ` that the record corresponds to." msgstr "" -#: library/inspect.rst:1179 +#: library/inspect.rst:1180 msgid "" "The file name associated with the code being executed by the frame this " "record corresponds to." msgstr "" -#: library/inspect.rst:1184 +#: library/inspect.rst:1185 msgid "" "The line number of the current line associated with the code being executed " "by the frame this record corresponds to." msgstr "" -#: library/inspect.rst:1189 +#: library/inspect.rst:1190 msgid "" "The function name that is being executed by the frame this record " "corresponds to." msgstr "" -#: library/inspect.rst:1193 +#: library/inspect.rst:1194 msgid "" "A list of lines of context from the source code that's being executed by the " "frame this record corresponds to." msgstr "" -#: library/inspect.rst:1237 +#: library/inspect.rst:1238 msgid "" "The index of the current line being executed in the :attr:`code_context` " "list." msgstr "" -#: library/inspect.rst:1202 +#: library/inspect.rst:1203 msgid "" "A :class:`dis.Positions` object containing the start line number, end line " "number, start column offset, and end column offset associated with the " "instruction being executed by the frame this record corresponds to." msgstr "" -#: library/inspect.rst:1206 +#: library/inspect.rst:1207 msgid "Return a :term:`named tuple` instead of a :class:`tuple`." msgstr "" -#: library/inspect.rst:1209 +#: library/inspect.rst:1210 msgid "" ":class:`!FrameInfo` is now a class instance (that is backwards compatible " "with the previous :term:`named tuple`)." msgstr "" -#: library/inspect.rst:1218 +#: library/inspect.rst:1219 msgid "" "The file name associated with the code being executed by the frame this " "traceback corresponds to." msgstr "" -#: library/inspect.rst:1223 +#: library/inspect.rst:1224 msgid "" "The line number of the current line associated with the code being executed " "by the frame this traceback corresponds to." msgstr "" -#: library/inspect.rst:1228 +#: library/inspect.rst:1229 msgid "" "The function name that is being executed by the frame this traceback " "corresponds to." msgstr "" -#: library/inspect.rst:1232 +#: library/inspect.rst:1233 msgid "" "A list of lines of context from the source code that's being executed by the " "frame this traceback corresponds to." msgstr "" -#: library/inspect.rst:1241 +#: library/inspect.rst:1242 msgid "" "A :class:`dis.Positions` object containing the start line number, end line " "number, start column offset, and end column offset associated with the " "instruction being executed by the frame this traceback corresponds to." msgstr "" -#: library/inspect.rst:1246 +#: library/inspect.rst:1247 msgid "" ":class:`!Traceback` is now a class instance (that is backwards compatible " "with the previous :term:`named tuple`)." msgstr "" -#: library/inspect.rst:1253 +#: library/inspect.rst:1254 msgid "" "Keeping references to frame objects, as found in the first element of the " "frame records these functions return, can cause your program to create " @@ -1585,7 +1586,7 @@ msgid "" "consumption which occurs." msgstr "" -#: library/inspect.rst:1261 +#: library/inspect.rst:1262 msgid "" "Though the cycle detector will catch these, destruction of the frames (and " "local variables) can be made deterministic by removing the cycle in a :" @@ -1593,31 +1594,31 @@ msgid "" "disabled when Python was compiled or using :func:`gc.disable`. For example::" msgstr "" -#: library/inspect.rst:1273 +#: library/inspect.rst:1274 msgid "" "If you want to keep the frame around (for example to print a traceback " "later), you can also break reference cycles by using the :meth:`frame.clear` " "method." msgstr "" -#: library/inspect.rst:1277 +#: library/inspect.rst:1278 msgid "" "The optional *context* argument supported by most of these functions " "specifies the number of lines of context to return, which are centered " "around the current line." msgstr "" -#: library/inspect.rst:1284 +#: library/inspect.rst:1285 msgid "" "Get information about a frame or traceback object. A :class:`Traceback` " "object is returned." msgstr "" -#: library/inspect.rst:1287 +#: library/inspect.rst:1288 msgid "A :class:`Traceback` object is returned instead of a named tuple." msgstr "" -#: library/inspect.rst:1292 +#: library/inspect.rst:1293 msgid "" "Get a list of :class:`FrameInfo` objects for a frame and all outer frames. " "These frames represent the calls that lead to the creation of *frame*. The " @@ -1625,17 +1626,17 @@ msgid "" "represents the outermost call on *frame*'s stack." msgstr "" -#: library/inspect.rst:1312 library/inspect.rst:1353 +#: library/inspect.rst:1313 library/inspect.rst:1354 msgid "" "A list of :term:`named tuples ` ``FrameInfo(frame, filename, " "lineno, function, code_context, index)`` is returned." msgstr "" -#: library/inspect.rst:1317 library/inspect.rst:1358 +#: library/inspect.rst:1318 library/inspect.rst:1359 msgid "A list of :class:`FrameInfo` objects is returned." msgstr "" -#: library/inspect.rst:1307 +#: library/inspect.rst:1308 msgid "" "Get a list of :class:`FrameInfo` objects for a traceback's frame and all " "inner frames. These frames represent calls made as a consequence of " @@ -1643,11 +1644,11 @@ msgid "" "represents where the exception was raised." msgstr "" -#: library/inspect.rst:1322 +#: library/inspect.rst:1323 msgid "Return the frame object for the caller's stack frame." msgstr "" -#: library/inspect.rst:1326 +#: library/inspect.rst:1327 msgid "" "This function relies on Python stack frame support in the interpreter, which " "isn't guaranteed to exist in all implementations of Python. If running in " @@ -1655,14 +1656,14 @@ msgid "" "``None``." msgstr "" -#: library/inspect.rst:1334 +#: library/inspect.rst:1335 msgid "" "Return a list of :class:`FrameInfo` objects for the caller's stack. The " "first entry in the returned list represents the caller; the last entry " "represents the outermost call on the stack." msgstr "" -#: library/inspect.rst:1348 +#: library/inspect.rst:1349 msgid "" "Return a list of :class:`FrameInfo` objects for the stack between the " "current frame and the frame in which an exception currently being handled " @@ -1670,11 +1671,11 @@ msgid "" "entry represents where the exception was raised." msgstr "" -#: library/inspect.rst:1362 +#: library/inspect.rst:1363 msgid "Fetching attributes statically" msgstr "" -#: library/inspect.rst:1364 +#: library/inspect.rst:1365 msgid "" "Both :func:`getattr` and :func:`hasattr` can trigger code execution when " "fetching or checking for the existence of attributes. Descriptors, like " @@ -1682,20 +1683,20 @@ msgid "" "`__getattribute__` may be called." msgstr "" -#: library/inspect.rst:1369 +#: library/inspect.rst:1370 msgid "" "For cases where you want passive introspection, like documentation tools, " "this can be inconvenient. :func:`getattr_static` has the same signature as :" "func:`getattr` but avoids executing code when it fetches attributes." msgstr "" -#: library/inspect.rst:1375 +#: library/inspect.rst:1376 msgid "" "Retrieve attributes without triggering dynamic lookup via the descriptor " "protocol, :meth:`__getattr__` or :meth:`__getattribute__`." msgstr "" -#: library/inspect.rst:1378 +#: library/inspect.rst:1379 msgid "" "Note: this function may not be able to retrieve all attributes that getattr " "can fetch (like dynamically created attributes) and may find attributes that " @@ -1703,31 +1704,31 @@ msgid "" "return descriptors objects instead of instance members." msgstr "" -#: library/inspect.rst:1384 +#: library/inspect.rst:1385 msgid "" "If the instance :attr:`~object.__dict__` is shadowed by another member (for " "example a property) then this function will be unable to find instance " "members." msgstr "" -#: library/inspect.rst:1390 +#: library/inspect.rst:1391 msgid "" ":func:`getattr_static` does not resolve descriptors, for example slot " "descriptors or getset descriptors on objects implemented in C. The " "descriptor object is returned instead of the underlying attribute." msgstr "" -#: library/inspect.rst:1394 +#: library/inspect.rst:1395 msgid "" "You can handle these with code like the following. Note that for arbitrary " "getset descriptors invoking these may trigger code execution::" msgstr "" -#: library/inspect.rst:1420 +#: library/inspect.rst:1421 msgid "Current State of Generators and Coroutines" msgstr "" -#: library/inspect.rst:1422 +#: library/inspect.rst:1423 msgid "" "When implementing coroutine schedulers and for other advanced uses of " "generators, it is useful to determine whether a generator is currently " @@ -1736,31 +1737,31 @@ msgid "" "generator to be determined easily." msgstr "" -#: library/inspect.rst:1430 +#: library/inspect.rst:1431 msgid "Get current state of a generator-iterator." msgstr "" -#: library/inspect.rst:1451 +#: library/inspect.rst:1452 msgid "Possible states are:" msgstr "" -#: library/inspect.rst:1433 +#: library/inspect.rst:1434 msgid "GEN_CREATED: Waiting to start execution." msgstr "" -#: library/inspect.rst:1434 +#: library/inspect.rst:1435 msgid "GEN_RUNNING: Currently being executed by the interpreter." msgstr "" -#: library/inspect.rst:1435 +#: library/inspect.rst:1436 msgid "GEN_SUSPENDED: Currently suspended at a yield expression." msgstr "" -#: library/inspect.rst:1436 +#: library/inspect.rst:1437 msgid "GEN_CLOSED: Execution has completed." msgstr "" -#: library/inspect.rst:1442 +#: library/inspect.rst:1443 msgid "" "Get current state of a coroutine object. The function is intended to be " "used with coroutine objects created by :keyword:`async def` functions, but " @@ -1768,30 +1769,30 @@ msgid "" "``cr_frame`` attributes." msgstr "" -#: library/inspect.rst:1448 +#: library/inspect.rst:1449 msgid "CORO_CREATED: Waiting to start execution." msgstr "" -#: library/inspect.rst:1449 +#: library/inspect.rst:1450 msgid "CORO_RUNNING: Currently being executed by the interpreter." msgstr "" -#: library/inspect.rst:1450 +#: library/inspect.rst:1451 msgid "CORO_SUSPENDED: Currently suspended at an await expression." msgstr "" -#: library/inspect.rst:1451 +#: library/inspect.rst:1452 msgid "CORO_CLOSED: Execution has completed." msgstr "" -#: library/inspect.rst:1455 +#: library/inspect.rst:1456 msgid "" "The current internal state of the generator can also be queried. This is " "mostly useful for testing purposes, to ensure that internal state is being " "updated as expected:" msgstr "" -#: library/inspect.rst:1461 +#: library/inspect.rst:1462 msgid "" "Get the mapping of live local variables in *generator* to their current " "values. A dictionary is returned that maps from variable names to values. " @@ -1799,14 +1800,14 @@ msgid "" "generator, and all the same caveats apply." msgstr "" -#: library/inspect.rst:1466 +#: library/inspect.rst:1467 msgid "" "If *generator* is a :term:`generator` with no currently associated frame, " "then an empty dictionary is returned. :exc:`TypeError` is raised if " "*generator* is not a Python generator object." msgstr "" -#: library/inspect.rst:1472 +#: library/inspect.rst:1473 msgid "" "This function relies on the generator exposing a Python stack frame for " "introspection, which isn't guaranteed to be the case in all implementations " @@ -1814,72 +1815,72 @@ msgid "" "dictionary." msgstr "" -#: library/inspect.rst:1481 +#: library/inspect.rst:1482 msgid "" "This function is analogous to :func:`~inspect.getgeneratorlocals`, but works " "for coroutine objects created by :keyword:`async def` functions." msgstr "" -#: library/inspect.rst:1490 +#: library/inspect.rst:1491 msgid "Code Objects Bit Flags" msgstr "" -#: library/inspect.rst:1492 +#: library/inspect.rst:1493 msgid "" "Python code objects have a ``co_flags`` attribute, which is a bitmap of the " "following flags:" msgstr "" -#: library/inspect.rst:1497 +#: library/inspect.rst:1498 msgid "The code object is optimized, using fast locals." msgstr "" -#: library/inspect.rst:1501 +#: library/inspect.rst:1502 msgid "" "If set, a new dict will be created for the frame's ``f_locals`` when the " "code object is executed." msgstr "" -#: library/inspect.rst:1506 +#: library/inspect.rst:1507 msgid "The code object has a variable positional parameter (``*args``-like)." msgstr "" -#: library/inspect.rst:1510 +#: library/inspect.rst:1511 msgid "The code object has a variable keyword parameter (``**kwargs``-like)." msgstr "" -#: library/inspect.rst:1514 +#: library/inspect.rst:1515 msgid "The flag is set when the code object is a nested function." msgstr "" -#: library/inspect.rst:1518 +#: library/inspect.rst:1519 msgid "" "The flag is set when the code object is a generator function, i.e. a " "generator object is returned when the code object is executed." msgstr "" -#: library/inspect.rst:1523 +#: library/inspect.rst:1524 msgid "" "The flag is set when the code object is a coroutine function. When the code " "object is executed it returns a coroutine object. See :pep:`492` for more " "details." msgstr "" -#: library/inspect.rst:1531 +#: library/inspect.rst:1532 msgid "" "The flag is used to transform generators into generator-based coroutines. " "Generator objects with this flag can be used in ``await`` expression, and " "can ``yield from`` coroutine objects. See :pep:`492` for more details." msgstr "" -#: library/inspect.rst:1540 +#: library/inspect.rst:1541 msgid "" "The flag is set when the code object is an asynchronous generator function. " "When the code object is executed it returns an asynchronous generator " "object. See :pep:`525` for more details." msgstr "" -#: library/inspect.rst:1547 +#: library/inspect.rst:1548 msgid "" "The flags are specific to CPython, and may not be defined in other Python " "implementations. Furthermore, the flags are an implementation detail, and " @@ -1887,24 +1888,24 @@ msgid "" "use public APIs from the :mod:`inspect` module for any introspection needs." msgstr "" -#: library/inspect.rst:1557 +#: library/inspect.rst:1558 msgid "Command Line Interface" msgstr "" -#: library/inspect.rst:1559 +#: library/inspect.rst:1560 msgid "" "The :mod:`inspect` module also provides a basic introspection capability " "from the command line." msgstr "" -#: library/inspect.rst:1564 +#: library/inspect.rst:1565 msgid "" "By default, accepts the name of a module and prints the source of that " "module. A class or function within the module can be printed instead by " "appended a colon and the qualified name of the target object." msgstr "" -#: library/inspect.rst:1570 +#: library/inspect.rst:1571 msgid "" "Print information about the specified object rather than the source code" msgstr "" diff --git a/library/itertools.po b/library/itertools.po index b2040e5de..9c6062e8f 100644 --- a/library/itertools.po +++ b/library/itertools.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -569,7 +569,7 @@ msgstr "" #: library/itertools.rst:361 msgid "" "Make an iterator that filters elements from iterable returning only those " -"for which the predicate is ``False``. If *predicate* is ``None``, return the " +"for which the predicate is false. If *predicate* is ``None``, return the " "items that are false. Roughly equivalent to::" msgstr "" diff --git a/library/mimetypes.po b/library/mimetypes.po index d05049cc3..079b23fce 100644 --- a/library/mimetypes.po +++ b/library/mimetypes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -307,6 +307,6 @@ msgstr "" msgid "Load MIME type information from the Windows registry." msgstr "" -#: library/mimetypes.rst:270 +#: library/mimetypes.rst:269 msgid ":ref:`Availability `: Windows." msgstr "" diff --git a/library/mmap.po b/library/mmap.po index 0005b7f3c..be7a3ee38 100644 --- a/library/mmap.po +++ b/library/mmap.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -20,7 +20,7 @@ msgstr "" msgid ":mod:`mmap` --- Memory-mapped file support" msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/multiprocessing.po b/library/multiprocessing.po index f1026d309..cfc7f62b3 100644 --- a/library/multiprocessing.po +++ b/library/multiprocessing.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -24,7 +24,7 @@ msgstr "" msgid "**Source code:** :source:`Lib/multiprocessing/`" msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/nis.po b/library/nis.po index cc653765c..aa18f542d 100644 --- a/library/nis.po +++ b/library/nis.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -38,7 +38,7 @@ msgid "" "Unix." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/nntplib.po b/library/nntplib.po index 194fe4102..3d847d867 100644 --- a/library/nntplib.po +++ b/library/nntplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -36,7 +36,7 @@ msgid "" "`3977` as well as the older :rfc:`977` and :rfc:`2980`." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/operator.po b/library/operator.po index 8d257b54f..34e496b46 100644 --- a/library/operator.po +++ b/library/operator.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -276,8 +276,8 @@ msgstr "" #: library/operator.rst:329 msgid "" "The items can be any type accepted by the operand's :meth:`__getitem__` " -"method. Dictionaries accept any hashable value. Lists, tuples, and strings " -"accept an index or a slice:" +"method. Dictionaries accept any :term:`hashable` value. Lists, tuples, and " +"strings accept an index or a slice:" msgstr "" #: library/operator.rst:343 diff --git a/library/os.path.po b/library/os.path.po index d67a1d272..4b7a15a85 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -112,7 +112,7 @@ msgid "" "empty. Unlike :func:`commonprefix`, this returns a valid path." msgstr "" -#: library/os.path.rst:389 library/os.path.rst:417 library/os.path.rst:433 +#: library/os.path.rst:388 library/os.path.rst:416 library/os.path.rst:432 msgid ":ref:`Availability `: Unix, Windows." msgstr "" diff --git a/library/os.po b/library/os.po index 7b69ec33b..1f3c23286 100644 --- a/library/os.po +++ b/library/os.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -282,17 +282,17 @@ msgid "" "Return the filename corresponding to the controlling terminal of the process." msgstr "" -#: library/os.rst:353 library/os.rst:385 library/os.rst:429 library/os.rst:476 -#: library/os.rst:497 library/os.rst:530 library/os.rst:570 library/os.rst:587 -#: library/os.rst:607 library/os.rst:633 library/os.rst:650 library/os.rst:665 -#: library/os.rst:681 library/os.rst:1191 library/os.rst:1454 -#: library/os.rst:1498 library/os.rst:1951 library/os.rst:2208 +#: library/os.rst:353 library/os.rst:384 library/os.rst:429 library/os.rst:475 +#: library/os.rst:496 library/os.rst:529 library/os.rst:570 library/os.rst:586 +#: library/os.rst:607 library/os.rst:633 library/os.rst:649 library/os.rst:665 +#: library/os.rst:681 library/os.rst:1190 library/os.rst:1453 +#: library/os.rst:1497 library/os.rst:1950 library/os.rst:2207 #: library/os.rst:3757 library/os.rst:3771 library/os.rst:3785 #: library/os.rst:3799 library/os.rst:3815 library/os.rst:3829 #: library/os.rst:3846 library/os.rst:3861 library/os.rst:3889 -#: library/os.rst:3946 library/os.rst:3974 library/os.rst:4151 -#: library/os.rst:4422 library/os.rst:4493 library/os.rst:4525 -#: library/os.rst:4549 library/os.rst:4570 library/os.rst:4594 +#: library/os.rst:3946 library/os.rst:3974 library/os.rst:4150 +#: library/os.rst:4421 library/os.rst:4493 library/os.rst:4525 +#: library/os.rst:4548 library/os.rst:4570 library/os.rst:4593 #: library/os.rst:4655 library/os.rst:4674 library/os.rst:4692 #: library/os.rst:4710 msgid ":ref:`Availability `: Unix, not Emscripten, not WASI." @@ -442,8 +442,9 @@ msgid "" "like to use a different encoding." msgstr "" -#: library/os.rst:975 library/os.rst:1203 library/os.rst:2035 -#: library/os.rst:3135 library/os.rst:4238 library/os.rst:4367 +#: library/os.rst:975 library/os.rst:1202 library/os.rst:2034 +#: library/os.rst:3097 library/os.rst:3749 library/os.rst:4249 +#: library/os.rst:4366 msgid ":ref:`Availability `: Unix, Windows." msgstr "" @@ -462,11 +463,12 @@ msgid "" "``True``." msgstr "" -#: library/os.rst:734 library/os.rst:942 library/os.rst:1024 -#: library/os.rst:1242 library/os.rst:1270 library/os.rst:1549 -#: library/os.rst:1611 library/os.rst:2006 library/os.rst:2274 -#: library/os.rst:2964 library/os.rst:3354 library/os.rst:4865 -#: library/os.rst:4896 library/os.rst:4906 +#: library/os.rst:371 library/os.rst:733 library/os.rst:908 library/os.rst:942 +#: library/os.rst:999 library/os.rst:1035 library/os.rst:1256 +#: library/os.rst:1338 library/os.rst:1548 library/os.rst:1610 +#: library/os.rst:1964 library/os.rst:2018 library/os.rst:2285 +#: library/os.rst:3120 library/os.rst:4856 library/os.rst:4886 +#: library/os.rst:4905 msgid ":ref:`Availability `: Unix." msgstr "" @@ -537,8 +539,8 @@ msgid "" "getpwuid(os.getuid())[0]`` to get the login name of the current real user id." msgstr "" -#: library/os.rst:458 library/os.rst:3931 library/os.rst:4460 -#: library/os.rst:4629 +#: library/os.rst:457 library/os.rst:3930 library/os.rst:4343 +#: library/os.rst:4628 msgid "" ":ref:`Availability `: Unix, Windows, not Emscripten, not WASI." msgstr "" @@ -902,7 +904,7 @@ msgid "" "amount requested." msgstr "" -#: library/os.rst:838 +#: library/os.rst:837 msgid ":ref:`Availability `: Linux >= 4.5 with glibc >= 2.27." msgstr "" @@ -934,7 +936,7 @@ msgid "" "stderr), the new file descriptor is :ref:`inheritable `." msgstr "" -#: library/os.rst:877 +#: library/os.rst:876 msgid ":ref:`Availability `: not WASI." msgstr "" @@ -1275,7 +1277,7 @@ msgid "" "starting from *offset* and continuing for *len* bytes." msgstr "" -#: library/os.rst:1227 +#: library/os.rst:1226 msgid ":ref:`Availability `: Unix, not Emscripten." msgstr "" @@ -1346,7 +1348,7 @@ msgstr "" msgid "Combine the functionality of :func:`os.readv` and :func:`os.pread`." msgstr "" -#: library/os.rst:-1 +#: library/os.rst:1365 msgid "" ":ref:`Availability `: Linux >= 2.6.30, FreeBSD >= 6.0, OpenBSD " ">= 2.7, AIX >= 7.1." @@ -1370,7 +1372,7 @@ msgid "" "EAGAIN`." msgstr "" -#: library/os.rst:1313 +#: library/os.rst:1312 msgid ":ref:`Availability `: Linux >= 4.14." msgstr "" @@ -1386,7 +1388,7 @@ msgid "" "using the :data:`O_DIRECT` flag." msgstr "" -#: library/os.rst:1327 +#: library/os.rst:1326 msgid ":ref:`Availability `: Linux >= 4.6." msgstr "" @@ -1435,7 +1437,7 @@ msgid "" "This flag effect applies only to the data range written by the system call." msgstr "" -#: library/os.rst:1388 +#: library/os.rst:1387 msgid ":ref:`Availability `: Linux >= 4.7." msgstr "" @@ -1455,7 +1457,7 @@ msgid "" "*offset* is updated." msgstr "" -#: library/os.rst:1402 +#: library/os.rst:1401 msgid ":ref:`Availability `: Linux >= 4.16." msgstr "" @@ -1571,7 +1573,7 @@ msgid "" "the pipe." msgstr "" -#: library/os.rst:1525 +#: library/os.rst:1524 msgid ":ref:`Availability `: Linux >= 2.6.17 with glibc >= 2.5" msgstr "" @@ -1720,7 +1722,7 @@ msgstr "" msgid "Get the \"inheritable\" flag of the specified handle (a boolean)." msgstr "" -#: library/os.rst:1695 library/os.rst:4261 library/os.rst:4307 +#: library/os.rst:1695 library/os.rst:4261 library/os.rst:4306 msgid ":ref:`Availability `: Windows." msgstr "" @@ -3572,7 +3574,7 @@ msgid "" "side effects." msgstr "" -#: library/os.rst:3379 +#: library/os.rst:3378 msgid ":ref:`Availability `: Linux >= 3.17 with glibc >= 2.27." msgstr "" @@ -3580,7 +3582,7 @@ msgstr "" msgid "These flags can be passed to :func:`memfd_create`." msgstr "" -#: library/os.rst:-1 +#: library/os.rst:3403 msgid ":ref:`Availability `: Linux >= 3.17 with glibc >= 2.27" msgstr "" @@ -3637,7 +3639,7 @@ msgid "" "`64`\\ -\\ 2." msgstr "" -#: library/os.rst:3458 +#: library/os.rst:3457 msgid ":ref:`Availability `: Linux >= 2.6.27 with glibc >= 2.8" msgstr "" @@ -3647,7 +3649,7 @@ msgid "" "unsigned int. The function does not verify that *fd* is an :func:`eventfd`." msgstr "" -#: library/os.rst:3476 library/os.rst:3493 +#: library/os.rst:3475 library/os.rst:3492 msgid ":ref:`Availability `: Linux >= 2.6.27" msgstr "" @@ -3672,7 +3674,7 @@ msgid "" "descriptor. On read the internal counter is decremented by one." msgstr "" -#: library/os.rst:3502 +#: library/os.rst:3501 msgid ":ref:`Availability `: Linux >= 2.6.30" msgstr "" @@ -4179,7 +4181,7 @@ msgid "" "subprocesses." msgstr "" -#: library/os.rst:4007 +#: library/os.rst:4006 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -4330,7 +4332,7 @@ msgid "" "environment variable (in the same way as for ``execvp(3)``)." msgstr "" -#: library/os.rst:-1 +#: library/os.rst:4117 msgid ":ref:`Availability `: POSIX, not Emscripten, not WASI." msgstr "" @@ -5350,7 +5352,7 @@ msgid "" "pages/man2/getrandom.2.html>`_." msgstr "" -#: library/os.rst:5029 +#: library/os.rst:5028 msgid ":ref:`Availability `: Linux >= 3.17." msgstr "" diff --git a/library/pathlib.po b/library/pathlib.po index 30a971a1d..fc406160f 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -189,9 +189,9 @@ msgstr "" #: library/pathlib.rst:189 msgid "" -"Paths are immutable and hashable. Paths of a same flavour are comparable " -"and orderable. These properties respect the flavour's case-folding " -"semantics::" +"Paths are immutable and :term:`hashable`. Paths of a same flavour are " +"comparable and orderable. These properties respect the flavour's case-" +"folding semantics::" msgstr "" #: library/pathlib.rst:202 diff --git a/library/pipes.po b/library/pipes.po index a6199041f..cd2f97f54 100644 --- a/library/pipes.po +++ b/library/pipes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -42,7 +42,7 @@ msgid "" "compatible shell for :func:`os.system` and :func:`os.popen` is required." msgstr "" -#: library/pipes.rst:27 +#: library/pipes.rst:26 msgid ":ref:`Availability `: Unix, not VxWorks." msgstr "" diff --git a/library/plistlib.po b/library/plistlib.po index 09ab60ac3..28158bc59 100644 --- a/library/plistlib.po +++ b/library/plistlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -219,6 +219,6 @@ msgstr "" msgid "Generating a plist::" msgstr "" -#: library/plistlib.rst:180 +#: library/plistlib.rst:182 msgid "Parsing a plist::" msgstr "" diff --git a/library/poplib.po b/library/poplib.po index a8d3b6cbd..2179ee3a2 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -49,7 +49,7 @@ msgid "" "IMAP4` class, as IMAP servers tend to be better implemented." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/pwd.po b/library/pwd.po index 5ff2b4320..231256549 100644 --- a/library/pwd.po +++ b/library/pwd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,7 +26,7 @@ msgid "" "It is available on all Unix versions." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/queue.po b/library/queue.po index d488783e2..230bac005 100644 --- a/library/queue.po +++ b/library/queue.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -36,10 +36,10 @@ msgstr "" msgid "" "The module implements three types of queue, which differ only in the order " "in which the entries are retrieved. In a :abbr:`FIFO (first-in, first-out)` " -"queue, the first tasks added are the first retrieved. In a :abbr:`LIFO (last-" -"in, first-out)` queue, the most recently added entry is the first retrieved " -"(operating like a stack). With a priority queue, the entries are kept " -"sorted (using the :mod:`heapq` module) and the lowest valued entry is " +"queue, the first tasks added are the first retrieved. In a :abbr:`LIFO " +"(last-in, first-out)` queue, the most recently added entry is the first " +"retrieved (operating like a stack). With a priority queue, the entries are " +"kept sorted (using the :mod:`heapq` module) and the lowest valued entry is " "retrieved first." msgstr "" @@ -91,7 +91,7 @@ msgstr "" #: library/queue.rst:59 msgid "" "The lowest valued entries are retrieved first (the lowest valued entry is " -"the one returned by ``sorted(list(entries))[0]``). A typical pattern for " +"the one that would be returned by ``min(entries)``). A typical pattern for " "entries is a tuple in the form: ``(priority_number, data)``." msgstr "" @@ -154,22 +154,22 @@ msgstr "" #: library/queue.rst:130 msgid "" -"Put *item* into the queue. If optional args *block* is true and *timeout* is " -"``None`` (the default), block if necessary until a free slot is available. " -"If *timeout* is a positive number, it blocks at most *timeout* seconds and " -"raises the :exc:`Full` exception if no free slot was available within that " -"time. Otherwise (*block* is false), put an item on the queue if a free slot " -"is immediately available, else raise the :exc:`Full` exception (*timeout* is " -"ignored in that case)." +"Put *item* into the queue. If optional args *block* is true and *timeout* " +"is ``None`` (the default), block if necessary until a free slot is " +"available. If *timeout* is a positive number, it blocks at most *timeout* " +"seconds and raises the :exc:`Full` exception if no free slot was available " +"within that time. Otherwise (*block* is false), put an item on the queue if " +"a free slot is immediately available, else raise the :exc:`Full` exception " +"(*timeout* is ignored in that case)." msgstr "" #: library/queue.rst:141 msgid "Equivalent to ``put(item, block=False)``." msgstr "" -#: library/queue.rst:146 +#: library/queue.rst:258 msgid "" -"Remove and return an item from the queue. If optional args *block* is true " +"Remove and return an item from the queue. If optional args *block* is true " "and *timeout* is ``None`` (the default), block if necessary until an item is " "available. If *timeout* is a positive number, it blocks at most *timeout* " "seconds and raises the :exc:`Empty` exception if no item was available " @@ -182,7 +182,7 @@ msgstr "" msgid "" "Prior to 3.0 on POSIX systems, and for all versions on Windows, if *block* " "is true and *timeout* is ``None``, this operation goes into an " -"uninterruptible wait on an underlying lock. This means that no exceptions " +"uninterruptible wait on an underlying lock. This means that no exceptions " "can occur, and in particular a SIGINT will not trigger a :exc:" "`KeyboardInterrupt`." msgstr "" @@ -226,7 +226,7 @@ msgid "" "The count of unfinished tasks goes up whenever an item is added to the " "queue. The count goes down whenever a consumer thread calls :meth:" "`task_done` to indicate that the item was retrieved and all work on it is " -"complete. When the count of unfinished tasks drops to zero, :meth:`join` " +"complete. When the count of unfinished tasks drops to zero, :meth:`join` " "unblocks." msgstr "" @@ -251,7 +251,7 @@ msgstr "" #: library/queue.rst:230 msgid "" -"Return ``True`` if the queue is empty, ``False`` otherwise. If empty() " +"Return ``True`` if the queue is empty, ``False`` otherwise. If empty() " "returns ``False`` it doesn't guarantee that a subsequent call to get() will " "not block." msgstr "" @@ -279,17 +279,6 @@ msgid "" "meth:`Queue.put_nowait`." msgstr "" -#: library/queue.rst:258 -msgid "" -"Remove and return an item from the queue. If optional args *block* is true " -"and *timeout* is ``None`` (the default), block if necessary until an item is " -"available. If *timeout* is a positive number, it blocks at most *timeout* " -"seconds and raises the :exc:`Empty` exception if no item was available " -"within that time. Otherwise (*block* is false), return an item if one is " -"immediately available, else raise the :exc:`Empty` exception (*timeout* is " -"ignored in that case)." -msgstr "" - #: library/queue.rst:275 msgid "Class :class:`multiprocessing.Queue`" msgstr "" diff --git a/library/re.po b/library/re.po index 6afe653c0..797af52a5 100644 --- a/library/re.po +++ b/library/re.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -144,7 +144,7 @@ msgstr "" msgid "The special characters are:" msgstr "" -#: library/re.rst:1525 +#: library/re.rst:1526 msgid "``.``" msgstr "" @@ -328,7 +328,7 @@ msgid "" "recommended that you use raw strings for all but the simplest expressions." msgstr "" -#: library/re.rst:293 +#: library/re.rst:294 msgid "``[]``" msgstr "" @@ -380,10 +380,11 @@ msgstr "" msgid "" "To match a literal ``']'`` inside a set, precede it with a backslash, or " "place it at the beginning of the set. For example, both ``[()[\\]{}]`` and " -"``[]()[{}]`` will both match a parenthesis." +"``[]()[{}]`` will match a right bracket, as well as left bracket, braces, " +"and parentheses." msgstr "" -#: library/re.rst:281 +#: library/re.rst:282 msgid "" "Support of nested sets and set operations as in `Unicode Technical Standard " "#18`_ might be added in the future. This would change the syntax, so to " @@ -393,17 +394,17 @@ msgid "" "``'||'``. To avoid a warning escape them with a backslash." msgstr "" -#: library/re.rst:291 +#: library/re.rst:292 msgid "" ":exc:`FutureWarning` is raised if a character set contains constructs that " "will change semantically in the future." msgstr "" -#: library/re.rst:306 +#: library/re.rst:307 msgid "``|``" msgstr "" -#: library/re.rst:298 +#: library/re.rst:299 msgid "" "``A|B``, where *A* and *B* can be arbitrary REs, creates a regular " "expression that will match either *A* or *B*. An arbitrary number of REs " @@ -416,11 +417,11 @@ msgid "" "use ``\\|``, or enclose it inside a character class, as in ``[|]``." msgstr "" -#: library/re.rst:316 +#: library/re.rst:317 msgid "``(...)``" msgstr "" -#: library/re.rst:312 +#: library/re.rst:313 msgid "" "Matches whatever regular expression is inside the parentheses, and indicates " "the start and end of a group; the contents of a group can be retrieved after " @@ -430,11 +431,11 @@ msgid "" "character class: ``[(]``, ``[)]``." msgstr "" -#: library/re.rst:325 +#: library/re.rst:326 msgid "``(?...)``" msgstr "" -#: library/re.rst:321 +#: library/re.rst:322 msgid "" "This is an extension notation (a ``'?'`` following a ``'('`` is not " "meaningful otherwise). The first character after the ``'?'`` determines " @@ -443,11 +444,11 @@ msgid "" "rule. Following are the currently supported extensions." msgstr "" -#: library/re.rst:342 +#: library/re.rst:343 msgid "``(?aiLmsux)``" msgstr "" -#: library/re.rst:328 +#: library/re.rst:329 msgid "" "(One or more letters from the set ``'a'``, ``'i'``, ``'L'``, ``'m'``, " "``'s'``, ``'u'``, ``'x'``.) The group matches the empty string; the letters " @@ -461,15 +462,15 @@ msgid "" "first in the expression string." msgstr "" -#: library/re.rst:341 +#: library/re.rst:342 msgid "This construction can only be used at the start of the expression." msgstr "" -#: library/re.rst:350 +#: library/re.rst:351 msgid "``(?:...)``" msgstr "" -#: library/re.rst:347 +#: library/re.rst:348 msgid "" "A non-capturing version of regular parentheses. Matches whatever regular " "expression is inside the parentheses, but the substring matched by the group " @@ -477,11 +478,11 @@ msgid "" "pattern." msgstr "" -#: library/re.rst:376 +#: library/re.rst:377 msgid "``(?aiLmsux-imsx:...)``" msgstr "" -#: library/re.rst:353 +#: library/re.rst:354 msgid "" "(Zero or more letters from the set ``'a'``, ``'i'``, ``'L'``, ``'m'``, " "``'s'``, ``'u'``, ``'x'``, optionally followed by ``'-'`` followed by one or " @@ -493,7 +494,7 @@ msgid "" "flags are described in :ref:`contents-of-module-re`.)" msgstr "" -#: library/re.rst:363 +#: library/re.rst:364 msgid "" "The letters ``'a'``, ``'L'`` and ``'u'`` are mutually exclusive when used as " "inline flags, so they can't be combined or follow ``'-'``. Instead, when " @@ -506,15 +507,15 @@ msgid "" "restored outside of the group." msgstr "" -#: library/re.rst:375 +#: library/re.rst:376 msgid "The letters ``'a'``, ``'L'`` and ``'u'`` also can be used in a group." msgstr "" -#: library/re.rst:391 +#: library/re.rst:392 msgid "``(?>...)``" msgstr "" -#: library/re.rst:379 +#: library/re.rst:380 msgid "" "Attempts to match ``...`` as if it was a separate regular expression, and if " "successful, continues to match the rest of the pattern following it. If the " @@ -528,11 +529,11 @@ msgid "" "thus fail to match." msgstr "" -#: library/re.rst:421 +#: library/re.rst:422 msgid "``(?P...)``" msgstr "" -#: library/re.rst:396 +#: library/re.rst:397 msgid "" "Similar to regular parentheses, but the substring matched by the group is " "accessible via the symbolic group name *name*. Group names must be valid " @@ -541,106 +542,106 @@ msgid "" "the group were not named." msgstr "" -#: library/re.rst:402 +#: library/re.rst:403 msgid "" "Named groups can be referenced in three contexts. If the pattern is ``(?" "P['\"]).*?(?P=quote)`` (i.e. matching a string quoted with either " "single or double quotes):" msgstr "" -#: library/re.rst:407 +#: library/re.rst:408 msgid "Context of reference to group \"quote\"" msgstr "" -#: library/re.rst:407 +#: library/re.rst:408 msgid "Ways to reference it" msgstr "" -#: library/re.rst:409 +#: library/re.rst:410 msgid "in the same pattern itself" msgstr "" -#: library/re.rst:409 +#: library/re.rst:410 msgid "``(?P=quote)`` (as shown)" msgstr "" -#: library/re.rst:417 +#: library/re.rst:418 msgid "``\\1``" msgstr "" -#: library/re.rst:412 +#: library/re.rst:413 msgid "when processing match object *m*" msgstr "" -#: library/re.rst:412 +#: library/re.rst:413 msgid "``m.group('quote')``" msgstr "" -#: library/re.rst:413 +#: library/re.rst:414 msgid "``m.end('quote')`` (etc.)" msgstr "" -#: library/re.rst:415 +#: library/re.rst:416 msgid "in a string passed to the *repl* argument of ``re.sub()``" msgstr "" -#: library/re.rst:415 +#: library/re.rst:416 msgid "``\\g``" msgstr "" -#: library/re.rst:416 +#: library/re.rst:417 msgid "``\\g<1>``" msgstr "" -#: library/re.rst:420 +#: library/re.rst:421 msgid "Group names containing non-ASCII characters in bytes patterns." msgstr "" -#: library/re.rst:427 +#: library/re.rst:428 msgid "``(?P=name)``" msgstr "" -#: library/re.rst:426 +#: library/re.rst:427 msgid "" "A backreference to a named group; it matches whatever text was matched by " "the earlier group named *name*." msgstr "" -#: library/re.rst:432 +#: library/re.rst:433 msgid "``(?#...)``" msgstr "" -#: library/re.rst:432 +#: library/re.rst:433 msgid "A comment; the contents of the parentheses are simply ignored." msgstr "" -#: library/re.rst:439 +#: library/re.rst:440 msgid "``(?=...)``" msgstr "" -#: library/re.rst:437 +#: library/re.rst:438 msgid "" "Matches if ``...`` matches next, but doesn't consume any of the string. " "This is called a :dfn:`lookahead assertion`. For example, ``Isaac (?" "=Asimov)`` will match ``'Isaac '`` only if it's followed by ``'Asimov'``." msgstr "" -#: library/re.rst:446 +#: library/re.rst:447 msgid "``(?!...)``" msgstr "" -#: library/re.rst:444 +#: library/re.rst:445 msgid "" "Matches if ``...`` doesn't match next. This is a :dfn:`negative lookahead " "assertion`. For example, ``Isaac (?!Asimov)`` will match ``'Isaac '`` only " "if it's *not* followed by ``'Asimov'``." msgstr "" -#: library/re.rst:473 +#: library/re.rst:474 msgid "``(?<=...)``" msgstr "" -#: library/re.rst:451 +#: library/re.rst:452 msgid "" "Matches if the current position in the string is preceded by a match for " "``...`` that ends at the current position. This is called a :dfn:`positive " @@ -654,19 +655,19 @@ msgid "" "func:`match` function:" msgstr "" -#: library/re.rst:466 +#: library/re.rst:467 msgid "This example looks for a word following a hyphen:" msgstr "" -#: library/re.rst:472 +#: library/re.rst:473 msgid "Added support for group references of fixed length." msgstr "" -#: library/re.rst:482 +#: library/re.rst:483 msgid "``(?'``." msgstr "" -#: library/re.rst:495 +#: library/re.rst:496 msgid "Group *id* containing anything except ASCII digits." msgstr "" -#: library/re.rst:499 +#: library/re.rst:500 msgid "" "The special sequences consist of ``'\\'`` and a character from the list " "below. If the ordinary character is not an ASCII digit or an ASCII letter, " @@ -701,11 +702,11 @@ msgid "" "matches the character ``'$'``." msgstr "" -#: library/re.rst:514 +#: library/re.rst:515 msgid "``\\number``" msgstr "" -#: library/re.rst:507 +#: library/re.rst:508 msgid "" "Matches the contents of the group of the same number. Groups are numbered " "starting from 1. For example, ``(.+) \\1`` matches ``'the the'`` or ``'55 " @@ -717,19 +718,19 @@ msgid "" "escapes are treated as characters." msgstr "" -#: library/re.rst:519 +#: library/re.rst:520 msgid "``\\A``" msgstr "" -#: library/re.rst:519 +#: library/re.rst:520 msgid "Matches only at the start of the string." msgstr "" -#: library/re.rst:535 +#: library/re.rst:536 msgid "``\\b``" msgstr "" -#: library/re.rst:524 +#: library/re.rst:525 msgid "" "Matches the empty string, but only at the beginning or end of a word. A word " "is defined as a sequence of word characters. Note that formally, ``\\b`` is " @@ -739,7 +740,7 @@ msgid "" "baz'`` but not ``'foobar'`` or ``'foo3'``." msgstr "" -#: library/re.rst:531 +#: library/re.rst:532 msgid "" "By default Unicode alphanumerics are the ones used in Unicode patterns, but " "this can be changed by using the :const:`ASCII` flag. Word boundaries are " @@ -748,11 +749,11 @@ msgid "" "compatibility with Python's string literals." msgstr "" -#: library/re.rst:546 +#: library/re.rst:547 msgid "``\\B``" msgstr "" -#: library/re.rst:540 +#: library/re.rst:541 msgid "" "Matches the empty string, but only when it is *not* at the beginning or end " "of a word. This means that ``r'py\\B'`` matches ``'python'``, ``'py3'``, " @@ -763,15 +764,15 @@ msgid "" "the :const:`LOCALE` flag is used." msgstr "" -#: library/re.rst:558 +#: library/re.rst:559 msgid "``\\d``" msgstr "" -#: library/re.rst:575 library/re.rst:594 +#: library/re.rst:576 library/re.rst:595 msgid "For Unicode (str) patterns:" msgstr "" -#: library/re.rst:552 +#: library/re.rst:553 msgid "" "Matches any Unicode decimal digit (that is, any character in Unicode " "character category [Nd]). This includes ``[0-9]``, and also many other " @@ -779,30 +780,30 @@ msgid "" "matched." msgstr "" -#: library/re.rst:579 library/re.rst:600 +#: library/re.rst:580 library/re.rst:601 msgid "For 8-bit (bytes) patterns:" msgstr "" -#: library/re.rst:558 +#: library/re.rst:559 msgid "Matches any decimal digit; this is equivalent to ``[0-9]``." msgstr "" -#: library/re.rst:565 +#: library/re.rst:566 msgid "``\\D``" msgstr "" -#: library/re.rst:563 +#: library/re.rst:564 msgid "" "Matches any character which is not a decimal digit. This is the opposite of " "``\\d``. If the :const:`ASCII` flag is used this becomes the equivalent of " "``[^0-9]``." msgstr "" -#: library/re.rst:579 +#: library/re.rst:580 msgid "``\\s``" msgstr "" -#: library/re.rst:571 +#: library/re.rst:572 msgid "" "Matches Unicode whitespace characters (which includes " "``[ \\t\\n\\r\\f\\v]``, and also many other characters, for example the non-" @@ -810,35 +811,35 @@ msgid "" "const:`ASCII` flag is used, only ``[ \\t\\n\\r\\f\\v]`` is matched." msgstr "" -#: library/re.rst:578 +#: library/re.rst:579 msgid "" "Matches characters considered whitespace in the ASCII character set; this is " "equivalent to ``[ \\t\\n\\r\\f\\v]``." msgstr "" -#: library/re.rst:586 +#: library/re.rst:587 msgid "``\\S``" msgstr "" -#: library/re.rst:584 +#: library/re.rst:585 msgid "" "Matches any character which is not a whitespace character. This is the " "opposite of ``\\s``. If the :const:`ASCII` flag is used this becomes the " "equivalent of ``[^ \\t\\n\\r\\f\\v]``." msgstr "" -#: library/re.rst:600 +#: library/re.rst:601 msgid "``\\w``" msgstr "" -#: library/re.rst:592 +#: library/re.rst:593 msgid "" "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:597 +#: library/re.rst:598 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, " @@ -846,11 +847,11 @@ msgid "" "underscore." msgstr "" -#: library/re.rst:609 +#: library/re.rst:610 msgid "``\\W``" msgstr "" -#: library/re.rst:605 +#: library/re.rst:606 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 " @@ -858,34 +859,34 @@ msgid "" "which are neither alphanumeric in the current locale nor the underscore." msgstr "" -#: library/re.rst:614 +#: library/re.rst:615 msgid "``\\Z``" msgstr "" -#: library/re.rst:614 +#: library/re.rst:615 msgid "Matches only at the end of the string." msgstr "" -#: library/re.rst:630 +#: library/re.rst:631 msgid "" "Most of the standard escapes supported by Python string literals are also " "accepted by the regular expression parser::" msgstr "" -#: library/re.rst:637 +#: library/re.rst:638 msgid "" "(Note that ``\\b`` is used to represent word boundaries, and means " "\"backspace\" only inside character classes.)" msgstr "" -#: library/re.rst:640 +#: library/re.rst:641 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:644 +#: library/re.rst:645 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. " @@ -893,26 +894,26 @@ msgid "" "are always at most three digits in length." msgstr "" -#: library/re.rst:649 +#: library/re.rst:650 msgid "The ``'\\u'`` and ``'\\U'`` escape sequences have been added." msgstr "" -#: library/re.rst:652 +#: library/re.rst:653 msgid "" "Unknown escapes consisting of ``'\\'`` and an ASCII letter now are errors." msgstr "" -#: library/re.rst:655 +#: library/re.rst:656 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:663 +#: library/re.rst:664 msgid "Module Contents" msgstr "" -#: library/re.rst:665 +#: library/re.rst:666 msgid "" "The module defines several functions, constants, and an exception. Some of " "the functions are simplified versions of the full featured methods for " @@ -920,26 +921,26 @@ msgid "" "compiled form." msgstr "" -#: library/re.rst:672 +#: library/re.rst:673 msgid "Flags" msgstr "" -#: library/re.rst:674 +#: library/re.rst:675 msgid "" "Flag constants are now instances of :class:`RegexFlag`, which is a subclass " "of :class:`enum.IntFlag`." msgstr "" -#: library/re.rst:681 +#: library/re.rst:682 msgid "" "An :class:`enum.IntFlag` class containing the regex options listed below." msgstr "" -#: library/re.rst:683 +#: library/re.rst:684 msgid "- added to ``__all__``" msgstr "" -#: library/re.rst:688 +#: library/re.rst:689 msgid "" "Make ``\\w``, ``\\W``, ``\\b``, ``\\B``, ``\\d``, ``\\D``, ``\\s`` and " "``\\S`` perform ASCII-only matching instead of full Unicode matching. This " @@ -947,7 +948,7 @@ msgid "" "Corresponds to the inline flag ``(?a)``." msgstr "" -#: library/re.rst:693 +#: library/re.rst:694 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 ``(?" @@ -955,13 +956,13 @@ msgid "" "default for strings (and Unicode matching isn't allowed for bytes)." msgstr "" -#: library/re.rst:702 +#: library/re.rst:703 msgid "" "Display debug information about compiled expression. No corresponding inline " "flag." msgstr "" -#: library/re.rst:709 +#: library/re.rst:710 msgid "" "Perform case-insensitive matching; expressions like ``[A-Z]`` will also " "match lowercase letters. Full Unicode matching (such as ``Ü`` matching " @@ -971,7 +972,7 @@ msgid "" "flag ``(?i)``." msgstr "" -#: library/re.rst:716 +#: library/re.rst:717 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 " @@ -982,7 +983,7 @@ msgid "" "matched." msgstr "" -#: library/re.rst:727 +#: library/re.rst:728 msgid "" "Make ``\\w``, ``\\W``, ``\\b``, ``\\B`` and case-insensitive matching " "dependent on the current locale. This flag can be used only with bytes " @@ -993,20 +994,20 @@ msgid "" "locales/languages. Corresponds to the inline flag ``(?L)``." msgstr "" -#: library/re.rst:736 +#: library/re.rst:737 msgid "" ":const:`re.LOCALE` can be used only with bytes patterns and is not " "compatible with :const:`re.ASCII`." msgstr "" -#: library/re.rst:740 +#: library/re.rst:741 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:749 +#: library/re.rst:750 msgid "" "When specified, the pattern character ``'^'`` matches at the beginning of " "the string and at the beginning of each line (immediately following each " @@ -1017,7 +1018,7 @@ msgid "" "the end of the string. Corresponds to the inline flag ``(?m)``." msgstr "" -#: library/re.rst:759 +#: library/re.rst:760 msgid "" "Indicates no flag being applied, the value is ``0``. This flag may be used " "as a default value for a function keyword argument or as a base value that " @@ -1025,14 +1026,14 @@ msgid "" "value::" msgstr "" -#: library/re.rst:772 +#: library/re.rst:773 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:782 +#: library/re.rst:783 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 " @@ -1045,50 +1046,50 @@ msgid "" "ignored." msgstr "" -#: library/re.rst:792 +#: library/re.rst:793 msgid "" "This means that the two following regular expression objects that match a " "decimal number are functionally equal::" msgstr "" -#: library/re.rst:800 +#: library/re.rst:801 msgid "Corresponds to the inline flag ``(?x)``." msgstr "" -#: library/re.rst:804 +#: library/re.rst:805 msgid "Functions" msgstr "" -#: library/re.rst:808 +#: library/re.rst:809 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:813 +#: library/re.rst:814 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:817 +#: library/re.rst:818 msgid "The sequence ::" msgstr "" -#: library/re.rst:822 +#: library/re.rst:823 msgid "is equivalent to ::" msgstr "" -#: library/re.rst:826 +#: library/re.rst:827 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:832 +#: library/re.rst:833 msgid "" "The compiled versions of the most recent patterns passed to :func:`re." "compile` and the module-level matching functions are cached, so programs " @@ -1096,7 +1097,7 @@ msgid "" "compiling regular expressions." msgstr "" -#: library/re.rst:840 +#: library/re.rst:841 msgid "" "Scan through *string* looking for the first location where the regular " "expression *pattern* produces a match, and return a corresponding :ref:" @@ -1105,7 +1106,7 @@ msgid "" "length match at some point in the string." msgstr "" -#: library/re.rst:849 +#: library/re.rst:850 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 " @@ -1133,7 +1134,7 @@ msgid "" "length match." msgstr "" -#: library/re.rst:873 +#: library/re.rst:874 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 " @@ -1142,42 +1143,42 @@ msgid "" "final element of the list. ::" msgstr "" -#: library/re.rst:888 +#: library/re.rst:889 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:895 +#: library/re.rst:896 msgid "" "That way, separator components are always found at the same relative indices " "within the result list." msgstr "" -#: library/re.rst:898 +#: library/re.rst:899 msgid "" "Empty matches for the pattern split the string only when not adjacent to a " "previous empty match." msgstr "" -#: library/re.rst:998 library/re.rst:1026 +#: library/re.rst:999 library/re.rst:1027 msgid "Added the optional flags argument." msgstr "" -#: library/re.rst:911 +#: library/re.rst:912 msgid "" "Added support of splitting on a pattern that could match an empty string." msgstr "" -#: library/re.rst:917 +#: library/re.rst:918 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:921 +#: library/re.rst:922 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. " @@ -1187,11 +1188,11 @@ msgid "" "result." msgstr "" -#: library/re.rst:944 +#: library/re.rst:945 msgid "Non-empty matches can now start just after a previous empty match." msgstr "" -#: library/re.rst:939 +#: library/re.rst:940 msgid "" "Return an :term:`iterator` yielding :ref:`match objects ` " "over all non-overlapping matches for the RE *pattern* in *string*. The " @@ -1199,7 +1200,7 @@ msgid "" "found. Empty matches are included in the result." msgstr "" -#: library/re.rst:950 +#: library/re.rst:951 msgid "" "Return the string obtained by replacing the leftmost non-overlapping " "occurrences of *pattern* in *string* by the replacement *repl*. If the " @@ -1213,18 +1214,18 @@ msgid "" "For example::" msgstr "" -#: library/re.rst:966 +#: library/re.rst:967 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:978 +#: library/re.rst:979 msgid "The pattern may be a string or a :ref:`pattern object `." msgstr "" -#: library/re.rst:980 +#: library/re.rst:981 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, " @@ -1233,7 +1234,7 @@ msgid "" "'abxd')`` returns ``'-a-b--d-'``." msgstr "" -#: library/re.rst:988 +#: library/re.rst:989 msgid "" "In string-type *repl* arguments, in addition to the character escapes and " "backreferences described above, ``\\g`` will use the substring matched " @@ -1246,58 +1247,58 @@ msgid "" "RE." msgstr "" -#: library/re.rst:1029 library/re.rst:1263 +#: library/re.rst:1030 library/re.rst:1264 msgid "Unmatched groups are replaced with an empty string." msgstr "" -#: library/re.rst:1004 +#: library/re.rst:1005 msgid "" "Unknown escapes in *pattern* consisting of ``'\\'`` and an ASCII letter now " "are errors." msgstr "" -#: library/re.rst:1008 +#: library/re.rst:1009 msgid "" "Unknown escapes in *repl* consisting of ``'\\'`` and an ASCII letter now are " "errors." msgstr "" -#: library/re.rst:1012 +#: library/re.rst:1013 msgid "" "Empty matches for the pattern are replaced when adjacent to a previous non-" "empty match." msgstr "" -#: library/re.rst:1016 +#: library/re.rst:1017 msgid "" "Group *id* containing anything except ASCII digits. Group names containing " "non-ASCII characters in bytes replacement strings." msgstr "" -#: library/re.rst:1023 +#: library/re.rst:1024 msgid "" "Perform the same operation as :func:`sub`, but return a tuple ``(new_string, " "number_of_subs_made)``." msgstr "" -#: library/re.rst:1035 +#: library/re.rst:1036 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:1050 +#: library/re.rst:1051 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:1058 +#: library/re.rst:1059 msgid "The ``'_'`` character is no longer escaped." msgstr "" -#: library/re.rst:1061 +#: library/re.rst:1062 msgid "" "Only characters that can have special meaning in a regular expression are " "escaped. As a result, ``'!'``, ``'\"'``, ``'%'``, ``\"'\"``, ``','``, " @@ -1305,15 +1306,15 @@ msgid "" "are no longer escaped." msgstr "" -#: library/re.rst:1070 +#: library/re.rst:1071 msgid "Clear the regular expression cache." msgstr "" -#: library/re.rst:1074 +#: library/re.rst:1075 msgid "Exceptions" msgstr "" -#: library/re.rst:1078 +#: library/re.rst:1079 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 " @@ -1322,41 +1323,41 @@ msgid "" "pattern. The error instance has the following additional attributes:" msgstr "" -#: library/re.rst:1086 +#: library/re.rst:1087 msgid "The unformatted error message." msgstr "" -#: library/re.rst:1090 +#: library/re.rst:1091 msgid "The regular expression pattern." msgstr "" -#: library/re.rst:1094 +#: library/re.rst:1095 msgid "The index in *pattern* where compilation failed (may be ``None``)." msgstr "" -#: library/re.rst:1098 +#: library/re.rst:1099 msgid "The line corresponding to *pos* (may be ``None``)." msgstr "" -#: library/re.rst:1102 +#: library/re.rst:1103 msgid "The column corresponding to *pos* (may be ``None``)." msgstr "" -#: library/re.rst:1104 +#: library/re.rst:1105 msgid "Added additional attributes." msgstr "" -#: library/re.rst:1110 +#: library/re.rst:1111 msgid "Regular Expression Objects" msgstr "" -#: library/re.rst:1112 +#: library/re.rst:1113 msgid "" "Compiled regular expression objects support the following methods and " "attributes:" msgstr "" -#: library/re.rst:1117 +#: library/re.rst:1118 msgid "" "Scan through *string* looking for the first location where this regular " "expression produces a match, and return a corresponding :ref:`match object " @@ -1365,7 +1366,7 @@ msgid "" "some point in the string." msgstr "" -#: library/re.rst:1123 +#: library/re.rst:1124 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 " @@ -1374,7 +1375,7 @@ msgid "" "necessarily at the index where the search is to start." msgstr "" -#: library/re.rst:1129 +#: library/re.rst:1130 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 " @@ -1384,7 +1385,7 @@ msgid "" "equivalent to ``rx.search(string[:50], 0)``. ::" msgstr "" -#: library/re.rst:1144 +#: library/re.rst:1145 msgid "" "If zero or more characters at the *beginning* of *string* match this regular " "expression, return a corresponding :ref:`match object `. " @@ -1392,19 +1393,19 @@ msgid "" "different from a zero-length match." msgstr "" -#: library/re.rst:1167 +#: library/re.rst:1168 msgid "" "The optional *pos* and *endpos* parameters have the same meaning as for the :" "meth:`~Pattern.search` method. ::" msgstr "" -#: library/re.rst:1157 +#: library/re.rst:1158 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:1163 +#: library/re.rst:1164 msgid "" "If the whole *string* matches this regular expression, return a " "corresponding :ref:`match object `. Return ``None`` if the " @@ -1412,76 +1413,76 @@ msgid "" "length match." msgstr "" -#: library/re.rst:1181 +#: library/re.rst:1182 msgid "Identical to the :func:`split` function, using the compiled pattern." msgstr "" -#: library/re.rst:1186 +#: library/re.rst:1187 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:1193 +#: library/re.rst:1194 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:1200 +#: library/re.rst:1201 msgid "Identical to the :func:`sub` function, using the compiled pattern." msgstr "" -#: library/re.rst:1205 +#: library/re.rst:1206 msgid "Identical to the :func:`subn` function, using the compiled pattern." msgstr "" -#: library/re.rst:1210 +#: library/re.rst:1211 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:1217 +#: library/re.rst:1218 msgid "The number of capturing groups in the pattern." msgstr "" -#: library/re.rst:1222 +#: library/re.rst:1223 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:1229 +#: library/re.rst:1230 msgid "The pattern string from which the pattern object was compiled." msgstr "" -#: library/re.rst:1232 +#: library/re.rst:1233 msgid "" "Added support of :func:`copy.copy` and :func:`copy.deepcopy`. Compiled " "regular expression objects are considered atomic." msgstr "" -#: library/re.rst:1240 +#: library/re.rst:1241 msgid "Match Objects" msgstr "" -#: library/re.rst:1242 +#: library/re.rst:1243 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:1251 +#: library/re.rst:1252 msgid "Match objects support the following methods and attributes:" msgstr "" -#: library/re.rst:1256 +#: library/re.rst:1257 msgid "" "Return the string obtained by doing backslash substitution on the template " "string *template*, as done by the :meth:`~Pattern.sub` method. Escapes such " @@ -1490,7 +1491,7 @@ msgid "" "``\\g``) are replaced by the contents of the corresponding group." msgstr "" -#: library/re.rst:1268 +#: library/re.rst:1269 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 " @@ -1505,7 +1506,7 @@ msgid "" "the pattern that matched multiple times, the last match is returned. ::" msgstr "" -#: library/re.rst:1290 +#: library/re.rst:1291 msgid "" "If the regular expression uses the ``(?P...)`` syntax, the *groupN* " "arguments may also be strings identifying groups by their group name. If a " @@ -1513,54 +1514,54 @@ msgid "" "`IndexError` exception is raised." msgstr "" -#: library/re.rst:1295 +#: library/re.rst:1296 msgid "A moderately complicated example::" msgstr "" -#: library/re.rst:1303 +#: library/re.rst:1304 msgid "Named groups can also be referred to by their index::" msgstr "" -#: library/re.rst:1310 +#: library/re.rst:1311 msgid "If a group matches multiple times, only the last match is accessible::" msgstr "" -#: library/re.rst:1319 +#: library/re.rst:1320 msgid "" "This is identical to ``m.group(g)``. This allows easier access to an " "individual group from a match::" msgstr "" -#: library/re.rst:1330 +#: library/re.rst:1331 msgid "Named groups are supported as well::" msgstr "" -#: library/re.rst:1343 +#: library/re.rst:1344 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:1572 +#: library/re.rst:1573 msgid "For example::" msgstr "" -#: library/re.rst:1353 +#: library/re.rst:1354 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:1366 +#: library/re.rst:1367 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:1378 +#: library/re.rst:1379 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 " @@ -1569,7 +1570,7 @@ msgid "" "matched by group *g* (equivalent to ``m.group(g)``) is ::" msgstr "" -#: library/re.rst:1386 +#: library/re.rst:1387 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." @@ -1577,32 +1578,32 @@ msgid "" "2, and ``m.start(2)`` raises an :exc:`IndexError` exception." msgstr "" -#: library/re.rst:1391 +#: library/re.rst:1392 msgid "An example that will remove *remove_this* from email addresses::" msgstr "" -#: library/re.rst:1401 +#: library/re.rst:1402 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:1408 +#: library/re.rst:1409 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:1415 +#: library/re.rst:1416 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:1422 +#: library/re.rst:1423 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)" @@ -1611,43 +1612,43 @@ msgid "" "applied to the same string." msgstr "" -#: library/re.rst:1431 +#: library/re.rst:1432 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:1437 +#: library/re.rst:1438 msgid "" "The :ref:`regular expression object ` whose :meth:`~Pattern." "match` or :meth:`~Pattern.search` method produced this match instance." msgstr "" -#: library/re.rst:1443 +#: library/re.rst:1444 msgid "The string passed to :meth:`~Pattern.match` or :meth:`~Pattern.search`." msgstr "" -#: library/re.rst:1446 +#: library/re.rst:1447 msgid "" "Added support of :func:`copy.copy` and :func:`copy.deepcopy`. Match objects " "are considered atomic." msgstr "" -#: library/re.rst:1454 +#: library/re.rst:1455 msgid "Regular Expression Examples" msgstr "" -#: library/re.rst:1458 +#: library/re.rst:1459 msgid "Checking for a Pair" msgstr "" -#: library/re.rst:1460 +#: library/re.rst:1461 msgid "" "In this example, we'll use the following helper function to display match " "objects a little more gracefully::" msgstr "" -#: library/re.rst:1468 +#: library/re.rst:1469 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 " @@ -1655,28 +1656,28 @@ msgid "" "\"2\" through \"9\" representing the card with that value." msgstr "" -#: library/re.rst:1473 +#: library/re.rst:1474 msgid "To see if a given string is a valid hand, one could do the following::" msgstr "" -#: library/re.rst:1483 +#: library/re.rst:1484 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:1493 +#: library/re.rst:1494 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:1512 +#: library/re.rst:1513 msgid "Simulating scanf()" msgstr "" -#: library/re.rst:1516 +#: library/re.rst:1517 msgid "" "Python does not currently have an equivalent to :c:func:`scanf`. Regular " "expressions are generally more powerful, though also more verbose, than :c:" @@ -1685,124 +1686,124 @@ msgid "" "expressions." msgstr "" -#: library/re.rst:1523 +#: library/re.rst:1524 msgid ":c:func:`scanf` Token" msgstr "" -#: library/re.rst:1523 +#: library/re.rst:1524 msgid "Regular Expression" msgstr "" -#: library/re.rst:1525 +#: library/re.rst:1526 msgid "``%c``" msgstr "" -#: library/re.rst:1527 +#: library/re.rst:1528 msgid "``%5c``" msgstr "" -#: library/re.rst:1527 +#: library/re.rst:1528 msgid "``.{5}``" msgstr "" -#: library/re.rst:1529 +#: library/re.rst:1530 msgid "``%d``" msgstr "" -#: library/re.rst:1529 +#: library/re.rst:1530 msgid "``[-+]?\\d+``" msgstr "" -#: library/re.rst:1531 +#: library/re.rst:1532 msgid "``%e``, ``%E``, ``%f``, ``%g``" msgstr "" -#: library/re.rst:1531 +#: library/re.rst:1532 msgid "``[-+]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?``" msgstr "" -#: library/re.rst:1533 +#: library/re.rst:1534 msgid "``%i``" msgstr "" -#: library/re.rst:1533 +#: library/re.rst:1534 msgid "``[-+]?(0[xX][\\dA-Fa-f]+|0[0-7]*|\\d+)``" msgstr "" -#: library/re.rst:1535 +#: library/re.rst:1536 msgid "``%o``" msgstr "" -#: library/re.rst:1535 +#: library/re.rst:1536 msgid "``[-+]?[0-7]+``" msgstr "" -#: library/re.rst:1537 +#: library/re.rst:1538 msgid "``%s``" msgstr "" -#: library/re.rst:1537 +#: library/re.rst:1538 msgid "``\\S+``" msgstr "" -#: library/re.rst:1539 +#: library/re.rst:1540 msgid "``%u``" msgstr "" -#: library/re.rst:1539 +#: library/re.rst:1540 msgid "``\\d+``" msgstr "" -#: library/re.rst:1541 +#: library/re.rst:1542 msgid "``%x``, ``%X``" msgstr "" -#: library/re.rst:1541 +#: library/re.rst:1542 msgid "``[-+]?(0[xX])?[\\dA-Fa-f]+``" msgstr "" -#: library/re.rst:1544 +#: library/re.rst:1545 msgid "To extract the filename and numbers from a string like ::" msgstr "" -#: library/re.rst:1548 +#: library/re.rst:1549 msgid "you would use a :c:func:`scanf` format like ::" msgstr "" -#: library/re.rst:1552 +#: library/re.rst:1553 msgid "The equivalent regular expression would be ::" msgstr "" -#: library/re.rst:1560 +#: library/re.rst:1561 msgid "search() vs. match()" msgstr "" -#: library/re.rst:1564 +#: library/re.rst:1565 msgid "" "Python offers different primitive operations based on regular expressions:" msgstr "" -#: library/re.rst:1566 +#: library/re.rst:1567 msgid ":func:`re.match` checks for a match only at the beginning of the string" msgstr "" -#: library/re.rst:1567 +#: library/re.rst:1568 msgid "" ":func:`re.search` checks for a match anywhere in the string (this is what " "Perl does by default)" msgstr "" -#: library/re.rst:1569 +#: library/re.rst:1570 msgid ":func:`re.fullmatch` checks for entire string to be a match" msgstr "" -#: library/re.rst:1581 +#: library/re.rst:1582 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:1589 +#: library/re.rst:1590 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 " @@ -1810,11 +1811,11 @@ msgid "" "line. ::" msgstr "" -#: library/re.rst:1599 +#: library/re.rst:1600 msgid "Making a Phonebook" msgstr "" -#: library/re.rst:1601 +#: library/re.rst:1602 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 " @@ -1822,37 +1823,37 @@ msgid "" "following example that creates a phonebook." msgstr "" -#: library/re.rst:1606 +#: library/re.rst:1607 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:1619 +#: library/re.rst:1620 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:1632 +#: library/re.rst:1633 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:1645 +#: library/re.rst:1646 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:1660 +#: library/re.rst:1661 msgid "Text Munging" msgstr "" -#: library/re.rst:1662 +#: library/re.rst:1663 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 " @@ -1860,11 +1861,11 @@ msgid "" "each word of a sentence except for the first and last characters::" msgstr "" -#: library/re.rst:1679 +#: library/re.rst:1680 msgid "Finding all Adverbs" msgstr "" -#: library/re.rst:1681 +#: library/re.rst:1682 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 " @@ -1872,11 +1873,11 @@ msgid "" "manner::" msgstr "" -#: library/re.rst:1692 +#: library/re.rst:1693 msgid "Finding all Adverbs and their Positions" msgstr "" -#: library/re.rst:1694 +#: library/re.rst:1695 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 " @@ -1885,11 +1886,11 @@ msgid "" "text, they would use :func:`finditer` in the following manner::" msgstr "" -#: library/re.rst:1708 +#: library/re.rst:1709 msgid "Raw String Notation" msgstr "" -#: library/re.rst:1710 +#: library/re.rst:1711 msgid "" "Raw string notation (``r\"text\"``) keeps regular expressions sane. Without " "it, every backslash (``'\\'``) in a regular expression would have to be " @@ -1897,7 +1898,7 @@ msgid "" "lines of code are functionally identical::" msgstr "" -#: library/re.rst:1720 +#: library/re.rst:1721 msgid "" "When one wants to match a literal backslash, it must be escaped in the " "regular expression. With raw string notation, this means ``r\"\\\\\"``. " @@ -1905,29 +1906,29 @@ msgid "" "following lines of code functionally identical::" msgstr "" -#: library/re.rst:1732 +#: library/re.rst:1733 msgid "Writing a Tokenizer" msgstr "" -#: library/re.rst:1734 +#: library/re.rst:1735 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:1738 +#: library/re.rst:1739 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:1794 +#: library/re.rst:1795 msgid "The tokenizer produces the following output::" msgstr "" -#: library/re.rst:1817 +#: library/re.rst:1818 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 e5db35fa5..387c1dbf0 100644 --- a/library/resource.po +++ b/library/resource.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,7 +26,7 @@ msgid "" "resources utilized by a program." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -154,7 +154,7 @@ msgid "" "arguments ``pid``, ``resource``, ``limits``." msgstr "" -#: library/resource.rst:105 +#: library/resource.rst:104 msgid ":ref:`Availability `: Linux >= 2.6.36 with glibc >= 2.13." msgstr "" @@ -238,7 +238,7 @@ msgstr "" msgid "The number of bytes that can be allocated for POSIX message queues." msgstr "" -#: library/resource.rst:228 +#: library/resource.rst:227 msgid ":ref:`Availability `: Linux >= 2.6.8." msgstr "" @@ -246,7 +246,7 @@ msgstr "" msgid "The ceiling for the process's nice level (calculated as 20 - rlim_cur)." msgstr "" -#: library/resource.rst:209 +#: library/resource.rst:208 msgid ":ref:`Availability `: Linux >= 2.6.12." msgstr "" @@ -260,7 +260,7 @@ msgid "" "real-time scheduling without making a blocking syscall." msgstr "" -#: library/resource.rst:219 +#: library/resource.rst:218 msgid ":ref:`Availability `: Linux >= 2.6.25." msgstr "" @@ -275,7 +275,7 @@ msgid "" "this user may hold at any time." msgstr "" -#: library/resource.rst:251 library/resource.rst:259 +#: library/resource.rst:250 library/resource.rst:258 msgid ":ref:`Availability `: FreeBSD." msgstr "" @@ -296,7 +296,7 @@ msgstr "" msgid "The maximum number of kqueues this user id is allowed to create." msgstr "" -#: library/resource.rst:267 +#: library/resource.rst:266 msgid ":ref:`Availability `: FreeBSD >= 11." msgstr "" diff --git a/library/select.po b/library/select.po index 1ad689d20..09e41ce0e 100644 --- a/library/select.po +++ b/library/select.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -39,7 +39,7 @@ msgid "" "precise control over the OS-level primitives used." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -230,7 +230,7 @@ msgstr "" msgid "This value is guaranteed by POSIX to be at least 512." msgstr "" -#: library/select.rst:178 +#: library/select.rst:177 msgid ":ref:`Availability `: Unix" msgstr "" diff --git a/library/selectors.po b/library/selectors.po index 19e5a629f..9659694ca 100644 --- a/library/selectors.po +++ b/library/selectors.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -68,7 +68,7 @@ msgstr "" msgid "Low-level I/O multiplexing module." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/shutil.po b/library/shutil.po index a41f97640..3213ccb4e 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -517,7 +517,7 @@ msgid "" "``path``, ``user``, ``group``." msgstr "" -#: library/shutil.rst:415 +#: library/shutil.rst:414 msgid ":ref:`Availability `: Unix." msgstr "" diff --git a/library/signal.po b/library/signal.po index bae1ddb22..16c84ae30 100644 --- a/library/signal.po +++ b/library/signal.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -151,8 +151,9 @@ msgid "" msgstr "" #: library/signal.rst:136 library/signal.rst:154 library/signal.rst:178 -#: library/signal.rst:204 library/signal.rst:236 library/signal.rst:499 -#: library/signal.rst:506 +#: library/signal.rst:204 library/signal.rst:236 library/signal.rst:349 +#: library/signal.rst:435 library/signal.rst:499 library/signal.rst:559 +#: library/signal.rst:616 library/signal.rst:662 msgid ":ref:`Availability `: Unix." msgstr "" @@ -192,7 +193,7 @@ msgstr "" msgid "Interrupt from keyboard (CTRL + BREAK)." msgstr "" -#: library/signal.rst:261 library/signal.rst:271 +#: library/signal.rst:260 library/signal.rst:270 msgid ":ref:`Availability `: Windows." msgstr "" @@ -265,7 +266,7 @@ msgid "" "can only be raised in user space." msgstr "" -#: library/signal.rst:-1 +#: library/signal.rst:215 msgid ":ref:`Availability `: Linux." msgstr "" diff --git a/library/smtpd.po b/library/smtpd.po index 75dbc85d9..7b08987cd 100644 --- a/library/smtpd.po +++ b/library/smtpd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -55,7 +55,7 @@ msgid "" "SMTPUTF8 extensions." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/smtplib.po b/library/smtplib.po index 6e0349520..ca5eb4ba8 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -32,7 +32,7 @@ msgid "" "Mail Transfer Protocol) and :rfc:`1869` (SMTP Service Extensions)." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/socket.po b/library/socket.po index 81a0c55f7..f73ea76ac 100644 --- a/library/socket.po +++ b/library/socket.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -37,7 +37,7 @@ msgid "" "operating system socket APIs." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -283,6 +283,10 @@ msgstr "" msgid "*feat* and *mask* are unsigned 32bit integers." msgstr "" +#: library/socket.rst:519 library/socket.rst:1766 +msgid ":ref:`Availability `: Linux >= 2.6.38." +msgstr "" + #: library/socket.rst:173 msgid "Some algorithm types require more recent Kernels." msgstr "" @@ -294,6 +298,10 @@ msgid "" "context ID or CID and port are integers." msgstr "" +#: library/socket.rst:592 +msgid ":ref:`Availability `: Linux >= 3.9" +msgstr "" + #: library/socket.rst:183 msgid "See :manpage:`vsock(7)`" msgstr "" @@ -354,6 +362,10 @@ msgid "" "address, whose interpretation depends on the device." msgstr "" +#: library/socket.rst:480 +msgid ":ref:`Availability `: Linux >= 2.2." +msgstr "" + #: library/socket.rst:209 msgid "" ":const:`AF_QIPCRTR` is a Linux-only socket based interface for communicating " @@ -362,6 +374,10 @@ msgid "" "*port* are non-negative integers." msgstr "" +#: library/socket.rst:568 +msgid ":ref:`Availability `: Linux >= 4.7." +msgstr "" + #: library/socket.rst:218 msgid "" ":const:`IPPROTO_UDPLITE` is a variant of UDP which allows you to specify " @@ -380,6 +396,10 @@ msgid "" "IPPROTO_UDPLITE)`` for IPv6." msgstr "" +#: library/socket.rst:231 +msgid ":ref:`Availability `: Linux >= 2.6.20, FreeBSD >= 10.1" +msgstr "" + #: library/socket.rst:235 msgid "" "If you use a hostname in the *host* portion of IPv4/v6 socket address, the " @@ -504,7 +524,7 @@ msgid "" "html>`_ for a more thorough explanation." msgstr "" -#: library/socket.rst:354 +#: library/socket.rst:353 msgid ":ref:`Availability `: Linux >= 2.6.27." msgstr "" @@ -558,7 +578,7 @@ msgid "" "also defined in the socket module." msgstr "" -#: library/socket.rst:411 +#: library/socket.rst:410 msgid ":ref:`Availability `: Linux >= 2.6.25, NetBSD >= 8." msgstr "" @@ -573,7 +593,7 @@ msgid "" "documentation, are also defined in the socket module." msgstr "" -#: library/socket.rst:460 +#: library/socket.rst:459 msgid ":ref:`Availability `: Linux >= 2.6.25." msgstr "" @@ -593,7 +613,7 @@ msgstr "" msgid "This constant is documented in the Linux documentation." msgstr "" -#: library/socket.rst:440 +#: library/socket.rst:439 msgid ":ref:`Availability `: Linux >= 3.6." msgstr "" @@ -603,7 +623,7 @@ msgid "" "CAN filters are passed to user space." msgstr "" -#: library/socket.rst:451 +#: library/socket.rst:450 msgid ":ref:`Availability `: Linux >= 4.1." msgstr "" @@ -619,15 +639,11 @@ msgid "" "constants, documented in the Linux documentation." msgstr "" -#: library/socket.rst:469 +#: library/socket.rst:468 msgid ":ref:`Availability `: Linux >= 5.4." msgstr "" -#: library/socket.rst:480 -msgid ":ref:`Availability `: Linux >= 2.2." -msgstr "" - -#: library/socket.rst:492 +#: library/socket.rst:491 msgid ":ref:`Availability `: Linux >= 2.6.30." msgstr "" @@ -651,19 +667,15 @@ msgstr "" msgid "Constants for Linux Kernel cryptography." msgstr "" -#: library/socket.rst:1767 -msgid ":ref:`Availability `: Linux >= 2.6.38." -msgstr "" - #: library/socket.rst:529 msgid "Constants for Linux host/guest communication." msgstr "" -#: library/socket.rst:532 +#: library/socket.rst:531 msgid ":ref:`Availability `: Linux >= 4.8." msgstr "" -#: library/socket.rst:538 +#: library/socket.rst:537 msgid ":ref:`Availability `: BSD, macOS." msgstr "" @@ -693,10 +705,6 @@ msgid "" "service providing remote processors." msgstr "" -#: library/socket.rst:568 -msgid ":ref:`Availability `: Linux >= 4.7." -msgstr "" - #: library/socket.rst:574 msgid "" "LOCAL_CREDS and LOCAL_CREDS_PERSISTENT can be used with SOCK_DGRAM, " @@ -716,10 +724,6 @@ msgid "" "`SO_REUSEPORT`." msgstr "" -#: library/socket.rst:592 -msgid ":ref:`Availability `: Linux >= 3.9" -msgstr "" - #: library/socket.rst:595 msgid "Functions" msgstr "" @@ -931,7 +935,7 @@ msgid "" "method. The socket is assumed to be in blocking mode." msgstr "" -#: library/socket.rst:1873 +#: library/socket.rst:1872 msgid ":ref:`Availability `: Windows." msgstr "" @@ -1049,7 +1053,7 @@ msgstr "" #: library/socket.rst:893 library/socket.rst:921 library/socket.rst:949 #: library/socket.rst:971 library/socket.rst:1342 library/socket.rst:1376 -#: library/socket.rst:1469 library/socket.rst:1860 +#: library/socket.rst:1468 library/socket.rst:1860 msgid ":ref:`Availability `: not WASI." msgstr "" @@ -1256,7 +1260,7 @@ msgid "" "`inet_pton`." msgstr "" -#: library/socket.rst:1081 +#: library/socket.rst:1080 msgid ":ref:`Availability `: Unix, Windows." msgstr "" @@ -1292,7 +1296,7 @@ msgid "" "the permissible range of values." msgstr "" -#: library/socket.rst:-1 +#: library/socket.rst:1129 msgid ":ref:`Availability `: Unix, not Emscripten, not WASI." msgstr "" @@ -1348,7 +1352,7 @@ msgid "" "argument ``name``." msgstr "" -#: library/socket.rst:1159 +#: library/socket.rst:1596 library/socket.rst:1640 msgid ":ref:`Availability `: Unix." msgstr "" @@ -1358,7 +1362,7 @@ msgid "" "tuples. :exc:`OSError` if the system call fails." msgstr "" -#: library/socket.rst:1170 library/socket.rst:1214 +#: library/socket.rst:1196 library/socket.rst:1230 library/socket.rst:1244 msgid "" ":ref:`Availability `: Unix, Windows, not Emscripten, not WASI." msgstr "" @@ -1898,7 +1902,7 @@ msgid "" "mechanism. See also :meth:`recvmsg`. ::" msgstr "" -#: library/socket.rst:-1 +#: library/socket.rst:1748 msgid ":ref:`Availability `: Unix, not WASI." msgstr "" diff --git a/library/socketserver.po b/library/socketserver.po index 5a977caf4..1f43a1764 100644 --- a/library/socketserver.po +++ b/library/socketserver.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -30,7 +30,7 @@ msgid "" "servers." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/spwd.po b/library/spwd.po index 29f16a69c..4d3f1db0d 100644 --- a/library/spwd.po +++ b/library/spwd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -32,7 +32,7 @@ msgid "" "available on various Unix versions." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/sqlite3.po b/library/sqlite3.po index a7c2d4f6e..210b8e171 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-04 22:37+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -744,8 +744,8 @@ msgstr "" msgid "The *deterministic* parameter." msgstr "" -#: library/sqlite3.rst:705 library/sqlite3.rst:1019 library/sqlite3.rst:1362 -#: library/sqlite3.rst:1383 +#: library/sqlite3.rst:705 library/sqlite3.rst:1019 library/sqlite3.rst:1383 +#: library/sqlite3.rst:1404 msgid "Example:" msgstr "" @@ -1210,7 +1210,7 @@ msgid "" "`tuple`." msgstr "" -#: library/sqlite3.rst:1507 library/sqlite3.rst:1530 +#: library/sqlite3.rst:1528 library/sqlite3.rst:1551 msgid "See :ref:`sqlite3-howto-row-factory` for more details." msgstr "" @@ -1253,20 +1253,26 @@ msgstr "" #: library/sqlite3.rst:1338 msgid "" -"Execute SQL statement *sql*. Bind values to the statement using :ref:" -"`placeholders ` that map to the :term:`sequence` or :" -"class:`dict` *parameters*." +"Execute SQL a single SQL statement, optionally binding Python values using :" +"ref:`placeholders `." msgstr "" -#: library/sqlite3.rst:1343 +#: library/sqlite3.rst:1342 +msgid "A single SQL statement." +msgstr "" + +#: library/sqlite3.rst:1345 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:" -"`ProgrammingError`. Use :meth:`executescript` if you want to execute " -"multiple SQL statements with one call." +"Python values to bind to placeholders in *sql*. A :class:`!dict` if named " +"placeholders are used. A :term:`!sequence` if unnamed placeholders are used. " +"See :ref:`sqlite3-placeholders`." msgstr "" -#: library/sqlite3.rst:1348 +#: library/sqlite3.rst:1352 +msgid "If *sql* contains more than one SQL statement." +msgstr "" + +#: library/sqlite3.rst:1355 msgid "" "If :attr:`~Connection.isolation_level` is not ``None``, *sql* is an " "``INSERT``, ``UPDATE``, ``DELETE``, or ``REPLACE`` statement, and there is " @@ -1274,16 +1280,36 @@ msgid "" "*sql*." msgstr "" -#: library/sqlite3.rst:1356 +#: library/sqlite3.rst:1360 +msgid "Use :meth:`executescript` to execute multiple SQL statements." +msgstr "" + +#: library/sqlite3.rst:1364 +msgid "" +"For every item in *parameters*, repeatedly execute the :ref:`parameterized " +"` SQL statement *sql*." +msgstr "" + +#: library/sqlite3.rst:1368 +msgid "Uses the same implicit transaction handling as :meth:`~Cursor.execute`." +msgstr "" + +#: library/sqlite3.rst:1370 +msgid "A single SQL :abbr:`DML (Data Manipulation Language)` statement." +msgstr "" + +#: library/sqlite3.rst:1373 +msgid "" +"An :term:`!iterable` of parameters to bind with the placeholders in *sql*. " +"See :ref:`sqlite3-placeholders`." +msgstr "" + +#: library/sqlite3.rst:1379 msgid "" -"Execute :ref:`parameterized ` SQL statement *sql* " -"against all parameter sequences or mappings found in the sequence " -"*parameters*. It is also possible to use an :term:`iterator` yielding " -"parameters instead of a sequence. Uses the same implicit transaction " -"handling as :meth:`~Cursor.execute`." +"If *sql* contains more than one SQL statement, or is not a DML statment." msgstr "" -#: library/sqlite3.rst:1375 +#: library/sqlite3.rst:1396 msgid "" "Execute the SQL statements in *sql_script*. If there is a pending " "transaction, an implicit ``COMMIT`` statement is executed first. No other " @@ -1291,24 +1317,24 @@ msgid "" "added to *sql_script*." msgstr "" -#: library/sqlite3.rst:1381 +#: library/sqlite3.rst:1402 msgid "*sql_script* must be a :class:`string `." msgstr "" -#: library/sqlite3.rst:1399 +#: library/sqlite3.rst:1420 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:1407 +#: library/sqlite3.rst:1428 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:1410 +#: library/sqlite3.rst:1431 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 " @@ -1316,7 +1342,7 @@ msgid "" "available are returned." msgstr "" -#: library/sqlite3.rst:1416 +#: library/sqlite3.rst:1437 msgid "" "Note there are performance considerations involved with the *size* " "parameter. For optimal performance, it is usually best to use the arraysize " @@ -1324,36 +1350,36 @@ msgid "" "the same value from one :meth:`fetchmany` call to the next." msgstr "" -#: library/sqlite3.rst:1423 +#: library/sqlite3.rst:1444 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:1430 +#: library/sqlite3.rst:1451 msgid "Close the cursor now (rather than whenever ``__del__`` is called)." msgstr "" -#: library/sqlite3.rst:1432 +#: library/sqlite3.rst:1453 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:1441 +#: library/sqlite3.rst:1462 msgid "Required by the DB-API. Does nothing in :mod:`!sqlite3`." msgstr "" -#: library/sqlite3.rst:1445 +#: library/sqlite3.rst:1466 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:1450 +#: library/sqlite3.rst:1471 msgid "" "Read-only attribute that provides the SQLite database :class:`Connection` " "belonging to the cursor. A :class:`Cursor` object created by calling :meth:" @@ -1361,18 +1387,18 @@ msgid "" "that refers to *con*:" msgstr "" -#: library/sqlite3.rst:1464 +#: library/sqlite3.rst:1485 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:1468 +#: library/sqlite3.rst:1489 msgid "It is set for ``SELECT`` statements without any matching rows as well." msgstr "" -#: library/sqlite3.rst:1472 +#: library/sqlite3.rst:1493 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 " @@ -1382,15 +1408,15 @@ msgid "" "``None``." msgstr "" -#: library/sqlite3.rst:1480 +#: library/sqlite3.rst:1501 msgid "Inserts into ``WITHOUT ROWID`` tables are not recorded." msgstr "" -#: library/sqlite3.rst:1482 +#: library/sqlite3.rst:1503 msgid "Added support for the ``REPLACE`` statement." msgstr "" -#: library/sqlite3.rst:1487 +#: library/sqlite3.rst:1508 msgid "" "Read-only attribute that provides the number of modified rows for " "``INSERT``, ``UPDATE``, ``DELETE``, and ``REPLACE`` statements; is ``-1`` " @@ -1399,7 +1425,7 @@ msgid "" "methods." msgstr "" -#: library/sqlite3.rst:1495 +#: library/sqlite3.rst:1516 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 " @@ -1408,18 +1434,18 @@ msgid "" "and returns a custom object representing an SQLite row." msgstr "" -#: library/sqlite3.rst:1502 +#: library/sqlite3.rst:1523 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:1518 +#: library/sqlite3.rst:1539 msgid "Row objects" msgstr "" -#: library/sqlite3.rst:1522 +#: library/sqlite3.rst:1543 msgid "" "A :class:`!Row` instance serves as a highly optimized :attr:`~Connection." "row_factory` for :class:`Connection` objects. It supports iteration, " @@ -1427,28 +1453,28 @@ msgid "" "index." msgstr "" -#: library/sqlite3.rst:1527 +#: library/sqlite3.rst:1548 msgid "" "Two :class:`!Row` objects compare equal if they have identical column names " "and values." msgstr "" -#: library/sqlite3.rst:1534 +#: library/sqlite3.rst:1555 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:1538 +#: library/sqlite3.rst:1559 msgid "Added support of slicing." msgstr "" -#: library/sqlite3.rst:1545 +#: library/sqlite3.rst:1566 msgid "Blob objects" msgstr "" -#: library/sqlite3.rst:1551 +#: library/sqlite3.rst:1572 msgid "" "A :class:`Blob` instance is a :term:`file-like object` that can read and " "write data in an SQLite :abbr:`BLOB (Binary Large OBject)`. Call :func:" @@ -1456,24 +1482,24 @@ msgid "" "and :term:`slices ` for direct access to the blob data." msgstr "" -#: library/sqlite3.rst:1556 +#: library/sqlite3.rst:1577 msgid "" "Use the :class:`Blob` as a :term:`context manager` to ensure that the blob " "handle is closed after use." msgstr "" -#: library/sqlite3.rst:1586 +#: library/sqlite3.rst:1607 msgid "Close the blob." msgstr "" -#: library/sqlite3.rst:1588 +#: library/sqlite3.rst:1609 msgid "" "The blob will be unusable from this point onward. An :class:`~sqlite3." "Error` (or subclass) exception will be raised if any further operation is " "attempted with the blob." msgstr "" -#: library/sqlite3.rst:1594 +#: library/sqlite3.rst:1615 msgid "" "Read *length* bytes of data from the blob at the current offset position. If " "the end of the blob is reached, the data up to :abbr:`EOF (End of File)` " @@ -1481,18 +1507,18 @@ msgid "" "`~Blob.read` will read until the end of the blob." msgstr "" -#: library/sqlite3.rst:1602 +#: library/sqlite3.rst:1623 msgid "" "Write *data* to the blob at the current offset. This function cannot change " "the blob length. Writing beyond the end of the blob will raise :exc:" "`ValueError`." msgstr "" -#: library/sqlite3.rst:1608 +#: library/sqlite3.rst:1629 msgid "Return the current access position of the blob." msgstr "" -#: library/sqlite3.rst:1612 +#: library/sqlite3.rst:1633 msgid "" "Set the current access position of the blob to *offset*. The *origin* " "argument defaults to :data:`os.SEEK_SET` (absolute blob positioning). Other " @@ -1500,26 +1526,26 @@ msgid "" "position) and :data:`os.SEEK_END` (seek relative to the blob’s end)." msgstr "" -#: library/sqlite3.rst:1620 +#: library/sqlite3.rst:1641 msgid "PrepareProtocol objects" msgstr "" -#: library/sqlite3.rst:1624 +#: library/sqlite3.rst:1645 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:1632 +#: library/sqlite3.rst:1653 msgid "Exceptions" msgstr "" -#: library/sqlite3.rst:1634 +#: library/sqlite3.rst:1655 msgid "The exception hierarchy is defined by the DB-API 2.0 (:pep:`249`)." msgstr "" -#: library/sqlite3.rst:1638 +#: library/sqlite3.rst:1659 msgid "" "This exception is not currently raised by the :mod:`!sqlite3` module, but " "may be raised by applications using :mod:`!sqlite3`, for example if a user-" @@ -1527,39 +1553,39 @@ msgid "" "of :exc:`Exception`." msgstr "" -#: library/sqlite3.rst:1645 +#: library/sqlite3.rst:1666 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:1649 +#: library/sqlite3.rst:1670 msgid "" "If the exception originated from within the SQLite library, the following " "two attributes are added to the exception:" msgstr "" -#: library/sqlite3.rst:1654 +#: library/sqlite3.rst:1675 msgid "" "The numeric error code from the `SQLite API `_" msgstr "" -#: library/sqlite3.rst:1661 +#: library/sqlite3.rst:1682 msgid "" "The symbolic name of the numeric error code from the `SQLite API `_" msgstr "" -#: library/sqlite3.rst:1668 +#: library/sqlite3.rst:1689 msgid "" "Exception raised for misuse of the low-level SQLite C API. In other words, " "if this exception is raised, it probably indicates a bug in the :mod:`!" "sqlite3` module. ``InterfaceError`` is a subclass of :exc:`Error`." msgstr "" -#: library/sqlite3.rst:1675 +#: library/sqlite3.rst:1696 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 " @@ -1567,14 +1593,14 @@ msgid "" "subclass of :exc:`Error`." msgstr "" -#: library/sqlite3.rst:1682 +#: library/sqlite3.rst:1703 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:1688 +#: library/sqlite3.rst:1709 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 " @@ -1582,20 +1608,20 @@ msgid "" "``OperationalError`` is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1696 +#: library/sqlite3.rst:1717 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:1701 +#: library/sqlite3.rst:1722 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:1708 +#: library/sqlite3.rst:1729 msgid "" "Exception raised for :mod:`!sqlite3` API programming errors, for example " "supplying the wrong number of bindings to a query, or trying to operate on a " @@ -1603,7 +1629,7 @@ msgid "" "`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1715 +#: library/sqlite3.rst:1736 msgid "" "Exception raised in case a method or database API is not supported by the " "underlying SQLite library. For example, setting *deterministic* to ``True`` " @@ -1612,78 +1638,78 @@ msgid "" "subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1725 +#: library/sqlite3.rst:1746 msgid "SQLite and Python types" msgstr "" -#: library/sqlite3.rst:1727 +#: library/sqlite3.rst:1748 msgid "" "SQLite natively supports the following types: ``NULL``, ``INTEGER``, " "``REAL``, ``TEXT``, ``BLOB``." msgstr "" -#: library/sqlite3.rst:1730 +#: library/sqlite3.rst:1751 msgid "" "The following Python types can thus be sent to SQLite without any problem:" msgstr "" -#: library/sqlite3.rst:1750 +#: library/sqlite3.rst:1771 msgid "Python type" msgstr "" -#: library/sqlite3.rst:1750 +#: library/sqlite3.rst:1771 msgid "SQLite type" msgstr "" -#: library/sqlite3.rst:1752 +#: library/sqlite3.rst:1773 msgid "``None``" msgstr "" -#: library/sqlite3.rst:1752 +#: library/sqlite3.rst:1773 msgid "``NULL``" msgstr "" -#: library/sqlite3.rst:1754 +#: library/sqlite3.rst:1775 msgid ":class:`int`" msgstr "" -#: library/sqlite3.rst:1754 +#: library/sqlite3.rst:1775 msgid "``INTEGER``" msgstr "" -#: library/sqlite3.rst:1756 +#: library/sqlite3.rst:1777 msgid ":class:`float`" msgstr "" -#: library/sqlite3.rst:1756 +#: library/sqlite3.rst:1777 msgid "``REAL``" msgstr "" -#: library/sqlite3.rst:1741 +#: library/sqlite3.rst:1762 msgid ":class:`str`" msgstr "" -#: library/sqlite3.rst:1758 +#: library/sqlite3.rst:1779 msgid "``TEXT``" msgstr "" -#: library/sqlite3.rst:1761 +#: library/sqlite3.rst:1782 msgid ":class:`bytes`" msgstr "" -#: library/sqlite3.rst:1761 +#: library/sqlite3.rst:1782 msgid "``BLOB``" msgstr "" -#: library/sqlite3.rst:1747 +#: library/sqlite3.rst:1768 msgid "This is how SQLite types are converted to Python types by default:" msgstr "" -#: library/sqlite3.rst:1758 +#: library/sqlite3.rst:1779 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" msgstr "" -#: library/sqlite3.rst:1764 +#: library/sqlite3.rst:1785 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 " @@ -1692,42 +1718,42 @@ msgid "" "converters>`." msgstr "" -#: library/sqlite3.rst:1774 +#: library/sqlite3.rst:1795 msgid "Default adapters and converters" msgstr "" -#: library/sqlite3.rst:1776 +#: library/sqlite3.rst:1797 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:1779 +#: library/sqlite3.rst:1800 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:1783 +#: library/sqlite3.rst:1804 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:1787 +#: library/sqlite3.rst:1808 msgid "The following example demonstrates this." msgstr "" -#: library/sqlite3.rst:1791 +#: library/sqlite3.rst:1812 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:1797 +#: library/sqlite3.rst:1818 msgid "" "The default \"timestamp\" converter ignores UTC offsets in the database and " "always returns a naive :class:`datetime.datetime` object. To preserve UTC " @@ -1735,15 +1761,15 @@ msgid "" "offset-aware converter with :func:`register_converter`." msgstr "" -#: library/sqlite3.rst:1806 +#: library/sqlite3.rst:1827 msgid "How-to guides" msgstr "" -#: library/sqlite3.rst:1811 +#: library/sqlite3.rst:1832 msgid "How to use placeholders to bind values in SQL queries" msgstr "" -#: library/sqlite3.rst:1813 +#: library/sqlite3.rst:1834 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 " @@ -1751,7 +1777,7 @@ msgid "" "close the single quote and inject ``OR TRUE`` to select all rows::" msgstr "" -#: library/sqlite3.rst:1826 +#: library/sqlite3.rst:1847 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 " @@ -1759,7 +1785,7 @@ msgid "" "second argument of the cursor's :meth:`~Cursor.execute` method." msgstr "" -#: library/sqlite3.rst:1831 +#: library/sqlite3.rst:1852 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, " @@ -1770,24 +1796,24 @@ msgid "" "are ignored. Here's an example of both styles:" msgstr "" -#: library/sqlite3.rst:1868 +#: library/sqlite3.rst:1889 msgid "" ":pep:`249` numeric placeholders are *not* supported. If used, they will be " "interpreted as named placeholders." msgstr "" -#: library/sqlite3.rst:1875 +#: library/sqlite3.rst:1896 msgid "How to adapt custom Python types to SQLite values" msgstr "" -#: library/sqlite3.rst:1877 +#: library/sqlite3.rst:1898 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:1881 +#: library/sqlite3.rst:1902 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 " @@ -1797,11 +1823,11 @@ msgid "" "custom adapter functions." msgstr "" -#: library/sqlite3.rst:1893 +#: library/sqlite3.rst:1914 msgid "How to write adaptable objects" msgstr "" -#: library/sqlite3.rst:1895 +#: library/sqlite3.rst:1916 msgid "" "Suppose we have a :class:`!Point` class that represents a pair of " "coordinates, ``x`` and ``y``, in a Cartesian coordinate system. The " @@ -1811,84 +1837,84 @@ msgid "" "object passed to *protocol* will be of type :class:`PrepareProtocol`." msgstr "" -#: library/sqlite3.rst:1926 +#: library/sqlite3.rst:1947 msgid "How to register adapter callables" msgstr "" -#: library/sqlite3.rst:1928 +#: library/sqlite3.rst:1949 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:1958 +#: library/sqlite3.rst:1979 msgid "How to convert SQLite values to custom Python types" msgstr "" -#: library/sqlite3.rst:1960 +#: library/sqlite3.rst:1981 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:1965 +#: library/sqlite3.rst:1986 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:1968 +#: library/sqlite3.rst:1989 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:1973 +#: library/sqlite3.rst:1994 msgid "" "Converter functions are **always** passed a :class:`bytes` object, no matter " "the underlying SQLite data type." msgstr "" -#: library/sqlite3.rst:1982 +#: library/sqlite3.rst:2003 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:1986 +#: library/sqlite3.rst:2007 msgid "Implicit: set *detect_types* to :const:`PARSE_DECLTYPES`" msgstr "" -#: library/sqlite3.rst:1987 +#: library/sqlite3.rst:2008 msgid "Explicit: set *detect_types* to :const:`PARSE_COLNAMES`" msgstr "" -#: library/sqlite3.rst:1988 +#: library/sqlite3.rst:2009 msgid "" "Both: set *detect_types* to ``sqlite3.PARSE_DECLTYPES | sqlite3." "PARSE_COLNAMES``. Column names take precedence over declared types." msgstr "" -#: library/sqlite3.rst:1992 +#: library/sqlite3.rst:2013 msgid "The following example illustrates the implicit and explicit approaches:" msgstr "" -#: library/sqlite3.rst:2043 +#: library/sqlite3.rst:2064 msgid "Adapter and converter recipes" msgstr "" -#: library/sqlite3.rst:2045 +#: library/sqlite3.rst:2066 msgid "This section shows recipes for common adapters and converters." msgstr "" -#: library/sqlite3.rst:2107 +#: library/sqlite3.rst:2128 msgid "How to use connection shortcut methods" msgstr "" -#: library/sqlite3.rst:2109 +#: library/sqlite3.rst:2130 msgid "" "Using the :meth:`~Connection.execute`, :meth:`~Connection.executemany`, and :" "meth:`~Connection.executescript` methods of the :class:`Connection` class, " @@ -1900,11 +1926,11 @@ msgid "" "object." msgstr "" -#: library/sqlite3.rst:2150 +#: library/sqlite3.rst:2171 msgid "How to use the connection context manager" msgstr "" -#: library/sqlite3.rst:2152 +#: library/sqlite3.rst:2173 msgid "" "A :class:`Connection` object can be used as a context manager that " "automatically commits or rolls back open transactions when leaving the body " @@ -1914,58 +1940,58 @@ msgid "" "exception, the transaction is rolled back." msgstr "" -#: library/sqlite3.rst:2161 +#: library/sqlite3.rst:2182 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:2166 +#: library/sqlite3.rst:2187 msgid "" "The context manager neither implicitly opens a new transaction nor closes " "the connection." msgstr "" -#: library/sqlite3.rst:2199 +#: library/sqlite3.rst:2220 msgid "How to work with SQLite URIs" msgstr "" -#: library/sqlite3.rst:2201 +#: library/sqlite3.rst:2222 msgid "Some useful URI tricks include:" msgstr "" -#: library/sqlite3.rst:2203 +#: library/sqlite3.rst:2224 msgid "Open a database in read-only mode:" msgstr "" -#: library/sqlite3.rst:2212 +#: library/sqlite3.rst:2233 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:2222 +#: library/sqlite3.rst:2243 msgid "Create a shared named in-memory database:" msgstr "" -#: library/sqlite3.rst:2236 +#: library/sqlite3.rst:2257 msgid "" "More information about this feature, including a list of parameters, can be " "found in the `SQLite URI documentation`_." msgstr "" -#: library/sqlite3.rst:2245 +#: library/sqlite3.rst:2266 msgid "How to create and use row factories" msgstr "" -#: library/sqlite3.rst:2247 +#: library/sqlite3.rst:2268 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:2252 +#: library/sqlite3.rst:2273 msgid "" "While :attr:`!row_factory` exists as an attribute both on the :class:" "`Cursor` and the :class:`Connection`, it is recommended to set :class:" @@ -1973,7 +1999,7 @@ msgid "" "use the same row factory." msgstr "" -#: library/sqlite3.rst:2257 +#: library/sqlite3.rst:2278 msgid "" ":class:`!Row` provides indexed and case-insensitive named access to columns, " "with minimal memory overhead and performance impact over a :class:`!tuple`. " @@ -1981,51 +2007,51 @@ msgid "" "attribute:" msgstr "" -#: library/sqlite3.rst:2267 +#: library/sqlite3.rst:2288 msgid "Queries now return :class:`!Row` objects:" msgstr "" -#: library/sqlite3.rst:2282 +#: library/sqlite3.rst:2303 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:2291 +#: library/sqlite3.rst:2312 msgid "" "Using it, queries now return a :class:`!dict` instead of a :class:`!tuple`:" msgstr "" -#: library/sqlite3.rst:2301 +#: library/sqlite3.rst:2322 msgid "The following row factory returns a :term:`named tuple`:" msgstr "" -#: library/sqlite3.rst:2312 +#: library/sqlite3.rst:2333 msgid ":func:`!namedtuple_factory` can be used as follows:" msgstr "" -#: library/sqlite3.rst:2327 +#: library/sqlite3.rst:2348 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:2335 +#: library/sqlite3.rst:2356 msgid "Explanation" msgstr "" -#: library/sqlite3.rst:2340 +#: library/sqlite3.rst:2361 msgid "Transaction control" msgstr "" -#: library/sqlite3.rst:2342 +#: library/sqlite3.rst:2363 msgid "" "The :mod:`!sqlite3` module does not adhere to the transaction handling " "recommended by :pep:`249`." msgstr "" -#: library/sqlite3.rst:2345 +#: library/sqlite3.rst:2366 msgid "" "If the connection attribute :attr:`~Connection.isolation_level` is not " "``None``, new transactions are implicitly opened before :meth:`~Cursor." @@ -2039,7 +2065,7 @@ msgid "" "attribute." msgstr "" -#: library/sqlite3.rst:2358 +#: library/sqlite3.rst:2379 msgid "" "If :attr:`~Connection.isolation_level` is set to ``None``, no transactions " "are implicitly opened at all. This leaves the underlying SQLite library in " @@ -2049,14 +2075,14 @@ msgid "" "in_transaction` attribute." msgstr "" -#: library/sqlite3.rst:2366 +#: library/sqlite3.rst:2387 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:2370 +#: library/sqlite3.rst:2391 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 bc8c2a5e5..fcf418980 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -49,7 +49,7 @@ msgid "" "are not necessarily appropriate for your application." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -548,7 +548,7 @@ msgstr "" msgid "Example::" msgstr "" -#: library/ssl.rst:515 +#: library/ssl.rst:514 msgid ":ref:`Availability `: Windows." msgstr "" diff --git a/library/stdtypes.po b/library/stdtypes.po index 957034a68..7eb7e044b 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: 2023-02-01 18:55-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -145,8 +145,9 @@ msgid "``x or y``" msgstr "``x or y``" #: library/stdtypes.rst:87 -msgid "if *x* is false, then *y*, else *x*" -msgstr "*x* yanlışsa, *y*, aksi halde *x*" +#, fuzzy +msgid "if *x* is true, then *x*, else *y*" +msgstr "*x* yanlışsa, *x*, aksi halde *y*" #: library/stdtypes.rst:285 library/stdtypes.rst:926 library/stdtypes.rst:2377 #: library/stdtypes.rst:3595 @@ -4838,15 +4839,15 @@ msgstr "" #: library/stdtypes.rst:3768 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())``::" +"One-dimensional memoryviews of :term:`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:3780 msgid "" "One-dimensional memoryviews can now be sliced. One-dimensional memoryviews " -"with formats 'B', 'b' or 'c' are now hashable." +"with formats 'B', 'b' or 'c' are now :term:`hashable`." msgstr "" #: library/stdtypes.rst:3784 @@ -5799,12 +5800,13 @@ msgstr "" #: library/stdtypes.rst:4702 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, " -"then the items view is also set-like. (Values views are not treated as set-" -"like since the entries are generally not unique.) For set-like views, all " -"of the operations defined for the abstract base class :class:`collections." -"abc.Set` are available (for example, ``==``, ``<``, or ``^``)." +"Keys views are set-like since their entries are unique and :term:" +"`hashable`. If all values are hashable, so that ``(key, value)`` pairs are " +"unique and hashable, then the items view is also set-like. (Values views " +"are not treated as set-like since the entries are generally not unique.) " +"For set-like views, all of the operations defined for the abstract base " +"class :class:`collections.abc.Set` are available (for example, ``==``, " +"``<``, or ``^``)." msgstr "" #: library/stdtypes.rst:4709 @@ -7107,6 +7109,9 @@ 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 "if *x* is false, then *y*, else *x*" +#~ msgstr "*x* yanlışsa, *y*, aksi halde *x*" + #~ msgid "" #~ "By default, the *errors* argument is not checked for best performances, " #~ "but only used at the first encoding error. Enable the :ref:`Python " diff --git a/library/subprocess.po b/library/subprocess.po index b390b86c4..784b2ffb6 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -41,7 +41,7 @@ msgstr "" msgid ":pep:`324` -- PEP proposing the subprocess module" msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -147,92 +147,101 @@ msgid "" "*universal_newlines*. Added the *capture_output* parameter." msgstr "" -#: library/subprocess.rst:116 +#: library/subprocess.rst:501 library/subprocess.rst:1221 +#: library/subprocess.rst:1284 +msgid "" +"Changed Windows shell search order for ``shell=True``. The current directory " +"and ``%PATH%`` are replaced with ``%COMSPEC%`` and ``%SystemRoot%" +"\\System32\\cmd.exe``. As a result, dropping a malicious program named ``cmd." +"exe`` into a current directory no longer works." +msgstr "" + +#: library/subprocess.rst:124 msgid "" "The return value from :func:`run`, representing a process that has finished." msgstr "" -#: library/subprocess.rst:120 +#: library/subprocess.rst:128 msgid "" "The arguments used to launch the process. This may be a list or a string." msgstr "" -#: library/subprocess.rst:124 +#: library/subprocess.rst:132 msgid "" "Exit status of the child process. Typically, an exit status of 0 indicates " "that it ran successfully." msgstr "" -#: library/subprocess.rst:911 +#: library/subprocess.rst:928 msgid "" "A negative value ``-N`` indicates that the child was terminated by signal " "``N`` (POSIX only)." msgstr "" -#: library/subprocess.rst:132 +#: library/subprocess.rst:140 msgid "" "Captured stdout from the child process. A bytes sequence, or a string if :" "func:`run` was called with an encoding, errors, or text=True. ``None`` if " "stdout was not captured." msgstr "" -#: library/subprocess.rst:136 +#: library/subprocess.rst:144 msgid "" "If you ran the process with ``stderr=subprocess.STDOUT``, stdout and stderr " "will be combined in this attribute, and :attr:`stderr` will be ``None``." msgstr "" -#: library/subprocess.rst:142 +#: library/subprocess.rst:150 msgid "" "Captured stderr from the child process. A bytes sequence, or a string if :" "func:`run` was called with an encoding, errors, or text=True. ``None`` if " "stderr was not captured." msgstr "" -#: library/subprocess.rst:148 +#: library/subprocess.rst:156 msgid "If :attr:`returncode` is non-zero, raise a :exc:`CalledProcessError`." msgstr "" -#: library/subprocess.rst:154 +#: library/subprocess.rst:162 msgid "" "Special value that can be used as the *stdin*, *stdout* or *stderr* argument " "to :class:`Popen` and indicates that the special file :data:`os.devnull` " "will be used." msgstr "" -#: library/subprocess.rst:163 +#: library/subprocess.rst:171 msgid "" "Special value that can be used as the *stdin*, *stdout* or *stderr* argument " "to :class:`Popen` and indicates that a pipe to the standard stream should be " "opened. Most useful with :meth:`Popen.communicate`." msgstr "" -#: library/subprocess.rst:170 +#: library/subprocess.rst:178 msgid "" "Special value that can be used as the *stderr* argument to :class:`Popen` " "and indicates that standard error should go into the same handle as standard " "output." msgstr "" -#: library/subprocess.rst:177 +#: library/subprocess.rst:185 msgid "Base class for all other exceptions from this module." msgstr "" -#: library/subprocess.rst:184 +#: library/subprocess.rst:192 msgid "" "Subclass of :exc:`SubprocessError`, raised when a timeout expires while " "waiting for a child process." msgstr "" -#: library/subprocess.rst:233 +#: library/subprocess.rst:241 msgid "Command that was used to spawn the child process." msgstr "" -#: library/subprocess.rst:193 +#: library/subprocess.rst:201 msgid "Timeout in seconds." msgstr "" -#: library/subprocess.rst:197 +#: library/subprocess.rst:205 msgid "" "Output of the child process if it was captured by :func:`run` or :func:" "`check_output`. Otherwise, ``None``. This is always :class:`bytes` when " @@ -240,11 +249,11 @@ msgid "" "remain ``None`` instead of ``b''`` when no output was observed." msgstr "" -#: library/subprocess.rst:242 +#: library/subprocess.rst:250 msgid "Alias for output, for symmetry with :attr:`stderr`." msgstr "" -#: library/subprocess.rst:209 +#: library/subprocess.rst:217 msgid "" "Stderr output of the child process if it was captured by :func:`run`. " "Otherwise, ``None``. This is always :class:`bytes` when stderr output was " @@ -252,40 +261,40 @@ msgid "" "instead of ``b''`` when no stderr output was observed." msgstr "" -#: library/subprocess.rst:249 +#: library/subprocess.rst:257 msgid "*stdout* and *stderr* attributes added" msgstr "" -#: library/subprocess.rst:221 +#: library/subprocess.rst:229 msgid "" "Subclass of :exc:`SubprocessError`, raised when a process run by :func:" "`check_call`, :func:`check_output`, or :func:`run` (with ``check=True``) " "returns a non-zero exit status." msgstr "" -#: library/subprocess.rst:228 +#: library/subprocess.rst:236 msgid "" "Exit status of the child process. If the process exited due to a signal, " "this will be the negative signal number." msgstr "" -#: library/subprocess.rst:237 +#: library/subprocess.rst:245 msgid "" "Output of the child process if it was captured by :func:`run` or :func:" "`check_output`. Otherwise, ``None``." msgstr "" -#: library/subprocess.rst:246 +#: library/subprocess.rst:254 msgid "" "Stderr output of the child process if it was captured by :func:`run`. " "Otherwise, ``None``." msgstr "" -#: library/subprocess.rst:256 +#: library/subprocess.rst:264 msgid "Frequently Used Arguments" msgstr "" -#: library/subprocess.rst:258 +#: library/subprocess.rst:266 msgid "" "To support a wide variety of use cases, the :class:`Popen` constructor (and " "the convenience functions) accept a large number of optional arguments. For " @@ -293,7 +302,7 @@ msgid "" "default values. The arguments that are most commonly needed are:" msgstr "" -#: library/subprocess.rst:263 +#: library/subprocess.rst:271 msgid "" "*args* is required for all calls and should be a string, or a sequence of " "program arguments. Providing a sequence of arguments is generally preferred, " @@ -303,7 +312,7 @@ msgid "" "simply name the program to be executed without specifying any arguments." msgstr "" -#: library/subprocess.rst:271 +#: library/subprocess.rst:279 msgid "" "*stdin*, *stdout* and *stderr* specify the executed program's standard " "input, standard output and standard error file handles, respectively. Valid " @@ -318,7 +327,7 @@ msgid "" "handle as for *stdout*." msgstr "" -#: library/subprocess.rst:286 +#: library/subprocess.rst:294 msgid "" "If *encoding* or *errors* are specified, or *text* (also known as " "*universal_newlines*) is true, the file objects *stdin*, *stdout* and " @@ -326,7 +335,7 @@ msgid "" "specified in the call or the defaults for :class:`io.TextIOWrapper`." msgstr "" -#: library/subprocess.rst:292 +#: library/subprocess.rst:300 msgid "" "For *stdin*, line ending characters ``'\\n'`` in the input will be converted " "to the default line separator :data:`os.linesep`. For *stdout* and *stderr*, " @@ -335,28 +344,28 @@ msgid "" "when the *newline* argument to its constructor is ``None``." msgstr "" -#: library/subprocess.rst:298 +#: library/subprocess.rst:306 msgid "" "If text mode is not used, *stdin*, *stdout* and *stderr* will be opened as " "binary streams. No encoding or line ending conversion is performed." msgstr "" -#: library/subprocess.rst:301 +#: library/subprocess.rst:309 msgid "Added *encoding* and *errors* parameters." msgstr "" -#: library/subprocess.rst:304 +#: library/subprocess.rst:312 msgid "Added the *text* parameter as an alias for *universal_newlines*." msgstr "" -#: library/subprocess.rst:309 +#: library/subprocess.rst:317 msgid "" "The newlines attribute of the file objects :attr:`Popen.stdin`, :attr:`Popen." "stdout` and :attr:`Popen.stderr` are not updated by the :meth:`Popen." "communicate` method." msgstr "" -#: library/subprocess.rst:313 +#: library/subprocess.rst:321 msgid "" "If *shell* is ``True``, the specified command will be executed through the " "shell. This can be useful if you are using Python primarily for the " @@ -369,7 +378,7 @@ msgid "" "expanduser`, and :mod:`shutil`)." msgstr "" -#: library/subprocess.rst:323 +#: library/subprocess.rst:331 msgid "" "When *universal_newlines* is ``True``, the class uses the encoding :func:" "`locale.getpreferredencoding(False) ` instead " @@ -377,22 +386,22 @@ msgid "" "class for more information on this change." msgstr "" -#: library/subprocess.rst:452 +#: library/subprocess.rst:460 msgid "" "Read the `Security Considerations`_ section before using ``shell=True``." msgstr "" -#: library/subprocess.rst:333 +#: library/subprocess.rst:341 msgid "" "These options, along with all of the other options, are described in more " "detail in the :class:`Popen` constructor documentation." msgstr "" -#: library/subprocess.rst:338 +#: library/subprocess.rst:346 msgid "Popen Constructor" msgstr "" -#: library/subprocess.rst:340 +#: library/subprocess.rst:348 msgid "" "The underlying process creation and management in this module is handled by " "the :class:`Popen` class. It offers a lot of flexibility so that developers " @@ -400,7 +409,7 @@ msgid "" "functions." msgstr "" -#: library/subprocess.rst:355 +#: library/subprocess.rst:363 msgid "" "Execute a child program in a new process. On POSIX, the class uses :meth:" "`os.execvpe`-like behavior to execute the child program. On Windows, the " @@ -408,7 +417,7 @@ msgid "" "class:`Popen` are as follows." msgstr "" -#: library/subprocess.rst:360 +#: library/subprocess.rst:368 msgid "" "*args* should be a sequence of program arguments or else a single string or :" "term:`path-like object`. By default, the program to execute is the first " @@ -419,7 +428,7 @@ msgid "" "sequence." msgstr "" -#: library/subprocess.rst:370 +#: library/subprocess.rst:378 msgid "" "For maximum reliability, use a fully qualified path for the executable. To " "search for an unqualified name on :envvar:`PATH`, use :meth:`shutil.which`. " @@ -428,7 +437,7 @@ msgid "" "format to launch an installed module." msgstr "" -#: library/subprocess.rst:376 +#: library/subprocess.rst:384 msgid "" "Resolving the path of *executable* (or the first item of *args*) is platform " "dependent. For POSIX, see :meth:`os.execvpe`, and note that when resolving " @@ -442,27 +451,27 @@ msgid "" "variations." msgstr "" -#: library/subprocess.rst:387 +#: library/subprocess.rst:395 msgid "" "An example of passing some arguments to an external program as a sequence " "is::" msgstr "" -#: library/subprocess.rst:392 +#: library/subprocess.rst:400 msgid "" "On POSIX, if *args* is a string, the string is interpreted as the name or " "path of the program to execute. However, this can only be done if not " "passing arguments to the program." msgstr "" -#: library/subprocess.rst:398 +#: library/subprocess.rst:406 msgid "" "It may not be obvious how to break a shell command into a sequence of " "arguments, especially in complex cases. :meth:`shlex.split` can illustrate " "how to determine the correct tokenization for *args*::" msgstr "" -#: library/subprocess.rst:410 +#: library/subprocess.rst:418 msgid "" "Note in particular that options (such as *-input*) and arguments (such as " "*eggs.txt*) that are separated by whitespace in the shell go in separate " @@ -471,33 +480,33 @@ msgid "" "shown above) are single list elements." msgstr "" -#: library/subprocess.rst:416 +#: library/subprocess.rst:424 msgid "" "On Windows, if *args* is a sequence, it will be converted to a string in a " "manner described in :ref:`converting-argument-sequence`. This is because " "the underlying ``CreateProcess()`` operates on strings." msgstr "" -#: library/subprocess.rst:420 +#: library/subprocess.rst:428 msgid "" "*args* parameter accepts a :term:`path-like object` if *shell* is ``False`` " "and a sequence containing path-like objects on POSIX." msgstr "" -#: library/subprocess.rst:424 +#: library/subprocess.rst:432 msgid "" "*args* parameter accepts a :term:`path-like object` if *shell* is ``False`` " "and a sequence containing bytes and path-like objects on Windows." msgstr "" -#: library/subprocess.rst:429 +#: library/subprocess.rst:437 msgid "" "The *shell* argument (which defaults to ``False``) specifies whether to use " "the shell as the program to execute. If *shell* is ``True``, it is " "recommended to pass *args* as a string rather than as a sequence." msgstr "" -#: library/subprocess.rst:433 +#: library/subprocess.rst:441 msgid "" "On POSIX with ``shell=True``, the shell defaults to :file:`/bin/sh`. If " "*args* is a string, the string specifies the command to execute through the " @@ -509,7 +518,7 @@ msgid "" "class:`Popen` does the equivalent of::" msgstr "" -#: library/subprocess.rst:444 +#: library/subprocess.rst:452 msgid "" "On Windows with ``shell=True``, the :envvar:`COMSPEC` environment variable " "specifies the default shell. The only time you need to specify " @@ -518,35 +527,35 @@ msgid "" "``shell=True`` to run a batch file or console-based executable." msgstr "" -#: library/subprocess.rst:454 +#: library/subprocess.rst:462 msgid "" "*bufsize* will be supplied as the corresponding argument to the :func:`open` " "function when creating the stdin/stdout/stderr pipe file objects:" msgstr "" -#: library/subprocess.rst:458 +#: library/subprocess.rst:466 msgid "" ":const:`0` means unbuffered (read and write are one system call and can " "return short)" msgstr "" -#: library/subprocess.rst:460 +#: library/subprocess.rst:468 msgid "" -":const:`1` means line buffered (only usable if ``universal_newlines=True`` i." -"e., in a text mode)" +":const:`1` means line buffered (only usable if ``text=True`` or " +"``universal_newlines=True``)" msgstr "" -#: library/subprocess.rst:462 +#: library/subprocess.rst:470 msgid "any other positive value means use a buffer of approximately that size" msgstr "" -#: library/subprocess.rst:464 +#: library/subprocess.rst:472 msgid "" "negative bufsize (the default) means the system default of io." "DEFAULT_BUFFER_SIZE will be used." msgstr "" -#: library/subprocess.rst:467 +#: library/subprocess.rst:475 msgid "" "*bufsize* now defaults to -1 to enable buffering by default to match the " "behavior that most code expects. In versions prior to Python 3.2.4 and " @@ -555,7 +564,7 @@ msgid "" "of Python 2 as most code expected." msgstr "" -#: library/subprocess.rst:474 +#: library/subprocess.rst:482 msgid "" "The *executable* argument specifies a replacement program to execute. It " "is very seldom needed. When ``shell=False``, *executable* replaces the " @@ -568,17 +577,17 @@ msgid "" "default :file:`/bin/sh`." msgstr "" -#: library/subprocess.rst:484 +#: library/subprocess.rst:492 msgid "*executable* parameter accepts a :term:`path-like object` on POSIX." msgstr "" -#: library/subprocess.rst:487 +#: library/subprocess.rst:495 msgid "" "*executable* parameter accepts a bytes and :term:`path-like object` on " "Windows." msgstr "" -#: library/subprocess.rst:491 +#: library/subprocess.rst:507 msgid "" "*stdin*, *stdout* and *stderr* specify the executed program's standard " "input, standard output and standard error file handles, respectively. Valid " @@ -593,19 +602,19 @@ msgid "" "handle as for stdout." msgstr "" -#: library/subprocess.rst:503 +#: library/subprocess.rst:519 msgid "" "If *preexec_fn* is set to a callable object, this object will be called in " "the child process just before the child is executed. (POSIX only)" msgstr "" -#: library/subprocess.rst:509 +#: library/subprocess.rst:525 msgid "" "The *preexec_fn* parameter is NOT SAFE to use in the presence of threads in " "your application. The child process could deadlock before exec is called." msgstr "" -#: library/subprocess.rst:515 +#: library/subprocess.rst:531 msgid "" "If you need to modify the environment for the child use the *env* parameter " "rather than doing it in a *preexec_fn*. The *start_new_session* and " @@ -613,7 +622,7 @@ msgid "" "to call :func:`os.setsid` or :func:`os.setpgid` in the child." msgstr "" -#: library/subprocess.rst:522 +#: library/subprocess.rst:538 msgid "" "The *preexec_fn* parameter is no longer supported in subinterpreters. The " "use of the parameter in a subinterpreter raises :exc:`RuntimeError`. The new " @@ -621,7 +630,7 @@ msgid "" "and other embedded environments." msgstr "" -#: library/subprocess.rst:527 +#: library/subprocess.rst:543 msgid "" "If *close_fds* is true, all file descriptors except :const:`0`, :const:`1` " "and :const:`2` will be closed before the child process is executed. " @@ -629,38 +638,38 @@ msgid "" "flag as described in :ref:`fd_inheritance`." msgstr "" -#: library/subprocess.rst:532 +#: library/subprocess.rst:548 msgid "" "On Windows, if *close_fds* is true then no handles will be inherited by the " "child process unless explicitly passed in the ``handle_list`` element of :" "attr:`STARTUPINFO.lpAttributeList`, or by standard handle redirection." msgstr "" -#: library/subprocess.rst:536 +#: library/subprocess.rst:552 msgid "" "The default for *close_fds* was changed from :const:`False` to what is " "described above." msgstr "" -#: library/subprocess.rst:540 +#: library/subprocess.rst:556 msgid "" "On Windows the default for *close_fds* was changed from :const:`False` to :" "const:`True` when redirecting the standard handles. It's now possible to set " "*close_fds* to :const:`True` when redirecting the standard handles." msgstr "" -#: library/subprocess.rst:545 +#: library/subprocess.rst:561 msgid "" "*pass_fds* is an optional sequence of file descriptors to keep open between " "the parent and child. Providing any *pass_fds* forces *close_fds* to be :" "const:`True`. (POSIX only)" msgstr "" -#: library/subprocess.rst:549 +#: library/subprocess.rst:565 msgid "The *pass_fds* parameter was added." msgstr "" -#: library/subprocess.rst:552 +#: library/subprocess.rst:568 msgid "" "If *cwd* is not ``None``, the function changes the working directory to " "*cwd* before executing the child. *cwd* can be a string, bytes or :term:" @@ -669,56 +678,56 @@ msgid "" "executable path is a relative path." msgstr "" -#: library/subprocess.rst:558 +#: library/subprocess.rst:574 msgid "*cwd* parameter accepts a :term:`path-like object` on POSIX." msgstr "" -#: library/subprocess.rst:561 +#: library/subprocess.rst:577 msgid "*cwd* parameter accepts a :term:`path-like object` on Windows." msgstr "" -#: library/subprocess.rst:564 +#: library/subprocess.rst:580 msgid "*cwd* parameter accepts a bytes object on Windows." msgstr "" -#: library/subprocess.rst:567 +#: library/subprocess.rst:583 msgid "" "If *restore_signals* is true (the default) all signals that Python has set " "to SIG_IGN are restored to SIG_DFL in the child process before the exec. " "Currently this includes the SIGPIPE, SIGXFZ and SIGXFSZ signals. (POSIX only)" msgstr "" -#: library/subprocess.rst:572 +#: library/subprocess.rst:588 msgid "*restore_signals* was added." msgstr "" -#: library/subprocess.rst:575 +#: library/subprocess.rst:591 msgid "" "If *start_new_session* is true the ``setsid()`` system call will be made in " "the child process prior to the execution of the subprocess." msgstr "" -#: library/subprocess.rst:585 library/subprocess.rst:604 -#: library/subprocess.rst:619 +#: library/subprocess.rst:601 library/subprocess.rst:620 +#: library/subprocess.rst:635 msgid ":ref:`Availability `: POSIX" msgstr "" -#: library/subprocess.rst:579 +#: library/subprocess.rst:595 msgid "*start_new_session* was added." msgstr "" -#: library/subprocess.rst:582 +#: library/subprocess.rst:598 msgid "" "If *process_group* is a non-negative integer, the ``setpgid(0, value)`` " "system call will be made in the child process prior to the execution of the " "subprocess." msgstr "" -#: library/subprocess.rst:586 +#: library/subprocess.rst:602 msgid "*process_group* was added." msgstr "" -#: library/subprocess.rst:589 +#: library/subprocess.rst:605 msgid "" "If *group* is not ``None``, the setregid() system call will be made in the " "child process prior to the execution of the subprocess. If the provided " @@ -727,7 +736,7 @@ msgid "" "passed verbatim. (POSIX only)" msgstr "" -#: library/subprocess.rst:598 +#: library/subprocess.rst:614 msgid "" "If *extra_groups* is not ``None``, the setgroups() system call will be made " "in the child process prior to the execution of the subprocess. Strings " @@ -736,7 +745,7 @@ msgid "" "verbatim. (POSIX only)" msgstr "" -#: library/subprocess.rst:607 +#: library/subprocess.rst:623 msgid "" "If *user* is not ``None``, the setreuid() system call will be made in the " "child process prior to the execution of the subprocess. If the provided " @@ -745,13 +754,13 @@ msgid "" "passed verbatim. (POSIX only)" msgstr "" -#: library/subprocess.rst:616 +#: library/subprocess.rst:632 msgid "" "If *umask* is not negative, the umask() system call will be made in the " "child process prior to the execution of the subprocess." msgstr "" -#: library/subprocess.rst:622 +#: library/subprocess.rst:638 msgid "" "If *env* is not ``None``, it must be a mapping that defines the environment " "variables for the new process; these are used instead of the default " @@ -760,14 +769,14 @@ msgid "" "data:`os.environ` or :data:`os.environb`." msgstr "" -#: library/subprocess.rst:630 +#: library/subprocess.rst:646 msgid "" "If specified, *env* must provide any variables required for the program to " "execute. On Windows, in order to run a `side-by-side assembly`_ the " "specified *env* **must** include a valid :envvar:`SystemRoot`." msgstr "" -#: library/subprocess.rst:636 +#: library/subprocess.rst:652 msgid "" "If *encoding* or *errors* are specified, or *text* is true, the file objects " "*stdin*, *stdout* and *stderr* are opened in text mode with the specified " @@ -777,70 +786,70 @@ msgid "" "in binary mode." msgstr "" -#: library/subprocess.rst:642 +#: library/subprocess.rst:658 msgid "*encoding* and *errors* were added." msgstr "" -#: library/subprocess.rst:1246 +#: library/subprocess.rst:1279 msgid "*text* was added as a more readable alias for *universal_newlines*." msgstr "" -#: library/subprocess.rst:648 +#: library/subprocess.rst:664 msgid "" "If given, *startupinfo* will be a :class:`STARTUPINFO` object, which is " "passed to the underlying ``CreateProcess`` function. *creationflags*, if " "given, can be one or more of the following flags:" msgstr "" -#: library/subprocess.rst:652 +#: library/subprocess.rst:668 msgid ":data:`CREATE_NEW_CONSOLE`" msgstr "" -#: library/subprocess.rst:653 +#: library/subprocess.rst:669 msgid ":data:`CREATE_NEW_PROCESS_GROUP`" msgstr "" -#: library/subprocess.rst:654 +#: library/subprocess.rst:670 msgid ":data:`ABOVE_NORMAL_PRIORITY_CLASS`" msgstr "" -#: library/subprocess.rst:655 +#: library/subprocess.rst:671 msgid ":data:`BELOW_NORMAL_PRIORITY_CLASS`" msgstr "" -#: library/subprocess.rst:656 +#: library/subprocess.rst:672 msgid ":data:`HIGH_PRIORITY_CLASS`" msgstr "" -#: library/subprocess.rst:657 +#: library/subprocess.rst:673 msgid ":data:`IDLE_PRIORITY_CLASS`" msgstr "" -#: library/subprocess.rst:658 +#: library/subprocess.rst:674 msgid ":data:`NORMAL_PRIORITY_CLASS`" msgstr "" -#: library/subprocess.rst:659 +#: library/subprocess.rst:675 msgid ":data:`REALTIME_PRIORITY_CLASS`" msgstr "" -#: library/subprocess.rst:660 +#: library/subprocess.rst:676 msgid ":data:`CREATE_NO_WINDOW`" msgstr "" -#: library/subprocess.rst:661 +#: library/subprocess.rst:677 msgid ":data:`DETACHED_PROCESS`" msgstr "" -#: library/subprocess.rst:662 +#: library/subprocess.rst:678 msgid ":data:`CREATE_DEFAULT_ERROR_MODE`" msgstr "" -#: library/subprocess.rst:663 +#: library/subprocess.rst:679 msgid ":data:`CREATE_BREAKAWAY_FROM_JOB`" msgstr "" -#: library/subprocess.rst:665 +#: library/subprocess.rst:681 msgid "" "*pipesize* can be used to change the size of the pipe when :data:`PIPE` is " "used for *stdin*, *stdout* or *stderr*. The size of the pipe is only changed " @@ -848,24 +857,24 @@ msgid "" "platforms will ignore this parameter." msgstr "" -#: library/subprocess.rst:670 +#: library/subprocess.rst:686 msgid "The ``pipesize`` parameter was added." msgstr "" -#: library/subprocess.rst:673 +#: library/subprocess.rst:689 msgid "" "Popen objects are supported as context managers via the :keyword:`with` " "statement: on exit, standard file descriptors are closed, and the process is " "waited for. ::" msgstr "" -#: library/subprocess.rst:326 +#: library/subprocess.rst:334 msgid "" "Raises an :ref:`auditing event ` ``subprocess.Popen`` with " "arguments ``executable``, ``args``, ``cwd``, ``env``." msgstr "" -#: library/subprocess.rst:682 +#: library/subprocess.rst:698 msgid "" "Popen and the other functions in this module that use it raise an :ref:" "`auditing event ` ``subprocess.Popen`` with arguments " @@ -873,17 +882,17 @@ msgid "" "be a single string or a list of strings, depending on platform." msgstr "" -#: library/subprocess.rst:687 +#: library/subprocess.rst:703 msgid "Added context manager support." msgstr "" -#: library/subprocess.rst:690 +#: library/subprocess.rst:706 msgid "" "Popen destructor now emits a :exc:`ResourceWarning` warning if the child " "process is still running." msgstr "" -#: library/subprocess.rst:694 +#: library/subprocess.rst:710 msgid "" "Popen can use :func:`os.posix_spawn` in some cases for better performance. " "On Windows Subsystem for Linux and QEMU User Emulation, Popen constructor " @@ -892,17 +901,17 @@ msgid "" "returncode`." msgstr "" -#: library/subprocess.rst:703 +#: library/subprocess.rst:719 msgid "Exceptions" msgstr "" -#: library/subprocess.rst:705 +#: library/subprocess.rst:721 msgid "" "Exceptions raised in the child process, before the new program has started " "to execute, will be re-raised in the parent." msgstr "" -#: library/subprocess.rst:708 +#: library/subprocess.rst:724 msgid "" "The most common exception raised is :exc:`OSError`. This occurs, for " "example, when trying to execute a non-existent file. Applications should " @@ -913,39 +922,39 @@ msgid "" "subprocess." msgstr "" -#: library/subprocess.rst:715 +#: library/subprocess.rst:731 msgid "" "A :exc:`ValueError` will be raised if :class:`Popen` is called with invalid " "arguments." msgstr "" -#: library/subprocess.rst:718 +#: library/subprocess.rst:734 msgid "" ":func:`check_call` and :func:`check_output` will raise :exc:" "`CalledProcessError` if the called process returns a non-zero return code." msgstr "" -#: library/subprocess.rst:722 +#: library/subprocess.rst:738 msgid "" "All of the functions and methods that accept a *timeout* parameter, such as :" "func:`call` and :meth:`Popen.communicate` will raise :exc:`TimeoutExpired` " "if the timeout expires before the process exits." msgstr "" -#: library/subprocess.rst:726 +#: library/subprocess.rst:742 msgid "" "Exceptions defined in this module all inherit from :exc:`SubprocessError`." msgstr "" -#: library/subprocess.rst:728 +#: library/subprocess.rst:744 msgid "The :exc:`SubprocessError` base class was added." msgstr "" -#: library/subprocess.rst:734 +#: library/subprocess.rst:750 msgid "Security Considerations" msgstr "" -#: library/subprocess.rst:736 +#: library/subprocess.rst:752 msgid "" "Unlike some other popen functions, this implementation will never implicitly " "call a system shell. This means that all characters, including shell " @@ -958,34 +967,34 @@ msgid "" "escaping." msgstr "" -#: library/subprocess.rst:748 +#: library/subprocess.rst:764 msgid "Popen Objects" msgstr "" -#: library/subprocess.rst:750 +#: library/subprocess.rst:766 msgid "Instances of the :class:`Popen` class have the following methods:" msgstr "" -#: library/subprocess.rst:755 +#: library/subprocess.rst:771 msgid "" "Check if child process has terminated. Set and return :attr:`~Popen." "returncode` attribute. Otherwise, returns ``None``." msgstr "" -#: library/subprocess.rst:761 +#: library/subprocess.rst:777 msgid "" "Wait for child process to terminate. Set and return :attr:`~Popen." "returncode` attribute." msgstr "" -#: library/subprocess.rst:764 +#: library/subprocess.rst:780 msgid "" "If the process does not terminate after *timeout* seconds, raise a :exc:" "`TimeoutExpired` exception. It is safe to catch this exception and retry " "the wait." msgstr "" -#: library/subprocess.rst:770 +#: library/subprocess.rst:786 msgid "" "This will deadlock when using ``stdout=PIPE`` or ``stderr=PIPE`` and the " "child process generates enough output to a pipe such that it blocks waiting " @@ -993,19 +1002,19 @@ msgid "" "when using pipes to avoid that." msgstr "" -#: library/subprocess.rst:777 +#: library/subprocess.rst:793 msgid "" "The function is implemented using a busy loop (non-blocking call and short " "sleeps). Use the :mod:`asyncio` module for an asynchronous wait: see :class:" "`asyncio.create_subprocess_exec`." msgstr "" -#: library/subprocess.rst:822 library/subprocess.rst:1191 -#: library/subprocess.rst:1237 +#: library/subprocess.rst:838 library/subprocess.rst:1216 +#: library/subprocess.rst:1270 msgid "*timeout* was added." msgstr "" -#: library/subprocess.rst:786 +#: library/subprocess.rst:802 msgid "" "Interact with process: Send data to stdin. Read data from stdout and " "stderr, until end-of-file is reached. Wait for process to terminate and set " @@ -1015,13 +1024,13 @@ msgid "" "must be a string. Otherwise, it must be bytes." msgstr "" -#: library/subprocess.rst:793 +#: library/subprocess.rst:809 msgid "" ":meth:`communicate` returns a tuple ``(stdout_data, stderr_data)``. The data " "will be strings if streams were opened in text mode; otherwise, bytes." msgstr "" -#: library/subprocess.rst:797 +#: library/subprocess.rst:813 msgid "" "Note that if you want to send data to the process's stdin, you need to " "create the Popen object with ``stdin=PIPE``. Similarly, to get anything " @@ -1029,94 +1038,96 @@ msgid "" "and/or ``stderr=PIPE`` too." msgstr "" -#: library/subprocess.rst:802 +#: library/subprocess.rst:818 msgid "" "If the process does not terminate after *timeout* seconds, a :exc:" "`TimeoutExpired` exception will be raised. Catching this exception and " "retrying communication will not lose any output." msgstr "" -#: library/subprocess.rst:806 +#: library/subprocess.rst:822 msgid "" "The child process is not killed if the timeout expires, so in order to " "cleanup properly a well-behaved application should kill the child process " "and finish communication::" msgstr "" -#: library/subprocess.rst:819 +#: library/subprocess.rst:835 msgid "" "The data read is buffered in memory, so do not use this method if the data " "size is large or unlimited." msgstr "" -#: library/subprocess.rst:828 +#: library/subprocess.rst:844 msgid "Sends the signal *signal* to the child." msgstr "" -#: library/subprocess.rst:830 +#: library/subprocess.rst:846 msgid "Do nothing if the process completed." msgstr "" -#: library/subprocess.rst:834 +#: library/subprocess.rst:850 msgid "" "On Windows, SIGTERM is an alias for :meth:`terminate`. CTRL_C_EVENT and " "CTRL_BREAK_EVENT can be sent to processes started with a *creationflags* " "parameter which includes ``CREATE_NEW_PROCESS_GROUP``." msgstr "" -#: library/subprocess.rst:841 +#: library/subprocess.rst:857 msgid "" "Stop the child. On POSIX OSs the method sends SIGTERM to the child. On " "Windows the Win32 API function :c:func:`TerminateProcess` is called to stop " "the child." msgstr "" -#: library/subprocess.rst:848 +#: library/subprocess.rst:864 msgid "" "Kills the child. On POSIX OSs the function sends SIGKILL to the child. On " "Windows :meth:`kill` is an alias for :meth:`terminate`." msgstr "" -#: library/subprocess.rst:852 -msgid "The following attributes are also available:" +#: library/subprocess.rst:868 +msgid "" +"The following attributes are also set by the class for you to access. " +"Reassigning them to new values is unsupported:" msgstr "" -#: library/subprocess.rst:856 +#: library/subprocess.rst:873 msgid "" "The *args* argument as it was passed to :class:`Popen` -- a sequence of " "program arguments or else a single string." msgstr "" -#: library/subprocess.rst:863 +#: library/subprocess.rst:880 msgid "" "If the *stdin* argument was :data:`PIPE`, this attribute is a writeable " "stream object as returned by :func:`open`. If the *encoding* or *errors* " -"arguments were specified or the *universal_newlines* argument was ``True``, " -"the stream is a text stream, otherwise it is a byte stream. If the *stdin* " -"argument was not :data:`PIPE`, this attribute is ``None``." +"arguments were specified or the *text* or *universal_newlines* argument was " +"``True``, the stream is a text stream, otherwise it is a byte stream. If the " +"*stdin* argument was not :data:`PIPE`, this attribute is ``None``." msgstr "" -#: library/subprocess.rst:872 +#: library/subprocess.rst:889 msgid "" "If the *stdout* argument was :data:`PIPE`, this attribute is a readable " "stream object as returned by :func:`open`. Reading from the stream provides " "output from the child process. If the *encoding* or *errors* arguments were " -"specified or the *universal_newlines* argument was ``True``, the stream is a " -"text stream, otherwise it is a byte stream. If the *stdout* argument was " -"not :data:`PIPE`, this attribute is ``None``." +"specified or the *text* or *universal_newlines* argument was ``True``, the " +"stream is a text stream, otherwise it is a byte stream. If the *stdout* " +"argument was not :data:`PIPE`, this attribute is ``None``." msgstr "" -#: library/subprocess.rst:882 +#: library/subprocess.rst:899 msgid "" "If the *stderr* argument was :data:`PIPE`, this attribute is a readable " "stream object as returned by :func:`open`. Reading from the stream provides " "error output from the child process. If the *encoding* or *errors* arguments " -"were specified or the *universal_newlines* argument was ``True``, the stream " -"is a text stream, otherwise it is a byte stream. If the *stderr* argument " -"was not :data:`PIPE`, this attribute is ``None``." +"were specified or the *text* or *universal_newlines* argument was ``True``, " +"the stream is a text stream, otherwise it is a byte stream. If the *stderr* " +"argument was not :data:`PIPE`, this attribute is ``None``." msgstr "" -#: library/subprocess.rst:891 +#: library/subprocess.rst:908 msgid "" "Use :meth:`~Popen.communicate` rather than :attr:`.stdin.write `, :attr:`.stdout.read ` or :attr:`.stderr.read `__ structure is used for :class:`Popen` " @@ -1159,38 +1170,38 @@ msgid "" "only arguments." msgstr "" -#: library/subprocess.rst:929 +#: library/subprocess.rst:946 msgid "Keyword-only argument support was added." msgstr "" -#: library/subprocess.rst:934 +#: library/subprocess.rst:951 msgid "" "A bit field that determines whether certain :class:`STARTUPINFO` attributes " "are used when the process creates a window. ::" msgstr "" -#: library/subprocess.rst:942 +#: library/subprocess.rst:959 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute is " "the standard input handle for the process. If :data:`STARTF_USESTDHANDLES` " "is not specified, the default for standard input is the keyboard buffer." msgstr "" -#: library/subprocess.rst:949 +#: library/subprocess.rst:966 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute is " "the standard output handle for the process. Otherwise, this attribute is " "ignored and the default for standard output is the console window's buffer." msgstr "" -#: library/subprocess.rst:956 +#: library/subprocess.rst:973 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute is " "the standard error handle for the process. Otherwise, this attribute is " "ignored and the default for standard error is the console window's buffer." msgstr "" -#: library/subprocess.rst:962 +#: library/subprocess.rst:979 msgid "" "If :attr:`dwFlags` specifies :data:`STARTF_USESHOWWINDOW`, this attribute " "can be any of the values that can be specified in the ``nCmdShow`` parameter " @@ -1199,34 +1210,34 @@ msgid "" "Otherwise, this attribute is ignored." msgstr "" -#: library/subprocess.rst:969 +#: library/subprocess.rst:986 msgid "" ":data:`SW_HIDE` is provided for this attribute. It is used when :class:" "`Popen` is called with ``shell=True``." msgstr "" -#: library/subprocess.rst:974 +#: library/subprocess.rst:991 msgid "" "A dictionary of additional attributes for process creation as given in " "``STARTUPINFOEX``, see `UpdateProcThreadAttribute `__." msgstr "" -#: library/subprocess.rst:978 +#: library/subprocess.rst:995 msgid "Supported attributes:" msgstr "" -#: library/subprocess.rst:996 +#: library/subprocess.rst:1013 msgid "**handle_list**" msgstr "" -#: library/subprocess.rst:981 +#: library/subprocess.rst:998 msgid "" "Sequence of handles that will be inherited. *close_fds* must be true if non-" "empty." msgstr "" -#: library/subprocess.rst:984 +#: library/subprocess.rst:1001 msgid "" "The handles must be temporarily made inheritable by :func:`os." "set_handle_inheritable` when passed to the :class:`Popen` constructor, else :" @@ -1234,7 +1245,7 @@ msgid "" "``ERROR_INVALID_PARAMETER`` (87)." msgstr "" -#: library/subprocess.rst:991 +#: library/subprocess.rst:1008 msgid "" "In a multithreaded process, use caution to avoid leaking handles that are " "marked inheritable when combining this feature with concurrent calls to " @@ -1243,97 +1254,97 @@ msgid "" "temporarily creates inheritable handles." msgstr "" -#: library/subprocess.rst:1001 +#: library/subprocess.rst:1018 msgid "Windows Constants" msgstr "" -#: library/subprocess.rst:1003 +#: library/subprocess.rst:1020 msgid "The :mod:`subprocess` module exposes the following constants." msgstr "" -#: library/subprocess.rst:1007 +#: library/subprocess.rst:1024 msgid "" "The standard input device. Initially, this is the console input buffer, " "``CONIN$``." msgstr "" -#: library/subprocess.rst:1012 +#: library/subprocess.rst:1029 msgid "" "The standard output device. Initially, this is the active console screen " "buffer, ``CONOUT$``." msgstr "" -#: library/subprocess.rst:1017 +#: library/subprocess.rst:1034 msgid "" "The standard error device. Initially, this is the active console screen " "buffer, ``CONOUT$``." msgstr "" -#: library/subprocess.rst:1022 +#: library/subprocess.rst:1039 msgid "Hides the window. Another window will be activated." msgstr "" -#: library/subprocess.rst:1026 +#: library/subprocess.rst:1043 msgid "" "Specifies that the :attr:`STARTUPINFO.hStdInput`, :attr:`STARTUPINFO." "hStdOutput`, and :attr:`STARTUPINFO.hStdError` attributes contain additional " "information." msgstr "" -#: library/subprocess.rst:1032 +#: library/subprocess.rst:1049 msgid "" "Specifies that the :attr:`STARTUPINFO.wShowWindow` attribute contains " "additional information." msgstr "" -#: library/subprocess.rst:1037 +#: library/subprocess.rst:1054 msgid "" "The new process has a new console, instead of inheriting its parent's " "console (the default)." msgstr "" -#: library/subprocess.rst:1042 +#: library/subprocess.rst:1059 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "group will be created. This flag is necessary for using :func:`os.kill` on " "the subprocess." msgstr "" -#: library/subprocess.rst:1046 +#: library/subprocess.rst:1063 msgid "This flag is ignored if :data:`CREATE_NEW_CONSOLE` is specified." msgstr "" -#: library/subprocess.rst:1050 +#: library/subprocess.rst:1067 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an above average priority." msgstr "" -#: library/subprocess.rst:1057 +#: library/subprocess.rst:1074 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have a below average priority." msgstr "" -#: library/subprocess.rst:1064 +#: library/subprocess.rst:1081 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have a high priority." msgstr "" -#: library/subprocess.rst:1071 +#: library/subprocess.rst:1088 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an idle (lowest) priority." msgstr "" -#: library/subprocess.rst:1078 +#: library/subprocess.rst:1095 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have an normal priority. (default)" msgstr "" -#: library/subprocess.rst:1085 +#: library/subprocess.rst:1102 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will have realtime priority. You should almost never use " @@ -1343,20 +1354,20 @@ msgid "" "perform brief tasks that should have limited interruptions." msgstr "" -#: library/subprocess.rst:1096 +#: library/subprocess.rst:1113 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will not create a window." msgstr "" -#: library/subprocess.rst:1103 +#: library/subprocess.rst:1120 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "will not inherit its parent's console. This value cannot be used with " "CREATE_NEW_CONSOLE." msgstr "" -#: library/subprocess.rst:1111 +#: library/subprocess.rst:1128 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "does not inherit the error mode of the calling process. Instead, the new " @@ -1364,39 +1375,39 @@ msgid "" "multithreaded shell applications that run with hard errors disabled." msgstr "" -#: library/subprocess.rst:1121 +#: library/subprocess.rst:1138 msgid "" "A :class:`Popen` ``creationflags`` parameter to specify that a new process " "is not associated with the job." msgstr "" -#: library/subprocess.rst:1129 +#: library/subprocess.rst:1146 msgid "Older high-level API" msgstr "" -#: library/subprocess.rst:1131 +#: library/subprocess.rst:1148 msgid "" "Prior to Python 3.5, these three functions comprised the high level API to " "subprocess. You can now use :func:`run` in many cases, but lots of existing " "code calls these functions." msgstr "" -#: library/subprocess.rst:1138 +#: library/subprocess.rst:1155 msgid "" "Run the command described by *args*. Wait for command to complete, then " "return the :attr:`~Popen.returncode` attribute." msgstr "" -#: library/subprocess.rst:1173 +#: library/subprocess.rst:1198 msgid "" "Code needing to capture stdout or stderr should use :func:`run` instead::" msgstr "" -#: library/subprocess.rst:1177 +#: library/subprocess.rst:1202 msgid "To suppress stdout or stderr, supply a value of :data:`DEVNULL`." msgstr "" -#: library/subprocess.rst:1179 +#: library/subprocess.rst:1204 msgid "" "The arguments shown above are merely some common ones. The full function " "signature is the same as that of the :class:`Popen` constructor - this " @@ -1404,14 +1415,14 @@ msgid "" "to that interface." msgstr "" -#: library/subprocess.rst:1186 +#: library/subprocess.rst:1211 msgid "" "Do not use ``stdout=PIPE`` or ``stderr=PIPE`` with this function. The child " "process will block if it generates enough output to a pipe to fill up the OS " "pipe buffer as the pipes are not being read from." msgstr "" -#: library/subprocess.rst:1166 +#: library/subprocess.rst:1191 msgid "" "Run command with arguments. Wait for command to complete. If the return " "code was zero then return, otherwise raise :exc:`CalledProcessError`. The :" @@ -1420,11 +1431,11 @@ msgid "" "to start the process it will propagate the exception that was raised." msgstr "" -#: library/subprocess.rst:1200 +#: library/subprocess.rst:1233 msgid "Run command with arguments and return its output." msgstr "" -#: library/subprocess.rst:1202 +#: library/subprocess.rst:1235 msgid "" "If the return code was non-zero it raises a :exc:`CalledProcessError`. The :" "exc:`CalledProcessError` object will have the return code in the :attr:" @@ -1432,11 +1443,11 @@ msgid "" "`~CalledProcessError.output` attribute." msgstr "" -#: library/subprocess.rst:1207 +#: library/subprocess.rst:1240 msgid "This is equivalent to::" msgstr "" -#: library/subprocess.rst:1211 +#: library/subprocess.rst:1244 msgid "" "The arguments shown above are merely some common ones. The full function " "signature is largely the same as that of :func:`run` - most arguments are " @@ -1446,52 +1457,52 @@ msgid "" "using the parent's standard input file handle." msgstr "" -#: library/subprocess.rst:1218 +#: library/subprocess.rst:1251 msgid "" "By default, this function will return the data as encoded bytes. The actual " "encoding of the output data may depend on the command being invoked, so the " "decoding to text will often need to be handled at the application level." msgstr "" -#: library/subprocess.rst:1222 +#: library/subprocess.rst:1255 msgid "" "This behaviour may be overridden by setting *text*, *encoding*, *errors*, or " "*universal_newlines* to ``True`` as described in :ref:`frequently-used-" "arguments` and :func:`run`." msgstr "" -#: library/subprocess.rst:1226 +#: library/subprocess.rst:1259 msgid "" "To also capture standard error in the result, use ``stderr=subprocess." "STDOUT``::" msgstr "" -#: library/subprocess.rst:1240 +#: library/subprocess.rst:1273 msgid "Support for the *input* keyword argument was added." msgstr "" -#: library/subprocess.rst:1243 +#: library/subprocess.rst:1276 msgid "*encoding* and *errors* were added. See :func:`run` for details." msgstr "" -#: library/subprocess.rst:1253 +#: library/subprocess.rst:1294 msgid "Replacing Older Functions with the :mod:`subprocess` Module" msgstr "" -#: library/subprocess.rst:1255 +#: library/subprocess.rst:1296 msgid "" "In this section, \"a becomes b\" means that b can be used as a replacement " "for a." msgstr "" -#: library/subprocess.rst:1259 +#: library/subprocess.rst:1300 msgid "" "All \"a\" functions in this section fail (more or less) silently if the " "executed program cannot be found; the \"b\" replacements raise :exc:" "`OSError` instead." msgstr "" -#: library/subprocess.rst:1263 +#: library/subprocess.rst:1304 msgid "" "In addition, the replacements using :func:`check_output` will fail with a :" "exc:`CalledProcessError` if the requested operation produces a non-zero " @@ -1499,133 +1510,133 @@ msgid "" "output` attribute of the raised exception." msgstr "" -#: library/subprocess.rst:1268 +#: library/subprocess.rst:1309 msgid "" "In the following examples, we assume that the relevant functions have " "already been imported from the :mod:`subprocess` module." msgstr "" -#: library/subprocess.rst:1273 +#: library/subprocess.rst:1314 msgid "Replacing :program:`/bin/sh` shell command substitution" msgstr "" -#: library/subprocess.rst:1290 library/subprocess.rst:1307 +#: library/subprocess.rst:1331 library/subprocess.rst:1348 msgid "becomes::" msgstr "" -#: library/subprocess.rst:1284 +#: library/subprocess.rst:1325 msgid "Replacing shell pipeline" msgstr "" -#: library/subprocess.rst:1297 +#: library/subprocess.rst:1338 msgid "" "The ``p1.stdout.close()`` call after starting the p2 is important in order " "for p1 to receive a SIGPIPE if p2 exits before p1." msgstr "" -#: library/subprocess.rst:1300 +#: library/subprocess.rst:1341 msgid "" "Alternatively, for trusted input, the shell's own pipeline support may still " "be used directly:" msgstr "" -#: library/subprocess.rst:1313 +#: library/subprocess.rst:1354 msgid "Replacing :func:`os.system`" msgstr "" -#: library/subprocess.rst:1321 +#: library/subprocess.rst:1362 msgid "Notes:" msgstr "" -#: library/subprocess.rst:1323 +#: library/subprocess.rst:1364 msgid "Calling the program through the shell is usually not required." msgstr "" -#: library/subprocess.rst:1324 +#: library/subprocess.rst:1365 msgid "" "The :func:`call` return value is encoded differently to that of :func:`os." "system`." msgstr "" -#: library/subprocess.rst:1327 +#: library/subprocess.rst:1368 msgid "" "The :func:`os.system` function ignores SIGINT and SIGQUIT signals while the " "command is running, but the caller must do this separately when using the :" "mod:`subprocess` module." msgstr "" -#: library/subprocess.rst:1331 +#: library/subprocess.rst:1372 msgid "A more realistic example would look like this::" msgstr "" -#: library/subprocess.rst:1344 +#: library/subprocess.rst:1385 msgid "Replacing the :func:`os.spawn ` family" msgstr "" -#: library/subprocess.rst:1346 +#: library/subprocess.rst:1387 msgid "P_NOWAIT example::" msgstr "" -#: library/subprocess.rst:1352 +#: library/subprocess.rst:1393 msgid "P_WAIT example::" msgstr "" -#: library/subprocess.rst:1358 +#: library/subprocess.rst:1399 msgid "Vector example::" msgstr "" -#: library/subprocess.rst:1364 +#: library/subprocess.rst:1405 msgid "Environment example::" msgstr "" -#: library/subprocess.rst:1373 +#: library/subprocess.rst:1414 msgid "Replacing :func:`os.popen`, :func:`os.popen2`, :func:`os.popen3`" msgstr "" -#: library/subprocess.rst:1403 +#: library/subprocess.rst:1444 msgid "Return code handling translates as follows::" msgstr "" -#: library/subprocess.rst:1419 +#: library/subprocess.rst:1460 msgid "Replacing functions from the :mod:`popen2` module" msgstr "" -#: library/subprocess.rst:1423 +#: library/subprocess.rst:1464 msgid "" "If the cmd argument to popen2 functions is a string, the command is executed " "through /bin/sh. If it is a list, the command is directly executed." msgstr "" -#: library/subprocess.rst:1442 +#: library/subprocess.rst:1483 msgid "" ":class:`popen2.Popen3` and :class:`popen2.Popen4` basically work as :class:" "`subprocess.Popen`, except that:" msgstr "" -#: library/subprocess.rst:1445 +#: library/subprocess.rst:1486 msgid ":class:`Popen` raises an exception if the execution fails." msgstr "" -#: library/subprocess.rst:1447 +#: library/subprocess.rst:1488 msgid "The *capturestderr* argument is replaced with the *stderr* argument." msgstr "" -#: library/subprocess.rst:1449 +#: library/subprocess.rst:1490 msgid "``stdin=PIPE`` and ``stdout=PIPE`` must be specified." msgstr "" -#: library/subprocess.rst:1451 +#: library/subprocess.rst:1492 msgid "" "popen2 closes all file descriptors by default, but you have to specify " "``close_fds=True`` with :class:`Popen` to guarantee this behavior on all " "platforms or past Python versions." msgstr "" -#: library/subprocess.rst:1457 +#: library/subprocess.rst:1498 msgid "Legacy Shell Invocation Functions" msgstr "" -#: library/subprocess.rst:1459 +#: library/subprocess.rst:1500 msgid "" "This module also provides the following legacy functions from the 2.x " "``commands`` module. These operations implicitly invoke the system shell and " @@ -1633,11 +1644,11 @@ msgid "" "handling consistency are valid for these functions." msgstr "" -#: library/subprocess.rst:1466 +#: library/subprocess.rst:1507 msgid "Return ``(exitcode, output)`` of executing *cmd* in a shell." msgstr "" -#: library/subprocess.rst:1468 +#: library/subprocess.rst:1509 msgid "" "Execute the string *cmd* in a shell with :meth:`Popen.check_output` and " "return a 2-tuple ``(exitcode, output)``. *encoding* and *errors* are used to " @@ -1645,85 +1656,85 @@ msgid "" "details." msgstr "" -#: library/subprocess.rst:1473 +#: library/subprocess.rst:1514 msgid "" "A trailing newline is stripped from the output. The exit code for the " "command can be interpreted as the return code of subprocess. Example::" msgstr "" -#: library/subprocess.rst:1509 +#: library/subprocess.rst:1549 msgid ":ref:`Availability `: Unix, Windows." msgstr "" -#: library/subprocess.rst:1488 +#: library/subprocess.rst:1529 msgid "Windows support was added." msgstr "" -#: library/subprocess.rst:1491 +#: library/subprocess.rst:1532 msgid "" "The function now returns (exitcode, output) instead of (status, output) as " "it did in Python 3.3.3 and earlier. exitcode has the same value as :attr:" "`~Popen.returncode`." msgstr "" -#: library/subprocess.rst:1513 +#: library/subprocess.rst:1554 msgid "Added *encoding* and *errors* arguments." msgstr "" -#: library/subprocess.rst:1500 +#: library/subprocess.rst:1541 msgid "Return output (stdout and stderr) of executing *cmd* in a shell." msgstr "" -#: library/subprocess.rst:1502 +#: library/subprocess.rst:1543 msgid "" "Like :func:`getstatusoutput`, except the exit code is ignored and the return " "value is a string containing the command's output. Example::" msgstr "" -#: library/subprocess.rst:1510 +#: library/subprocess.rst:1551 msgid "Windows support added" msgstr "" -#: library/subprocess.rst:1518 +#: library/subprocess.rst:1559 msgid "Notes" msgstr "" -#: library/subprocess.rst:1523 +#: library/subprocess.rst:1564 msgid "Converting an argument sequence to a string on Windows" msgstr "" -#: library/subprocess.rst:1525 +#: library/subprocess.rst:1566 msgid "" "On Windows, an *args* sequence is converted to a string that can be parsed " "using the following rules (which correspond to the rules used by the MS C " "runtime):" msgstr "" -#: library/subprocess.rst:1529 +#: library/subprocess.rst:1570 msgid "" "Arguments are delimited by white space, which is either a space or a tab." msgstr "" -#: library/subprocess.rst:1532 +#: library/subprocess.rst:1573 msgid "" "A string surrounded by double quotation marks is interpreted as a single " "argument, regardless of white space contained within. A quoted string can " "be embedded in an argument." msgstr "" -#: library/subprocess.rst:1537 +#: library/subprocess.rst:1578 msgid "" "A double quotation mark preceded by a backslash is interpreted as a literal " "double quotation mark." msgstr "" -#: library/subprocess.rst:1540 +#: library/subprocess.rst:1581 msgid "" "Backslashes are interpreted literally, unless they immediately precede a " "double quotation mark." msgstr "" -#: library/subprocess.rst:1543 +#: library/subprocess.rst:1584 msgid "" "If backslashes immediately precede a double quotation mark, every pair of " "backslashes is interpreted as a literal backslash. If the number of " @@ -1731,33 +1742,33 @@ msgid "" "mark as described in rule 3." msgstr "" -#: library/subprocess.rst:1552 +#: library/subprocess.rst:1593 msgid ":mod:`shlex`" msgstr "" -#: library/subprocess.rst:1553 +#: library/subprocess.rst:1594 msgid "Module which provides function to parse and escape command lines." msgstr "" -#: library/subprocess.rst:1560 +#: library/subprocess.rst:1601 msgid "Disabling use of ``vfork()`` or ``posix_spawn()``" msgstr "" -#: library/subprocess.rst:1562 +#: library/subprocess.rst:1603 msgid "" "On Linux, :mod:`subprocess` defaults to using the ``vfork()`` system call " "internally when it is safe to do so rather than ``fork()``. This greatly " "improves performance." msgstr "" -#: library/subprocess.rst:1566 +#: library/subprocess.rst:1607 msgid "" "If you ever encounter a presumed highly unusual situation where you need to " "prevent ``vfork()`` from being used by Python, you can set the :attr:" "`subprocess._USE_VFORK` attribute to a false value." msgstr "" -#: library/subprocess.rst:1574 +#: library/subprocess.rst:1615 msgid "" "Setting this has no impact on use of ``posix_spawn()`` which could use " "``vfork()`` internally within its libc implementation. There is a similar :" @@ -1765,7 +1776,7 @@ msgid "" "that." msgstr "" -#: library/subprocess.rst:1583 +#: library/subprocess.rst:1624 msgid "" "It is safe to set these to false on any Python version. They will have no " "effect on older versions when unsupported. Do not assume the attributes are " @@ -1773,17 +1784,17 @@ msgid "" "the corresponding function will be used, only that that it may be." msgstr "" -#: library/subprocess.rst:1588 +#: library/subprocess.rst:1629 msgid "" "Please file issues any time you have to use these private knobs with a way " "to reproduce the issue you were seeing. Link to that issue from a comment in " "your code." msgstr "" -#: library/subprocess.rst:1592 +#: library/subprocess.rst:1633 msgid "``_USE_POSIX_SPAWN``" msgstr "" -#: library/subprocess.rst:1593 +#: library/subprocess.rst:1634 msgid "``_USE_VFORK``" msgstr "" diff --git a/library/sys.po b/library/sys.po index 5f1673f45..5ffc82341 100644 --- a/library/sys.po +++ b/library/sys.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -343,7 +343,7 @@ msgstr "" msgid "Integer specifying the handle of the Python DLL." msgstr "" -#: library/sys.rst:874 library/sys.rst:1812 +#: library/sys.rst:873 library/sys.rst:1812 msgid ":ref:`Availability `: Windows." msgstr "" @@ -432,7 +432,7 @@ msgstr "" msgid "``True`` if Python is compiled with shared memory support." msgstr "" -#: library/sys.rst:351 +#: library/sys.rst:350 msgid ":ref:`Availability `: Emscripten." msgstr "" @@ -1016,7 +1016,7 @@ msgstr "" msgid "Return the build time API version of Android as an integer." msgstr "" -#: library/sys.rst:668 +#: library/sys.rst:667 msgid ":ref:`Availability `: Android." msgstr "" diff --git a/library/syslog.po b/library/syslog.po index 6ea0dff9c..c2cc33508 100644 --- a/library/syslog.po +++ b/library/syslog.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -34,7 +34,7 @@ msgid "" "handlers` module as :class:`SysLogHandler`." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/telnetlib.po b/library/telnetlib.po index 35445341c..3e358df5b 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -49,7 +49,7 @@ msgid "" "(Erase Character), EL (Erase Line), GA (Go Ahead), SB (Subnegotiation Begin)." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/threading.po b/library/threading.po index d9d87d082..3f0b496b9 100644 --- a/library/threading.po +++ b/library/threading.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -72,7 +72,7 @@ msgid "" "appropriate model if you want to run multiple I/O-bound tasks simultaneously." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -193,7 +193,7 @@ msgid "" "after which the value may be recycled by the OS)." msgstr "" -#: library/threading.rst:131 +#: library/threading.rst:130 msgid "" ":ref:`Availability `: Windows, FreeBSD, Linux, macOS, OpenBSD, " "NetBSD, AIX." @@ -255,7 +255,7 @@ msgid "" "information)." msgstr "" -#: library/threading.rst:-1 +#: library/threading.rst:208 msgid ":ref:`Availability `: Windows, pthreads." msgstr "" @@ -577,7 +577,7 @@ msgid "" "terminated." msgstr "" -#: library/threading.rst:448 +#: library/threading.rst:447 msgid "" ":ref:`Availability `: Windows, FreeBSD, Linux, macOS, OpenBSD, " "NetBSD, AIX, DragonFlyBSD." diff --git a/library/time.po b/library/time.po index f77c9b603..72e5b0a20 100644 --- a/library/time.po +++ b/library/time.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: 2023-02-23 01:57+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -134,8 +134,8 @@ msgstr "" "diğer Unix karşılıklarından daha iyidir: zamanlar kayan noktalı sayılar " "olarak ifade edilirler, :func:`.time` mevcut en doğru zamanı döndürür " "(mevcut olduğu yerde Unix :c:func:`gettimeofday` kullanarak), ve :func:" -"`sleep` sıfıra eşit olmayan kesirli zamanı kabul eder (Unix :c:func:`select`, " -"mümkün olduğunda bunu uygulamak için kullanılır)." +"`sleep` sıfıra eşit olmayan kesirli zamanı kabul eder (Unix :c:func:" +"`select`, mümkün olduğunda bunu uygulamak için kullanılır)." #: library/time.rst:78 msgid "" @@ -279,7 +279,7 @@ msgstr "" "Geçersiz veya süresi geçmiş bir *thread_id* girişi yapmak, bölümleme hatası " "gibi, tanımlanmamış bir davranış ortaya koyabilir." -#: library/time.rst:None +#: library/time.rst:147 msgid ":ref:`Availability `: Unix" msgstr ":ref:`Availability `: Unix" @@ -299,8 +299,8 @@ msgstr "" "Belirtilen *clk_id* saatinin netliğini (kesinliğini) döndür. *clk_id*'e " "uygun değerlerin bir listesi için :ref:`time-clock-id-constants`'a bakınız." -#: library/time.rst:173 library/time.rst:195 library/time.rst:681 -#: library/time.rst:817 library/time.rst:880 +#: library/time.rst:172 library/time.rst:194 library/time.rst:680 +#: library/time.rst:816 library/time.rst:879 msgid ":ref:`Availability `: Unix." msgstr ":ref:`Availability `: Unix." @@ -1311,7 +1311,7 @@ msgstr "" ":class:`float` türünün neden olduğu kesinlik kaybını önlemek için :func:" "`thread_time_ns` kullanın." -#: library/time.rst:None +#: library/time.rst:656 msgid ":ref:`Availability `: Linux, Unix, Windows." msgstr ":ref:`Availability `: Linux, Unix, Windows." @@ -1474,8 +1474,9 @@ msgstr "" "veritabanını kullanmak daha uygundur. Bunu yapmak için, :envvar:`TZ` çevre " "değişkenini gerekli saat dilimi veri dosyasının konumuna ayarlayınız, " "sistemlerin 'zoneinfo' saat dilimi veritabanının köküne göre, genellikle :" -"file:`/usr/share/zoneinfo` konumunda bulunur. Örnek olarak, ``'US/Eastern'``, " -"``'Australia/Melbourne'``, ``'Egypt'`` veya ``'Europe/Amsterdam'``. ::" +"file:`/usr/share/zoneinfo` konumunda bulunur. Örnek olarak, ``'US/" +"Eastern'``, ``'Australia/Melbourne'``, ``'Egypt'`` veya ``'Europe/" +"Amsterdam'``. ::" #: library/time.rst:761 msgid "Clock ID Constants" @@ -1510,7 +1511,7 @@ msgstr "" "olabilir.) uğraşmadan askıya almanın farkında olan monoton saat 'ler " "yaratmasını sağlar." -#: library/time.rst:777 +#: library/time.rst:776 msgid ":ref:`Availability `: Linux >= 2.6.39." msgstr ":ref:`Availability `: Linux >= 2.6.39." @@ -1524,7 +1525,7 @@ msgstr "" "yakın kesinlik sağlayabilen bir ``CLOCK_HIGHRES`` zamanlayıcıya sahiptir. " "``CLOCK_HIGHRES`` ayarlanamaz, yüksek kesinlikli saattir." -#: library/time.rst:788 +#: library/time.rst:787 msgid ":ref:`Availability `: Solaris." msgstr ":ref:`Availability `: Solaris." @@ -1544,7 +1545,7 @@ msgstr "" ":data:`CLOCK_MONOTONIC` ile benzer, ama NTP ayarlamalarına tabii olmayan " "donanım bazlı ham zamana erişim sağlar." -#: library/time.rst:808 +#: library/time.rst:807 msgid ":ref:`Availability `: Linux >= 2.6.28, macOS >= 10.12." msgstr ":ref:`Availability `: Linux >= 2.6.28, macOS >= 10.12." @@ -1552,7 +1553,7 @@ msgstr ":ref:`Availability `: Linux >= 2.6.28, macOS >= 10.12." msgid "High-resolution per-process timer from the CPU." msgstr "CPU'dan yüksek kesinlikli işlem başına zamanlayıcısı." -#: library/time.rst:826 +#: library/time.rst:825 msgid ":ref:`Availability `: FreeBSD, NetBSD >= 7, OpenBSD." msgstr ":ref:`Availability `: FreeBSD, NetBSD >= 7, OpenBSD." @@ -1573,7 +1574,7 @@ msgstr "" "tablosuna sahip olması gerekir. PTP veya NTP yazılımı artık saniye " "tablosunu sürdürebilir." -#: library/time.rst:837 +#: library/time.rst:836 msgid ":ref:`Availability `: Linux." msgstr ":ref:`Availability `: Linux." @@ -1589,7 +1590,7 @@ msgstr "" "Mutlak değeri sistemin çalıştığı ve askıya alınmadığı süre olan süre, hem " "mutlak hem de aralıklı olarak doğru çalışma süresi ölçümü sağlar." -#: library/time.rst:856 +#: library/time.rst:855 msgid ":ref:`Availability `: FreeBSD, OpenBSD >= 5.5." msgstr ":ref:`Availability `: FreeBSD, OpenBSD >= 5.5." @@ -1603,7 +1604,7 @@ msgstr "" "ediyor, sıklıktan ve zaman ayarlamalarından etkilenmiyor ve sistem " "uykudayken artmıyor." -#: library/time.rst:867 +#: library/time.rst:866 msgid ":ref:`Availability `: macOS >= 10.12." msgstr ":ref:`Availability `: macOS >= 10.12." diff --git a/library/traceback.po b/library/traceback.po index 68ada6c6d..055352414 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-04 22:37+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -35,34 +35,34 @@ msgstr "" #: library/traceback.rst:19 msgid "" -"The module uses traceback objects --- this is the object type that is stored " -"in the :data:`sys.last_traceback` variable and returned as the third item " -"from :func:`sys.exc_info`." +"The module uses traceback objects --- these are objects of type :class:" +"`types.TracebackType`, which are assigned to the ``__traceback__`` field of :" +"class:`BaseException` instances." msgstr "" -#: library/traceback.rst:26 +#: library/traceback.rst:25 msgid "Module :mod:`faulthandler`" msgstr "" -#: library/traceback.rst:26 +#: library/traceback.rst:25 msgid "" "Used to dump Python tracebacks explicitly, on a fault, after a timeout, or " "on a user signal." msgstr "" -#: library/traceback.rst:28 +#: library/traceback.rst:27 msgid "Module :mod:`pdb`" msgstr "" -#: library/traceback.rst:29 +#: library/traceback.rst:28 msgid "Interactive source code debugger for Python programs." msgstr "" -#: library/traceback.rst:31 +#: library/traceback.rst:30 msgid "The module defines the following functions:" msgstr "" -#: library/traceback.rst:35 +#: library/traceback.rst:34 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 " @@ -72,41 +72,41 @@ msgid "" "the output." msgstr "" -#: library/traceback.rst:105 +#: library/traceback.rst:104 msgid "Added negative *limit* support." msgstr "" -#: library/traceback.rst:49 +#: library/traceback.rst:48 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:53 +#: library/traceback.rst:52 msgid "" "if *tb* is not ``None``, it prints a header ``Traceback (most recent call " "last):``" msgstr "" -#: library/traceback.rst:56 +#: library/traceback.rst:55 msgid "it prints the exception type and *value* after the stack trace" msgstr "" -#: library/traceback.rst:60 +#: library/traceback.rst:59 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:64 +#: library/traceback.rst:63 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:68 +#: library/traceback.rst:67 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:" @@ -115,29 +115,29 @@ msgid "" "exception." msgstr "" -#: library/traceback.rst:167 +#: library/traceback.rst:166 msgid "The *etype* argument is ignored and inferred from the type of *value*." msgstr "" -#: library/traceback.rst:154 +#: library/traceback.rst:153 msgid "" "The *etype* parameter has been renamed to *exc* and is now positional-only." msgstr "" -#: library/traceback.rst:84 +#: library/traceback.rst:83 msgid "" -"This is a shorthand for ``print_exception(*sys.exc_info(), limit, file, " +"This is a shorthand for ``print_exception(sys.exception(), limit, file, " "chain)``." msgstr "" -#: library/traceback.rst:90 +#: library/traceback.rst:89 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:98 +#: library/traceback.rst:97 msgid "" "Print up to *limit* stack trace entries (starting from the invocation point) " "if *limit* is positive. Otherwise, print the last ``abs(limit)`` entries. " @@ -146,7 +146,7 @@ msgid "" "optional *file* argument has the same meaning as for :func:`print_tb`." msgstr "" -#: library/traceback.rst:111 +#: library/traceback.rst:110 msgid "" "Return a :class:`StackSummary` object representing a list of \"pre-" "processed\" stack trace entries extracted from the traceback object *tb*. " @@ -160,14 +160,14 @@ msgid "" "stripped; if the source is not available it is ``None``." msgstr "" -#: library/traceback.rst:125 +#: library/traceback.rst:124 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:132 +#: library/traceback.rst:131 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 " @@ -177,7 +177,7 @@ msgid "" "text line is not ``None``." msgstr "" -#: library/traceback.rst:142 +#: library/traceback.rst:141 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 " @@ -188,14 +188,14 @@ msgid "" "the list." msgstr "" -#: library/traceback.rst:150 +#: library/traceback.rst:149 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:161 +#: library/traceback.rst:160 msgid "" "Format a stack trace and the exception information. The arguments have the " "same meaning as the corresponding arguments to :func:`print_exception`. The " @@ -204,66 +204,66 @@ msgid "" "printed, exactly the same text is printed as does :func:`print_exception`." msgstr "" -#: library/traceback.rst:170 +#: library/traceback.rst:169 msgid "" "This function's behavior and signature were modified to match :func:" "`print_exception`." msgstr "" -#: library/traceback.rst:177 +#: library/traceback.rst:176 msgid "" "This is like ``print_exc(limit)`` but returns a string instead of printing " "to a file." msgstr "" -#: library/traceback.rst:183 +#: library/traceback.rst:182 msgid "A shorthand for ``format_list(extract_tb(tb, limit))``." msgstr "" -#: library/traceback.rst:188 +#: library/traceback.rst:187 msgid "A shorthand for ``format_list(extract_stack(f, limit))``." msgstr "" -#: library/traceback.rst:192 +#: library/traceback.rst:191 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:199 +#: library/traceback.rst:198 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:207 +#: library/traceback.rst:206 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:212 +#: library/traceback.rst:211 msgid "The module also defines the following classes:" msgstr "" -#: library/traceback.rst:215 +#: library/traceback.rst:214 msgid ":class:`TracebackException` Objects" msgstr "" -#: library/traceback.rst:219 +#: library/traceback.rst:218 msgid "" ":class:`TracebackException` objects are created from actual exceptions to " "capture data for later printing in a lightweight fashion." msgstr "" -#: library/traceback.rst:284 +#: library/traceback.rst:283 msgid "" "Capture an exception for later rendering. *limit*, *lookup_lines* and " "*capture_locals* are as for the :class:`StackSummary` class." msgstr "" -#: library/traceback.rst:227 +#: library/traceback.rst:226 msgid "" "If *compact* is true, only data that is required by :class:" "`TracebackException`'s ``format`` method is saved in the class attributes. " @@ -271,122 +271,122 @@ msgid "" "is ``None`` and ``__suppress_context__`` is false." msgstr "" -#: library/traceback.rst:287 +#: library/traceback.rst:286 msgid "" "Note that when locals are captured, they are also shown in the traceback." msgstr "" -#: library/traceback.rst:236 +#: library/traceback.rst:235 msgid "A :class:`TracebackException` of the original ``__cause__``." msgstr "" -#: library/traceback.rst:240 +#: library/traceback.rst:239 msgid "A :class:`TracebackException` of the original ``__context__``." msgstr "" -#: library/traceback.rst:244 +#: library/traceback.rst:243 msgid "The ``__suppress_context__`` value from the original exception." msgstr "" -#: library/traceback.rst:248 +#: library/traceback.rst:247 msgid "" "The ``__notes__`` value from the original exception, or ``None`` if the " "exception does not have any notes. If it is not ``None`` is it formatted in " "the traceback after the exception string." msgstr "" -#: library/traceback.rst:256 +#: library/traceback.rst:255 msgid "A :class:`StackSummary` representing the traceback." msgstr "" -#: library/traceback.rst:260 +#: library/traceback.rst:259 msgid "The class of the original traceback." msgstr "" -#: library/traceback.rst:264 +#: library/traceback.rst:263 msgid "For syntax errors - the file name where the error occurred." msgstr "" -#: library/traceback.rst:268 +#: library/traceback.rst:267 msgid "For syntax errors - the line number where the error occurred." msgstr "" -#: library/traceback.rst:272 +#: library/traceback.rst:271 msgid "For syntax errors - the text where the error occurred." msgstr "" -#: library/traceback.rst:276 +#: library/traceback.rst:275 msgid "For syntax errors - the offset into the text where the error occurred." msgstr "" -#: library/traceback.rst:280 +#: library/traceback.rst:279 msgid "For syntax errors - the compiler error message." msgstr "" -#: library/traceback.rst:291 +#: library/traceback.rst:290 msgid "" "Print to *file* (default ``sys.stderr``) the exception information returned " "by :meth:`format`." msgstr "" -#: library/traceback.rst:298 +#: library/traceback.rst:297 msgid "Format the exception." msgstr "" -#: library/traceback.rst:300 +#: library/traceback.rst:299 msgid "" "If *chain* is not ``True``, ``__cause__`` and ``__context__`` will not be " "formatted." msgstr "" -#: library/traceback.rst:303 +#: library/traceback.rst:302 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:321 +#: library/traceback.rst:320 msgid "" "The message indicating which exception occurred is always the last string in " "the output." msgstr "" -#: library/traceback.rst:312 +#: library/traceback.rst:311 msgid "Format the exception part of the traceback." msgstr "" -#: library/traceback.rst:314 +#: library/traceback.rst:313 msgid "The return value is a generator of strings, each ending in a newline." msgstr "" -#: library/traceback.rst:316 +#: library/traceback.rst:315 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:324 +#: library/traceback.rst:323 msgid "Added the *compact* parameter." msgstr "" -#: library/traceback.rst:329 +#: library/traceback.rst:328 msgid ":class:`StackSummary` Objects" msgstr "" -#: library/traceback.rst:333 +#: library/traceback.rst:332 msgid "" ":class:`StackSummary` objects represent a call stack ready for formatting." msgstr "" -#: library/traceback.rst:339 +#: library/traceback.rst:338 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:343 +#: library/traceback.rst:342 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 " @@ -396,14 +396,14 @@ msgid "" "class:`FrameSummary` are captured as object representations." msgstr "" -#: library/traceback.rst:353 +#: library/traceback.rst:352 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:359 +#: library/traceback.rst:358 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 " @@ -411,18 +411,18 @@ msgid "" "with source text lines." msgstr "" -#: library/traceback.rst:364 +#: library/traceback.rst:363 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:368 +#: library/traceback.rst:367 msgid "Long sequences of repeated frames are now abbreviated." msgstr "" -#: library/traceback.rst:373 +#: library/traceback.rst:372 msgid "" "Returns a string for printing one of the frames involved in the stack. This " "method is called for each :class:`FrameSummary` object to be printed by :" @@ -430,16 +430,16 @@ msgid "" "from the output." msgstr "" -#: library/traceback.rst:382 +#: library/traceback.rst:381 msgid ":class:`FrameSummary` Objects" msgstr "" -#: library/traceback.rst:386 +#: library/traceback.rst:385 msgid "" "A :class:`FrameSummary` object represents a single frame in a traceback." msgstr "" -#: library/traceback.rst:390 +#: library/traceback.rst:389 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 " @@ -452,11 +452,11 @@ msgid "" "display." msgstr "" -#: library/traceback.rst:403 +#: library/traceback.rst:402 msgid "Traceback Examples" msgstr "" -#: library/traceback.rst:405 +#: library/traceback.rst:404 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 " @@ -464,22 +464,22 @@ msgid "" "`code` module. ::" msgstr "" -#: library/traceback.rst:427 +#: library/traceback.rst:426 msgid "" "The following example demonstrates the different ways to print and format " "the exception and traceback:" msgstr "" -#: library/traceback.rst:462 +#: library/traceback.rst:461 msgid "The output for the example would look similar to this:" msgstr "" -#: library/traceback.rst:504 +#: library/traceback.rst:503 msgid "" "The following example shows the different ways to print and format the " "stack::" msgstr "" -#: library/traceback.rst:530 +#: library/traceback.rst:529 msgid "This last example demonstrates the final few formatting functions:" msgstr "" diff --git a/library/turtle.po b/library/turtle.po index f87ce7732..f4976d405 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -435,7 +435,7 @@ msgstr "" msgid ":func:`get_poly`" msgstr "" -#: library/turtle.rst:2454 +#: library/turtle.rst:2457 msgid ":func:`clone`" msgstr "" @@ -2415,59 +2415,59 @@ msgid "compound shapes, :class:`Vec2D`" msgstr "" #: library/turtle.rst:2447 -msgid "round_dance" +msgid "rosette" msgstr "" #: library/turtle.rst:2447 -msgid "dancing turtles rotating pairwise in opposite direction" +msgid "a pattern from the wikipedia article on turtle graphics" msgstr "" #: library/turtle.rst:2447 -msgid "compound shapes, clone shapesize, tilt, get_shapepoly, update" +msgid ":func:`clone`, :func:`undo`" msgstr "" -#: library/turtle.rst:2451 -msgid "sorting_animate" +#: library/turtle.rst:2450 +msgid "round_dance" msgstr "" -#: library/turtle.rst:2451 -msgid "visual demonstration of different sorting methods" +#: library/turtle.rst:2450 +msgid "dancing turtles rotating pairwise in opposite direction" msgstr "" -#: library/turtle.rst:2451 -msgid "simple alignment, randomization" +#: library/turtle.rst:2450 +msgid "compound shapes, clone shapesize, tilt, get_shapepoly, update" msgstr "" #: library/turtle.rst:2454 -msgid "tree" +msgid "sorting_animate" msgstr "" #: library/turtle.rst:2454 -msgid "a (graphical) breadth first tree (using generators)" +msgid "visual demonstration of different sorting methods" msgstr "" -#: library/turtle.rst:2457 -msgid "two_canvases" +#: library/turtle.rst:2454 +msgid "simple alignment, randomization" msgstr "" #: library/turtle.rst:2457 -msgid "simple design" +msgid "tree" msgstr "" #: library/turtle.rst:2457 -msgid "turtles on two canvases" +msgid "a (graphical) breadth first tree (using generators)" msgstr "" #: library/turtle.rst:2460 -msgid "wikipedia" +msgid "two_canvases" msgstr "" #: library/turtle.rst:2460 -msgid "a pattern from the wikipedia article on turtle graphics" +msgid "simple design" msgstr "" #: library/turtle.rst:2460 -msgid ":func:`clone`, :func:`undo`" +msgid "turtles on two canvases" msgstr "" #: library/turtle.rst:2463 diff --git a/library/types.po b/library/types.po index 772d28d20..0c5b3ca01 100644 --- a/library/types.po +++ b/library/types.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -364,7 +364,9 @@ msgid "The type of :ref:`union type expressions`." msgstr "" #: library/types.rst:323 -msgid "The type of traceback objects such as found in ``sys.exc_info()[2]``." +msgid "" +"The type of traceback objects such as found in ``sys.exception()." +"__traceback__``." msgstr "" #: library/types.rst:325 @@ -534,7 +536,8 @@ msgid "" "`coroutine function` which returns a generator-based coroutine. The " "generator-based coroutine is still a :term:`generator iterator`, but is also " "considered to be a :term:`coroutine` object and is :term:`awaitable`. " -"However, it may not necessarily implement the :meth:`__await__` method." +"However, it may not necessarily implement the :meth:`~object.__await__` " +"method." msgstr "" #: library/types.rst:485 diff --git a/library/typing.po b/library/typing.po index e6d2a8a4e..0b4491b1e 100644 --- a/library/typing.po +++ b/library/typing.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -481,8 +481,8 @@ msgstr "" msgid "" "A user-defined generic class can have ABCs as base classes without a " "metaclass conflict. Generic metaclasses are not supported. The outcome of " -"parameterizing generics is cached, and most types in the typing module are " -"hashable and comparable for equality." +"parameterizing generics is cached, and most types in the typing module are :" +"term:`hashable` and comparable for equality." msgstr "" #: library/typing.rst:447 @@ -1495,9 +1495,9 @@ msgid "" ":func:`runtime_checkable` will check only the presence of the required " "methods, not their type signatures. For example, :class:`ssl.SSLObject` is a " "class, therefore it passes an :func:`issubclass` check against :data:" -"`Callable`. However, the :meth:`ssl.SSLObject.__init__` method exists only " -"to raise a :exc:`TypeError` with a more informative message, therefore " -"making it impossible to call (instantiate) :class:`ssl.SSLObject`." +"`Callable`. However, the ``ssl.SSLObject.__init__`` method exists only to " +"raise a :exc:`TypeError` with a more informative message, therefore making " +"it impossible to call (instantiate) :class:`ssl.SSLObject`." msgstr "" #: library/typing.rst:1598 diff --git a/library/unittest.mock.po b/library/unittest.mock.po index e37db1801..f46042f54 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -355,7 +355,7 @@ msgid "The reset_mock method resets all the call attributes on a mock object:" msgstr "" #: library/unittest.mock.rst:408 -msgid "Added two keyword only argument to the reset_mock function." +msgid "Added two keyword-only arguments to the reset_mock function." msgstr "" #: library/unittest.mock.rst:411 @@ -369,7 +369,7 @@ msgid "" msgstr "" #: library/unittest.mock.rst:419 -msgid "*return_value*, and :attr:`side_effect` are keyword only argument." +msgid "*return_value*, and :attr:`side_effect` are keyword-only arguments." msgstr "" #: library/unittest.mock.rst:425 diff --git a/library/urllib.request.po b/library/urllib.request.po index d10e92eb4..30a7fa071 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -37,7 +37,7 @@ msgid "" "recommended for a higher-level HTTP client interface." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/venv.po b/library/venv.po index 7622e58b6..594918c3a 100644 --- a/library/venv.po +++ b/library/venv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -53,7 +53,7 @@ msgid "" "environments/#creating-a-virtual-environment>`__" msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/webbrowser.po b/library/webbrowser.po index b32bdca37..5315ec022 100644 --- a/library/webbrowser.po +++ b/library/webbrowser.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -67,7 +67,7 @@ msgid "" "are, naturally, mutually exclusive. Usage example::" msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/wsgiref.po b/library/wsgiref.po index 43a42181d..763034173 100644 --- a/library/wsgiref.po +++ b/library/wsgiref.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -734,9 +734,9 @@ msgstr "" #: library/wsgiref.rst:677 msgid "" -"This method can access the current error information using ``sys." -"exc_info()``, and should pass that information to *start_response* when " -"calling it (as described in the \"Error Handling\" section of :pep:`3333`)." +"This method can access the current error using ``sys.exception()``, and " +"should pass that information to *start_response* when calling it (as " +"described in the \"Error Handling\" section of :pep:`3333`)." msgstr "" #: library/wsgiref.rst:681 diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index ddf5fa4ca..a4e946e7a 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -46,7 +46,7 @@ msgid "" "certificate and hostname checks by default." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/xmlrpc.server.po b/library/xmlrpc.server.po index 0505e777a..2fe670c76 100644 --- a/library/xmlrpc.server.po +++ b/library/xmlrpc.server.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -39,7 +39,7 @@ msgid "" "see :ref:`xml-vulnerabilities`." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/zipfile.po b/library/zipfile.po index e7f6f9a4a..c729adca8 100644 --- a/library/zipfile.po +++ b/library/zipfile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -68,15 +68,16 @@ msgstr "" #: library/zipfile.rst:58 msgid "" -"A pathlib-compatible wrapper for zip files. See section :ref:`path-objects` " -"for details." +"Class that implements a subset of the interface provided by :class:`pathlib." +"Path`, including the full :class:`importlib.resources.abc.Traversable` " +"interface." msgstr "" -#: library/zipfile.rst:67 +#: library/zipfile.rst:68 msgid "Class for creating ZIP archives containing Python libraries." msgstr "" -#: library/zipfile.rst:72 +#: library/zipfile.rst:73 msgid "" "Class used to represent information about a member of an archive. Instances " "of this class are returned by the :meth:`.getinfo` and :meth:`.infolist` " @@ -88,40 +89,40 @@ msgid "" "ref:`zipinfo-objects`." msgstr "" -#: library/zipfile.rst:83 +#: library/zipfile.rst:84 msgid "" "Returns ``True`` if *filename* is a valid ZIP file based on its magic " "number, otherwise returns ``False``. *filename* may be a file or file-like " "object too." msgstr "" -#: library/zipfile.rst:86 +#: library/zipfile.rst:87 msgid "Support for file and file-like objects." msgstr "" -#: library/zipfile.rst:92 +#: library/zipfile.rst:93 msgid "The numeric constant for an uncompressed archive member." msgstr "" -#: library/zipfile.rst:97 +#: library/zipfile.rst:98 msgid "" "The numeric constant for the usual ZIP compression method. This requires " "the :mod:`zlib` module." msgstr "" -#: library/zipfile.rst:103 +#: library/zipfile.rst:104 msgid "" "The numeric constant for the BZIP2 compression method. This requires the :" "mod:`bz2` module." msgstr "" -#: library/zipfile.rst:110 +#: library/zipfile.rst:111 msgid "" "The numeric constant for the LZMA compression method. This requires the :" "mod:`lzma` module." msgstr "" -#: library/zipfile.rst:117 +#: library/zipfile.rst:118 msgid "" "The ZIP file format specification has included support for bzip2 compression " "since 2001, and for LZMA compression since 2006. However, some tools " @@ -130,37 +131,37 @@ msgid "" "individual files." msgstr "" -#: library/zipfile.rst:128 +#: library/zipfile.rst:129 msgid "`PKZIP Application Note`_" msgstr "" -#: library/zipfile.rst:127 +#: library/zipfile.rst:128 msgid "" "Documentation on the ZIP file format by Phil Katz, the creator of the format " "and algorithms used." msgstr "" -#: library/zipfile.rst:131 +#: library/zipfile.rst:132 msgid "`Info-ZIP Home Page `_" msgstr "" -#: library/zipfile.rst:131 +#: library/zipfile.rst:132 msgid "" "Information about the Info-ZIP project's ZIP archive programs and " "development libraries." msgstr "" -#: library/zipfile.rst:138 +#: library/zipfile.rst:139 msgid "ZipFile Objects" msgstr "" -#: library/zipfile.rst:145 +#: library/zipfile.rst:146 msgid "" "Open a ZIP file, where *file* can be a path to a file (a string), a file-" "like object or a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:148 +#: library/zipfile.rst:149 msgid "" "The *mode* parameter should be ``'r'`` to read an existing file, ``'w'`` to " "truncate and write a new file, ``'a'`` to append to an existing file, or " @@ -174,7 +175,7 @@ msgid "" "``'r'`` or ``'a'``, the file should be seekable." msgstr "" -#: library/zipfile.rst:160 +#: library/zipfile.rst:161 msgid "" "*compression* is the ZIP compression method to use when writing the archive, " "and should be :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`, :const:`ZIP_BZIP2` " @@ -185,7 +186,7 @@ msgid "" "is raised. The default is :const:`ZIP_STORED`." msgstr "" -#: library/zipfile.rst:168 +#: library/zipfile.rst:169 msgid "" "If *allowZip64* is ``True`` (the default) zipfile will create ZIP files that " "use the ZIP64 extensions when the zipfile is larger than 4 GiB. If it is " @@ -193,7 +194,7 @@ msgid "" "require ZIP64 extensions." msgstr "" -#: library/zipfile.rst:173 +#: library/zipfile.rst:174 msgid "" "The *compresslevel* parameter controls the compression level to use when " "writing files to the archive. When using :const:`ZIP_STORED` or :const:" @@ -203,7 +204,7 @@ msgid "" "accepted (see :class:`bz2 ` for more information)." msgstr "" -#: library/zipfile.rst:733 +#: library/zipfile.rst:734 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. " @@ -211,34 +212,34 @@ msgid "" "also set to the limit." msgstr "" -#: library/zipfile.rst:187 +#: library/zipfile.rst:188 msgid "" "When mode is ``'r'``, *metadata_encoding* may be set to the name of a codec, " "which will be used to decode metadata such as the names of members and ZIP " "comments." msgstr "" -#: library/zipfile.rst:191 +#: library/zipfile.rst:192 msgid "" "If the file is created with mode ``'w'``, ``'x'`` or ``'a'`` and then :meth:" "`closed ` without adding any files to the archive, the appropriate " "ZIP structures for an empty archive will be written to the file." msgstr "" -#: library/zipfile.rst:195 +#: library/zipfile.rst:196 msgid "" "ZipFile is also a context manager and therefore supports the :keyword:`with` " "statement. In the example, *myzip* is closed after the :keyword:`!with` " "statement's suite is finished---even if an exception occurs::" msgstr "" -#: library/zipfile.rst:204 +#: library/zipfile.rst:205 msgid "" "*metadata_encoding* is an instance-wide setting for the ZipFile. It is not " "currently possible to set this on a per-member basis." msgstr "" -#: library/zipfile.rst:207 +#: library/zipfile.rst:208 msgid "" "This attribute is a workaround for legacy implementations which produce " "archives with names in the current locale encoding or code page (mostly on " @@ -248,73 +249,73 @@ msgid "" "is a Python-specific extension." msgstr "" -#: library/zipfile.rst:215 +#: library/zipfile.rst:216 msgid "Added the ability to use :class:`ZipFile` as a context manager." msgstr "" -#: library/zipfile.rst:218 +#: library/zipfile.rst:219 msgid "Added support for :mod:`bzip2 ` and :mod:`lzma` compression." msgstr "" -#: library/zipfile.rst:647 +#: library/zipfile.rst:648 msgid "ZIP64 extensions are enabled by default." msgstr "" -#: library/zipfile.rst:224 +#: library/zipfile.rst:225 msgid "" "Added support for writing to unseekable streams. Added support for the " "``'x'`` mode." msgstr "" -#: library/zipfile.rst:228 +#: library/zipfile.rst:229 msgid "" "Previously, a plain :exc:`RuntimeError` was raised for unrecognized " "compression values." msgstr "" -#: library/zipfile.rst:232 +#: library/zipfile.rst:233 msgid "The *file* parameter accepts a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:235 +#: library/zipfile.rst:236 msgid "Add the *compresslevel* parameter." msgstr "" -#: library/zipfile.rst:744 +#: library/zipfile.rst:745 msgid "The *strict_timestamps* keyword-only argument" msgstr "" -#: library/zipfile.rst:241 +#: library/zipfile.rst:242 msgid "" "Added support for specifying member name encoding for reading metadata in " "the zipfile's directory and file headers." msgstr "" -#: library/zipfile.rst:248 +#: library/zipfile.rst:249 msgid "" "Close the archive file. You must call :meth:`close` before exiting your " "program or essential records will not be written." msgstr "" -#: library/zipfile.rst:254 +#: library/zipfile.rst:255 msgid "" "Return a :class:`ZipInfo` object with information about the archive member " "*name*. Calling :meth:`getinfo` for a name not currently contained in the " "archive will raise a :exc:`KeyError`." msgstr "" -#: library/zipfile.rst:261 +#: library/zipfile.rst:262 msgid "" "Return a list containing a :class:`ZipInfo` object for each member of the " "archive. The objects are in the same order as their entries in the actual " "ZIP file on disk if an existing archive was opened." msgstr "" -#: library/zipfile.rst:268 +#: library/zipfile.rst:269 msgid "Return a list of archive members by name." msgstr "" -#: library/zipfile.rst:273 +#: library/zipfile.rst:274 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. " @@ -323,13 +324,13 @@ msgid "" "class:`bytes` object." msgstr "" -#: library/zipfile.rst:279 +#: library/zipfile.rst:280 msgid "" ":meth:`~ZipFile.open` is also a context manager and therefore supports the :" "keyword:`with` statement::" msgstr "" -#: library/zipfile.rst:286 +#: library/zipfile.rst:287 msgid "" "With *mode* ``'r'`` the file-like object (``ZipExtFile``) is read-only and " "provides the following methods: :meth:`~io.BufferedIOBase.read`, :meth:`~io." @@ -338,7 +339,7 @@ msgid "" "objects can operate independently of the ZipFile." msgstr "" -#: library/zipfile.rst:293 +#: library/zipfile.rst:294 msgid "" "With ``mode='w'``, a writable file handle is returned, which supports the :" "meth:`~io.BufferedIOBase.write` method. While a writable file handle is " @@ -346,7 +347,7 @@ msgid "" "exc:`ValueError`." msgstr "" -#: library/zipfile.rst:298 +#: library/zipfile.rst:299 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 " @@ -355,32 +356,32 @@ msgid "" "as the *name* parameter." msgstr "" -#: library/zipfile.rst:306 +#: library/zipfile.rst:307 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:310 +#: library/zipfile.rst:311 msgid "" "Removed support of ``mode='U'``. Use :class:`io.TextIOWrapper` for reading " "compressed text files in :term:`universal newlines` mode." msgstr "" -#: library/zipfile.rst:314 +#: library/zipfile.rst:315 msgid "" ":meth:`ZipFile.open` can now be used to write files into the archive with " "the ``mode='w'`` option." msgstr "" -#: library/zipfile.rst:318 +#: library/zipfile.rst:319 msgid "" "Calling :meth:`.open` on a closed ZipFile will raise a :exc:`ValueError`. " "Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:325 +#: library/zipfile.rst:326 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 " @@ -389,11 +390,11 @@ msgid "" "*pwd* is the password used for encrypted files as a :class:`bytes` object." msgstr "" -#: library/zipfile.rst:331 +#: library/zipfile.rst:332 msgid "Returns the normalized path created (a directory or new file)." msgstr "" -#: library/zipfile.rst:335 +#: library/zipfile.rst:336 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 " @@ -404,17 +405,17 @@ msgid "" "(``_``)." msgstr "" -#: library/zipfile.rst:343 +#: library/zipfile.rst:344 msgid "" "Calling :meth:`extract` on a closed ZipFile will raise a :exc:`ValueError`. " "Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:370 +#: library/zipfile.rst:371 msgid "The *path* parameter accepts a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:353 +#: library/zipfile.rst:354 msgid "" "Extract all members from the archive to the current working directory. " "*path* specifies a different directory to extract to. *members* is optional " @@ -422,7 +423,7 @@ msgid "" "password used for encrypted files as a :class:`bytes` object." msgstr "" -#: library/zipfile.rst:360 +#: library/zipfile.rst:361 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 " @@ -430,23 +431,23 @@ msgid "" "\"``. This module attempts to prevent that. See :meth:`extract` note." msgstr "" -#: library/zipfile.rst:366 +#: library/zipfile.rst:367 msgid "" "Calling :meth:`extractall` on a closed ZipFile will raise a :exc:" "`ValueError`. Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:376 +#: library/zipfile.rst:377 msgid "Print a table of contents for the archive to ``sys.stdout``." msgstr "" -#: library/zipfile.rst:381 +#: library/zipfile.rst:382 msgid "" "Set *pwd* (a :class:`bytes` object) as default password to extract encrypted " "files." msgstr "" -#: library/zipfile.rst:386 +#: library/zipfile.rst:387 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 " @@ -459,25 +460,25 @@ msgid "" "compression module is not available." msgstr "" -#: library/zipfile.rst:395 +#: library/zipfile.rst:396 msgid "" "Calling :meth:`read` on a closed ZipFile will raise a :exc:`ValueError`. " "Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:402 +#: library/zipfile.rst:403 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:405 +#: library/zipfile.rst:406 msgid "" "Calling :meth:`testzip` on a closed ZipFile will raise a :exc:`ValueError`. " "Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:413 +#: library/zipfile.rst:414 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 " @@ -488,7 +489,7 @@ msgid "" "``'x'`` or ``'a'``." msgstr "" -#: library/zipfile.rst:423 +#: library/zipfile.rst:424 msgid "" "The ZIP file standard historically did not specify a metadata encoding, but " "strongly recommended CP437 (the original IBM PC encoding) for " @@ -498,33 +499,33 @@ msgid "" "in any encoding other than ASCII or UTF-8." msgstr "" -#: library/zipfile.rst:432 +#: library/zipfile.rst:433 msgid "" "Archive names should be relative to the archive root, that is, they should " "not start with a path separator." msgstr "" -#: library/zipfile.rst:437 +#: library/zipfile.rst:438 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:442 +#: library/zipfile.rst:443 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:445 +#: library/zipfile.rst:446 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:454 +#: library/zipfile.rst:455 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 " @@ -535,7 +536,7 @@ msgid "" "must be opened with mode ``'w'``, ``'x'`` or ``'a'``." msgstr "" -#: library/zipfile.rst:462 +#: library/zipfile.rst:463 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* " @@ -543,7 +544,7 @@ msgid "" "override the constructor if given." msgstr "" -#: library/zipfile.rst:469 +#: library/zipfile.rst:470 msgid "" "When passing a :class:`ZipInfo` instance as the *zinfo_or_arcname* " "parameter, the compression method used will be that specified in the " @@ -551,18 +552,18 @@ msgid "" "the :class:`ZipInfo` constructor sets this member to :const:`ZIP_STORED`." msgstr "" -#: library/zipfile.rst:474 +#: library/zipfile.rst:475 msgid "The *compress_type* argument." msgstr "" -#: library/zipfile.rst:477 +#: library/zipfile.rst:478 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:484 +#: library/zipfile.rst:485 msgid "" "Create a directory inside the archive. If *zinfo_or_directory* is a string, " "a directory is created inside the archive with the mode that is specified in " @@ -570,26 +571,26 @@ msgid "" "instance then the *mode* argument is ignored." msgstr "" -#: library/zipfile.rst:489 +#: library/zipfile.rst:490 msgid "The archive must be opened with mode ``'w'``, ``'x'`` or ``'a'``." msgstr "" -#: library/zipfile.rst:494 +#: library/zipfile.rst:495 msgid "The following data attributes are also available:" msgstr "" -#: library/zipfile.rst:498 +#: library/zipfile.rst:499 msgid "Name of the ZIP file." msgstr "" -#: library/zipfile.rst:502 +#: library/zipfile.rst:503 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:508 +#: library/zipfile.rst:509 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 " @@ -597,37 +598,37 @@ msgid "" "Comments longer than this will be truncated." msgstr "" -#: library/zipfile.rst:518 +#: library/zipfile.rst:519 msgid "Path Objects" msgstr "" -#: library/zipfile.rst:522 +#: library/zipfile.rst:523 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:526 +#: library/zipfile.rst:527 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:530 +#: library/zipfile.rst:531 msgid "" "Path objects expose the following features of :mod:`pathlib.Path` objects:" msgstr "" -#: library/zipfile.rst:533 +#: library/zipfile.rst:534 msgid "Path objects are traversable using the ``/`` operator or ``joinpath``." msgstr "" -#: library/zipfile.rst:537 +#: library/zipfile.rst:538 msgid "The final path component." msgstr "" -#: library/zipfile.rst:541 +#: library/zipfile.rst:542 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'. " @@ -636,12 +637,12 @@ msgid "" "``pwd`` parameter to :meth:`ZipFile.open`." msgstr "" -#: library/zipfile.rst:550 +#: library/zipfile.rst:551 msgid "" "Added support for text and binary modes for open. Default mode is now text." msgstr "" -#: library/zipfile.rst:605 +#: library/zipfile.rst:606 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 " @@ -649,117 +650,117 @@ msgid "" "TextIOWrapper` arguments, ``encoding`` included, as keywords." msgstr "" -#: library/zipfile.rst:562 +#: library/zipfile.rst:563 msgid "Enumerate the children of the current directory." msgstr "" -#: library/zipfile.rst:566 +#: library/zipfile.rst:567 msgid "Return ``True`` if the current context references a directory." msgstr "" -#: library/zipfile.rst:570 +#: library/zipfile.rst:571 msgid "Return ``True`` if the current context references a file." msgstr "" -#: library/zipfile.rst:574 +#: library/zipfile.rst:575 msgid "" "Return ``True`` if the current context references a file or directory in the " "zip file." msgstr "" -#: library/zipfile.rst:579 +#: library/zipfile.rst:580 msgid "The file extension of the final component." msgstr "" -#: library/zipfile.rst:581 +#: library/zipfile.rst:582 msgid "Added :data:`Path.suffix` property." msgstr "" -#: library/zipfile.rst:586 +#: library/zipfile.rst:587 msgid "The final path component, without its suffix." msgstr "" -#: library/zipfile.rst:588 +#: library/zipfile.rst:589 msgid "Added :data:`Path.stem` property." msgstr "" -#: library/zipfile.rst:593 +#: library/zipfile.rst:594 msgid "A list of the path’s file extensions." msgstr "" -#: library/zipfile.rst:595 +#: library/zipfile.rst:596 msgid "Added :data:`Path.suffixes` property." msgstr "" -#: library/zipfile.rst:600 +#: library/zipfile.rst:601 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:613 +#: library/zipfile.rst:614 msgid "Read the current file as bytes." msgstr "" -#: library/zipfile.rst:617 +#: library/zipfile.rst:618 msgid "" "Return a new Path object with each of the *other* arguments joined. The " "following are equivalent::" msgstr "" -#: library/zipfile.rst:624 +#: library/zipfile.rst:625 msgid "" "Prior to 3.10, ``joinpath`` was undocumented and accepted exactly one " "parameter." msgstr "" -#: library/zipfile.rst:628 +#: library/zipfile.rst:629 msgid "" "The `zipp `_ project provides backports of " "the latest path object functionality to older Pythons. Use ``zipp.Path`` in " "place of ``zipfile.Path`` for early access to changes." msgstr "" -#: library/zipfile.rst:636 +#: library/zipfile.rst:637 msgid "PyZipFile Objects" msgstr "" -#: library/zipfile.rst:638 +#: library/zipfile.rst:639 msgid "" "The :class:`PyZipFile` constructor takes the same parameters as the :class:" "`ZipFile` constructor, and one additional parameter, *optimize*." msgstr "" -#: library/zipfile.rst:644 +#: library/zipfile.rst:645 msgid "The *optimize* parameter." msgstr "" -#: library/zipfile.rst:650 +#: library/zipfile.rst:651 msgid "" "Instances have one method in addition to those of :class:`ZipFile` objects:" msgstr "" -#: library/zipfile.rst:654 +#: library/zipfile.rst:655 msgid "" "Search for files :file:`\\*.py` and add the corresponding file to the " "archive." msgstr "" -#: library/zipfile.rst:657 +#: library/zipfile.rst:658 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:660 +#: library/zipfile.rst:661 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:664 +#: library/zipfile.rst:665 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 " @@ -772,11 +773,11 @@ msgid "" "in sorted order." msgstr "" -#: library/zipfile.rst:674 +#: library/zipfile.rst:675 msgid "*basename* is intended for internal use only." msgstr "" -#: library/zipfile.rst:676 +#: library/zipfile.rst:677 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) " @@ -787,286 +788,286 @@ msgid "" "exclude them::" msgstr "" -#: library/zipfile.rst:690 +#: library/zipfile.rst:691 msgid "The :meth:`writepy` method makes archives with file names like this::" msgstr "" -#: library/zipfile.rst:699 +#: library/zipfile.rst:700 msgid "The *filterfunc* parameter." msgstr "" -#: library/zipfile.rst:702 +#: library/zipfile.rst:703 msgid "The *pathname* parameter accepts a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:705 +#: library/zipfile.rst:706 msgid "Recursion sorts directory entries." msgstr "" -#: library/zipfile.rst:712 +#: library/zipfile.rst:713 msgid "ZipInfo Objects" msgstr "" -#: library/zipfile.rst:714 +#: library/zipfile.rst:715 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:718 +#: library/zipfile.rst:719 msgid "" "There is one classmethod to make a :class:`ZipInfo` instance for a " "filesystem file:" msgstr "" -#: library/zipfile.rst:724 +#: library/zipfile.rst:725 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:727 +#: library/zipfile.rst:728 msgid "*filename* should be the path to a file or directory on the filesystem." msgstr "" -#: library/zipfile.rst:729 +#: library/zipfile.rst:730 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:741 +#: library/zipfile.rst:742 msgid "The *filename* parameter accepts a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:748 +#: library/zipfile.rst:749 msgid "Instances have the following methods and attributes:" msgstr "" -#: library/zipfile.rst:752 +#: library/zipfile.rst:753 msgid "Return ``True`` if this archive member is a directory." msgstr "" -#: library/zipfile.rst:754 +#: library/zipfile.rst:755 msgid "This uses the entry's name: directories should always end with ``/``." msgstr "" -#: library/zipfile.rst:761 +#: library/zipfile.rst:762 msgid "Name of the file in the archive." msgstr "" -#: library/zipfile.rst:766 +#: library/zipfile.rst:767 msgid "" "The time and date of the last modification to the archive member. This is a " "tuple of six values:" msgstr "" -#: library/zipfile.rst:770 +#: library/zipfile.rst:771 msgid "Index" msgstr "" -#: library/zipfile.rst:770 +#: library/zipfile.rst:771 msgid "Value" msgstr "" -#: library/zipfile.rst:772 +#: library/zipfile.rst:773 msgid "``0``" msgstr "" -#: library/zipfile.rst:772 +#: library/zipfile.rst:773 msgid "Year (>= 1980)" msgstr "" -#: library/zipfile.rst:774 +#: library/zipfile.rst:775 msgid "``1``" msgstr "" -#: library/zipfile.rst:774 +#: library/zipfile.rst:775 msgid "Month (one-based)" msgstr "" -#: library/zipfile.rst:776 +#: library/zipfile.rst:777 msgid "``2``" msgstr "" -#: library/zipfile.rst:776 +#: library/zipfile.rst:777 msgid "Day of month (one-based)" msgstr "" -#: library/zipfile.rst:778 +#: library/zipfile.rst:779 msgid "``3``" msgstr "" -#: library/zipfile.rst:778 +#: library/zipfile.rst:779 msgid "Hours (zero-based)" msgstr "" -#: library/zipfile.rst:780 +#: library/zipfile.rst:781 msgid "``4``" msgstr "" -#: library/zipfile.rst:780 +#: library/zipfile.rst:781 msgid "Minutes (zero-based)" msgstr "" -#: library/zipfile.rst:782 +#: library/zipfile.rst:783 msgid "``5``" msgstr "" -#: library/zipfile.rst:782 +#: library/zipfile.rst:783 msgid "Seconds (zero-based)" msgstr "" -#: library/zipfile.rst:787 +#: library/zipfile.rst:788 msgid "The ZIP file format does not support timestamps before 1980." msgstr "" -#: library/zipfile.rst:792 +#: library/zipfile.rst:793 msgid "Type of compression for the archive member." msgstr "" -#: library/zipfile.rst:797 +#: library/zipfile.rst:798 msgid "Comment for the individual archive member as a :class:`bytes` object." msgstr "" -#: library/zipfile.rst:802 +#: library/zipfile.rst:803 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:809 +#: library/zipfile.rst:810 msgid "System which created ZIP archive." msgstr "" -#: library/zipfile.rst:814 +#: library/zipfile.rst:815 msgid "PKZIP version which created ZIP archive." msgstr "" -#: library/zipfile.rst:819 +#: library/zipfile.rst:820 msgid "PKZIP version needed to extract archive." msgstr "" -#: library/zipfile.rst:824 +#: library/zipfile.rst:825 msgid "Must be zero." msgstr "" -#: library/zipfile.rst:829 +#: library/zipfile.rst:830 msgid "ZIP flag bits." msgstr "" -#: library/zipfile.rst:834 +#: library/zipfile.rst:835 msgid "Volume number of file header." msgstr "" -#: library/zipfile.rst:839 +#: library/zipfile.rst:840 msgid "Internal attributes." msgstr "" -#: library/zipfile.rst:844 +#: library/zipfile.rst:845 msgid "External file attributes." msgstr "" -#: library/zipfile.rst:849 +#: library/zipfile.rst:850 msgid "Byte offset to the file header." msgstr "" -#: library/zipfile.rst:854 +#: library/zipfile.rst:855 msgid "CRC-32 of the uncompressed file." msgstr "" -#: library/zipfile.rst:859 +#: library/zipfile.rst:860 msgid "Size of the compressed data." msgstr "" -#: library/zipfile.rst:864 +#: library/zipfile.rst:865 msgid "Size of the uncompressed file." msgstr "" -#: library/zipfile.rst:871 +#: library/zipfile.rst:872 msgid "Command-Line Interface" msgstr "" -#: library/zipfile.rst:873 +#: library/zipfile.rst:874 msgid "" "The :mod:`zipfile` module provides a simple command-line interface to " "interact with ZIP archives." msgstr "" -#: library/zipfile.rst:876 +#: library/zipfile.rst:877 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:883 +#: library/zipfile.rst:884 msgid "Passing a directory is also acceptable:" msgstr "" -#: library/zipfile.rst:889 +#: library/zipfile.rst:890 msgid "" "If you want to extract a ZIP archive into the specified directory, use the :" "option:`-e` option:" msgstr "" -#: library/zipfile.rst:896 +#: library/zipfile.rst:897 msgid "For a list of the files in a ZIP archive, use the :option:`-l` option:" msgstr "" -#: library/zipfile.rst:904 +#: library/zipfile.rst:905 msgid "Command-line options" msgstr "" -#: library/zipfile.rst:909 +#: library/zipfile.rst:910 msgid "List files in a zipfile." msgstr "" -#: library/zipfile.rst:914 +#: library/zipfile.rst:915 msgid "Create zipfile from source files." msgstr "" -#: library/zipfile.rst:919 +#: library/zipfile.rst:920 msgid "Extract zipfile into target directory." msgstr "" -#: library/zipfile.rst:924 +#: library/zipfile.rst:925 msgid "Test whether the zipfile is valid or not." msgstr "" -#: library/zipfile.rst:928 +#: library/zipfile.rst:929 msgid "" "Specify encoding of member names for :option:`-l`, :option:`-e` and :option:" "`-t`." msgstr "" -#: library/zipfile.rst:935 +#: library/zipfile.rst:936 msgid "Decompression pitfalls" msgstr "" -#: library/zipfile.rst:937 +#: library/zipfile.rst:938 msgid "" "The extraction in zipfile module might fail due to some pitfalls listed " "below." msgstr "" -#: library/zipfile.rst:940 +#: library/zipfile.rst:941 msgid "From file itself" msgstr "" -#: library/zipfile.rst:942 +#: library/zipfile.rst:943 msgid "" "Decompression may fail due to incorrect password / CRC checksum / ZIP format " "or unsupported compression method / decryption." msgstr "" -#: library/zipfile.rst:946 +#: library/zipfile.rst:947 msgid "File System limitations" msgstr "" -#: library/zipfile.rst:948 +#: library/zipfile.rst:949 msgid "" "Exceeding limitations on different file systems can cause decompression " "failed. Such as allowable characters in the directory entries, length of the " @@ -1074,33 +1075,33 @@ msgid "" "files, etc." msgstr "" -#: library/zipfile.rst:955 +#: library/zipfile.rst:956 msgid "Resources limitations" msgstr "" -#: library/zipfile.rst:957 +#: library/zipfile.rst:958 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:962 +#: library/zipfile.rst:963 msgid "Interruption" msgstr "" -#: library/zipfile.rst:964 +#: library/zipfile.rst:965 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:968 +#: library/zipfile.rst:969 msgid "Default behaviors of extraction" msgstr "" -#: library/zipfile.rst:970 +#: library/zipfile.rst:971 msgid "" "Not knowing the default extraction behaviors can cause unexpected " "decompression results. For example, when extracting the same archive twice, " diff --git a/library/zoneinfo.po b/library/zoneinfo.po index 0755c68d0..fd3688d25 100644 --- a/library/zoneinfo.po +++ b/library/zoneinfo.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -53,7 +53,7 @@ msgid "" "zone data via PyPI." msgstr "" -#: includes/wasm-notavail.rst:-1 +#: includes/wasm-notavail.rst:3 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index 570215c25..650a033fc 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -261,20 +261,18 @@ msgstr "" #: reference/compound_stmts.rst:303 msgid "" -"Before an :keyword:`!except` clause's suite is executed, details about the " -"exception are stored in the :mod:`sys` module and can be accessed via :func:" -"`sys.exc_info`. :func:`sys.exc_info` returns a 3-tuple consisting of the " -"exception class, the exception instance and a traceback object (see section :" -"ref:`types`) identifying the point in the program where the exception " -"occurred. The details about the exception accessed via :func:`sys.exc_info` " -"are restored to their previous values when leaving an exception handler::" +"Before an :keyword:`!except` clause's suite is executed, the exception is " +"stored in the :mod:`sys` module, where it can be accessed from within the " +"body of the :keyword:`!except` clause by calling :func:`sys.exception`. When " +"leaving an exception handler, the exception stored in the :mod:`sys` module " +"is reset to its previous value::" msgstr "" -#: reference/compound_stmts.rst:337 +#: reference/compound_stmts.rst:334 msgid ":keyword:`!except*` clause" msgstr "" -#: reference/compound_stmts.rst:339 +#: reference/compound_stmts.rst:336 msgid "" "The :keyword:`!except*` clause(s) are used for handling :exc:" "`ExceptionGroup`\\s. The exception type for matching is interpreted as in " @@ -287,21 +285,21 @@ msgid "" "that matches it. ::" msgstr "" -#: reference/compound_stmts.rst:367 +#: reference/compound_stmts.rst:364 msgid "" "Any remaining exceptions that were not handled by any :keyword:`!except*` " "clause are re-raised at the end, combined into an exception group along with " "all exceptions that were raised from within :keyword:`!except*` clauses." msgstr "" -#: reference/compound_stmts.rst:371 +#: reference/compound_stmts.rst:368 msgid "" "If the raised exception is not an exception group and its type matches one " "of the :keyword:`!except*` clauses, it is caught and wrapped by an exception " "group with an empty message string. ::" msgstr "" -#: reference/compound_stmts.rst:382 +#: reference/compound_stmts.rst:379 msgid "" "An :keyword:`!except*` clause must have a matching type, and this type " "cannot be a subclass of :exc:`BaseExceptionGroup`. It is not possible to " @@ -310,11 +308,11 @@ msgid "" "an :keyword:`!except*` clause." msgstr "" -#: reference/compound_stmts.rst:399 +#: reference/compound_stmts.rst:396 msgid ":keyword:`!else` clause" msgstr "" -#: reference/compound_stmts.rst:401 +#: reference/compound_stmts.rst:398 msgid "" "The optional :keyword:`!else` clause is executed if the control flow leaves " "the :keyword:`try` suite, no exception was raised, and no :keyword:" @@ -323,11 +321,11 @@ msgid "" "keyword:`except` clauses." msgstr "" -#: reference/compound_stmts.rst:413 +#: reference/compound_stmts.rst:410 msgid ":keyword:`!finally` clause" msgstr "" -#: reference/compound_stmts.rst:415 +#: reference/compound_stmts.rst:412 msgid "" "If :keyword:`!finally` is present, it specifies a 'cleanup' handler. The :" "keyword:`try` clause is executed, including any :keyword:`except` and :" @@ -341,13 +339,13 @@ msgid "" "exception is discarded::" msgstr "" -#: reference/compound_stmts.rst:434 +#: reference/compound_stmts.rst:431 msgid "" "The exception information is not available to the program during execution " "of the :keyword:`!finally` clause." msgstr "" -#: reference/compound_stmts.rst:442 +#: reference/compound_stmts.rst:439 msgid "" "When a :keyword:`return`, :keyword:`break` or :keyword:`continue` statement " "is executed in the :keyword:`try` suite of a :keyword:`!try`...\\ :keyword:`!" @@ -355,7 +353,7 @@ msgid "" "way out.'" msgstr "" -#: reference/compound_stmts.rst:446 +#: reference/compound_stmts.rst:443 msgid "" "The return value of a function is determined by the last :keyword:`return` " "statement executed. Since the :keyword:`!finally` clause always executes, " @@ -363,17 +361,17 @@ msgid "" "will always be the last one executed::" msgstr "" -#: reference/compound_stmts.rst:460 +#: reference/compound_stmts.rst:457 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:469 +#: reference/compound_stmts.rst:466 msgid "The :keyword:`!with` statement" msgstr "" -#: reference/compound_stmts.rst:478 +#: reference/compound_stmts.rst:475 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`). " @@ -381,37 +379,37 @@ msgid "" "`finally` usage patterns to be encapsulated for convenient reuse." msgstr "" -#: reference/compound_stmts.rst:488 +#: reference/compound_stmts.rst:485 msgid "" "The execution of the :keyword:`with` statement with one \"item\" proceeds as " "follows:" msgstr "" -#: reference/compound_stmts.rst:490 +#: reference/compound_stmts.rst:487 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:493 +#: reference/compound_stmts.rst:490 msgid "The context manager's :meth:`__enter__` is loaded for later use." msgstr "" -#: reference/compound_stmts.rst:495 +#: reference/compound_stmts.rst:492 msgid "The context manager's :meth:`__exit__` is loaded for later use." msgstr "" -#: reference/compound_stmts.rst:497 +#: reference/compound_stmts.rst:494 msgid "The context manager's :meth:`__enter__` method is invoked." msgstr "" -#: reference/compound_stmts.rst:499 +#: reference/compound_stmts.rst:496 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:504 +#: reference/compound_stmts.rst:501 msgid "" "The :keyword:`with` statement guarantees that if the :meth:`__enter__` " "method returns without an error, then :meth:`__exit__` will always be " @@ -420,11 +418,11 @@ msgid "" "See step 7 below." msgstr "" -#: reference/compound_stmts.rst:510 +#: reference/compound_stmts.rst:507 msgid "The suite is executed." msgstr "" -#: reference/compound_stmts.rst:512 +#: reference/compound_stmts.rst:509 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 " @@ -432,7 +430,7 @@ msgid "" "supplied." msgstr "" -#: reference/compound_stmts.rst:517 +#: reference/compound_stmts.rst:514 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 " @@ -440,115 +438,115 @@ msgid "" "the statement following the :keyword:`with` statement." msgstr "" -#: reference/compound_stmts.rst:522 +#: reference/compound_stmts.rst:519 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:526 reference/compound_stmts.rst:1517 -#: reference/compound_stmts.rst:1558 +#: reference/compound_stmts.rst:523 reference/compound_stmts.rst:1514 +#: reference/compound_stmts.rst:1555 msgid "The following code::" msgstr "" -#: reference/compound_stmts.rst:531 reference/compound_stmts.rst:556 -#: reference/compound_stmts.rst:1563 +#: reference/compound_stmts.rst:528 reference/compound_stmts.rst:553 +#: reference/compound_stmts.rst:1560 msgid "is semantically equivalent to::" msgstr "" -#: reference/compound_stmts.rst:550 +#: reference/compound_stmts.rst:547 msgid "" "With more than one item, the context managers are processed as if multiple :" "keyword:`with` statements were nested::" msgstr "" -#: reference/compound_stmts.rst:562 +#: reference/compound_stmts.rst:559 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:571 +#: reference/compound_stmts.rst:568 msgid "Support for multiple context expressions." msgstr "" -#: reference/compound_stmts.rst:574 +#: reference/compound_stmts.rst:571 msgid "" "Support for using grouping parentheses to break the statement in multiple " "lines." msgstr "" -#: reference/compound_stmts.rst:580 +#: reference/compound_stmts.rst:577 msgid ":pep:`343` - The \"with\" statement" msgstr "" -#: reference/compound_stmts.rst:580 +#: reference/compound_stmts.rst:577 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." msgstr "" -#: reference/compound_stmts.rst:586 +#: reference/compound_stmts.rst:583 msgid "The :keyword:`!match` statement" msgstr "" -#: reference/compound_stmts.rst:600 +#: reference/compound_stmts.rst:597 msgid "The match statement is used for pattern matching. Syntax:" msgstr "" -#: reference/compound_stmts.rst:609 +#: reference/compound_stmts.rst:606 msgid "" "This section uses single quotes to denote :ref:`soft keywords `." msgstr "" -#: reference/compound_stmts.rst:612 +#: reference/compound_stmts.rst:609 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:616 +#: reference/compound_stmts.rst:613 msgid "A match success or failure (also termed a pattern success or failure)." msgstr "" -#: reference/compound_stmts.rst:618 +#: reference/compound_stmts.rst:615 msgid "" "Possible binding of matched values to a name. The prerequisites for this " "are further discussed below." msgstr "" -#: reference/compound_stmts.rst:621 +#: reference/compound_stmts.rst:618 msgid "" "The ``match`` and ``case`` keywords are :ref:`soft keywords `." msgstr "" -#: reference/compound_stmts.rst:625 reference/compound_stmts.rst:1180 +#: reference/compound_stmts.rst:622 reference/compound_stmts.rst:1177 msgid ":pep:`634` -- Structural Pattern Matching: Specification" msgstr "" -#: reference/compound_stmts.rst:626 reference/compound_stmts.rst:1181 +#: reference/compound_stmts.rst:623 reference/compound_stmts.rst:1178 msgid ":pep:`636` -- Structural Pattern Matching: Tutorial" msgstr "" -#: reference/compound_stmts.rst:630 +#: reference/compound_stmts.rst:627 msgid "Overview" msgstr "" -#: reference/compound_stmts.rst:632 +#: reference/compound_stmts.rst:629 msgid "Here's an overview of the logical flow of a match statement:" msgstr "" -#: reference/compound_stmts.rst:635 +#: reference/compound_stmts.rst:632 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:639 +#: reference/compound_stmts.rst:636 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 " @@ -558,7 +556,7 @@ msgid "" "outlive the executed block and can be used after the match statement**." msgstr "" -#: reference/compound_stmts.rst:648 +#: reference/compound_stmts.rst:645 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 " @@ -567,87 +565,87 @@ msgid "" "made to allow different implementations to add optimizations." msgstr "" -#: reference/compound_stmts.rst:655 +#: reference/compound_stmts.rst:652 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:658 +#: reference/compound_stmts.rst:655 msgid "" "If the guard evaluates as true or is missing, the ``block`` inside " "``case_block`` is executed." msgstr "" -#: reference/compound_stmts.rst:661 +#: reference/compound_stmts.rst:658 msgid "Otherwise, the next ``case_block`` is attempted as described above." msgstr "" -#: reference/compound_stmts.rst:663 +#: reference/compound_stmts.rst:660 msgid "If there are no further case blocks, the match statement is completed." msgstr "" -#: reference/compound_stmts.rst:667 +#: reference/compound_stmts.rst:664 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:671 +#: reference/compound_stmts.rst:668 msgid "A sample match statement::" msgstr "" -#: reference/compound_stmts.rst:687 +#: reference/compound_stmts.rst:684 msgid "" "In this case, ``if flag`` is a guard. Read more about that in the next " "section." msgstr "" -#: reference/compound_stmts.rst:690 +#: reference/compound_stmts.rst:687 msgid "Guards" msgstr "" -#: reference/compound_stmts.rst:697 +#: reference/compound_stmts.rst:694 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:702 +#: reference/compound_stmts.rst:699 msgid "The logical flow of a ``case`` block with a ``guard`` follows:" msgstr "" -#: reference/compound_stmts.rst:704 +#: reference/compound_stmts.rst:701 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:708 +#: reference/compound_stmts.rst:705 msgid "If the pattern succeeded, evaluate the ``guard``." msgstr "" -#: reference/compound_stmts.rst:710 +#: reference/compound_stmts.rst:707 msgid "" "If the ``guard`` condition evaluates as true, the case block is selected." msgstr "" -#: reference/compound_stmts.rst:713 +#: reference/compound_stmts.rst:710 msgid "" "If the ``guard`` condition evaluates as false, the case block is not " "selected." msgstr "" -#: reference/compound_stmts.rst:716 +#: reference/compound_stmts.rst:713 msgid "" "If the ``guard`` raises an exception during evaluation, the exception " "bubbles up." msgstr "" -#: reference/compound_stmts.rst:719 +#: reference/compound_stmts.rst:716 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 " @@ -656,17 +654,17 @@ msgid "" "block is selected." msgstr "" -#: reference/compound_stmts.rst:729 +#: reference/compound_stmts.rst:726 msgid "Irrefutable Case Blocks" msgstr "" -#: reference/compound_stmts.rst:733 +#: reference/compound_stmts.rst:730 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:736 +#: reference/compound_stmts.rst:733 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 " @@ -674,47 +672,47 @@ msgid "" "irrefutable:" msgstr "" -#: reference/compound_stmts.rst:741 +#: reference/compound_stmts.rst:738 msgid ":ref:`as-patterns` whose left-hand side is irrefutable" msgstr "" -#: reference/compound_stmts.rst:743 +#: reference/compound_stmts.rst:740 msgid ":ref:`or-patterns` containing at least one irrefutable pattern" msgstr "" -#: reference/compound_stmts.rst:745 +#: reference/compound_stmts.rst:742 msgid ":ref:`capture-patterns`" msgstr "" -#: reference/compound_stmts.rst:747 +#: reference/compound_stmts.rst:744 msgid ":ref:`wildcard-patterns`" msgstr "" -#: reference/compound_stmts.rst:749 +#: reference/compound_stmts.rst:746 msgid "parenthesized irrefutable patterns" msgstr "" -#: reference/compound_stmts.rst:753 +#: reference/compound_stmts.rst:750 msgid "Patterns" msgstr "" -#: reference/compound_stmts.rst:760 +#: reference/compound_stmts.rst:757 msgid "This section uses grammar notations beyond standard EBNF:" msgstr "" -#: reference/compound_stmts.rst:762 +#: reference/compound_stmts.rst:759 msgid "the notation ``SEP.RULE+`` is shorthand for ``RULE (SEP RULE)*``" msgstr "" -#: reference/compound_stmts.rst:764 +#: reference/compound_stmts.rst:761 msgid "the notation ``!RULE`` is shorthand for a negative lookahead assertion" msgstr "" -#: reference/compound_stmts.rst:767 +#: reference/compound_stmts.rst:764 msgid "The top-level syntax for ``patterns`` is:" msgstr "" -#: reference/compound_stmts.rst:781 +#: reference/compound_stmts.rst:778 msgid "" "The descriptions below will include a description \"in simple terms\" of " "what a pattern does for illustration purposes (credits to Raymond Hettinger " @@ -724,70 +722,70 @@ msgid "" "forms." msgstr "" -#: reference/compound_stmts.rst:791 +#: reference/compound_stmts.rst:788 msgid "OR Patterns" msgstr "" -#: reference/compound_stmts.rst:793 +#: reference/compound_stmts.rst:790 msgid "" "An OR pattern is two or more patterns separated by vertical bars ``|``. " "Syntax:" msgstr "" -#: reference/compound_stmts.rst:799 +#: reference/compound_stmts.rst:796 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:802 +#: reference/compound_stmts.rst:799 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:806 +#: reference/compound_stmts.rst:803 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:812 +#: reference/compound_stmts.rst:809 msgid "AS Patterns" msgstr "" -#: reference/compound_stmts.rst:814 +#: reference/compound_stmts.rst:811 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:820 +#: reference/compound_stmts.rst:817 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:824 +#: reference/compound_stmts.rst:821 msgid "" "In simple terms ``P as NAME`` will match with ``P``, and on success it will " "set ``NAME = ``." msgstr "" -#: reference/compound_stmts.rst:831 +#: reference/compound_stmts.rst:828 msgid "Literal Patterns" msgstr "" -#: reference/compound_stmts.rst:833 +#: reference/compound_stmts.rst:830 msgid "" "A literal pattern corresponds to most :ref:`literals ` in Python. " "Syntax:" msgstr "" -#: reference/compound_stmts.rst:846 +#: reference/compound_stmts.rst:843 msgid "" "The rule ``strings`` and the token ``NUMBER`` are defined in the :doc:" "`standard Python grammar <./grammar>`. Triple-quoted strings are " @@ -795,42 +793,42 @@ msgid "" "are not supported." msgstr "" -#: reference/compound_stmts.rst:851 +#: reference/compound_stmts.rst:848 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:855 +#: reference/compound_stmts.rst:852 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:861 +#: reference/compound_stmts.rst:858 msgid "Capture Patterns" msgstr "" -#: reference/compound_stmts.rst:863 +#: reference/compound_stmts.rst:860 msgid "A capture pattern binds the subject value to a name. Syntax:" msgstr "" -#: reference/compound_stmts.rst:869 +#: reference/compound_stmts.rst:866 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:873 +#: reference/compound_stmts.rst:870 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:876 +#: reference/compound_stmts.rst:873 msgid "" "Capture patterns always succeed. The binding follows scoping rules " "established by the assignment expression operator in :pep:`572`; the name " @@ -838,55 +836,55 @@ msgid "" "there's an applicable :keyword:`global` or :keyword:`nonlocal` statement." msgstr "" -#: reference/compound_stmts.rst:881 +#: reference/compound_stmts.rst:878 msgid "" "In simple terms ``NAME`` will always succeed and it will set ``NAME = " "``." msgstr "" -#: reference/compound_stmts.rst:886 +#: reference/compound_stmts.rst:883 msgid "Wildcard Patterns" msgstr "" -#: reference/compound_stmts.rst:888 +#: reference/compound_stmts.rst:885 msgid "" "A wildcard pattern always succeeds (matches anything) and binds no name. " "Syntax:" msgstr "" -#: reference/compound_stmts.rst:894 +#: reference/compound_stmts.rst:891 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:898 +#: reference/compound_stmts.rst:895 msgid "In simple terms, ``_`` will always succeed." msgstr "" -#: reference/compound_stmts.rst:903 +#: reference/compound_stmts.rst:900 msgid "Value Patterns" msgstr "" -#: reference/compound_stmts.rst:905 +#: reference/compound_stmts.rst:902 msgid "A value pattern represents a named value in Python. Syntax:" msgstr "" -#: reference/compound_stmts.rst:913 +#: reference/compound_stmts.rst:910 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:918 +#: reference/compound_stmts.rst:915 msgid "" "In simple terms ``NAME1.NAME2`` will succeed only if `` == NAME1." "NAME2``" msgstr "" -#: reference/compound_stmts.rst:922 +#: reference/compound_stmts.rst:919 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 " @@ -894,44 +892,44 @@ msgid "" "given match statement." msgstr "" -#: reference/compound_stmts.rst:930 +#: reference/compound_stmts.rst:927 msgid "Group Patterns" msgstr "" -#: reference/compound_stmts.rst:932 +#: reference/compound_stmts.rst:929 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:939 +#: reference/compound_stmts.rst:936 msgid "In simple terms ``(P)`` has the same effect as ``P``." msgstr "" -#: reference/compound_stmts.rst:944 +#: reference/compound_stmts.rst:941 msgid "Sequence Patterns" msgstr "" -#: reference/compound_stmts.rst:946 +#: reference/compound_stmts.rst:943 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:957 +#: reference/compound_stmts.rst:954 msgid "" "There is no difference if parentheses or square brackets are used for " "sequence patterns (i.e. ``(...)`` vs ``[...]`` )." msgstr "" -#: reference/compound_stmts.rst:961 +#: reference/compound_stmts.rst:958 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:966 +#: reference/compound_stmts.rst:963 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 " @@ -939,40 +937,40 @@ msgid "" "variable-length sequence pattern." msgstr "" -#: reference/compound_stmts.rst:971 +#: reference/compound_stmts.rst:968 msgid "" "The following is the logical flow for matching a sequence pattern against a " "subject value:" msgstr "" -#: reference/compound_stmts.rst:974 +#: reference/compound_stmts.rst:971 msgid "" "If the subject value is not a sequence [#]_, the sequence pattern fails." msgstr "" -#: reference/compound_stmts.rst:977 +#: reference/compound_stmts.rst:974 msgid "" "If the subject value is an instance of ``str``, ``bytes`` or ``bytearray`` " "the sequence pattern fails." msgstr "" -#: reference/compound_stmts.rst:980 +#: reference/compound_stmts.rst:977 msgid "" "The subsequent steps depend on whether the sequence pattern is fixed or " "variable-length." msgstr "" -#: reference/compound_stmts.rst:983 +#: reference/compound_stmts.rst:980 msgid "If the sequence pattern is fixed-length:" msgstr "" -#: reference/compound_stmts.rst:985 +#: reference/compound_stmts.rst:982 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:988 +#: reference/compound_stmts.rst:985 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 " @@ -980,118 +978,118 @@ msgid "" "corresponding item, the sequence pattern succeeds." msgstr "" -#: reference/compound_stmts.rst:993 +#: reference/compound_stmts.rst:990 msgid "Otherwise, if the sequence pattern is variable-length:" msgstr "" -#: reference/compound_stmts.rst:995 +#: reference/compound_stmts.rst:992 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:998 +#: reference/compound_stmts.rst:995 msgid "" "The leading non-star subpatterns are matched to their corresponding items as " "for fixed-length sequences." msgstr "" -#: reference/compound_stmts.rst:1001 +#: reference/compound_stmts.rst:998 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:1005 +#: reference/compound_stmts.rst:1002 msgid "" "Remaining non-star subpatterns are matched to their corresponding subject " "items, as for a fixed-length sequence." msgstr "" -#: reference/compound_stmts.rst:1008 +#: reference/compound_stmts.rst:1005 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:1014 +#: reference/compound_stmts.rst:1011 msgid "" "In simple terms ``[P1, P2, P3,`` ... ``, P]`` matches only if all the " "following happens:" msgstr "" -#: reference/compound_stmts.rst:1017 +#: reference/compound_stmts.rst:1014 msgid "check ```` is a sequence" msgstr "" -#: reference/compound_stmts.rst:1018 +#: reference/compound_stmts.rst:1015 msgid "``len(subject) == ``" msgstr "" -#: reference/compound_stmts.rst:1019 +#: reference/compound_stmts.rst:1016 msgid "" "``P1`` matches ``[0]`` (note that this match can also bind names)" msgstr "" -#: reference/compound_stmts.rst:1020 +#: reference/compound_stmts.rst:1017 msgid "" "``P2`` matches ``[1]`` (note that this match can also bind names)" msgstr "" -#: reference/compound_stmts.rst:1021 +#: reference/compound_stmts.rst:1018 msgid "... and so on for the corresponding pattern/element." msgstr "" -#: reference/compound_stmts.rst:1026 +#: reference/compound_stmts.rst:1023 msgid "Mapping Patterns" msgstr "" -#: reference/compound_stmts.rst:1028 +#: reference/compound_stmts.rst:1025 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:1039 +#: reference/compound_stmts.rst:1036 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:1042 +#: reference/compound_stmts.rst:1039 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:1046 +#: reference/compound_stmts.rst:1043 msgid "" "The following is the logical flow for matching a mapping pattern against a " "subject value:" msgstr "" -#: reference/compound_stmts.rst:1049 +#: reference/compound_stmts.rst:1046 msgid "If the subject value is not a mapping [#]_,the mapping pattern fails." msgstr "" -#: reference/compound_stmts.rst:1051 +#: reference/compound_stmts.rst:1048 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:1055 +#: reference/compound_stmts.rst:1052 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:1059 +#: reference/compound_stmts.rst:1056 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 " @@ -1099,254 +1097,254 @@ msgid "" "`__getitem__`." msgstr "" -#: reference/compound_stmts.rst:1064 +#: reference/compound_stmts.rst:1061 msgid "" "In simple terms ``{KEY1: P1, KEY2: P2, ... }`` matches only if all the " "following happens:" msgstr "" -#: reference/compound_stmts.rst:1067 +#: reference/compound_stmts.rst:1064 msgid "check ```` is a mapping" msgstr "" -#: reference/compound_stmts.rst:1068 +#: reference/compound_stmts.rst:1065 msgid "``KEY1 in ``" msgstr "" -#: reference/compound_stmts.rst:1069 +#: reference/compound_stmts.rst:1066 msgid "``P1`` matches ``[KEY1]``" msgstr "" -#: reference/compound_stmts.rst:1070 +#: reference/compound_stmts.rst:1067 msgid "... and so on for the corresponding KEY/pattern pair." msgstr "" -#: reference/compound_stmts.rst:1076 +#: reference/compound_stmts.rst:1073 msgid "Class Patterns" msgstr "" -#: reference/compound_stmts.rst:1078 +#: reference/compound_stmts.rst:1075 msgid "" "A class pattern represents a class and its positional and keyword arguments " "(if any). Syntax:" msgstr "" -#: reference/compound_stmts.rst:1089 +#: reference/compound_stmts.rst:1086 msgid "The same keyword should not be repeated in class patterns." msgstr "" -#: reference/compound_stmts.rst:1091 +#: reference/compound_stmts.rst:1088 msgid "" "The following is the logical flow for matching a class pattern against a " "subject value:" msgstr "" -#: reference/compound_stmts.rst:1094 +#: reference/compound_stmts.rst:1091 msgid "" "If ``name_or_attr`` is not an instance of the builtin :class:`type` , raise :" "exc:`TypeError`." msgstr "" -#: reference/compound_stmts.rst:1097 +#: reference/compound_stmts.rst:1094 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:1100 +#: reference/compound_stmts.rst:1097 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:1104 +#: reference/compound_stmts.rst:1101 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:1108 +#: reference/compound_stmts.rst:1105 msgid "" "If only keyword patterns are present, they are processed as follows, one by " "one:" msgstr "" -#: reference/compound_stmts.rst:1111 +#: reference/compound_stmts.rst:1108 msgid "I. The keyword is looked up as an attribute on the subject." msgstr "" -#: reference/compound_stmts.rst:1113 +#: reference/compound_stmts.rst:1110 msgid "" "If this raises an exception other than :exc:`AttributeError`, the exception " "bubbles up." msgstr "" -#: reference/compound_stmts.rst:1116 +#: reference/compound_stmts.rst:1113 msgid "If this raises :exc:`AttributeError`, the class pattern has failed." msgstr "" -#: reference/compound_stmts.rst:1118 +#: reference/compound_stmts.rst:1115 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:1123 +#: reference/compound_stmts.rst:1120 msgid "II. If all keyword patterns succeed, the class pattern succeeds." msgstr "" -#: reference/compound_stmts.rst:1125 +#: reference/compound_stmts.rst:1122 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:1129 +#: reference/compound_stmts.rst:1126 msgid "" "I. The equivalent of ``getattr(cls, \"__match_args__\", ())`` is called." msgstr "" -#: reference/compound_stmts.rst:1131 +#: reference/compound_stmts.rst:1128 msgid "If this raises an exception, the exception bubbles up." msgstr "" -#: reference/compound_stmts.rst:1133 +#: reference/compound_stmts.rst:1130 msgid "" "If the returned value is not a tuple, the conversion fails and :exc:" "`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1136 +#: reference/compound_stmts.rst:1133 msgid "" "If there are more positional patterns than ``len(cls.__match_args__)``, :exc:" "`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1139 +#: reference/compound_stmts.rst:1136 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:1143 +#: reference/compound_stmts.rst:1140 msgid "If there are duplicate keywords, :exc:`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1145 +#: reference/compound_stmts.rst:1142 msgid ":ref:`class-pattern-matching`" msgstr "" -#: reference/compound_stmts.rst:1148 +#: reference/compound_stmts.rst:1145 msgid "" "II. Once all positional patterns have been converted to keyword patterns," msgstr "" -#: reference/compound_stmts.rst:1148 +#: reference/compound_stmts.rst:1145 msgid "the match proceeds as if there were only keyword patterns." msgstr "" -#: reference/compound_stmts.rst:1150 +#: reference/compound_stmts.rst:1147 msgid "" "For the following built-in types the handling of positional subpatterns is " "different:" msgstr "" -#: reference/compound_stmts.rst:1153 +#: reference/compound_stmts.rst:1150 msgid ":class:`bool`" msgstr "" -#: reference/compound_stmts.rst:1154 +#: reference/compound_stmts.rst:1151 msgid ":class:`bytearray`" msgstr "" -#: reference/compound_stmts.rst:1155 +#: reference/compound_stmts.rst:1152 msgid ":class:`bytes`" msgstr "" -#: reference/compound_stmts.rst:1156 +#: reference/compound_stmts.rst:1153 msgid ":class:`dict`" msgstr "" -#: reference/compound_stmts.rst:1157 +#: reference/compound_stmts.rst:1154 msgid ":class:`float`" msgstr "" -#: reference/compound_stmts.rst:1158 +#: reference/compound_stmts.rst:1155 msgid ":class:`frozenset`" msgstr "" -#: reference/compound_stmts.rst:1159 +#: reference/compound_stmts.rst:1156 msgid ":class:`int`" msgstr "" -#: reference/compound_stmts.rst:1160 reference/compound_stmts.rst:1611 +#: reference/compound_stmts.rst:1157 reference/compound_stmts.rst:1608 msgid ":class:`list`" msgstr "" -#: reference/compound_stmts.rst:1161 +#: reference/compound_stmts.rst:1158 msgid ":class:`set`" msgstr "" -#: reference/compound_stmts.rst:1162 +#: reference/compound_stmts.rst:1159 msgid ":class:`str`" msgstr "" -#: reference/compound_stmts.rst:1163 reference/compound_stmts.rst:1614 +#: reference/compound_stmts.rst:1160 reference/compound_stmts.rst:1611 msgid ":class:`tuple`" msgstr "" -#: reference/compound_stmts.rst:1165 +#: reference/compound_stmts.rst:1162 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:1169 +#: reference/compound_stmts.rst:1166 msgid "" "In simple terms ``CLS(P1, attr=P2)`` matches only if the following happens:" msgstr "" -#: reference/compound_stmts.rst:1171 +#: reference/compound_stmts.rst:1168 msgid "``isinstance(, CLS)``" msgstr "" -#: reference/compound_stmts.rst:1172 +#: reference/compound_stmts.rst:1169 msgid "convert ``P1`` to a keyword pattern using ``CLS.__match_args__``" msgstr "" -#: reference/compound_stmts.rst:1174 +#: reference/compound_stmts.rst:1171 msgid "For each keyword argument ``attr=P2``:" msgstr "" -#: reference/compound_stmts.rst:1174 +#: reference/compound_stmts.rst:1171 msgid "``hasattr(, \"attr\")``" msgstr "" -#: reference/compound_stmts.rst:1175 +#: reference/compound_stmts.rst:1172 msgid "``P2`` matches ``.attr``" msgstr "" -#: reference/compound_stmts.rst:1176 +#: reference/compound_stmts.rst:1173 msgid "... and so on for the corresponding keyword argument/pattern pair." msgstr "" -#: reference/compound_stmts.rst:1191 +#: reference/compound_stmts.rst:1188 msgid "Function definitions" msgstr "" -#: reference/compound_stmts.rst:1206 +#: reference/compound_stmts.rst:1203 msgid "" "A function definition defines a user-defined function object (see section :" "ref:`types`):" msgstr "" -#: reference/compound_stmts.rst:1225 +#: reference/compound_stmts.rst:1222 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 " @@ -1355,13 +1353,13 @@ msgid "" "used when the function is called." msgstr "" -#: reference/compound_stmts.rst:1231 +#: reference/compound_stmts.rst:1228 msgid "" "The function definition does not execute the function body; this gets " "executed only when the function is called. [#]_" msgstr "" -#: reference/compound_stmts.rst:1237 +#: reference/compound_stmts.rst:1234 msgid "" "A function definition may be wrapped by one or more :term:`decorator` " "expressions. Decorator expressions are evaluated when the function is " @@ -1372,24 +1370,24 @@ msgid "" "example, the following code ::" msgstr "" -#: reference/compound_stmts.rst:1248 reference/compound_stmts.rst:1425 +#: reference/compound_stmts.rst:1245 reference/compound_stmts.rst:1422 msgid "is roughly equivalent to ::" msgstr "" -#: reference/compound_stmts.rst:1253 +#: reference/compound_stmts.rst:1250 msgid "" "except that the original function is not temporarily bound to the name " "``func``." msgstr "" -#: reference/compound_stmts.rst:1255 +#: reference/compound_stmts.rst:1252 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:1265 +#: reference/compound_stmts.rst:1262 msgid "" "When one or more :term:`parameters ` have the form *parameter* " "``=`` *expression*, the function is said to have \"default parameter values." @@ -1400,7 +1398,7 @@ msgid "" "syntactic restriction that is not expressed by the grammar." msgstr "" -#: reference/compound_stmts.rst:1273 +#: reference/compound_stmts.rst:1270 msgid "" "**Default parameter values are evaluated from left to right when the " "function definition is executed.** This means that the expression is " @@ -1413,7 +1411,7 @@ msgid "" "the default, and explicitly test for it in the body of the function, e.g.::" msgstr "" -#: reference/compound_stmts.rst:1294 +#: reference/compound_stmts.rst:1291 msgid "" "Function call semantics are described in more detail in section :ref:" "`calls`. A function call always assigns values to all parameters mentioned " @@ -1429,13 +1427,13 @@ msgid "" "positional arguments." msgstr "" -#: reference/compound_stmts.rst:1306 +#: reference/compound_stmts.rst:1303 msgid "" "The ``/`` function parameter syntax may be used to indicate positional-only " "parameters. See :pep:`570` for details." msgstr "" -#: reference/compound_stmts.rst:1315 +#: reference/compound_stmts.rst:1312 msgid "" "Parameters may have an :term:`annotation ` of the form " "\"``: expression``\" following the parameter name. Any parameter may have " @@ -1452,7 +1450,7 @@ msgid "" "different order than they appear in the source code." msgstr "" -#: reference/compound_stmts.rst:1330 +#: reference/compound_stmts.rst:1327 msgid "" "It is also possible to create anonymous functions (functions not bound to a " "name), for immediate use in expressions. This uses lambda expressions, " @@ -1464,7 +1462,7 @@ msgid "" "execution of multiple statements and annotations." msgstr "" -#: reference/compound_stmts.rst:1338 +#: reference/compound_stmts.rst:1335 msgid "" "**Programmer's note:** Functions are first-class objects. A \"``def``\" " "statement executed inside a function definition defines a local function " @@ -1473,51 +1471,51 @@ msgid "" "See section :ref:`naming` for details." msgstr "" -#: reference/compound_stmts.rst:1347 +#: reference/compound_stmts.rst:1344 msgid ":pep:`3107` - Function Annotations" msgstr "" -#: reference/compound_stmts.rst:1347 +#: reference/compound_stmts.rst:1344 msgid "The original specification for function annotations." msgstr "" -#: reference/compound_stmts.rst:1350 +#: reference/compound_stmts.rst:1347 msgid ":pep:`484` - Type Hints" msgstr "" -#: reference/compound_stmts.rst:1350 +#: reference/compound_stmts.rst:1347 msgid "Definition of a standard meaning for annotations: type hints." msgstr "" -#: reference/compound_stmts.rst:1354 +#: reference/compound_stmts.rst:1351 msgid ":pep:`526` - Syntax for Variable Annotations" msgstr "" -#: reference/compound_stmts.rst:1353 +#: reference/compound_stmts.rst:1350 msgid "" "Ability to type hint variable declarations, including class variables and " "instance variables" msgstr "" -#: reference/compound_stmts.rst:1357 +#: reference/compound_stmts.rst:1354 msgid ":pep:`563` - Postponed Evaluation of Annotations" msgstr "" -#: reference/compound_stmts.rst:1357 +#: reference/compound_stmts.rst:1354 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:1364 +#: reference/compound_stmts.rst:1361 msgid "Class definitions" msgstr "" -#: reference/compound_stmts.rst:1379 +#: reference/compound_stmts.rst:1376 msgid "A class definition defines a class object (see section :ref:`types`):" msgstr "" -#: reference/compound_stmts.rst:1386 +#: reference/compound_stmts.rst:1383 msgid "" "A class definition is an executable statement. The inheritance list usually " "gives a list of base classes (see :ref:`metaclasses` for more advanced " @@ -1526,11 +1524,11 @@ msgid "" "default, from the base class :class:`object`; hence, ::" msgstr "" -#: reference/compound_stmts.rst:1395 +#: reference/compound_stmts.rst:1392 msgid "is equivalent to ::" msgstr "" -#: reference/compound_stmts.rst:1400 +#: reference/compound_stmts.rst:1397 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 " @@ -1542,7 +1540,7 @@ msgid "" "original local namespace." msgstr "" -#: reference/compound_stmts.rst:1409 +#: reference/compound_stmts.rst:1406 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 " @@ -1550,30 +1548,30 @@ msgid "" "definition syntax." msgstr "" -#: reference/compound_stmts.rst:1414 +#: reference/compound_stmts.rst:1411 msgid "" "Class creation can be customized heavily using :ref:`metaclasses " "`." msgstr "" -#: reference/compound_stmts.rst:1419 +#: reference/compound_stmts.rst:1416 msgid "Classes can also be decorated: just like when decorating functions, ::" msgstr "" -#: reference/compound_stmts.rst:1430 +#: reference/compound_stmts.rst:1427 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:1433 +#: reference/compound_stmts.rst:1430 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:1438 +#: reference/compound_stmts.rst:1435 msgid "" "**Programmer's note:** Variables defined in the class definition are class " "attributes; they are shared by instances. Instance attributes can be set in " @@ -1586,35 +1584,35 @@ msgid "" "implementation details." msgstr "" -#: reference/compound_stmts.rst:1453 +#: reference/compound_stmts.rst:1450 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr "" -#: reference/compound_stmts.rst:1451 +#: reference/compound_stmts.rst:1448 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:1456 +#: reference/compound_stmts.rst:1453 msgid ":pep:`3129` - Class Decorators" msgstr "" -#: reference/compound_stmts.rst:1456 +#: reference/compound_stmts.rst:1453 msgid "" "The proposal that added class decorators. Function and method decorators " "were introduced in :pep:`318`." msgstr "" -#: reference/compound_stmts.rst:1463 +#: reference/compound_stmts.rst:1460 msgid "Coroutines" msgstr "" -#: reference/compound_stmts.rst:1471 +#: reference/compound_stmts.rst:1468 msgid "Coroutine function definition" msgstr "" -#: reference/compound_stmts.rst:1481 +#: reference/compound_stmts.rst:1478 msgid "" "Execution of Python coroutines can be suspended and resumed at many points " "(see :term:`coroutine`). :keyword:`await` expressions, :keyword:`async for` " @@ -1622,183 +1620,183 @@ msgid "" "function." msgstr "" -#: reference/compound_stmts.rst:1485 +#: reference/compound_stmts.rst:1482 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:1488 +#: reference/compound_stmts.rst:1485 msgid "" "It is a :exc:`SyntaxError` to use a ``yield from`` expression inside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1491 +#: reference/compound_stmts.rst:1488 msgid "An example of a coroutine function::" msgstr "" -#: reference/compound_stmts.rst:1497 +#: reference/compound_stmts.rst:1494 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:1505 +#: reference/compound_stmts.rst:1502 msgid "The :keyword:`!async for` statement" msgstr "" -#: reference/compound_stmts.rst:1510 +#: reference/compound_stmts.rst:1507 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:1514 +#: reference/compound_stmts.rst:1511 msgid "" "The ``async for`` statement allows convenient iteration over asynchronous " "iterables." msgstr "" -#: reference/compound_stmts.rst:1524 +#: reference/compound_stmts.rst:1521 msgid "Is semantically equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1540 +#: reference/compound_stmts.rst:1537 msgid "" "See also :meth:`~object.__aiter__` and :meth:`~object.__anext__` for details." msgstr "" -#: reference/compound_stmts.rst:1542 +#: reference/compound_stmts.rst:1539 msgid "" "It is a :exc:`SyntaxError` to use an ``async for`` statement outside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1550 +#: reference/compound_stmts.rst:1547 msgid "The :keyword:`!async with` statement" msgstr "" -#: reference/compound_stmts.rst:1555 +#: reference/compound_stmts.rst:1552 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:1582 +#: reference/compound_stmts.rst:1579 msgid "" "See also :meth:`~object.__aenter__` and :meth:`~object.__aexit__` for " "details." msgstr "" -#: reference/compound_stmts.rst:1584 +#: reference/compound_stmts.rst:1581 msgid "" "It is a :exc:`SyntaxError` to use an ``async with`` statement outside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1590 +#: reference/compound_stmts.rst:1587 msgid ":pep:`492` - Coroutines with async and await syntax" msgstr "" -#: reference/compound_stmts.rst:1590 +#: reference/compound_stmts.rst:1587 msgid "" "The proposal that made coroutines a proper standalone concept in Python, and " "added supporting syntax." msgstr "" -#: reference/compound_stmts.rst:1595 +#: reference/compound_stmts.rst:1592 msgid "Footnotes" msgstr "" -#: reference/compound_stmts.rst:1596 +#: reference/compound_stmts.rst:1593 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:1600 +#: reference/compound_stmts.rst:1597 msgid "In pattern matching, a sequence is defined as one of the following:" msgstr "" -#: reference/compound_stmts.rst:1602 +#: reference/compound_stmts.rst:1599 msgid "a class that inherits from :class:`collections.abc.Sequence`" msgstr "" -#: reference/compound_stmts.rst:1603 +#: reference/compound_stmts.rst:1600 msgid "" "a Python class that has been registered as :class:`collections.abc.Sequence`" msgstr "" -#: reference/compound_stmts.rst:1604 +#: reference/compound_stmts.rst:1601 msgid "" "a builtin class that has its (CPython) :data:`Py_TPFLAGS_SEQUENCE` bit set" msgstr "" -#: reference/compound_stmts.rst:1605 reference/compound_stmts.rst:1624 +#: reference/compound_stmts.rst:1602 reference/compound_stmts.rst:1621 msgid "a class that inherits from any of the above" msgstr "" -#: reference/compound_stmts.rst:1607 +#: reference/compound_stmts.rst:1604 msgid "The following standard library classes are sequences:" msgstr "" -#: reference/compound_stmts.rst:1609 +#: reference/compound_stmts.rst:1606 msgid ":class:`array.array`" msgstr "" -#: reference/compound_stmts.rst:1610 +#: reference/compound_stmts.rst:1607 msgid ":class:`collections.deque`" msgstr "" -#: reference/compound_stmts.rst:1612 +#: reference/compound_stmts.rst:1609 msgid ":class:`memoryview`" msgstr "" -#: reference/compound_stmts.rst:1613 +#: reference/compound_stmts.rst:1610 msgid ":class:`range`" msgstr "" -#: reference/compound_stmts.rst:1616 +#: reference/compound_stmts.rst:1613 msgid "" "Subject values of type ``str``, ``bytes``, and ``bytearray`` do not match " "sequence patterns." msgstr "" -#: reference/compound_stmts.rst:1619 +#: reference/compound_stmts.rst:1616 msgid "In pattern matching, a mapping is defined as one of the following:" msgstr "" -#: reference/compound_stmts.rst:1621 +#: reference/compound_stmts.rst:1618 msgid "a class that inherits from :class:`collections.abc.Mapping`" msgstr "" -#: reference/compound_stmts.rst:1622 +#: reference/compound_stmts.rst:1619 msgid "" "a Python class that has been registered as :class:`collections.abc.Mapping`" msgstr "" -#: reference/compound_stmts.rst:1623 +#: reference/compound_stmts.rst:1620 msgid "" "a builtin class that has its (CPython) :data:`Py_TPFLAGS_MAPPING` bit set" msgstr "" -#: reference/compound_stmts.rst:1626 +#: reference/compound_stmts.rst:1623 msgid "" "The standard library classes :class:`dict` and :class:`types." "MappingProxyType` are mappings." msgstr "" -#: reference/compound_stmts.rst:1629 +#: reference/compound_stmts.rst:1626 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:1633 +#: reference/compound_stmts.rst:1630 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 1b6ae585e..db2553957 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1150,7 +1150,7 @@ msgid "" "interface defined by the :class:`io.TextIOBase` abstract class." msgstr "" -#: reference/datamodel.rst:1219 +#: reference/datamodel.rst:1220 msgid "Internal types" msgstr "" @@ -1351,18 +1351,18 @@ msgstr "" msgid ":exc:`RuntimeError` is raised if the frame is currently executing." msgstr "" -#: reference/datamodel.rst:1175 +#: reference/datamodel.rst:1176 msgid "Traceback objects" msgstr "" -#: reference/datamodel.rst:1127 +#: reference/datamodel.rst:1128 msgid "" "Traceback objects represent a stack trace of an exception. A traceback " "object is implicitly created when an exception occurs, and may also be " "explicitly created by calling :class:`types.TracebackType`." msgstr "" -#: reference/datamodel.rst:1131 +#: reference/datamodel.rst:1132 msgid "" "For implicitly created tracebacks, when the search for an exception handler " "unwinds the execution stack, at each unwound level a traceback object is " @@ -1372,21 +1372,21 @@ msgid "" "exc_info()``, and as the ``__traceback__`` attribute of the caught exception." msgstr "" -#: reference/datamodel.rst:1139 +#: reference/datamodel.rst:1140 msgid "" "When the program contains no suitable handler, the stack trace is written " "(nicely formatted) to the standard error stream; if the interpreter is " "interactive, it is also made available to the user as ``sys.last_traceback``." msgstr "" -#: reference/datamodel.rst:1144 +#: reference/datamodel.rst:1145 msgid "" "For explicitly created tracebacks, it is up to the creator of the traceback " "to determine how the ``tb_next`` attributes should be linked to form a full " "stack trace." msgstr "" -#: reference/datamodel.rst:1154 +#: reference/datamodel.rst:1155 msgid "" "Special read-only attributes: :attr:`tb_frame` points to the execution frame " "of the current level; :attr:`tb_lineno` gives the line number where the " @@ -1396,47 +1396,47 @@ msgid "" "statement with no matching except clause or with a finally clause." msgstr "" -#: reference/datamodel.rst:1163 +#: reference/datamodel.rst:1164 msgid "" "Accessing ``tb_frame`` raises an :ref:`auditing event ` ``object." "__getattr__`` with arguments ``obj`` and ``\"tb_frame\"``." msgstr "" -#: reference/datamodel.rst:1169 +#: reference/datamodel.rst:1170 msgid "" "Special writable attribute: :attr:`tb_next` is the next level in the stack " "trace (towards the frame where the exception occurred), or ``None`` if there " "is no next level." msgstr "" -#: reference/datamodel.rst:1173 +#: reference/datamodel.rst:1174 msgid "" "Traceback objects can now be explicitly instantiated from Python code, and " "the ``tb_next`` attribute of existing instances can be updated." msgstr "" -#: reference/datamodel.rst:1202 +#: reference/datamodel.rst:1203 msgid "Slice objects" msgstr "" -#: reference/datamodel.rst:1180 +#: reference/datamodel.rst:1181 msgid "" "Slice objects are used to represent slices for :meth:`~object.__getitem__` " "methods. They are also created by the built-in :func:`slice` function." msgstr "" -#: reference/datamodel.rst:1189 +#: reference/datamodel.rst:1190 msgid "" "Special read-only attributes: :attr:`~slice.start` is the lower bound; :attr:" "`~slice.stop` is the upper bound; :attr:`~slice.step` is the step value; " "each is ``None`` if omitted. These attributes can have any type." msgstr "" -#: reference/datamodel.rst:1193 +#: reference/datamodel.rst:1194 msgid "Slice objects support one method:" msgstr "" -#: reference/datamodel.rst:1197 +#: reference/datamodel.rst:1198 msgid "" "This method takes a single integer argument *length* and computes " "information about the slice that the slice object would describe if applied " @@ -1446,11 +1446,11 @@ msgid "" "a manner consistent with regular slices." msgstr "" -#: reference/datamodel.rst:1211 +#: reference/datamodel.rst:1212 msgid "Static method objects" msgstr "" -#: reference/datamodel.rst:1205 +#: reference/datamodel.rst:1206 msgid "" "Static method objects provide a way of defeating the transformation of " "function objects to method objects described above. A static method object " @@ -1461,11 +1461,11 @@ msgid "" "method objects are created by the built-in :func:`staticmethod` constructor." msgstr "" -#: reference/datamodel.rst:1219 +#: reference/datamodel.rst:1220 msgid "Class method objects" msgstr "" -#: reference/datamodel.rst:1214 +#: reference/datamodel.rst:1215 msgid "" "A class method object, like a static method object, is a wrapper around " "another object that alters the way in which that object is retrieved from " @@ -1474,11 +1474,11 @@ msgid "" "objects are created by the built-in :func:`classmethod` constructor." msgstr "" -#: reference/datamodel.rst:1224 +#: reference/datamodel.rst:1225 msgid "Special method names" msgstr "" -#: reference/datamodel.rst:1230 +#: reference/datamodel.rst:1231 msgid "" "A class can implement certain operations that are invoked by special syntax " "(such as arithmetic operations or subscripting and slicing) by defining " @@ -1492,7 +1492,7 @@ msgid "" "`TypeError`)." msgstr "" -#: reference/datamodel.rst:1241 +#: reference/datamodel.rst:1242 msgid "" "Setting a special method to ``None`` indicates that the corresponding " "operation is not available. For example, if a class sets :meth:`~object." @@ -1501,7 +1501,7 @@ msgid "" "`~object.__getitem__`). [#]_" msgstr "" -#: reference/datamodel.rst:1247 +#: reference/datamodel.rst:1248 msgid "" "When implementing a class that emulates any built-in type, it is important " "that the emulation only be implemented to the degree that it makes sense for " @@ -1511,11 +1511,11 @@ msgid "" "the W3C's Document Object Model.)" msgstr "" -#: reference/datamodel.rst:1258 +#: reference/datamodel.rst:1259 msgid "Basic customization" msgstr "" -#: reference/datamodel.rst:1264 +#: reference/datamodel.rst:1265 msgid "" "Called to create a new instance of class *cls*. :meth:`__new__` is a static " "method (special-cased so you need not declare it as such) that takes the " @@ -1525,7 +1525,7 @@ msgid "" "new object instance (usually an instance of *cls*)." msgstr "" -#: reference/datamodel.rst:1271 +#: reference/datamodel.rst:1272 msgid "" "Typical implementations create a new instance of the class by invoking the " "superclass's :meth:`__new__` method using ``super().__new__(cls[, ...])`` " @@ -1533,7 +1533,7 @@ msgid "" "necessary before returning it." msgstr "" -#: reference/datamodel.rst:1276 +#: reference/datamodel.rst:1277 msgid "" "If :meth:`__new__` is invoked during object construction and it returns an " "instance of *cls*, then the new instance’s :meth:`__init__` method will be " @@ -1542,13 +1542,13 @@ msgid "" "constructor." msgstr "" -#: reference/datamodel.rst:1281 +#: reference/datamodel.rst:1282 msgid "" "If :meth:`__new__` does not return an instance of *cls*, then the new " "instance's :meth:`__init__` method will not be invoked." msgstr "" -#: reference/datamodel.rst:1284 +#: reference/datamodel.rst:1285 msgid "" ":meth:`__new__` is intended mainly to allow subclasses of immutable types " "(like int, str, or tuple) to customize instance creation. It is also " @@ -1556,7 +1556,7 @@ msgid "" "creation." msgstr "" -#: reference/datamodel.rst:1293 +#: reference/datamodel.rst:1294 msgid "" "Called after the instance has been created (by :meth:`__new__`), but before " "it is returned to the caller. The arguments are those passed to the class " @@ -1566,7 +1566,7 @@ msgid "" "example: ``super().__init__([args...])``." msgstr "" -#: reference/datamodel.rst:1300 +#: reference/datamodel.rst:1301 msgid "" "Because :meth:`__new__` and :meth:`__init__` work together in constructing " "objects (:meth:`__new__` to create it, and :meth:`__init__` to customize " @@ -1574,7 +1574,7 @@ msgid "" "will cause a :exc:`TypeError` to be raised at runtime." msgstr "" -#: reference/datamodel.rst:1313 +#: reference/datamodel.rst:1314 msgid "" "Called when the instance is about to be destroyed. This is also called a " "finalizer or (improperly) a destructor. If a base class has a :meth:" @@ -1583,7 +1583,7 @@ msgid "" "instance." msgstr "" -#: reference/datamodel.rst:1319 +#: reference/datamodel.rst:1320 msgid "" "It is possible (though not recommended!) for the :meth:`__del__` method to " "postpone destruction of the instance by creating a new reference to it. " @@ -1593,20 +1593,20 @@ msgid "" "it once." msgstr "" -#: reference/datamodel.rst:1326 +#: reference/datamodel.rst:1327 msgid "" "It is not guaranteed that :meth:`__del__` methods are called for objects " "that still exist when the interpreter exits." msgstr "" -#: reference/datamodel.rst:1331 +#: reference/datamodel.rst:1332 msgid "" "``del x`` doesn't directly call ``x.__del__()`` --- the former decrements " "the reference count for ``x`` by one, and the latter is only called when " "``x``'s reference count reaches zero." msgstr "" -#: reference/datamodel.rst:1336 +#: reference/datamodel.rst:1337 msgid "" "It is possible for a reference cycle to prevent the reference count of an " "object from going to zero. In this case, the cycle will be later detected " @@ -1617,18 +1617,18 @@ msgid "" "caught in the traceback." msgstr "" -#: reference/datamodel.rst:1346 +#: reference/datamodel.rst:1347 msgid "Documentation for the :mod:`gc` module." msgstr "" -#: reference/datamodel.rst:1350 +#: reference/datamodel.rst:1351 msgid "" "Due to the precarious circumstances under which :meth:`__del__` methods are " "invoked, exceptions that occur during their execution are ignored, and a " "warning is printed to ``sys.stderr`` instead. In particular:" msgstr "" -#: reference/datamodel.rst:1354 +#: reference/datamodel.rst:1355 msgid "" ":meth:`__del__` can be invoked when arbitrary code is being executed, " "including from any arbitrary thread. If :meth:`__del__` needs to take a " @@ -1637,7 +1637,7 @@ msgid "" "`__del__`." msgstr "" -#: reference/datamodel.rst:1360 +#: reference/datamodel.rst:1361 msgid "" ":meth:`__del__` can be executed during interpreter shutdown. As a " "consequence, the global variables it needs to access (including other " @@ -1648,7 +1648,7 @@ msgid "" "still available at the time when the :meth:`__del__` method is called." msgstr "" -#: reference/datamodel.rst:1375 +#: reference/datamodel.rst:1376 msgid "" "Called by the :func:`repr` built-in function to compute the \"official\" " "string representation of an object. If at all possible, this should look " @@ -1660,13 +1660,13 @@ msgid "" "an \"informal\" string representation of instances of that class is required." msgstr "" -#: reference/datamodel.rst:1384 +#: reference/datamodel.rst:1385 msgid "" "This is typically used for debugging, so it is important that the " "representation is information-rich and unambiguous." msgstr "" -#: reference/datamodel.rst:1395 +#: reference/datamodel.rst:1396 msgid "" "Called by :func:`str(object) ` and the built-in functions :func:" "`format` and :func:`print` to compute the \"informal\" or nicely printable " @@ -1674,26 +1674,26 @@ msgid "" "` object." msgstr "" -#: reference/datamodel.rst:1400 +#: reference/datamodel.rst:1401 msgid "" "This method differs from :meth:`object.__repr__` in that there is no " "expectation that :meth:`__str__` return a valid Python expression: a more " "convenient or concise representation can be used." msgstr "" -#: reference/datamodel.rst:1404 +#: reference/datamodel.rst:1405 msgid "" "The default implementation defined by the built-in type :class:`object` " "calls :meth:`object.__repr__`." msgstr "" -#: reference/datamodel.rst:1414 +#: reference/datamodel.rst:1415 msgid "" "Called by :ref:`bytes ` to compute a byte-string representation " "of an object. This should return a :class:`bytes` object." msgstr "" -#: reference/datamodel.rst:1425 +#: reference/datamodel.rst:1426 msgid "" "Called by the :func:`format` built-in function, and by extension, evaluation " "of :ref:`formatted string literals ` and the :meth:`str.format` " @@ -1705,28 +1705,28 @@ msgid "" "formatting option syntax." msgstr "" -#: reference/datamodel.rst:1435 +#: reference/datamodel.rst:1436 msgid "" "See :ref:`formatspec` for a description of the standard formatting syntax." msgstr "" -#: reference/datamodel.rst:1437 +#: reference/datamodel.rst:1438 msgid "The return value must be a string object." msgstr "" -#: reference/datamodel.rst:1439 +#: reference/datamodel.rst:1440 msgid "" "The __format__ method of ``object`` itself raises a :exc:`TypeError` if " "passed any non-empty string." msgstr "" -#: reference/datamodel.rst:1443 +#: reference/datamodel.rst:1444 msgid "" "``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than " "``format(str(x), '')``." msgstr "" -#: reference/datamodel.rst:1459 +#: reference/datamodel.rst:1460 msgid "" "These are the so-called \"rich comparison\" methods. The correspondence " "between operator symbols and method names is as follows: ``x.__hash__``." msgstr "" -#: reference/datamodel.rst:1548 +#: reference/datamodel.rst:1549 msgid "" "If a class that does not override :meth:`__eq__` wishes to suppress hash " "support, it should include ``__hash__ = None`` in the class definition. A " @@ -1845,7 +1845,7 @@ msgid "" "``isinstance(obj, collections.abc.Hashable)`` call." msgstr "" -#: reference/datamodel.rst:1557 +#: reference/datamodel.rst:1558 msgid "" "By default, the :meth:`__hash__` values of str and bytes objects are " "\"salted\" with an unpredictable random value. Although they remain " @@ -1853,7 +1853,7 @@ msgid "" "between repeated invocations of Python." msgstr "" -#: reference/datamodel.rst:1562 +#: reference/datamodel.rst:1563 msgid "" "This is intended to provide protection against a denial-of-service caused by " "carefully chosen inputs that exploit the worst case performance of a dict " @@ -1861,22 +1861,22 @@ msgid "" "ocert-2011-003.html for details." msgstr "" -#: reference/datamodel.rst:1567 +#: reference/datamodel.rst:1568 msgid "" "Changing hash values affects the iteration order of sets. Python has never " "made guarantees about this ordering (and it typically varies between 32-bit " "and 64-bit builds)." msgstr "" -#: reference/datamodel.rst:1571 +#: reference/datamodel.rst:1572 msgid "See also :envvar:`PYTHONHASHSEED`." msgstr "" -#: reference/datamodel.rst:1573 +#: reference/datamodel.rst:1574 msgid "Hash randomization is enabled by default." msgstr "" -#: reference/datamodel.rst:1581 +#: reference/datamodel.rst:1582 msgid "" "Called to implement truth value testing and the built-in operation " "``bool()``; should return ``False`` or ``True``. When this method is not " @@ -1885,18 +1885,18 @@ msgid "" "`__len__` nor :meth:`__bool__`, all its instances are considered true." msgstr "" -#: reference/datamodel.rst:1592 +#: reference/datamodel.rst:1593 msgid "Customizing attribute access" msgstr "" -#: reference/datamodel.rst:1594 +#: reference/datamodel.rst:1595 msgid "" "The following methods can be defined to customize the meaning of attribute " "access (use of, assignment to, or deletion of ``x.name``) for class " "instances." msgstr "" -#: reference/datamodel.rst:1602 +#: reference/datamodel.rst:1603 msgid "" "Called when the default attribute access fails with an :exc:`AttributeError` " "(either :meth:`__getattribute__` raises an :exc:`AttributeError` because " @@ -1906,7 +1906,7 @@ msgid "" "attribute value or raise an :exc:`AttributeError` exception." msgstr "" -#: reference/datamodel.rst:1609 +#: reference/datamodel.rst:1610 msgid "" "Note that if the attribute is found through the normal mechanism, :meth:" "`__getattr__` is not called. (This is an intentional asymmetry between :" @@ -1919,7 +1919,7 @@ msgid "" "actually get total control over attribute access." msgstr "" -#: reference/datamodel.rst:1622 +#: reference/datamodel.rst:1623 msgid "" "Called unconditionally to implement attribute accesses for instances of the " "class. If the class also defines :meth:`__getattr__`, the latter will not be " @@ -1931,7 +1931,7 @@ msgid "" "example, ``object.__getattribute__(self, name)``." msgstr "" -#: reference/datamodel.rst:1633 +#: reference/datamodel.rst:1634 msgid "" "This method may still be bypassed when looking up special methods as the " "result of implicit invocation via language syntax or built-in functions. " @@ -1944,20 +1944,20 @@ msgid "" "arguments ``obj``, ``name``." msgstr "" -#: reference/datamodel.rst:1639 +#: reference/datamodel.rst:1640 msgid "" "For certain sensitive attribute accesses, raises an :ref:`auditing event " "` ``object.__getattr__`` with arguments ``obj`` and ``name``." msgstr "" -#: reference/datamodel.rst:1646 +#: reference/datamodel.rst:1647 msgid "" "Called when an attribute assignment is attempted. This is called instead of " "the normal mechanism (i.e. store the value in the instance dictionary). " "*name* is the attribute name, *value* is the value to be assigned to it." msgstr "" -#: reference/datamodel.rst:1650 +#: reference/datamodel.rst:1651 msgid "" "If :meth:`__setattr__` wants to assign to an instance attribute, it should " "call the base class method with the same name, for example, ``object." @@ -1970,14 +1970,14 @@ msgid "" "arguments ``obj``, ``name``, ``value``." msgstr "" -#: reference/datamodel.rst:1656 +#: reference/datamodel.rst:1657 msgid "" "For certain sensitive attribute assignments, raises an :ref:`auditing event " "` ``object.__setattr__`` with arguments ``obj``, ``name``, " "``value``." msgstr "" -#: reference/datamodel.rst:1663 +#: reference/datamodel.rst:1664 msgid "" "Like :meth:`__setattr__` but for attribute deletion instead of assignment. " "This should only be implemented if ``del obj.name`` is meaningful for the " @@ -1990,23 +1990,23 @@ msgid "" "arguments ``obj``, ``name``." msgstr "" -#: reference/datamodel.rst:1668 +#: reference/datamodel.rst:1669 msgid "" "For certain sensitive attribute deletions, raises an :ref:`auditing event " "` ``object.__delattr__`` with arguments ``obj`` and ``name``." msgstr "" -#: reference/datamodel.rst:1675 +#: reference/datamodel.rst:1676 msgid "" "Called when :func:`dir` is called on the object. A sequence must be " "returned. :func:`dir` converts the returned sequence to a list and sorts it." msgstr "" -#: reference/datamodel.rst:1680 +#: reference/datamodel.rst:1681 msgid "Customizing module attribute access" msgstr "" -#: reference/datamodel.rst:1687 +#: reference/datamodel.rst:1688 msgid "" "Special names ``__getattr__`` and ``__dir__`` can be also used to customize " "access to module attributes. The ``__getattr__`` function at the module " @@ -2018,21 +2018,21 @@ msgid "" "with the attribute name and the result is returned." msgstr "" -#: reference/datamodel.rst:1696 +#: reference/datamodel.rst:1697 msgid "" "The ``__dir__`` function should accept no arguments, and return a sequence " "of strings that represents the names accessible on module. If present, this " "function overrides the standard :func:`dir` search on a module." msgstr "" -#: reference/datamodel.rst:1700 +#: reference/datamodel.rst:1701 msgid "" "For a more fine grained customization of the module behavior (setting " "attributes, properties, etc.), one can set the ``__class__`` attribute of a " "module object to a subclass of :class:`types.ModuleType`. For example::" msgstr "" -#: reference/datamodel.rst:1718 +#: reference/datamodel.rst:1719 msgid "" "Defining module ``__getattr__`` and setting module ``__class__`` only affect " "lookups made using the attribute access syntax -- directly accessing the " @@ -2040,27 +2040,27 @@ msgid "" "module's globals dictionary) is unaffected." msgstr "" -#: reference/datamodel.rst:1723 +#: reference/datamodel.rst:1724 msgid "``__class__`` module attribute is now writable." msgstr "" -#: reference/datamodel.rst:1726 +#: reference/datamodel.rst:1727 msgid "``__getattr__`` and ``__dir__`` module attributes." msgstr "" -#: reference/datamodel.rst:1731 +#: reference/datamodel.rst:1732 msgid ":pep:`562` - Module __getattr__ and __dir__" msgstr "" -#: reference/datamodel.rst:1732 +#: reference/datamodel.rst:1733 msgid "Describes the ``__getattr__`` and ``__dir__`` functions on modules." msgstr "" -#: reference/datamodel.rst:1738 +#: reference/datamodel.rst:1739 msgid "Implementing Descriptors" msgstr "" -#: reference/datamodel.rst:1740 +#: reference/datamodel.rst:1741 msgid "" "The following methods only apply when an instance of the class containing " "the method (a so-called *descriptor* class) appears in an *owner* class (the " @@ -2070,7 +2070,7 @@ msgid "" "the owner class' :attr:`~object.__dict__`." msgstr "" -#: reference/datamodel.rst:1750 +#: reference/datamodel.rst:1751 msgid "" "Called to get the attribute of the owner class (class attribute access) or " "of an instance of that class (instance attribute access). The optional " @@ -2079,13 +2079,13 @@ msgid "" "accessed through the *owner*." msgstr "" -#: reference/datamodel.rst:1756 +#: reference/datamodel.rst:1757 msgid "" "This method should return the computed attribute value or raise an :exc:" "`AttributeError` exception." msgstr "" -#: reference/datamodel.rst:1759 +#: reference/datamodel.rst:1760 msgid "" ":PEP:`252` specifies that :meth:`__get__` is callable with one or two " "arguments. Python's own built-in descriptors support this specification; " @@ -2095,25 +2095,25 @@ msgid "" "not." msgstr "" -#: reference/datamodel.rst:1768 +#: reference/datamodel.rst:1769 msgid "" "Called to set the attribute on an instance *instance* of the owner class to " "a new value, *value*." msgstr "" -#: reference/datamodel.rst:1771 +#: reference/datamodel.rst:1772 msgid "" "Note, adding :meth:`__set__` or :meth:`__delete__` changes the kind of " "descriptor to a \"data descriptor\". See :ref:`descriptor-invocation` for " "more details." msgstr "" -#: reference/datamodel.rst:1777 +#: reference/datamodel.rst:1778 msgid "" "Called to delete the attribute on an instance *instance* of the owner class." msgstr "" -#: reference/datamodel.rst:1780 +#: reference/datamodel.rst:1781 msgid "" "The attribute :attr:`__objclass__` is interpreted by the :mod:`inspect` " "module as specifying the class where this object was defined (setting this " @@ -2124,11 +2124,11 @@ msgid "" "are implemented in C)." msgstr "" -#: reference/datamodel.rst:1791 +#: reference/datamodel.rst:1792 msgid "Invoking Descriptors" msgstr "" -#: reference/datamodel.rst:1793 +#: reference/datamodel.rst:1794 msgid "" "In general, a descriptor is an object attribute with \"binding behavior\", " "one whose attribute access has been overridden by methods in the descriptor " @@ -2137,7 +2137,7 @@ msgid "" "is said to be a descriptor." msgstr "" -#: reference/datamodel.rst:1799 +#: reference/datamodel.rst:1800 msgid "" "The default behavior for attribute access is to get, set, or delete the " "attribute from an object's dictionary. For instance, ``a.x`` has a lookup " @@ -2145,7 +2145,7 @@ msgid "" "continuing through the base classes of ``type(a)`` excluding metaclasses." msgstr "" -#: reference/datamodel.rst:1804 +#: reference/datamodel.rst:1805 msgid "" "However, if the looked-up value is an object defining one of the descriptor " "methods, then Python may override the default behavior and invoke the " @@ -2153,54 +2153,54 @@ msgid "" "depends on which descriptor methods were defined and how they were called." msgstr "" -#: reference/datamodel.rst:1809 +#: reference/datamodel.rst:1810 msgid "" "The starting point for descriptor invocation is a binding, ``a.x``. How the " "arguments are assembled depends on ``a``:" msgstr "" -#: reference/datamodel.rst:1814 +#: reference/datamodel.rst:1815 msgid "Direct Call" msgstr "" -#: reference/datamodel.rst:1813 +#: reference/datamodel.rst:1814 msgid "" "The simplest and least common call is when user code directly invokes a " "descriptor method: ``x.__get__(a)``." msgstr "" -#: reference/datamodel.rst:1818 +#: reference/datamodel.rst:1819 msgid "Instance Binding" msgstr "" -#: reference/datamodel.rst:1817 +#: reference/datamodel.rst:1818 msgid "" "If binding to an object instance, ``a.x`` is transformed into the call: " "``type(a).__dict__['x'].__get__(a, type(a))``." msgstr "" -#: reference/datamodel.rst:1822 +#: reference/datamodel.rst:1823 msgid "Class Binding" msgstr "" -#: reference/datamodel.rst:1821 +#: reference/datamodel.rst:1822 msgid "" "If binding to a class, ``A.x`` is transformed into the call: ``A." "__dict__['x'].__get__(None, A)``." msgstr "" -#: reference/datamodel.rst:1828 +#: reference/datamodel.rst:1829 msgid "Super Binding" msgstr "" -#: reference/datamodel.rst:1825 +#: reference/datamodel.rst:1826 msgid "" "A dotted lookup such as ``super(A, a).x`` searches ``a.__class__.__mro__`` " "for a base class ``B`` following ``A`` and then returns ``B.__dict__['x']." "__get__(a, A)``. If not a descriptor, ``x`` is returned unchanged." msgstr "" -#: reference/datamodel.rst:1862 +#: reference/datamodel.rst:1863 msgid "" "For instance bindings, the precedence of descriptor invocation depends on " "which descriptor methods are defined. A descriptor can define any " @@ -2217,7 +2217,7 @@ msgid "" "can be overridden by instances." msgstr "" -#: reference/datamodel.rst:1876 +#: reference/datamodel.rst:1877 msgid "" "Python methods (including those decorated with :func:`@staticmethod " "` and :func:`@classmethod `) are implemented as " @@ -2226,30 +2226,30 @@ msgid "" "from other instances of the same class." msgstr "" -#: reference/datamodel.rst:1882 +#: reference/datamodel.rst:1883 msgid "" "The :func:`property` function is implemented as a data descriptor. " "Accordingly, instances cannot override the behavior of a property." msgstr "" -#: reference/datamodel.rst:1889 +#: reference/datamodel.rst:1890 msgid "__slots__" msgstr "" -#: reference/datamodel.rst:1891 +#: reference/datamodel.rst:1892 msgid "" "*__slots__* allow us to explicitly declare data members (like properties) " "and deny the creation of :attr:`~object.__dict__` and *__weakref__* (unless " "explicitly declared in *__slots__* or available in a parent.)" msgstr "" -#: reference/datamodel.rst:1895 +#: reference/datamodel.rst:1896 msgid "" "The space saved over using :attr:`~object.__dict__` can be significant. " "Attribute lookup speed can be significantly improved as well." msgstr "" -#: reference/datamodel.rst:1900 +#: reference/datamodel.rst:1901 msgid "" "This class variable can be assigned a string, iterable, or sequence of " "strings with variable names used by instances. *__slots__* reserves space " @@ -2257,18 +2257,18 @@ msgid "" "`~object.__dict__` and *__weakref__* for each instance." msgstr "" -#: reference/datamodel.rst:1910 +#: reference/datamodel.rst:1911 msgid "Notes on using *__slots__*" msgstr "" -#: reference/datamodel.rst:1912 +#: reference/datamodel.rst:1913 msgid "" "When inheriting from a class without *__slots__*, the :attr:`~object." "__dict__` and *__weakref__* attribute of the instances will always be " "accessible." msgstr "" -#: reference/datamodel.rst:1916 +#: reference/datamodel.rst:1917 msgid "" "Without a :attr:`~object.__dict__` variable, instances cannot be assigned " "new variables not listed in the *__slots__* definition. Attempts to assign " @@ -2277,7 +2277,7 @@ msgid "" "sequence of strings in the *__slots__* declaration." msgstr "" -#: reference/datamodel.rst:1923 +#: reference/datamodel.rst:1924 msgid "" "Without a *__weakref__* variable for each instance, classes defining " "*__slots__* do not support :mod:`weak references ` to its " @@ -2285,7 +2285,7 @@ msgid "" "to the sequence of strings in the *__slots__* declaration." msgstr "" -#: reference/datamodel.rst:1929 +#: reference/datamodel.rst:1930 msgid "" "*__slots__* are implemented at the class level by creating :ref:`descriptors " "` for each variable name. As a result, class attributes cannot " @@ -2293,7 +2293,7 @@ msgid "" "otherwise, the class attribute would overwrite the descriptor assignment." msgstr "" -#: reference/datamodel.rst:1935 +#: reference/datamodel.rst:1936 msgid "" "The action of a *__slots__* declaration is not limited to the class where it " "is defined. *__slots__* declared in parents are available in child classes. " @@ -2302,7 +2302,7 @@ msgid "" "names of any *additional* slots)." msgstr "" -#: reference/datamodel.rst:1941 +#: reference/datamodel.rst:1942 msgid "" "If a class defines a slot also defined in a base class, the instance " "variable defined by the base class slot is inaccessible (except by " @@ -2311,18 +2311,18 @@ msgid "" "prevent this." msgstr "" -#: reference/datamodel.rst:1946 +#: reference/datamodel.rst:1947 msgid "" "Nonempty *__slots__* does not work for classes derived from \"variable-" "length\" built-in types such as :class:`int`, :class:`bytes` and :class:" "`tuple`." msgstr "" -#: reference/datamodel.rst:1949 +#: reference/datamodel.rst:1950 msgid "Any non-string :term:`iterable` may be assigned to *__slots__*." msgstr "" -#: reference/datamodel.rst:1951 +#: reference/datamodel.rst:1952 msgid "" "If a :class:`dictionary ` is used to assign *__slots__*, the " "dictionary keys will be used as the slot names. The values of the dictionary " @@ -2330,13 +2330,13 @@ msgid "" "func:`inspect.getdoc` and displayed in the output of :func:`help`." msgstr "" -#: reference/datamodel.rst:1956 +#: reference/datamodel.rst:1957 msgid "" ":attr:`~instance.__class__` assignment works only if both classes have the " "same *__slots__*." msgstr "" -#: reference/datamodel.rst:1959 +#: reference/datamodel.rst:1960 msgid "" ":ref:`Multiple inheritance ` with multiple slotted parent " "classes can be used, but only one parent is allowed to have attributes " @@ -2344,18 +2344,18 @@ msgid "" "raise :exc:`TypeError`." msgstr "" -#: reference/datamodel.rst:1965 +#: reference/datamodel.rst:1966 msgid "" "If an :term:`iterator` is used for *__slots__* then a :term:`descriptor` is " "created for each of the iterator's values. However, the *__slots__* " "attribute will be an empty iterator." msgstr "" -#: reference/datamodel.rst:1973 +#: reference/datamodel.rst:1974 msgid "Customizing class creation" msgstr "" -#: reference/datamodel.rst:1975 +#: reference/datamodel.rst:1976 msgid "" "Whenever a class inherits from another class, :meth:`~object." "__init_subclass__` is called on the parent class. This way, it is possible " @@ -2365,14 +2365,14 @@ msgid "" "future subclasses of the class defining the method." msgstr "" -#: reference/datamodel.rst:1984 +#: reference/datamodel.rst:1985 msgid "" "This method is called whenever the containing class is subclassed. *cls* is " "then the new subclass. If defined as a normal instance method, this method " "is implicitly converted to a class method." msgstr "" -#: reference/datamodel.rst:1988 +#: reference/datamodel.rst:1989 msgid "" "Keyword arguments which are given to a new class are passed to the parent's " "class ``__init_subclass__``. For compatibility with other classes using " @@ -2380,13 +2380,13 @@ msgid "" "pass the others over to the base class, as in::" msgstr "" -#: reference/datamodel.rst:2002 +#: reference/datamodel.rst:2003 msgid "" "The default implementation ``object.__init_subclass__`` does nothing, but " "raises an error if it is called with any arguments." msgstr "" -#: reference/datamodel.rst:2007 +#: reference/datamodel.rst:2008 msgid "" "The metaclass hint ``metaclass`` is consumed by the rest of the type " "machinery, and is never passed to ``__init_subclass__`` implementations. The " @@ -2394,41 +2394,41 @@ msgid "" "``type(cls)``." msgstr "" -#: reference/datamodel.rst:2015 +#: reference/datamodel.rst:2016 msgid "" "When a class is created, :meth:`type.__new__` scans the class variables and " "makes callbacks to those with a :meth:`~object.__set_name__` hook." msgstr "" -#: reference/datamodel.rst:2020 +#: reference/datamodel.rst:2021 msgid "" "Automatically called at the time the owning class *owner* is created. The " "object has been assigned to *name* in that class::" msgstr "" -#: reference/datamodel.rst:2026 +#: reference/datamodel.rst:2027 msgid "" "If the class variable is assigned after the class is created, :meth:" "`__set_name__` will not be called automatically. If needed, :meth:" "`__set_name__` can be called directly::" msgstr "" -#: reference/datamodel.rst:2037 +#: reference/datamodel.rst:2038 msgid "See :ref:`class-object-creation` for more details." msgstr "" -#: reference/datamodel.rst:2045 +#: reference/datamodel.rst:2046 msgid "Metaclasses" msgstr "" -#: reference/datamodel.rst:2052 +#: reference/datamodel.rst:2053 msgid "" "By default, classes are constructed using :func:`type`. The class body is " "executed in a new namespace and the class name is bound locally to the " "result of ``type(name, bases, namespace)``." msgstr "" -#: reference/datamodel.rst:2056 +#: reference/datamodel.rst:2057 msgid "" "The class creation process can be customized by passing the ``metaclass`` " "keyword argument in the class definition line, or by inheriting from an " @@ -2436,41 +2436,41 @@ msgid "" "both ``MyClass`` and ``MySubclass`` are instances of ``Meta``::" msgstr "" -#: reference/datamodel.rst:2070 +#: reference/datamodel.rst:2071 msgid "" "Any other keyword arguments that are specified in the class definition are " "passed through to all metaclass operations described below." msgstr "" -#: reference/datamodel.rst:2073 +#: reference/datamodel.rst:2074 msgid "When a class definition is executed, the following steps occur:" msgstr "" -#: reference/datamodel.rst:2075 +#: reference/datamodel.rst:2076 msgid "MRO entries are resolved;" msgstr "" -#: reference/datamodel.rst:2076 +#: reference/datamodel.rst:2077 msgid "the appropriate metaclass is determined;" msgstr "" -#: reference/datamodel.rst:2077 +#: reference/datamodel.rst:2078 msgid "the class namespace is prepared;" msgstr "" -#: reference/datamodel.rst:2078 +#: reference/datamodel.rst:2079 msgid "the class body is executed;" msgstr "" -#: reference/datamodel.rst:2079 +#: reference/datamodel.rst:2080 msgid "the class object is created." msgstr "" -#: reference/datamodel.rst:2083 +#: reference/datamodel.rst:2084 msgid "Resolving MRO entries" msgstr "" -#: reference/datamodel.rst:2085 +#: reference/datamodel.rst:2086 msgid "" "If a base that appears in class definition is not an instance of :class:" "`type`, then an ``__mro_entries__`` method is searched on it. If found, it " @@ -2479,37 +2479,37 @@ msgid "" "such case the original base is ignored." msgstr "" -#: reference/datamodel.rst:2093 +#: reference/datamodel.rst:2094 msgid ":pep:`560` - Core support for typing module and generic types" msgstr "" -#: reference/datamodel.rst:2097 +#: reference/datamodel.rst:2098 msgid "Determining the appropriate metaclass" msgstr "" -#: reference/datamodel.rst:2101 +#: reference/datamodel.rst:2102 msgid "" "The appropriate metaclass for a class definition is determined as follows:" msgstr "" -#: reference/datamodel.rst:2103 +#: reference/datamodel.rst:2104 msgid "" "if no bases and no explicit metaclass are given, then :func:`type` is used;" msgstr "" -#: reference/datamodel.rst:2104 +#: reference/datamodel.rst:2105 msgid "" "if an explicit metaclass is given and it is *not* an instance of :func:" "`type`, then it is used directly as the metaclass;" msgstr "" -#: reference/datamodel.rst:2106 +#: reference/datamodel.rst:2107 msgid "" "if an instance of :func:`type` is given as the explicit metaclass, or bases " "are defined, then the most derived metaclass is used." msgstr "" -#: reference/datamodel.rst:2109 +#: reference/datamodel.rst:2110 msgid "" "The most derived metaclass is selected from the explicitly specified " "metaclass (if any) and the metaclasses (i.e. ``type(cls)``) of all specified " @@ -2518,11 +2518,11 @@ msgid "" "that criterion, then the class definition will fail with ``TypeError``." msgstr "" -#: reference/datamodel.rst:2119 +#: reference/datamodel.rst:2120 msgid "Preparing the class namespace" msgstr "" -#: reference/datamodel.rst:2124 +#: reference/datamodel.rst:2125 msgid "" "Once the appropriate metaclass has been identified, then the class namespace " "is prepared. If the metaclass has a ``__prepare__`` attribute, it is called " @@ -2534,25 +2534,25 @@ msgid "" "copied into a new ``dict``." msgstr "" -#: reference/datamodel.rst:2133 +#: reference/datamodel.rst:2134 msgid "" "If the metaclass has no ``__prepare__`` attribute, then the class namespace " "is initialised as an empty ordered mapping." msgstr "" -#: reference/datamodel.rst:2138 +#: reference/datamodel.rst:2139 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr "" -#: reference/datamodel.rst:2139 +#: reference/datamodel.rst:2140 msgid "Introduced the ``__prepare__`` namespace hook" msgstr "" -#: reference/datamodel.rst:2143 +#: reference/datamodel.rst:2144 msgid "Executing the class body" msgstr "" -#: reference/datamodel.rst:2148 +#: reference/datamodel.rst:2149 msgid "" "The class body is executed (approximately) as ``exec(body, globals(), " "namespace)``. The key difference from a normal call to :func:`exec` is that " @@ -2561,7 +2561,7 @@ msgid "" "inside a function." msgstr "" -#: reference/datamodel.rst:2154 +#: reference/datamodel.rst:2155 msgid "" "However, even when the class definition occurs inside the function, methods " "defined inside the class still cannot see names defined at the class scope. " @@ -2570,11 +2570,11 @@ msgid "" "reference described in the next section." msgstr "" -#: reference/datamodel.rst:2163 +#: reference/datamodel.rst:2164 msgid "Creating the class object" msgstr "" -#: reference/datamodel.rst:2170 +#: reference/datamodel.rst:2171 msgid "" "Once the class namespace has been populated by executing the class body, the " "class object is created by calling ``metaclass(name, bases, namespace, " @@ -2582,7 +2582,7 @@ msgid "" "to ``__prepare__``)." msgstr "" -#: reference/datamodel.rst:2175 +#: reference/datamodel.rst:2176 msgid "" "This class object is the one that will be referenced by the zero-argument " "form of :func:`super`. ``__class__`` is an implicit closure reference " @@ -2593,7 +2593,7 @@ msgid "" "is identified based on the first argument passed to the method." msgstr "" -#: reference/datamodel.rst:2185 +#: reference/datamodel.rst:2186 msgid "" "In CPython 3.6 and later, the ``__class__`` cell is passed to the metaclass " "as a ``__classcell__`` entry in the class namespace. If present, this must " @@ -2602,39 +2602,39 @@ msgid "" "in Python 3.8." msgstr "" -#: reference/datamodel.rst:2191 +#: reference/datamodel.rst:2192 msgid "" "When using the default metaclass :class:`type`, or any metaclass that " "ultimately calls ``type.__new__``, the following additional customization " "steps are invoked after creating the class object:" msgstr "" -#: reference/datamodel.rst:2195 +#: reference/datamodel.rst:2196 msgid "" "The ``type.__new__`` method collects all of the attributes in the class " "namespace that define a :meth:`~object.__set_name__` method;" msgstr "" -#: reference/datamodel.rst:2197 +#: reference/datamodel.rst:2198 msgid "" "Those ``__set_name__`` methods are called with the class being defined and " "the assigned name of that particular attribute;" msgstr "" -#: reference/datamodel.rst:2199 +#: reference/datamodel.rst:2200 msgid "" "The :meth:`~object.__init_subclass__` hook is called on the immediate parent " "of the new class in its method resolution order." msgstr "" -#: reference/datamodel.rst:2202 +#: reference/datamodel.rst:2203 msgid "" "After the class object is created, it is passed to the class decorators " "included in the class definition (if any) and the resulting object is bound " "in the local namespace as the defined class." msgstr "" -#: reference/datamodel.rst:2206 +#: reference/datamodel.rst:2207 msgid "" "When a new class is created by ``type.__new__``, the object provided as the " "namespace parameter is copied to a new ordered mapping and the original " @@ -2642,19 +2642,19 @@ msgid "" "becomes the :attr:`~object.__dict__` attribute of the class object." msgstr "" -#: reference/datamodel.rst:2213 +#: reference/datamodel.rst:2214 msgid ":pep:`3135` - New super" msgstr "" -#: reference/datamodel.rst:2214 +#: reference/datamodel.rst:2215 msgid "Describes the implicit ``__class__`` closure reference" msgstr "" -#: reference/datamodel.rst:2218 +#: reference/datamodel.rst:2219 msgid "Uses for metaclasses" msgstr "" -#: reference/datamodel.rst:2220 +#: reference/datamodel.rst:2221 msgid "" "The potential uses for metaclasses are boundless. Some ideas that have been " "explored include enum, logging, interface checking, automatic delegation, " @@ -2662,17 +2662,17 @@ msgid "" "locking/synchronization." msgstr "" -#: reference/datamodel.rst:2227 +#: reference/datamodel.rst:2228 msgid "Customizing instance and subclass checks" msgstr "" -#: reference/datamodel.rst:2229 +#: reference/datamodel.rst:2230 msgid "" "The following methods are used to override the default behavior of the :func:" "`isinstance` and :func:`issubclass` built-in functions." msgstr "" -#: reference/datamodel.rst:2232 +#: reference/datamodel.rst:2233 msgid "" "In particular, the metaclass :class:`abc.ABCMeta` implements these methods " "in order to allow the addition of Abstract Base Classes (ABCs) as \"virtual " @@ -2680,21 +2680,21 @@ msgid "" "other ABCs." msgstr "" -#: reference/datamodel.rst:2239 +#: reference/datamodel.rst:2240 msgid "" "Return true if *instance* should be considered a (direct or indirect) " "instance of *class*. If defined, called to implement ``isinstance(instance, " "class)``." msgstr "" -#: reference/datamodel.rst:2246 +#: reference/datamodel.rst:2247 msgid "" "Return true if *subclass* should be considered a (direct or indirect) " "subclass of *class*. If defined, called to implement ``issubclass(subclass, " "class)``." msgstr "" -#: reference/datamodel.rst:2251 +#: reference/datamodel.rst:2252 msgid "" "Note that these methods are looked up on the type (metaclass) of a class. " "They cannot be defined as class methods in the actual class. This is " @@ -2702,11 +2702,11 @@ msgid "" "only in this case the instance is itself a class." msgstr "" -#: reference/datamodel.rst:2262 +#: reference/datamodel.rst:2263 msgid ":pep:`3119` - Introducing Abstract Base Classes" msgstr "" -#: reference/datamodel.rst:2259 +#: reference/datamodel.rst:2260 msgid "" "Includes the specification for customizing :func:`isinstance` and :func:" "`issubclass` behavior through :meth:`~class.__instancecheck__` and :meth:" @@ -2715,11 +2715,11 @@ msgid "" "language." msgstr "" -#: reference/datamodel.rst:2267 +#: reference/datamodel.rst:2268 msgid "Emulating generic types" msgstr "" -#: reference/datamodel.rst:2269 +#: reference/datamodel.rst:2270 msgid "" "When using :term:`type annotations`, it is often useful to " "*parameterize* a :term:`generic type` using Python's square-brackets " @@ -2727,65 +2727,65 @@ msgid "" "a :class:`list` in which all the elements are of type :class:`int`." msgstr "" -#: reference/datamodel.rst:2277 +#: reference/datamodel.rst:2278 msgid ":pep:`484` - Type Hints" msgstr "" -#: reference/datamodel.rst:2277 +#: reference/datamodel.rst:2278 msgid "Introducing Python's framework for type annotations" msgstr "" -#: reference/datamodel.rst:2280 +#: reference/datamodel.rst:2281 msgid ":ref:`Generic Alias Types`" msgstr "" -#: reference/datamodel.rst:2280 +#: reference/datamodel.rst:2281 msgid "Documentation for objects representing parameterized generic classes" msgstr "" -#: reference/datamodel.rst:2283 +#: reference/datamodel.rst:2284 msgid "" ":ref:`Generics`, :ref:`user-defined generics` and :" "class:`typing.Generic`" msgstr "" -#: reference/datamodel.rst:2283 +#: reference/datamodel.rst:2284 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." msgstr "" -#: reference/datamodel.rst:2286 +#: reference/datamodel.rst:2287 msgid "" "A class can *generally* only be parameterized if it defines the special " "class method ``__class_getitem__()``." msgstr "" -#: reference/datamodel.rst:2291 +#: reference/datamodel.rst:2292 msgid "" "Return an object representing the specialization of a generic class by type " "arguments found in *key*." msgstr "" -#: reference/datamodel.rst:2294 +#: reference/datamodel.rst:2295 msgid "" "When defined on a class, ``__class_getitem__()`` is automatically a class " "method. As such, there is no need for it to be decorated with :func:" "`@classmethod` when it is defined." msgstr "" -#: reference/datamodel.rst:2300 +#: reference/datamodel.rst:2301 msgid "The purpose of *__class_getitem__*" msgstr "" -#: reference/datamodel.rst:2302 +#: reference/datamodel.rst:2303 msgid "" "The purpose of :meth:`~object.__class_getitem__` is to allow runtime " "parameterization of standard-library generic classes in order to more easily " "apply :term:`type hints` to these classes." msgstr "" -#: reference/datamodel.rst:2306 +#: reference/datamodel.rst:2307 msgid "" "To implement custom generic classes that can be parameterized at runtime and " "understood by static type-checkers, users should either inherit from a " @@ -2794,7 +2794,7 @@ msgid "" "own implementation of ``__class_getitem__()``." msgstr "" -#: reference/datamodel.rst:2312 +#: reference/datamodel.rst:2313 msgid "" "Custom implementations of :meth:`~object.__class_getitem__` on classes " "defined outside of the standard library may not be understood by third-party " @@ -2802,11 +2802,11 @@ msgid "" "purposes other than type hinting is discouraged." msgstr "" -#: reference/datamodel.rst:2322 +#: reference/datamodel.rst:2323 msgid "*__class_getitem__* versus *__getitem__*" msgstr "" -#: reference/datamodel.rst:2324 +#: reference/datamodel.rst:2325 msgid "" "Usually, the :ref:`subscription` of an object using square " "brackets will call the :meth:`~object.__getitem__` instance method defined " @@ -2816,14 +2816,14 @@ msgid "" "genericalias>` object if it is properly defined." msgstr "" -#: reference/datamodel.rst:2331 +#: reference/datamodel.rst:2332 msgid "" "Presented with the :term:`expression` ``obj[x]``, the Python interpreter " "follows something like the following process to decide whether :meth:" "`~object.__getitem__` or :meth:`~object.__class_getitem__` should be called::" msgstr "" -#: reference/datamodel.rst:2359 +#: reference/datamodel.rst:2360 msgid "" "In Python, all classes are themselves instances of other classes. The class " "of a class is known as that class's :term:`metaclass`, and most classes have " @@ -2833,40 +2833,40 @@ msgid "" "__class_getitem__` being called::" msgstr "" -#: reference/datamodel.rst:2378 +#: reference/datamodel.rst:2379 msgid "" "However, if a class has a custom metaclass that defines :meth:`~object." "__getitem__`, subscribing the class may result in different behaviour. An " "example of this can be found in the :mod:`enum` module::" msgstr "" -#: reference/datamodel.rst:2403 +#: reference/datamodel.rst:2404 msgid ":pep:`560` - Core Support for typing module and generic types" msgstr "" -#: reference/datamodel.rst:2402 +#: reference/datamodel.rst:2403 msgid "" "Introducing :meth:`~object.__class_getitem__`, and outlining when a :ref:" "`subscription` results in ``__class_getitem__()`` being " "called instead of :meth:`~object.__getitem__`" msgstr "" -#: reference/datamodel.rst:2410 +#: reference/datamodel.rst:2411 msgid "Emulating callable objects" msgstr "" -#: reference/datamodel.rst:2417 +#: reference/datamodel.rst:2418 msgid "" "Called when the instance is \"called\" as a function; if this method is " "defined, ``x(arg1, arg2, ...)`` roughly translates to ``type(x).__call__(x, " "arg1, ...)``." msgstr "" -#: reference/datamodel.rst:2424 +#: reference/datamodel.rst:2425 msgid "Emulating container types" msgstr "" -#: reference/datamodel.rst:2426 +#: reference/datamodel.rst:2427 msgid "" "The following methods can be defined to implement container objects. " "Containers usually are :term:`sequences ` (such as :class:`lists " @@ -2902,7 +2902,7 @@ msgid "" "the values." msgstr "" -#: reference/datamodel.rst:2466 +#: reference/datamodel.rst:2467 msgid "" "Called to implement the built-in function :func:`len`. Should return the " "length of the object, an integer ``>=`` 0. Also, an object that doesn't " @@ -2910,7 +2910,7 @@ msgid "" "zero is considered to be false in a Boolean context." msgstr "" -#: reference/datamodel.rst:2473 +#: reference/datamodel.rst:2474 msgid "" "In CPython, the length is required to be at most :attr:`sys.maxsize`. If the " "length is larger than :attr:`!sys.maxsize` some features (such as :func:" @@ -2919,7 +2919,7 @@ msgid "" "`__bool__` method." msgstr "" -#: reference/datamodel.rst:2482 +#: reference/datamodel.rst:2483 msgid "" "Called to implement :func:`operator.length_hint`. Should return an estimated " "length for the object (which may be greater or less than the actual length). " @@ -2929,20 +2929,20 @@ msgid "" "never required for correctness." msgstr "" -#: reference/datamodel.rst:2496 +#: reference/datamodel.rst:2497 msgid "" "Slicing is done exclusively with the following three methods. A call like ::" msgstr "" -#: reference/datamodel.rst:2500 +#: reference/datamodel.rst:2501 msgid "is translated to ::" msgstr "" -#: reference/datamodel.rst:2504 +#: reference/datamodel.rst:2505 msgid "and so forth. Missing slice items are always filled in with ``None``." msgstr "" -#: reference/datamodel.rst:2509 +#: reference/datamodel.rst:2510 msgid "" "Called to implement evaluation of ``self[key]``. For :term:`sequence` types, " "the accepted keys should be integers and slice objects. Note that the " @@ -2955,20 +2955,20 @@ msgid "" "`KeyError` should be raised." msgstr "" -#: reference/datamodel.rst:2521 +#: reference/datamodel.rst:2522 msgid "" ":keyword:`for` loops expect that an :exc:`IndexError` will be raised for " "illegal indexes to allow proper detection of the end of the sequence." msgstr "" -#: reference/datamodel.rst:2526 +#: reference/datamodel.rst:2527 msgid "" "When :ref:`subscripting` a *class*, the special class method :" "meth:`~object.__class_getitem__` may be called instead of ``__getitem__()``. " "See :ref:`classgetitem-versus-getitem` for more details." msgstr "" -#: reference/datamodel.rst:2534 +#: reference/datamodel.rst:2535 msgid "" "Called to implement assignment to ``self[key]``. Same note as for :meth:" "`__getitem__`. This should only be implemented for mappings if the objects " @@ -2977,7 +2977,7 @@ msgid "" "for improper *key* values as for the :meth:`__getitem__` method." msgstr "" -#: reference/datamodel.rst:2543 +#: reference/datamodel.rst:2544 msgid "" "Called to implement deletion of ``self[key]``. Same note as for :meth:" "`__getitem__`. This should only be implemented for mappings if the objects " @@ -2986,13 +2986,13 @@ msgid "" "values as for the :meth:`__getitem__` method." msgstr "" -#: reference/datamodel.rst:2552 +#: reference/datamodel.rst:2553 msgid "" "Called by :class:`dict`\\ .\\ :meth:`__getitem__` to implement ``self[key]`` " "for dict subclasses when key is not in the dictionary." msgstr "" -#: reference/datamodel.rst:2558 +#: reference/datamodel.rst:2559 msgid "" "This method is called when an :term:`iterator` is required for a container. " "This method should return a new iterator object that can iterate over all " @@ -3000,14 +3000,14 @@ msgid "" "of the container." msgstr "" -#: reference/datamodel.rst:2566 +#: reference/datamodel.rst:2567 msgid "" "Called (if present) by the :func:`reversed` built-in to implement reverse " "iteration. It should return a new iterator object that iterates over all " "the objects in the container in reverse order." msgstr "" -#: reference/datamodel.rst:2570 +#: reference/datamodel.rst:2571 msgid "" "If the :meth:`__reversed__` method is not provided, the :func:`reversed` " "built-in will fall back to using the sequence protocol (:meth:`__len__` and :" @@ -3016,7 +3016,7 @@ msgid "" "more efficient than the one provided by :func:`reversed`." msgstr "" -#: reference/datamodel.rst:2577 +#: reference/datamodel.rst:2578 msgid "" "The membership test operators (:keyword:`in` and :keyword:`not in`) are " "normally implemented as an iteration through a container. However, container " @@ -3024,14 +3024,14 @@ msgid "" "implementation, which also does not require the object be iterable." msgstr "" -#: reference/datamodel.rst:2584 +#: reference/datamodel.rst:2585 msgid "" "Called to implement membership test operators. Should return true if *item* " "is in *self*, false otherwise. For mapping objects, this should consider " "the keys of the mapping rather than the values or the key-item pairs." msgstr "" -#: reference/datamodel.rst:2588 +#: reference/datamodel.rst:2589 msgid "" "For objects that don't define :meth:`__contains__`, the membership test " "first tries iteration via :meth:`__iter__`, then the old sequence iteration " @@ -3039,11 +3039,11 @@ msgid "" "reference `." msgstr "" -#: reference/datamodel.rst:2597 +#: reference/datamodel.rst:2598 msgid "Emulating numeric types" msgstr "" -#: reference/datamodel.rst:2599 +#: reference/datamodel.rst:2600 msgid "" "The following methods can be defined to emulate numeric objects. Methods " "corresponding to operations that are not supported by the particular kind of " @@ -3051,7 +3051,7 @@ msgid "" "should be left undefined." msgstr "" -#: reference/datamodel.rst:2625 +#: reference/datamodel.rst:2626 msgid "" "These methods are called to implement the binary arithmetic operations " "(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:" @@ -3065,13 +3065,13 @@ msgid "" "function is to be supported." msgstr "" -#: reference/datamodel.rst:2636 +#: reference/datamodel.rst:2637 msgid "" "If one of those methods does not support the operation with the supplied " "arguments, it should return ``NotImplemented``." msgstr "" -#: reference/datamodel.rst:2659 +#: reference/datamodel.rst:2660 msgid "" "These methods are called to implement the binary arithmetic operations " "(``+``, ``-``, ``*``, ``@``, ``/``, ``//``, ``%``, :func:`divmod`, :func:" @@ -3084,13 +3084,13 @@ msgid "" "*NotImplemented*." msgstr "" -#: reference/datamodel.rst:2671 +#: reference/datamodel.rst:2672 msgid "" "Note that ternary :func:`pow` will not try calling :meth:`__rpow__` (the " "coercion rules would become too complicated)." msgstr "" -#: reference/datamodel.rst:2676 +#: reference/datamodel.rst:2677 msgid "" "If the right operand's type is a subclass of the left operand's type and " "that subclass provides a different implementation of the reflected method " @@ -3099,7 +3099,7 @@ msgid "" "ancestors' operations." msgstr "" -#: reference/datamodel.rst:2697 +#: reference/datamodel.rst:2698 msgid "" "These methods are called to implement the augmented arithmetic assignments " "(``+=``, ``-=``, ``*=``, ``@=``, ``/=``, ``//=``, ``%=``, ``**=``, ``<<=``, " @@ -3115,19 +3115,19 @@ msgid "" "fact part of the data model." msgstr "" -#: reference/datamodel.rst:2718 +#: reference/datamodel.rst:2719 msgid "" "Called to implement the unary arithmetic operations (``-``, ``+``, :func:" "`abs` and ``~``)." msgstr "" -#: reference/datamodel.rst:2731 +#: reference/datamodel.rst:2732 msgid "" "Called to implement the built-in functions :func:`complex`, :func:`int` and :" "func:`float`. Should return a value of the appropriate type." msgstr "" -#: reference/datamodel.rst:2738 +#: reference/datamodel.rst:2739 msgid "" "Called to implement :func:`operator.index`, and whenever Python needs to " "losslessly convert the numeric object to an integer object (such as in " @@ -3136,14 +3136,14 @@ msgid "" "integer type. Must return an integer." msgstr "" -#: reference/datamodel.rst:2744 +#: reference/datamodel.rst:2745 msgid "" "If :meth:`__int__`, :meth:`__float__` and :meth:`__complex__` are not " "defined then corresponding built-in functions :func:`int`, :func:`float` " "and :func:`complex` fall back to :meth:`__index__`." msgstr "" -#: reference/datamodel.rst:2756 +#: reference/datamodel.rst:2757 msgid "" "Called to implement the built-in function :func:`round` and :mod:`math` " "functions :func:`~math.trunc`, :func:`~math.floor` and :func:`~math.ceil`. " @@ -3152,21 +3152,21 @@ msgid "" "(typically an :class:`int`)." msgstr "" -#: reference/datamodel.rst:2762 +#: reference/datamodel.rst:2763 msgid "" "The built-in function :func:`int` falls back to :meth:`__trunc__` if " "neither :meth:`__int__` nor :meth:`__index__` is defined." msgstr "" -#: reference/datamodel.rst:2765 +#: reference/datamodel.rst:2766 msgid "The delegation of :func:`int` to :meth:`__trunc__` is deprecated." msgstr "" -#: reference/datamodel.rst:2772 +#: reference/datamodel.rst:2773 msgid "With Statement Context Managers" msgstr "" -#: reference/datamodel.rst:2774 +#: reference/datamodel.rst:2775 msgid "" "A :dfn:`context manager` is an object that defines the runtime context to be " "established when executing a :keyword:`with` statement. The context manager " @@ -3176,32 +3176,32 @@ msgid "" "can also be used by directly invoking their methods." msgstr "" -#: reference/datamodel.rst:2785 +#: reference/datamodel.rst:2786 msgid "" "Typical uses of context managers include saving and restoring various kinds " "of global state, locking and unlocking resources, closing opened files, etc." msgstr "" -#: reference/datamodel.rst:2788 +#: reference/datamodel.rst:2789 msgid "" "For more information on context managers, see :ref:`typecontextmanager`." msgstr "" -#: reference/datamodel.rst:2793 +#: reference/datamodel.rst:2794 msgid "" "Enter the runtime context related to this object. The :keyword:`with` " "statement will bind this method's return value to the target(s) specified in " "the :keyword:`!as` clause of the statement, if any." msgstr "" -#: reference/datamodel.rst:2800 +#: reference/datamodel.rst:2801 msgid "" "Exit the runtime context related to this object. The parameters describe the " "exception that caused the context to be exited. If the context was exited " "without an exception, all three arguments will be :const:`None`." msgstr "" -#: reference/datamodel.rst:2804 +#: reference/datamodel.rst:2805 msgid "" "If an exception is supplied, and the method wishes to suppress the exception " "(i.e., prevent it from being propagated), it should return a true value. " @@ -3209,27 +3209,27 @@ msgid "" "method." msgstr "" -#: reference/datamodel.rst:2808 +#: reference/datamodel.rst:2809 msgid "" "Note that :meth:`__exit__` methods should not reraise the passed-in " "exception; this is the caller's responsibility." msgstr "" -#: reference/datamodel.rst:2815 +#: reference/datamodel.rst:2816 msgid ":pep:`343` - The \"with\" statement" msgstr "" -#: reference/datamodel.rst:2815 +#: reference/datamodel.rst:2816 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." msgstr "" -#: reference/datamodel.rst:2822 +#: reference/datamodel.rst:2823 msgid "Customizing positional arguments in class pattern matching" msgstr "" -#: reference/datamodel.rst:2824 +#: reference/datamodel.rst:2825 msgid "" "When using a class name in a pattern, positional arguments in the pattern " "are not allowed by default, i.e. ``case MyClass(x, y)`` is typically invalid " @@ -3237,7 +3237,7 @@ msgid "" "pattern, the class needs to define a *__match_args__* attribute." msgstr "" -#: reference/datamodel.rst:2831 +#: reference/datamodel.rst:2832 msgid "" "This class variable can be assigned a tuple of strings. When this class is " "used in a class pattern with positional arguments, each positional argument " @@ -3246,7 +3246,7 @@ msgid "" "to setting it to ``()``." msgstr "" -#: reference/datamodel.rst:2837 +#: reference/datamodel.rst:2838 msgid "" "For example, if ``MyClass.__match_args__`` is ``(\"left\", \"center\", " "\"right\")`` that means that ``case MyClass(x, y)`` is equivalent to ``case " @@ -3256,19 +3256,19 @@ msgid "" "exc:`TypeError`." msgstr "" -#: reference/datamodel.rst:2847 +#: reference/datamodel.rst:2848 msgid ":pep:`634` - Structural Pattern Matching" msgstr "" -#: reference/datamodel.rst:2848 +#: reference/datamodel.rst:2849 msgid "The specification for the Python ``match`` statement." msgstr "" -#: reference/datamodel.rst:2854 +#: reference/datamodel.rst:2855 msgid "Special method lookup" msgstr "" -#: reference/datamodel.rst:2856 +#: reference/datamodel.rst:2857 msgid "" "For custom classes, implicit invocations of special methods are only " "guaranteed to work correctly if defined on an object's type, not in the " @@ -3276,7 +3276,7 @@ msgid "" "following code raises an exception::" msgstr "" -#: reference/datamodel.rst:2871 +#: reference/datamodel.rst:2872 msgid "" "The rationale behind this behaviour lies with a number of special methods " "such as :meth:`~object.__hash__` and :meth:`~object.__repr__` that are " @@ -3285,21 +3285,21 @@ msgid "" "invoked on the type object itself::" msgstr "" -#: reference/datamodel.rst:2885 +#: reference/datamodel.rst:2886 msgid "" "Incorrectly attempting to invoke an unbound method of a class in this way is " "sometimes referred to as 'metaclass confusion', and is avoided by bypassing " "the instance when looking up special methods::" msgstr "" -#: reference/datamodel.rst:2894 +#: reference/datamodel.rst:2895 msgid "" "In addition to bypassing any instance attributes in the interest of " "correctness, implicit special method lookup generally also bypasses the :" "meth:`~object.__getattribute__` method even of the object's metaclass::" msgstr "" -#: reference/datamodel.rst:2920 +#: reference/datamodel.rst:2921 msgid "" "Bypassing the :meth:`~object.__getattribute__` machinery in this fashion " "provides significant scope for speed optimisations within the interpreter, " @@ -3308,36 +3308,36 @@ msgid "" "consistently invoked by the interpreter)." msgstr "" -#: reference/datamodel.rst:2931 +#: reference/datamodel.rst:2932 msgid "Coroutines" msgstr "" -#: reference/datamodel.rst:2935 +#: reference/datamodel.rst:2936 msgid "Awaitable Objects" msgstr "" -#: reference/datamodel.rst:2937 +#: reference/datamodel.rst:2938 msgid "" "An :term:`awaitable` object generally implements an :meth:`~object." "__await__` method. :term:`Coroutine objects ` returned from :" "keyword:`async def` functions are awaitable." msgstr "" -#: reference/datamodel.rst:2943 +#: reference/datamodel.rst:2944 msgid "" "The :term:`generator iterator` objects returned from generators decorated " "with :func:`types.coroutine` are also awaitable, but they do not implement :" "meth:`~object.__await__`." msgstr "" -#: reference/datamodel.rst:2949 +#: reference/datamodel.rst:2950 msgid "" "Must return an :term:`iterator`. Should be used to implement :term:" "`awaitable` objects. For instance, :class:`asyncio.Future` implements this " "method to be compatible with the :keyword:`await` expression." msgstr "" -#: reference/datamodel.rst:2955 +#: reference/datamodel.rst:2956 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 " @@ -3345,15 +3345,15 @@ msgid "" "g. :mod:`asyncio`) that will be managing the :term:`awaitable` object." msgstr "" -#: reference/datamodel.rst:2963 +#: reference/datamodel.rst:2964 msgid ":pep:`492` for additional information about awaitable objects." msgstr "" -#: reference/datamodel.rst:2969 +#: reference/datamodel.rst:2970 msgid "Coroutine Objects" msgstr "" -#: reference/datamodel.rst:2971 +#: reference/datamodel.rst:2972 msgid "" ":term:`Coroutine objects ` are :term:`awaitable` objects. A " "coroutine's execution can be controlled by calling :meth:`~object.__await__` " @@ -3364,18 +3364,18 @@ msgid "" "should not directly raise unhandled :exc:`StopIteration` exceptions." msgstr "" -#: reference/datamodel.rst:2979 +#: reference/datamodel.rst:2980 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:2983 +#: reference/datamodel.rst:2984 msgid "It is a :exc:`RuntimeError` to await on a coroutine more than once." msgstr "" -#: reference/datamodel.rst:2989 +#: reference/datamodel.rst:2990 msgid "" "Starts or resumes execution of the coroutine. If *value* is ``None``, this " "is equivalent to advancing the iterator returned by :meth:`~object." @@ -3386,7 +3386,7 @@ msgid "" "value, described above." msgstr "" -#: reference/datamodel.rst:3000 +#: reference/datamodel.rst:3001 msgid "" "Raises the specified exception in the coroutine. This method delegates to " "the :meth:`~generator.throw` method of the iterator that caused the " @@ -3397,7 +3397,7 @@ msgid "" "not caught in the coroutine, it propagates back to the caller." msgstr "" -#: reference/datamodel.rst:3011 +#: reference/datamodel.rst:3012 msgid "" "Causes the coroutine to clean itself up and exit. If the coroutine is " "suspended, this method first delegates to the :meth:`~generator.close` " @@ -3407,99 +3407,99 @@ msgid "" "is marked as having finished executing, even if it was never started." msgstr "" -#: reference/datamodel.rst:3019 +#: reference/datamodel.rst:3020 msgid "" "Coroutine objects are automatically closed using the above process when they " "are about to be destroyed." msgstr "" -#: reference/datamodel.rst:3025 +#: reference/datamodel.rst:3026 msgid "Asynchronous Iterators" msgstr "" -#: reference/datamodel.rst:3027 +#: reference/datamodel.rst:3028 msgid "" "An *asynchronous iterator* can call asynchronous code in its ``__anext__`` " "method." msgstr "" -#: reference/datamodel.rst:3030 +#: reference/datamodel.rst:3031 msgid "" "Asynchronous iterators can be used in an :keyword:`async for` statement." msgstr "" -#: reference/datamodel.rst:3034 +#: reference/datamodel.rst:3035 msgid "Must return an *asynchronous iterator* object." msgstr "" -#: reference/datamodel.rst:3038 +#: reference/datamodel.rst:3039 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:3041 +#: reference/datamodel.rst:3042 msgid "An example of an asynchronous iterable object::" msgstr "" -#: reference/datamodel.rst:3058 +#: reference/datamodel.rst:3059 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:3063 +#: reference/datamodel.rst:3064 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:3071 +#: reference/datamodel.rst:3072 msgid "Asynchronous Context Managers" msgstr "" -#: reference/datamodel.rst:3073 +#: reference/datamodel.rst:3074 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:3076 +#: reference/datamodel.rst:3077 msgid "" "Asynchronous context managers can be used in an :keyword:`async with` " "statement." msgstr "" -#: reference/datamodel.rst:3080 +#: reference/datamodel.rst:3081 msgid "" "Semantically similar to :meth:`__enter__`, the only difference being that it " "must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3085 +#: reference/datamodel.rst:3086 msgid "" "Semantically similar to :meth:`__exit__`, the only difference being that it " "must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3088 +#: reference/datamodel.rst:3089 msgid "An example of an asynchronous context manager class::" msgstr "" -#: reference/datamodel.rst:3101 +#: reference/datamodel.rst:3102 msgid "Footnotes" msgstr "" -#: reference/datamodel.rst:3102 +#: reference/datamodel.rst:3103 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:3106 +#: reference/datamodel.rst:3107 msgid "" "The :meth:`~object.__hash__`, :meth:`~object.__iter__`, :meth:`~object." "__reversed__`, and :meth:`~object.__contains__` methods have special " @@ -3507,7 +3507,7 @@ msgid "" "by relying on the behavior that ``None`` is not callable." msgstr "" -#: reference/datamodel.rst:3112 +#: reference/datamodel.rst:3113 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 " @@ -3515,7 +3515,7 @@ msgid "" "instead have the opposite effect of explicitly *blocking* such fallback." msgstr "" -#: reference/datamodel.rst:3118 +#: reference/datamodel.rst:3119 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/using/cmdline.po b/using/cmdline.po index 3134564d3..38c216688 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1154,7 +1154,7 @@ msgid "" "_enablelegacywindowsfsencoding()`." msgstr "" -#: using/cmdline.rst:940 +#: using/cmdline.rst:939 msgid ":ref:`Availability `: Windows." msgstr "" @@ -1245,7 +1245,7 @@ msgid "" "system interfaces." msgstr "" -#: using/cmdline.rst:991 +#: using/cmdline.rst:990 msgid ":ref:`Availability `: Unix." msgstr "" diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index 143c91900..cf763e218 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: 2023-01-08 11:23+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1355,11 +1355,12 @@ msgid "time" msgstr "time" #: whatsnew/3.9.rst:687 +#, fuzzy msgid "" "On AIX, :func:`~time.thread_time` is now implemented with " "``thread_cputime()`` which has nanosecond resolution, rather than " -"``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` which has a resolution of 10 ms. " -"(Contributed by Batuhan Taskaya in :issue:`40192`)" +"``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` which has a resolution of 10 " +"milliseconds. (Contributed by Batuhan Taskaya in :issue:`40192`)" msgstr "" "AIX üzerinde :func:`~time.thread_time` artık 10 ms çözünürlüğe sahip " "``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` yerine nanosaniye çözünürlüğe " @@ -2444,14 +2445,15 @@ msgstr "" "`10945`.)" #: whatsnew/3.9.rst:1244 +#, fuzzy msgid "" "When building Python on macOS from source, ``_tkinter`` now links with non-" "system Tcl and Tk frameworks if they are installed in ``/Library/" "Frameworks``, as had been the case on older releases of macOS. If a macOS " "SDK is explicitly configured, by using :option:`--enable-universalsdk` or ``-" "isysroot``, only the SDK itself is searched. The default behavior can still " -"be overridden with :option:`--with-tcltk-includes` and :option:`--with-tcltk-" -"libs`. (Contributed by Ned Deily in :issue:`34956`.)" +"be overridden with ``--with-tcltk-includes`` and ``--with-tcltk-libs``. " +"(Contributed by Ned Deily in :issue:`34956`.)" msgstr "" "Python'u macOS'ta kaynaktan derlerken, ``_tkinter``, macOS'un eski " "sürümlerinde olduğu gibi, ``/Library/Frameworks`` içine yüklenmişlerse artık " From 69433923a3822ef66d9d79c341f50b1fc5631713 Mon Sep 17 00:00:00 2001 From: Ege Akman Date: Wed, 1 Mar 2023 11:18:55 +0300 Subject: [PATCH 02/12] Apply suggestions from code review --- library/stdtypes.po | 3 +-- whatsnew/3.9.po | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/library/stdtypes.po b/library/stdtypes.po index 7eb7e044b..cebb98394 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -145,9 +145,8 @@ msgid "``x or y``" msgstr "``x or y``" #: library/stdtypes.rst:87 -#, fuzzy msgid "if *x* is true, then *x*, else *y*" -msgstr "*x* yanlışsa, *x*, aksi halde *y*" +msgstr "*x* doğruysa, *x*, aksi halde *y*" #: library/stdtypes.rst:285 library/stdtypes.rst:926 library/stdtypes.rst:2377 #: library/stdtypes.rst:3595 diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index cf763e218..f7ae2cf55 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -1355,14 +1355,13 @@ msgid "time" msgstr "time" #: whatsnew/3.9.rst:687 -#, fuzzy msgid "" "On AIX, :func:`~time.thread_time` is now implemented with " "``thread_cputime()`` which has nanosecond resolution, rather than " "``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` which has a resolution of 10 " "milliseconds. (Contributed by Batuhan Taskaya in :issue:`40192`)" msgstr "" -"AIX üzerinde :func:`~time.thread_time` artık 10 ms çözünürlüğe sahip " +"AIX üzerinde :func:`~time.thread_time` artık 10 milisaniye çözünürlüğe sahip " "``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` yerine nanosaniye çözünürlüğe " "sahip ``thread_cputime()`` ile uygulanmaktadır. (Batuhan Taşkaya :sayısı:" "`40192`de katılmıştır)" From e676442990d5ad767198d1a932d91bb0ce2272f0 Mon Sep 17 00:00:00 2001 From: egeakman Date: Wed, 1 Mar 2023 12:18:20 +0300 Subject: [PATCH 03/12] fix fuzzy + typos --- bugs.po | 9 +++++---- install/index.po | 26 +++++++++++++------------- library/functions.po | 17 +++++++---------- library/time.po | 22 ++++++++++------------ tutorial/introduction.po | 7 +++++-- whatsnew/3.9.po | 8 +++----- 6 files changed, 43 insertions(+), 46 deletions(-) diff --git a/bugs.po b/bugs.po index 010fd954f..b1ab030d8 100644 --- a/bugs.po +++ b/bugs.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-03-01 00:18+0000\n" -"PO-Revision-Date: 2022-12-28 11:29+0300\n" +"PO-Revision-Date: 2023-03-01 12:08+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" "Language: tr\n" @@ -15,7 +15,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.2\n" +"X-Generator: Poedit 3.2.2\n" #: bugs.rst:5 msgid "Dealing with Bugs" @@ -61,6 +61,8 @@ msgid "" "You can also open a discussion item on our `Documentation Discourse forum " "`_." msgstr "" +"Ayrıca `Dokümantasyon Discourse forumumuzda `_ bir tartışma öğesi açabilirsiniz." #: bugs.rst:25 msgid "" @@ -184,13 +186,12 @@ msgid "The submission form has two fields, \"Title\" and \"Comment\"." msgstr "Form iki kısımdan oluşur. \"Başlık\" ve \"Yorum\"." #: bugs.rst:72 -#, fuzzy msgid "" "For the \"Title\" field, enter a *very* short description of the problem; " "fewer than ten words is good." msgstr "" "\"Başlık\" için hatanın *çok* kısa açıklamasını girin; başlığın on kelimeden " -"az olması tercih edilir." +"az olması iyidir." #: bugs.rst:75 msgid "" diff --git a/install/index.po b/install/index.po index f0fae5fc7..3fc5dd380 100644 --- a/install/index.po +++ b/install/index.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-12-17 01:28+0300\n" -"PO-Revision-Date: 2022-05-15 21:17+0300\n" +"PO-Revision-Date: 2023-03-01 11:30+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" "Language: tr\n" @@ -15,7 +15,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.0.1\n" +"X-Generator: Poedit 3.2.2\n" #: install/index.rst:7 msgid "Installing Python Modules (Legacy version)" @@ -324,7 +324,7 @@ msgid "" "`lib` (or :file:`lib.{plat}`) directory contains all Python modules (pure " "Python and extensions) that will be installed." msgstr "" -"Burada ```` mevcut işletim sistemi/donanım platformunun ve Python " +"burada ```` mevcut işletim sistemi/donanım platformunun ve Python " "sürümünün kısa bir açıklamasına genişler. Yalnızca bir :file:`lib` dizini " "içeren ilk biçim, \"saf modül dağıtımları\" için kullanılır---yani, yalnızca " "salt Python modüllerini içeren modül dağıtımları. Bir modül dağıtımı " @@ -611,7 +611,7 @@ msgstr "Kurulum dizini" #: install/index.rst:331 install/index.rst:483 msgid "modules" -msgstr "Modüller" +msgstr "modüller" #: install/index.rst:320 msgid ":file:`{userbase}/lib/python{X.Y}/site-packages`" @@ -627,7 +627,7 @@ msgstr ":file:`{userbase}/bin`" #: install/index.rst:333 install/index.rst:434 install/index.rst:512 msgid "data" -msgstr "Data" +msgstr "data" #: install/index.rst:333 msgid ":file:`{userbase}`" @@ -792,11 +792,11 @@ msgid "" "rather than :file:`/usr/lib/python2.{X}`. This can be done with ::" msgstr "" "İlk olarak, birçok Linux dağıtımının Python'u daha geleneksel :file:`/usr/" -"local` yerine :file:`/usr` içine koyduğunu düşünün. Bu tamamen uygundur, " +"local` yerine :file:`/usr` içine koyduğunu düşünün. Bu tamamen uygundur, " "çünkü bu durumlarda Python yerel bir eklentiden ziyade \"sistemin\" bir " "parçasıdır. Ancak, Python modüllerini kaynaktan kuruyorsanız, muhtemelen " "bunların :file:`/usr/lib/python2 yerine :file:`/usr/local/lib/python2.{X}` " -"içine girmesini istersiniz.{X }`. Bu :: ile yapılabilir." +"içine girmesini istersiniz.{X }`. Şu şekilde yapılabilir ::" #: install/index.rst:412 msgid "" @@ -812,7 +812,7 @@ msgstr "" "`/usr/local/bin/python` olarak erişilen Python yorumlayıcısı için arama " "yapabilir. modüller :file:`/usr/local/lib/python2.{X}` dizinindedir, ancak " "bu modüllerin örneğin :file:`/mnt/{@server}/export/lib/python2 konumuna " -"yüklenmesi gerekir. {X}`. Bu :: ile yapılabilir." +"yüklenmesi gerekir. {X}`. Şu şekilde yapılabilir ::" #: install/index.rst:421 msgid "" @@ -991,7 +991,7 @@ msgstr "``--install-platlib``" #: install/index.rst:510 msgid "all modules" -msgstr "Tüm modüller" +msgstr "tüm modüller" #: install/index.rst:510 msgid "``--install-lib``" @@ -1119,7 +1119,7 @@ msgstr "" #: install/index.rst:574 msgid "or, equivalently, ::" -msgstr "Veya eş değer olarak, ::" +msgstr "veya eş değer olarak, ::" #: install/index.rst:582 msgid "" @@ -1144,7 +1144,7 @@ msgstr "" #: install/index.rst:599 msgid "or, equivalently," -msgstr "Veya eş değer olarak," +msgstr "veya eş değer olarak," #: install/index.rst:610 msgid "" @@ -1707,7 +1707,7 @@ msgid "" msgstr "" "Belirli bir platform, platformunuzda özel bir kütüphane gerektiriyorsa, " "bunu :file:`Setup` dosyasını düzenleyerek ve ``python setup.py build`` " -"çalıştırarak ekleyebilirsiniz. Örneğin, modül :: satırı ile tanımlanırsa" +"çalıştırarak ekleyebilirsiniz. Örneğin, modül satır ile tamamlanırsa ::" #: install/index.rst:919 msgid "" @@ -2003,7 +2003,7 @@ msgstr "" msgid "Check https://www.sourceware.org/cygwin/ for more information" msgstr "" "Daha fazla bilgi için https://www.sourceware.org/cygwin/ adresini kontrol " -"edin." +"edin" #: install/index.rst:1076 msgid "" diff --git a/library/functions.po b/library/functions.po index 30af32f1c..cdc920afd 100644 --- a/library/functions.po +++ b/library/functions.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-03-01 00:18+0000\n" -"PO-Revision-Date: 2023-02-01 18:21-0500\n" +"PO-Revision-Date: 2023-03-01 11:37+0300\n" "Last-Translator: \n" "Language-Team: TURKISH\n" "Language: tr\n" @@ -1347,18 +1347,16 @@ msgid "Added the *closure* parameter." msgstr "*closure* parametresi eklendi." #: library/functions.rst:624 -#, fuzzy msgid "" "Construct an iterator from those elements of *iterable* for which *function* " "is true. *iterable* may be either a sequence, a container which supports " "iteration, or an iterator. If *function* is ``None``, the identity function " "is assumed, that is, all elements of *iterable* that are false are removed." msgstr "" -"*function* 'ın doğru döndürdüğü *iterable* ögelerinden bir yineleyici " -"oluşturun. *iterable* bir dizi, yinelemeyi destekleyen bir konteyner veya " -"bir yineleyici olabilir. Eğer *function* ``None`` ise, fonksiyon gelen " -"parametreler üzerinde bir değişiklik yapmaz. *iterable* 'ın tüm yanlış " -"elementleri silinir." +"*fonksiyon*'un doğru olduğu *iterable* öğelerinden bir yineleyici oluşturun. " +"*iterable* bir dizi, yinelemeyi destekleyen bir kapsayıcı veya bir " +"yineleyici olabilir. *fonksiyon* ``None`` ise, kimlik işlevi varsayılır, " +"yani *iterable* öğesinin yanlış olan tüm öğeleri kaldırılır." #: library/functions.rst:630 msgid "" @@ -1373,13 +1371,12 @@ msgstr "" "unutmayın." #: library/functions.rst:635 -#, fuzzy msgid "" "See :func:`itertools.filterfalse` for the complementary function that " "returns elements of *iterable* for which *function* is false." msgstr "" -"*function* 'ın yanlış döndürdüğü *iterable* öğelerini döndüren tamamlayıcı " -"fonksiyon için :func:`itertools.filterfalse` 'a bakınız.." +"*fonksiyon*'un yanlış olduğu *iterable* öğelerini döndüren tamamlayıcı " +"fonksiyon için :func:`itertools.filterfalse` konusuna bakın." #: library/functions.rst:645 msgid "Return a floating point number constructed from a number or string *x*." diff --git a/library/time.po b/library/time.po index 72e5b0a20..d81c00e29 100644 --- a/library/time.po +++ b/library/time.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-03-01 00:18+0000\n" -"PO-Revision-Date: 2023-02-23 01:57+0300\n" +"PO-Revision-Date: 2023-03-01 11:44+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" "Language: tr\n" @@ -253,13 +253,12 @@ msgstr "" "Aynı isimli C fonksiyonunun aksine, :func:`asctime` sona yeni satır eklemez." #: library/time.rst:137 -#, fuzzy msgid "" "Return the *clk_id* of the thread-specific CPU-time clock for the specified " "*thread_id*." msgstr "" -"Belirtilen *thread_id* için iş parçacığına özgü CPU-time saatinin " -"*clk_id*'sini döndürür." +"Belirtilen *thread_id* için iş parçacığına özgü CPU-zaman saatinin *clk_id* " +"değerini döndürün." #: library/time.rst:139 msgid "" @@ -354,7 +353,7 @@ msgid "" "characters long and is space padded if the day is a single digit, e.g.: " "``'Wed Jun 9 04:26:40 1993'``." msgstr "" -"epoch_ 'den bu yana saniye cinsinden ifade edilen bir süreyi bir biçim " +"epoch_ 'dan bu yana saniye cinsinden ifade edilen bir süreyi bir biçim " "dizisine dönüştürün: yerel zamanı temsil eden ``'Sun Jun 20 23:21:05 " "1993'``. Gün alanı iki karakter uzunluğundadır ve gün tek basamaklıysa " "boşluk bırakılır, örneğin: ``'Wed Jun 9 04:26:40 1993'``." @@ -439,7 +438,7 @@ msgid "" "the :class:`struct_time` object. See :func:`calendar.timegm` for the inverse " "of this function." msgstr "" -"epoch_ 'den bu yana saniye olarak ifade edilen bir zamanı, dst bayrağının " +"epoch_ 'dan bu yana saniye olarak ifade edilen bir zamanı, dst bayrağının " "her zaman sıfır olduğu UTC'de bir :class:`struct_time`'a dönüştürün. *secs* " "sağlanmazsa veya :const:`None`, :func:`.time` tarafından döndürülen geçerli " "zaman kullanılır. Saniyenin kesirleri dikkate alınmaz. :class:" @@ -1239,7 +1238,7 @@ msgid "" "the epoch_. This is commonly referred to as `Unix time `_." msgstr "" -"epoch_'dan bu yana geçen süreyi kayan noktalı bir sayı olarak saniye " +"epoch_ 'dan bu yana geçen süreyi kayan noktalı bir sayı olarak saniye " "cinsinden döndürür. `leap seconds`_ 'ın ele alınması platforma bağlıdır. " "Windows'ta ve çoğu Unix sisteminde, artık saniyeler, epoch_'dan bu yana " "saniye cinsinden süreye dahil edilmez. Bu genellikle `Unix time `: Linux >= 2.6.39." diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 524d46055..8f20b2b57 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-02-01 22:19+0000\n" -"PO-Revision-Date: 2022-12-28 22:09+0300\n" +"PO-Revision-Date: 2023-03-01 12:10+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" "Language: tr\n" @@ -15,7 +15,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.0.1\n" +"X-Generator: Poedit 3.2.2\n" #: tutorial/introduction.rst:5 msgid "An Informal Introduction to Python" @@ -240,6 +240,9 @@ msgid "" "odd number of ``\\`` characters; see :ref:`the FAQ entry ` for more information and workarounds." msgstr "" +"Ham dizelerin ince bir yönü vardır: ham bir dize tek sayıda ``\\`` " +"karakterle bitmeyebilir; daha fazla bilgi ve geçici çözümler için :ref:`SSS " +"` 'e bakın." #: tutorial/introduction.rst:197 msgid "" diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index f7ae2cf55..ee43d7137 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-03-01 00:18+0000\n" -"PO-Revision-Date: 2023-01-08 11:23+0300\n" +"PO-Revision-Date: 2023-03-01 11:48+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" "Language: tr\n" @@ -2444,7 +2444,6 @@ msgstr "" "`10945`.)" #: whatsnew/3.9.rst:1244 -#, fuzzy msgid "" "When building Python on macOS from source, ``_tkinter`` now links with non-" "system Tcl and Tk frameworks if they are installed in ``/Library/" @@ -2459,9 +2458,8 @@ msgstr "" "sistem dışı Tcl ve Tk çerçeveleriyle bağlantı kuruyor. Bir macOS SDK, :" "option:`--enable-universalsdk` veya ``-isysroot`` kullanılarak açıkça " "yapılandırılmışsa, yalnızca SDK'nın kendisi aranır. Varsayılan davranış yine " -"de :option:`--with-tcltk-includes` ve :option:`--with-tcltk-libs` ile " -"geçersiz kılınabilir. ( :issue:`34956` içinde Ned Deily tarafından " -"katılmıştır.)" +"de ``--with-tcltk-includes`` ve ``--with-tcltk-libs`` ile geçersiz " +"kılınabilir. ( :issue:`34956` içinde Ned Deily tarafından katılmıştır.)" #: whatsnew/3.9.rst:1253 msgid "" From fc3f7e8dbcf532ed84cb6e252ce5debb4dd60859 Mon Sep 17 00:00:00 2001 From: egeakman Date: Wed, 1 Mar 2023 12:20:40 +0300 Subject: [PATCH 04/12] language team --- library/functions.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/functions.po b/library/functions.po index cdc920afd..7e44c561f 100644 --- a/library/functions.po +++ b/library/functions.po @@ -9,7 +9,7 @@ msgstr "" "POT-Creation-Date: 2023-03-01 00:18+0000\n" "PO-Revision-Date: 2023-03-01 11:37+0300\n" "Last-Translator: \n" -"Language-Team: TURKISH\n" +"Language-Team: TURKISH \n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" From 6d9687ec3f30b5e5a501b1f972300a0793edc38b Mon Sep 17 00:00:00 2001 From: egeakman Date: Wed, 1 Mar 2023 12:45:47 +0300 Subject: [PATCH 05/12] syntax --- whatsnew/3.9.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index ee43d7137..660dffc92 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -1364,7 +1364,7 @@ msgstr "" "AIX üzerinde :func:`~time.thread_time` artık 10 milisaniye çözünürlüğe sahip " "``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` yerine nanosaniye çözünürlüğe " "sahip ``thread_cputime()`` ile uygulanmaktadır. (Batuhan Taşkaya :sayısı:" -"`40192`de katılmıştır)" +"`40192` 'de katılmıştır)" #: whatsnew/3.9.rst:693 msgid "sys" From 7c9e6c551127234445e895a5bfab641bf9f6f27e Mon Sep 17 00:00:00 2001 From: Ege Akman Date: Wed, 1 Mar 2023 13:04:09 +0300 Subject: [PATCH 06/12] Update 3.9.po --- whatsnew/3.9.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index 660dffc92..26c7e77a8 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -1363,7 +1363,7 @@ msgid "" msgstr "" "AIX üzerinde :func:`~time.thread_time` artık 10 milisaniye çözünürlüğe sahip " "``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` yerine nanosaniye çözünürlüğe " -"sahip ``thread_cputime()`` ile uygulanmaktadır. (Batuhan Taşkaya :sayısı:" +"sahip ``thread_cputime()`` ile uygulanmaktadır. (Batuhan Taşkaya :issue:" "`40192` 'de katılmıştır)" #: whatsnew/3.9.rst:693 From 0bdd1c83d55c2f0c51eedfde37905252f1372a4c Mon Sep 17 00:00:00 2001 From: Arda Sak Date: Tue, 7 Mar 2023 20:47:49 -0500 Subject: [PATCH 07/12] Fix fuzzy's --- install/index.po | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/install/index.po b/install/index.po index 3fc5dd380..628d66369 100644 --- a/install/index.po +++ b/install/index.po @@ -150,8 +150,8 @@ msgstr "" "açılır: :file:`foo-1.0` veya :file:`widget-0.9.7`. Ek olarak, dağıtım bir " "kurulum komut dosyası :file:`setup.py` ve :file:`README.txt` veya muhtemelen " "sadece :file:`README` adlı bir dosya içerecek ve modül dağıtımının " -"oluşturulmasını ve kurulmasını açıklamalıdır. bir terminalden bir komut " -"çalıştırmanın basit bir meselesidir:" +"oluşturulması ve kurulmasınının bir terminalden bir komut çalıştırmanın " +"basit bir meselesi olduğunu açıklamalıdır:: " #: install/index.rst:77 msgid "" @@ -457,8 +457,8 @@ msgstr "" #: install/index.rst:234 msgid "" -"The default installation directory on Windows was :file:`C:\\\\Program " -"Files\\\\Python` under Python 1.6a1, 1.5.2, and earlier." +"The default installation directory on Windows was :file:`C:\\\\Program Files" +"\\\\Python` under Python 1.6a1, 1.5.2, and earlier." msgstr "" "Windows'ta varsayılan kurulum dizini Python 1.6a1, 1.5.2 ve önceki " "sürümlerde :file:`C:\\\\Program Files\\\\Python` idi." @@ -1428,7 +1428,7 @@ msgid "" "On all platforms, the \"personal\" file can be temporarily disabled by " "passing the ``--no-user-cfg`` option." msgstr "" -"Tüm platformlarda, ``-no-user-cfg`` seçeneği geçilerek \"kişisel\" dosya " +"Tüm platformlarda, ``--no-user-cfg`` seçeneği geçilerek \"kişisel\" dosya " "geçici olarak devre dışı bırakılabilir." #: install/index.rst:769 @@ -1476,12 +1476,12 @@ msgid "" msgstr "" "(Ayrıca not (1)'e bakın.) Python 1.6 ve sonraki sürümlerde, Python'un " "varsayılan \"kurulum öneki\" :file:`C:\\\\Python` şeklindedir, bu nedenle " -"sistem yapılandırma dosyası normalde :file:`C:\\\\Python\\ şeklindedir. " -"\\Lib\\\\distutils\\\\distutils.cfg`. Python 1.5.2 altında, varsayılan önek :" -"file:`C:\\\\Program Files\\\\Python` idi ve Distutils standart kitaplığın " -"parçası değildi -- bu nedenle sistem yapılandırma dosyası :file:`C " -"olacaktır. :\\\\Program Files\\\\Python\\\\distutils\\\\distutils.cfg` " -"Windows altında standart bir Python 1.5.2 kurulumunda." +"sistem yapılandırma dosyası normalde :file:`C:\\\\Python\\ şeklindedir. \\Lib" +"\\\\distutils\\\\distutils.cfg`. Python 1.5.2 altında, varsayılan önek :file:" +"`C:\\\\Program Files\\\\Python` idi ve Distutils standart kitaplığın parçası " +"değildi -- bu nedenle sistem yapılandırma dosyası :file:`C olacaktır. :\\" +"\\Program Files\\\\Python\\\\distutils\\\\distutils.cfg` Windows altında " +"standart bir Python 1.5.2 kurulumunda." #: install/index.rst:794 msgid "" @@ -1543,8 +1543,8 @@ msgid "" "command:`build\\*` commands always forcibly rebuild all files with the " "following:" msgstr "" -"Varsayılan \"temel oluşturma\" dizinini geçersiz kılabilir ve :command:" -"`build\\*` komutlarını aşağıdakilerle tüm dosyaları her zaman zorla yeniden " +"Varsayılan \"temel oluşturma\" dizinini geçersiz kılabilir ve :command:`build" +"\\*` komutlarını aşağıdakilerle tüm dosyaları her zaman zorla yeniden " "oluşturabilirsiniz:" #: install/index.rst:835 @@ -1731,9 +1731,9 @@ msgid "" "appended to the proper command line, so in the above example the compiler " "will be passed the :option:`!-o32` option, and the linker will be passed :" "option:`!-shared`. If a compiler option requires an argument, you'll have " -"to supply multiple :option:`!-Xcompiler` options; for example, to pass ``-x " -"c++`` the :file:`Setup` file would have to contain ``-Xcompiler -x -" -"Xcompiler c++``." +"to supply multiple :option:`!-Xcompiler` options; for example, to pass ``-x c" +"++`` the :file:`Setup` file would have to contain ``-Xcompiler -x -Xcompiler " +"c++``." msgstr "" ":option:`!-Xcompiler` ve :option:`!-Xlinker` 'dan sonraki sonraki seçenek " "uygun komut satırına eklenecektir, bu nedenle yukarıdaki örnekte " @@ -1979,7 +1979,7 @@ msgid "" "`Building Python modules on MS Windows platform with MinGW `_" msgstr "" -"`MinGW ile MS " +"`MinGW ile MS " "Windows platformunda Python modülleri oluşturma`_" #: install/index.rst:1066 From 79479f992c4b5cb74a828be3f5997d78b76d2ca0 Mon Sep 17 00:00:00 2001 From: egeakman Date: Wed, 8 Mar 2023 14:36:00 +0300 Subject: [PATCH 08/12] remove fuzzy flags --- install/index.po | 5 +---- library/functions.po | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/install/index.po b/install/index.po index 628d66369..387e8794f 100644 --- a/install/index.po +++ b/install/index.po @@ -129,7 +129,6 @@ msgid "Distutils based source distributions" msgstr "Distutils tabanlı kaynak dağıtımları" #: install/index.rst:64 -#, fuzzy msgid "" "If you download a module source distribution, you can tell pretty quickly if " "it was packaged and distributed in the standard way, i.e. using the " @@ -151,7 +150,7 @@ msgstr "" "kurulum komut dosyası :file:`setup.py` ve :file:`README.txt` veya muhtemelen " "sadece :file:`README` adlı bir dosya içerecek ve modül dağıtımının " "oluşturulması ve kurulmasınının bir terminalden bir komut çalıştırmanın " -"basit bir meselesi olduğunu açıklamalıdır:: " +"basit bir meselesi olduğunu açıklamalıdır::" #: install/index.rst:77 msgid "" @@ -1423,7 +1422,6 @@ msgid "\\(5)" msgstr "\\(5)" #: install/index.rst:763 -#, fuzzy msgid "" "On all platforms, the \"personal\" file can be temporarily disabled by " "passing the ``--no-user-cfg`` option." @@ -1974,7 +1972,6 @@ msgstr "" "dizinlerde bulunmalıdır." #: install/index.rst:1065 -#, fuzzy msgid "" "`Building Python modules on MS Windows platform with MinGW `_" diff --git a/library/functions.po b/library/functions.po index 7e44c561f..ad31b9234 100644 --- a/library/functions.po +++ b/library/functions.po @@ -619,7 +619,7 @@ msgid "" "class:`bytearray` -- it has the same non-mutating methods and the same " "indexing and slicing behavior." msgstr "" -"0 <= x < 256 aralığındaki tam sayılardan oluşan değiştirilemez bir bayt " +"``0 <= x < 256`` aralığındaki tam sayılardan oluşan değiştirilemez bir \"bayt\" " "objesi döndürür. :class:`bytes`, :class:`bytearray` 'in değiştirilemez " "versiyonudur. Aynı objeyi değiştirmeyen metotlara, indeksleme ve dilimleme " "davranışına sahiptir." From d671c7a55c55b26b2e439779e60ce29fce650711 Mon Sep 17 00:00:00 2001 From: egeakman Date: Wed, 8 Mar 2023 15:02:22 +0300 Subject: [PATCH 09/12] syntax --- install/index.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/index.po b/install/index.po index 387e8794f..ce35d8eaa 100644 --- a/install/index.po +++ b/install/index.po @@ -1976,8 +1976,8 @@ msgid "" "`Building Python modules on MS Windows platform with MinGW `_" msgstr "" -"`MinGW ile MS " -"Windows platformunda Python modülleri oluşturma`_" +"`MinGW ile MS Windows platformunda Python modülleri oluşturma `_" #: install/index.rst:1066 msgid "" From 1a4f952a791d7921e052d5247b8c7d41e70a0589 Mon Sep 17 00:00:00 2001 From: Arda Sak Date: Wed, 8 Mar 2023 10:13:39 -0500 Subject: [PATCH 10/12] Functions update --- library/functions.po | 2627 ++++++++++++++++++++---------------------- 1 file changed, 1279 insertions(+), 1348 deletions(-) diff --git a/library/functions.po b/library/functions.po index ad31b9234..7cce405ea 100644 --- a/library/functions.po +++ b/library/functions.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-03-01 00:18+0000\n" -"PO-Revision-Date: 2023-03-01 11:37+0300\n" +"PO-Revision-Date: 2023-03-08 10:13-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" "Language: tr\n" @@ -23,8 +23,8 @@ msgstr "Gömülü Fonksiyonlar" #: library/functions.rst:7 msgid "" -"The Python interpreter has a number of functions and types built into it " -"that are always available. They are listed here in alphabetical order." +"The Python interpreter has a number of functions and types built into it that " +"are always available. They are listed here in alphabetical order." msgstr "" "Python yorumlayıcısı, içinde gömülü olarak gelen ve her zaman kullanılabilen " "bir dizi fonksiyon ve tür barındırır. Burada alfabetik sıraya göre " @@ -400,14 +400,14 @@ msgid "" "floating point number, or an object implementing :meth:`__abs__`. If the " "argument is a complex number, its magnitude is returned." msgstr "" -"Bir sayının mutlak değerini döndürür. Argüman bir tam sayı, gerçel sayı " -"veya :meth:`__abs__` 'i uygulayan bir nesne olabilir. Eğer argüman bir " -"karmaşık sayıysa, onun büyüklüğü döndürülür." +"Bir sayının mutlak değerini döndürür. Argüman bir tam sayı, gerçel sayı veya :" +"meth:`__abs__` 'i uygulayan bir nesne olabilir. Eğer argüman bir karmaşık " +"sayıysa, onun büyüklüğü döndürülür." #: library/functions.rst:66 msgid "" -"Return an :term:`asynchronous iterator` for an :term:`asynchronous " -"iterable`. Equivalent to calling ``x.__aiter__()``." +"Return an :term:`asynchronous iterator` for an :term:`asynchronous iterable`. " +"Equivalent to calling ``x.__aiter__()``." msgstr "" "Bir :term:`asynchronous iterable` için bir :term:`asynchronous iterator` " "döndürür. ``x.__aiter__()`` çağrısına eş değerdir." @@ -419,8 +419,8 @@ msgstr "" #: library/functions.rst:75 msgid "" -"Return ``True`` if all elements of the *iterable* are true (or if the " -"iterable is empty). Equivalent to::" +"Return ``True`` if all elements of the *iterable* are true (or if the iterable " +"is empty). Equivalent to::" msgstr "" "Eğer *iterable* 'ın tüm elementleri doğruysa, ``True`` döndürür. Şuna eş " "değerdir::" @@ -430,9 +430,9 @@ msgid "" "When awaited, return the next item from the given :term:`asynchronous " "iterator`, or *default* if given and the iterator is exhausted." msgstr "" -"Hazır olunduğunda, verilen :term:`asynchronous iterator` 'dan sıradaki " -"parçayı döndürür. Eğer yineleyici tükendiyse ve *default* değer verildiyse, " -"*default* değeri döndürür." +"Hazır olunduğunda, verilen :term:`asynchronous iterator` 'dan sıradaki parçayı " +"döndürür. Eğer yineleyici tükendiyse ve *default* değer verildiyse, *default* " +"değeri döndürür." #: library/functions.rst:91 msgid "" @@ -443,23 +443,23 @@ msgstr "" #: library/functions.rst:94 msgid "" -"This calls the :meth:`~object.__anext__` method of *async_iterator*, " -"returning an :term:`awaitable`. Awaiting this returns the next value of the " -"iterator. If *default* is given, it is returned if the iterator is " -"exhausted, otherwise :exc:`StopAsyncIteration` is raised." +"This calls the :meth:`~object.__anext__` method of *async_iterator*, returning " +"an :term:`awaitable`. Awaiting this returns the next value of the iterator. If " +"*default* is given, it is returned if the iterator is exhausted, otherwise :exc:" +"`StopAsyncIteration` is raised." msgstr "" -"Bu *async_iterator* 'ın :meth:`~object.__anext__` metodunu çağırır. Bir :" -"term:`awaitable` döndürür. Bunu beklemek yineleyicinin bir sonraki değerini " +"Bu *async_iterator* 'ın :meth:`~object.__anext__` metodunu çağırır. Bir :term:" +"`awaitable` döndürür. Bunu beklemek yineleyicinin bir sonraki değerini " "döndürür. Eğer *default* değer verildiyse, yineleyici tükendiğinde o " "döndürülür. Aksi takdirde :exc:`StopAsyncIteration` hatası ortaya çıkar." #: library/functions.rst:103 msgid "" -"Return ``True`` if any element of the *iterable* is true. If the iterable " -"is empty, return ``False``. Equivalent to::" +"Return ``True`` if any element of the *iterable* is true. If the iterable is " +"empty, return ``False``. Equivalent to::" msgstr "" -"Eğer *iterable* 'ın elementlerinden herhangi biri doğru ise ``True`` " -"döndürür. Eğer *iterable* boş ise, ``False`` döndürür. Şuna eşittir::" +"Eğer *iterable* 'ın elementlerinden herhangi biri doğru ise ``True`` döndürür. " +"Eğer *iterable* boş ise, ``False`` döndürür. Şuna eşittir::" #: library/functions.rst:115 msgid "" @@ -471,20 +471,19 @@ msgstr "" ":func:`repr` 'in bir nesnenin yazdırılabilir temsilini içeren bir dize " "döndürdüğü, ancak :func:`repr` tarafından döndürülen dizedeki ASCII olmayan " "karakterlerden ``\\x``, ``\\u`` veya ``\\U`` gibi kaçış karakterlerini " -"kullanarak kaçtığı gibi, bu da Python 2'deki :func:`repr` tarafından " -"döndürülen değere benzeyen bir string üretir." +"kullanarak kaçtığı gibi, bu da Python 2'deki :func:`repr` tarafından döndürülen " +"değere benzeyen bir string üretir." #: library/functions.rst:123 msgid "" -"Convert an integer number to a binary string prefixed with \"0b\". The " -"result is a valid Python expression. If *x* is not a Python :class:`int` " -"object, it has to define an :meth:`__index__` method that returns an " -"integer. Some examples:" +"Convert an integer number to a binary string prefixed with \"0b\". The result " +"is a valid Python expression. If *x* is not a Python :class:`int` object, it " +"has to define an :meth:`__index__` method that returns an integer. Some " +"examples:" msgstr "" -"Bir tam sayıyı, ön eki \"0b\" olan ikili bir dizeye dönüştürür. Sonuç " -"geçerli bir Python ifadesidir. Eğer *x* bir Python :class:`int` nesnesi " -"değilse, tam sayı döndüren bir :meth:`__index__` metodu tanımlaması gerekir. " -"Bazı örnekler:" +"Bir tam sayıyı, ön eki \"0b\" olan ikili bir dizeye dönüştürür. Sonuç geçerli " +"bir Python ifadesidir. Eğer *x* bir Python :class:`int` nesnesi değilse, tam " +"sayı döndüren bir :meth:`__index__` metodu tanımlaması gerekir. Bazı örnekler:" #: library/functions.rst:133 msgid "" @@ -501,18 +500,18 @@ msgstr "Ayrıca daha fazla bilgi için :func:`format` 'a bakabilirsiniz." #: library/functions.rst:145 msgid "" "Return a Boolean value, i.e. one of ``True`` or ``False``. *x* is converted " -"using the standard :ref:`truth testing procedure `. If *x* is false " -"or omitted, this returns ``False``; otherwise, it returns ``True``. The :" -"class:`bool` class is a subclass of :class:`int` (see :ref:`typesnumeric`). " -"It cannot be subclassed further. Its only instances are ``False`` and " -"``True`` (see :ref:`bltin-boolean-values`)." +"using the standard :ref:`truth testing procedure `. If *x* is false or " +"omitted, this returns ``False``; otherwise, it returns ``True``. The :class:" +"`bool` class is a subclass of :class:`int` (see :ref:`typesnumeric`). It cannot " +"be subclassed further. Its only instances are ``False`` and ``True`` (see :ref:" +"`bltin-boolean-values`)." msgstr "" "``True`` ya da ``False`` değeri döndürür. *x*, standart :ref:`truth testing " -"procedure ` kullanılarak boolean veri tipine dönüştürülür. *x* " -"yanlışsa veya atlanırsa, bu ``False`` döndürür; aksi takdirde, ``True`` " -"değerini döndürür. :class:`bool` sınıfı :class:`int` öğesinin bir alt " -"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`)." +"procedure ` kullanılarak boolean veri tipine dönüştürülür. *x* yanlışsa " +"veya atlanırsa, bu ``False`` döndürür; aksi takdirde, ``True`` değerini " +"döndürür. :class:`bool` sınıfı :class:`int` öğesinin bir alt 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:699 library/functions.rst:923 msgid "*x* is now a positional-only parameter." @@ -520,47 +519,47 @@ msgstr "*x* artık yalnızca konumsal bir parametredir." #: library/functions.rst:159 msgid "" -"This function drops you into the debugger at the call site. Specifically, " -"it calls :func:`sys.breakpointhook`, passing ``args`` and ``kws`` straight " +"This function drops you into the debugger at the call site. Specifically, it " +"calls :func:`sys.breakpointhook`, passing ``args`` and ``kws`` straight " "through. By default, ``sys.breakpointhook()`` calls :func:`pdb.set_trace()` " -"expecting no arguments. In this case, it is purely a convenience function " -"so you don't have to explicitly import :mod:`pdb` or type as much code to " -"enter the debugger. However, :func:`sys.breakpointhook` can be set to some " -"other function and :func:`breakpoint` will automatically call that, allowing " -"you to drop into the debugger of choice. If :func:`sys.breakpointhook` is " -"not accessible, this function will raise :exc:`RuntimeError`." +"expecting no arguments. In this case, it is purely a convenience function so " +"you don't have to explicitly import :mod:`pdb` or type as much code to enter " +"the debugger. However, :func:`sys.breakpointhook` can be set to some other " +"function and :func:`breakpoint` will automatically call that, allowing you to " +"drop into the debugger of choice. If :func:`sys.breakpointhook` is not " +"accessible, this function will raise :exc:`RuntimeError`." msgstr "" "Bu fonksiyon sizi çağrılma bölgesindeki hata ayıklayıcıya bırakır. Spesifik " -"olarak, :func:`sys.breakpointhook` 'u çağırır, ``args`` ve ``kws`` 'yi " -"doğrudan geçer. Varsayılan olarak, ``sys.breakpointhook()`` hiçbir parametre " -"beklemeden :func:`pdb.set_trace()` fonksiyonunu çağırır. Bu durumda, bu " -"tamamen size kolaylık sağlamak içindir, bu nedenle hata ayıklayıcıya girmek " -"için :mod:`pdb` 'yi içe aktarmanız veya fazla kod yazmanız gerekmez. Buna " -"rağmen, :func:`sys.breakpointhook` başka bir fonksiyona ayarlanabilir ve :" -"func:`breakpoint` otomatik olarak bunu çağırır ve tercih ettiğiniz hata " -"ayıklayıcıya girmenize izin verir. Eğer :func:`sys.breakpointhook` " -"ulaşılabilir değilse, bu fonksiyon :exc:`RuntimeError` hatasını verecektir." +"olarak, :func:`sys.breakpointhook` 'u çağırır, ``args`` ve ``kws`` 'yi doğrudan " +"geçer. Varsayılan olarak, ``sys.breakpointhook()`` hiçbir parametre beklemeden :" +"func:`pdb.set_trace()` fonksiyonunu çağırır. Bu durumda, bu tamamen size " +"kolaylık sağlamak içindir, bu nedenle hata ayıklayıcıya girmek için :mod:`pdb` " +"'yi içe aktarmanız veya fazla kod yazmanız gerekmez. Buna rağmen, :func:`sys." +"breakpointhook` başka bir fonksiyona ayarlanabilir ve :func:`breakpoint` " +"otomatik olarak bunu çağırır ve tercih ettiğiniz hata ayıklayıcıya girmenize " +"izin verir. Eğer :func:`sys.breakpointhook` ulaşılabilir değilse, bu fonksiyon :" +"exc:`RuntimeError` hatasını verecektir." #: library/functions.rst:13 msgid "" "Raises an :ref:`auditing event ` ``builtins.breakpoint`` with " "argument ``breakpointhook``." msgstr "" -"``breakpointhook`` parametresi ile :ref:`denetleme olayı ` " -"``builtins.breakpoint`` ortaya çıkartır." +"``breakpointhook`` parametresi ile :ref:`denetleme olayı ` ``builtins." +"breakpoint`` ortaya çıkartır." #: library/functions.rst:181 msgid "" "Return a new array of bytes. The :class:`bytearray` class is a mutable " "sequence of integers in the range 0 <= x < 256. It has most of the usual " -"methods of mutable sequences, described in :ref:`typesseq-mutable`, as well " -"as most methods that the :class:`bytes` type has, see :ref:`bytes-methods`." +"methods of mutable sequences, described in :ref:`typesseq-mutable`, as well as " +"most methods that the :class:`bytes` type has, see :ref:`bytes-methods`." msgstr "" "Baytlardan oluşan yeni bir dizi döndürür. :class:`bytearray` sınıfı 0 <= x < " -"256 aralığındaki tam sayılardan oluşan değişebilir bir dizedir. :ref:" -"`typesseq-mutable` 'da tarif edildiği gibi değişebilir dizeler klasik " -"metotlarının çoğuna sahiptir. :class:`bytes` tipinin sahip olduğu metotlar " -"için, :ref:`bytes-methods` 'a bakınız." +"256 aralığındaki tam sayılardan oluşan değişebilir bir dizedir. :ref:`typesseq-" +"mutable` 'da tarif edildiği gibi değişebilir dizeler klasik metotlarının çoğuna " +"sahiptir. :class:`bytes` tipinin sahip olduğu metotlar için, :ref:`bytes-" +"methods` 'a bakınız." #: library/functions.rst:186 msgid "" @@ -576,33 +575,31 @@ msgid "" "*errors*) parameters; :func:`bytearray` then converts the string to bytes " "using :meth:`str.encode`." msgstr "" -"Eğer bir *string* ise, *encoding* (ve istenirse, *errors*) parametrelerini " -"de vermelisiniz; sonrasında :func:`bytearray` :meth:`str.encode` kullanarak " -"dizeyi bayta çevirecektir." +"Eğer bir *string* ise, *encoding* (ve istenirse, *errors*) parametrelerini de " +"vermelisiniz; sonrasında :func:`bytearray` :meth:`str.encode` kullanarak dizeyi " +"bayta çevirecektir." #: library/functions.rst:193 msgid "" "If it is an *integer*, the array will have that size and will be initialized " "with null bytes." -msgstr "" -"Eğer bir *integer* ise, dizi bu boyuta göre null baytlar ile doldurulur." +msgstr "Eğer bir *integer* ise, dizi bu boyuta göre null baytlar ile doldurulur." #: library/functions.rst:196 msgid "" -"If it is an object conforming to the :ref:`buffer interface " -"`, a read-only buffer of the object will be used to " -"initialize the bytes array." +"If it is an object conforming to the :ref:`buffer interface `, a " +"read-only buffer of the object will be used to initialize the bytes array." msgstr "" "Eğer :ref:`arabellek arayüzü ` 'ne uyan bir objeyse, bayt " "dizisini başlatmak için bir salt okunur arabellek kullanılır." #: library/functions.rst:199 msgid "" -"If it is an *iterable*, it must be an iterable of integers in the range ``0 " -"<= x < 256``, which are used as the initial contents of the array." +"If it is an *iterable*, it must be an iterable of integers in the range ``0 <= " +"x < 256``, which are used as the initial contents of the array." msgstr "" -"Eğer *iterable* ise, 0 <= x < 256 aralığındaki dizinin başlangıç içeriği " -"olan tam sayılardan oluşan bir yinelenebilir nesne olmalıdır." +"Eğer *iterable* ise, 0 <= x < 256 aralığındaki dizinin başlangıç içeriği olan " +"tam sayılardan oluşan bir yinelenebilir nesne olmalıdır." #: library/functions.rst:202 msgid "Without an argument, an array of size 0 is created." @@ -614,10 +611,10 @@ msgstr ":ref:`binaryseq` ve :ref:`typebytearray` 'a bakınız." #: library/functions.rst:213 msgid "" -"Return a new \"bytes\" object which is an immutable sequence of integers in " -"the range ``0 <= x < 256``. :class:`bytes` is an immutable version of :" -"class:`bytearray` -- it has the same non-mutating methods and the same " -"indexing and slicing behavior." +"Return a new \"bytes\" object which is an immutable sequence of integers in the " +"range ``0 <= x < 256``. :class:`bytes` is an immutable version of :class:" +"`bytearray` -- it has the same non-mutating methods and the same indexing and " +"slicing behavior." msgstr "" "``0 <= x < 256`` aralığındaki tam sayılardan oluşan değiştirilemez bir \"bayt\" " "objesi döndürür. :class:`bytes`, :class:`bytearray` 'in değiştirilemez " @@ -638,31 +635,30 @@ msgstr "" #: library/functions.rst:222 msgid "See also :ref:`binaryseq`, :ref:`typebytes`, and :ref:`bytes-methods`." msgstr "" -"Ayrıca :ref:`binaryseq`, :ref:`typebytes`, ve :ref:`bytes-methods` 'a " -"bakınız." +"Ayrıca :ref:`binaryseq`, :ref:`typebytes`, ve :ref:`bytes-methods` 'a bakınız." #: library/functions.rst:227 msgid "" -"Return :const:`True` if the *object* argument appears callable, :const:" -"`False` if not. If this returns ``True``, it is still possible that a call " -"fails, but if it is ``False``, calling *object* will never succeed. Note " -"that classes are callable (calling a class returns a new instance); " -"instances are callable if their class has a :meth:`__call__` method." +"Return :const:`True` if the *object* argument appears callable, :const:`False` " +"if not. If this returns ``True``, it is still possible that a call fails, but " +"if it is ``False``, calling *object* will never succeed. Note that classes are " +"callable (calling a class returns a new instance); instances are callable if " +"their class has a :meth:`__call__` method." msgstr "" -"Eğer *object* argümanı çağrılabilir ise, :const:`True` , değilse :const:" -"`False` döndürür. Eğer ``True`` döndürür ise, bir çağrının başarısız olması " -"hala mümkündür, ``False`` döndürdüğü takdirde, *object* çağrısı hiçbir zaman " +"Eğer *object* argümanı çağrılabilir ise, :const:`True` , değilse :const:`False` " +"döndürür. Eğer ``True`` döndürür ise, bir çağrının başarısız olması hala " +"mümkündür, ``False`` döndürdüğü takdirde, *object* çağrısı hiçbir zaman " "başarılı olamaz. Sınıfların ve örneklerin (Sınıflarında :meth:`__call__` " "metodu varsa) çağrılabilir olduğunu not edin. Bir sınıfı çağırmak sınıftan " "türeyen yeni bir örnek döndürür." #: library/functions.rst:233 msgid "" -"This function was first removed in Python 3.0 and then brought back in " -"Python 3.2." +"This function was first removed in Python 3.0 and then brought back in Python " +"3.2." msgstr "" -"Bu fonksiyon Python 3.0 versiyonunda kaldırılmıştı ama Python 3.2 " -"versiyonunda geri getirildi." +"Bu fonksiyon Python 3.0 versiyonunda kaldırılmıştı ama Python 3.2 versiyonunda " +"geri getirildi." #: library/functions.rst:240 msgid "" @@ -671,18 +667,16 @@ msgid "" "``chr(8364)`` returns the string ``'€'``. This is the inverse of :func:`ord`." msgstr "" "Unicode kod noktası *i* tamsayısı olan bir karakteri temsil eden dizeyi " -"döndürür. Örneğin, ``chr(97)`` , ``'a'`` dizesini döndürürken, " -"``chr(8364)`` , ``'€'`` dizesini döndürür. Bu fonksiyon, :func:`ord` 'un tam " -"tersidir." +"döndürür. Örneğin, ``chr(97)`` , ``'a'`` dizesini döndürürken, ``chr(8364)`` , " +"``'€'`` dizesini döndürür. Bu fonksiyon, :func:`ord` 'un tam tersidir." #: library/functions.rst:244 msgid "" -"The valid range for the argument is from 0 through 1,114,111 (0x10FFFF in " -"base 16). :exc:`ValueError` will be raised if *i* is outside that range." +"The valid range for the argument is from 0 through 1,114,111 (0x10FFFF in base " +"16). :exc:`ValueError` will be raised if *i* is outside that range." msgstr "" -"Argüman için geçerli değer 0 ile 1.114.111 arasındadır (16'lık sayı " -"sisteminde 0x10FFFF). Eğer *i* aralığın dışında ise :exc:`ValueError` hatası " -"ortaya çıkar." +"Argüman için geçerli değer 0 ile 1.114.111 arasındadır (16'lık sayı sisteminde " +"0x10FFFF). Eğer *i* aralığın dışında ise :exc:`ValueError` hatası ortaya çıkar." #: library/functions.rst:250 msgid "Transform a method into a class method." @@ -690,61 +684,61 @@ msgstr "Bir metodu sınıf metoduna dönüştürür." #: library/functions.rst:252 msgid "" -"A class method receives the class as an implicit first argument, just like " -"an instance method receives the instance. To declare a class method, use " -"this idiom::" +"A class method receives the class as an implicit first argument, just like an " +"instance method receives the instance. To declare a class method, use this " +"idiom::" msgstr "" -"Bir sınıf metodu, sınıfı örtük ilk argüman olarak alır, aynı sınıftan " -"türeyen bir örneğin metodunun örneği aldığı gibi. Bir sınıf metodunu bu " -"şekilde tanımlayabilirsiniz::" +"Bir sınıf metodu, sınıfı örtük ilk argüman olarak alır, aynı sınıftan türeyen " +"bir örneğin metodunun örneği aldığı gibi. Bir sınıf metodunu bu şekilde " +"tanımlayabilirsiniz::" #: library/functions.rst:260 msgid "" "The ``@classmethod`` form is a function :term:`decorator` -- see :ref:" "`function` for details." msgstr "" -"``@classmethod`` formu, bir :term:`decorator` fonksiyonudur. -- detaylar " -"için :ref:`function` 'a bakınız." +"``@classmethod`` formu, bir :term:`decorator` fonksiyonudur. -- detaylar için :" +"ref:`function` 'a bakınız." #: library/functions.rst:263 msgid "" -"A class method can be called either on the class (such as ``C.f()``) or on " -"an instance (such as ``C().f()``). The instance is ignored except for its " -"class. If a class method is called for a derived class, the derived class " -"object is passed as the implied first argument." +"A class method can be called either on the class (such as ``C.f()``) or on an " +"instance (such as ``C().f()``). The instance is ignored except for its class. " +"If a class method is called for a derived class, the derived class object is " +"passed as the implied first argument." msgstr "" -"Bir sınıf metodu sınıf (``C.f()`` gibi) veya örnek (``C().f()`` gibi) " -"üzerinden çağırılabilir. Örnek, sınıfı dışında yoksayılır. Eğer bir sınıf " -"metodu türetilmiş bir sınıf için çağrılırsa, türetilmiş sınıf nesnesi örtük " -"ilk argüman olarak geçer." +"Bir sınıf metodu sınıf (``C.f()`` gibi) veya örnek (``C().f()`` gibi) üzerinden " +"çağırılabilir. Örnek, sınıfı dışında yoksayılır. Eğer bir sınıf metodu " +"türetilmiş bir sınıf için çağrılırsa, türetilmiş sınıf nesnesi örtük ilk " +"argüman olarak geçer." #: library/functions.rst:268 msgid "" -"Class methods are different than C++ or Java static methods. If you want " -"those, see :func:`staticmethod` in this section. For more information on " -"class methods, see :ref:`types`." +"Class methods are different than C++ or Java static methods. If you want those, " +"see :func:`staticmethod` in this section. For more information on class " +"methods, see :ref:`types`." msgstr "" "Sınıf metotları C++ ve Java static metotlarından farklıdır. Eğer bunları " -"kullanmak isterseniz, bu bölümdeki :func:`staticmethod` kısmına bakınız. " -"Sınıf metotları hakkında daha fazla bilgi için, :ref:`types` 'a bakınız." +"kullanmak isterseniz, bu bölümdeki :func:`staticmethod` kısmına bakınız. Sınıf " +"metotları hakkında daha fazla bilgi için, :ref:`types` 'a bakınız." #: library/functions.rst:272 msgid "" -"Class methods can now wrap other :term:`descriptors ` such as :" -"func:`property`." +"Class methods can now wrap other :term:`descriptors ` such as :func:" +"`property`." msgstr "" "Sınıf metotları artık :func:`property` gibi diğer :term:`descriptors " "` 'ları sarmalayabilir." #: library/functions.rst:276 msgid "" -"Class methods now inherit the method attributes (``__module__``, " -"``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``) and " -"have a new ``__wrapped__`` attribute." +"Class methods now inherit the method attributes (``__module__``, ``__name__``, " +"``__qualname__``, ``__doc__`` and ``__annotations__``) and have a new " +"``__wrapped__`` attribute." msgstr "" "Sınıf metotları artık (``__module__``, ``__name__``, ``__qualname__``, " -"``__doc__`` and ``__annotations__``) metot özelliklerini miras alır ve yeni " -"bir ``__wrapped__`` özelliğine sahiplerdir." +"``__doc__`` and ``__annotations__``) metot özelliklerini miras alır ve yeni bir " +"``__wrapped__`` özelliğine sahiplerdir." #: library/functions.rst:281 msgid "" @@ -756,100 +750,97 @@ msgstr "" #: library/functions.rst:288 msgid "" -"Compile the *source* into a code or AST object. Code objects can be " -"executed by :func:`exec` or :func:`eval`. *source* can either be a normal " -"string, a byte string, or an AST object. Refer to the :mod:`ast` module " -"documentation for information on how to work with AST objects." +"Compile the *source* into a code or AST object. Code objects can be executed " +"by :func:`exec` or :func:`eval`. *source* can either be a normal string, a " +"byte string, or an AST object. Refer to the :mod:`ast` module documentation " +"for information on how to work with AST objects." msgstr "" "*source* 'ı bir koda veya AST nesnesine derler. Kod nesneleri :func:`exec` " -"veya :func:`eval` fonksiyonları kullanılarak çalıştırılabilir. *source* " -"normal bir dize, bayt dizesi veya bir AST nesnesi olabilir. AST nesneleriyle " -"nasıl çalışılacağını öğrenmek için :mod:`ast` modülüne bkz." +"veya :func:`eval` fonksiyonları kullanılarak çalıştırılabilir. *source* normal " +"bir dize, bayt dizesi veya bir AST nesnesi olabilir. AST nesneleriyle nasıl " +"çalışılacağını öğrenmek için :mod:`ast` modülüne bkz." #: library/functions.rst:293 msgid "" -"The *filename* argument should give the file from which the code was read; " -"pass some recognizable value if it wasn't read from a file (``''`` " -"is commonly used)." +"The *filename* argument should give the file from which the code was read; pass " +"some recognizable value if it wasn't read from a file (``''`` is " +"commonly used)." msgstr "" "*filename* argümanı kodun okunduğu dosyayı vermelidir; eğer bir dosyadan " -"okunmuyorsa ayırtedilebilir bir değer verebilirsin (genellikle " -"``''`` kullanılır)." +"okunmuyorsa ayırtedilebilir bir değer verebilirsin (genellikle ``''`` " +"kullanılır)." #: library/functions.rst:297 msgid "" "The *mode* argument specifies what kind of code must be compiled; it can be " -"``'exec'`` if *source* consists of a sequence of statements, ``'eval'`` if " -"it consists of a single expression, or ``'single'`` if it consists of a " -"single interactive statement (in the latter case, expression statements that " -"evaluate to something other than ``None`` will be printed)." +"``'exec'`` if *source* consists of a sequence of statements, ``'eval'`` if it " +"consists of a single expression, or ``'single'`` if it consists of a single " +"interactive statement (in the latter case, expression statements that evaluate " +"to something other than ``None`` will be printed)." msgstr "" "*mode* argümanı hangi türden kodun derleneceğini belirtir; eğer *source* bir " "dizi ifadeden oluşuyorsa ``'exec'`` , eğer tek bir ifadeden oluşuyorsa " -"``'eval'`` , veya tek bir etkileşimli ifadeden oluşuyorsa ``'single'`` " -"olabilir (ikinci durumda, \"None\" dışında bir değere sahip ifadeler " -"yazdırılacaktır)." +"``'eval'`` , veya tek bir etkileşimli ifadeden oluşuyorsa ``'single'`` olabilir " +"(ikinci durumda, \"None\" dışında bir değere sahip ifadeler yazdırılacaktır)." #: library/functions.rst:303 msgid "" -"The optional arguments *flags* and *dont_inherit* control which :ref:" -"`compiler options ` should be activated and which :ref:" -"`future features ` should be allowed. If neither is present (or both " -"are zero) the code is compiled with the same flags that affect the code that " -"is calling :func:`compile`. If the *flags* argument is given and " -"*dont_inherit* is not (or is zero) then the compiler options and the future " -"statements specified by the *flags* argument are used in addition to those " -"that would be used anyway. If *dont_inherit* is a non-zero integer then the " -"*flags* argument is it -- the flags (future features and compiler options) " -"in the surrounding code are ignored." +"The optional arguments *flags* and *dont_inherit* control which :ref:`compiler " +"options ` should be activated and which :ref:`future " +"features ` should be allowed. If neither is present (or both are zero) " +"the code is compiled with the same flags that affect the code that is calling :" +"func:`compile`. If the *flags* argument is given and *dont_inherit* is not (or " +"is zero) then the compiler options and the future statements specified by the " +"*flags* argument are used in addition to those that would be used anyway. If " +"*dont_inherit* is a non-zero integer then the *flags* argument is it -- the " +"flags (future features and compiler options) in the surrounding code are " +"ignored." msgstr "" "*flags* ve *dont_inherit* opsiyonel argümanları hangi :ref:`derleyici " -"seçenekleri ` 'ın aktive edilmesi gerektiğini ve hangi :" -"ref:`gelecekteki özellikler ` 'e izin verileceğini kontrol eder. " -"İkisi de verilmediyse (veya ikisi de sıfır ise) kod, :func:`compile` 'ı " -"çağıran kodu etkileyen aynı bayraklarla derlenir. Eğer *flags* argümanı " -"verilip *dont_inherit* verilmediyse (veya sıfırsa), derleyici seçenekleri ve " -"gelecek ifadeleri *flags* argümanı tarafından belirtilirler, her " -"türlükullanılacak olanlara ek olarak kullanılır. Eğer *dont_inherit* " -"sıfırdan farklı bir tamsayıysa, *flags* argümanı da odur. -- çevreleyen " -"koddaki bayraklar (gelecekteki özellikler ve derleyici seçenekleri) " -"yoksayılır." +"seçenekleri ` 'ın aktive edilmesi gerektiğini ve hangi :ref:" +"`gelecekteki özellikler ` 'e izin verileceğini kontrol eder. İkisi de " +"verilmediyse (veya ikisi de sıfır ise) kod, :func:`compile` 'ı çağıran kodu " +"etkileyen aynı bayraklarla derlenir. Eğer *flags* argümanı verilip " +"*dont_inherit* verilmediyse (veya sıfırsa), derleyici seçenekleri ve gelecek " +"ifadeleri *flags* argümanı tarafından belirtilirler, her türlükullanılacak " +"olanlara ek olarak kullanılır. Eğer *dont_inherit* sıfırdan farklı bir " +"tamsayıysa, *flags* argümanı da odur. -- çevreleyen koddaki bayraklar " +"(gelecekteki özellikler ve derleyici seçenekleri) yoksayılır." #: library/functions.rst:314 msgid "" "Compiler options and future statements are specified by bits which can be " "bitwise ORed together to specify multiple options. The bitfield required to " -"specify a given future feature can be found as the :attr:`~__future__." -"_Feature.compiler_flag` attribute on the :class:`~__future__._Feature` " -"instance in the :mod:`__future__` module. :ref:`Compiler flags ` can be found in :mod:`ast` module, with ``PyCF_`` prefix." +"specify a given future feature can be found as the :attr:`~__future__._Feature." +"compiler_flag` attribute on the :class:`~__future__._Feature` instance in the :" +"mod:`__future__` module. :ref:`Compiler flags ` can be " +"found in :mod:`ast` module, with ``PyCF_`` prefix." msgstr "" "Derleyici seçenekleri ve gelecek ifadeleri, birden fazla seçeneği belirlemek " -"için bit düzeyinde VEYA'lanabilen bitler tarafından belirlenirler. " -"Gelecekteki belirli bir özelliği belirtmek için gereken bit alanı, :mod:" -"`__future__` modülündeki :class:`~__future__._Feature` örneğinde :attr:" -"`~__future__._Feature.compiler_flag` niteliği olarak bulunabilir. :ref:" -"`Derleyici bayrakları ` , :mod:`ast` modülünde ``PyCF_`` " -"öneki ile bulunabilir." +"için bit düzeyinde VEYA'lanabilen bitler tarafından belirlenirler. Gelecekteki " +"belirli bir özelliği belirtmek için gereken bit alanı, :mod:`__future__` " +"modülündeki :class:`~__future__._Feature` örneğinde :attr:`~__future__._Feature." +"compiler_flag` niteliği olarak bulunabilir. :ref:`Derleyici bayrakları ` , :mod:`ast` modülünde ``PyCF_`` öneki ile bulunabilir." #: library/functions.rst:322 msgid "" -"The argument *optimize* specifies the optimization level of the compiler; " -"the default value of ``-1`` selects the optimization level of the " -"interpreter as given by :option:`-O` options. Explicit levels are ``0`` (no " -"optimization; ``__debug__`` is true), ``1`` (asserts are removed, " -"``__debug__`` is false) or ``2`` (docstrings are removed too)." +"The argument *optimize* specifies the optimization level of the compiler; the " +"default value of ``-1`` selects the optimization level of the interpreter as " +"given by :option:`-O` options. Explicit levels are ``0`` (no optimization; " +"``__debug__`` is true), ``1`` (asserts are removed, ``__debug__`` is false) or " +"``2`` (docstrings are removed too)." msgstr "" "*optimize* argümanı derleyicinin optimizasyon seviyesini belirler; ``-1`` " -"varsayılan değeri, :option:`-O` seçenekleri tarafından verilen " -"yorumlayıcının optimizasyon seviyesini seçer. Belli seviyeler: ``0`` " -"(optimizasyon yok; ``__debug__`` doğru), ``1`` (iddialar kaldırılır, " -"``__debug__`` yanlış) veya ``2`` (Ekstradan doküman dizeleri de kaldırıldı)." +"varsayılan değeri, :option:`-O` seçenekleri tarafından verilen yorumlayıcının " +"optimizasyon seviyesini seçer. Belli seviyeler: ``0`` (optimizasyon yok; " +"``__debug__`` doğru), ``1`` (iddialar kaldırılır, ``__debug__`` yanlış) veya " +"``2`` (Ekstradan doküman dizeleri de kaldırıldı)." #: library/functions.rst:328 msgid "" -"This function raises :exc:`SyntaxError` if the compiled source is invalid, " -"and :exc:`ValueError` if the source contains null bytes." +"This function raises :exc:`SyntaxError` if the compiled source is invalid, and :" +"exc:`ValueError` if the source contains null bytes." msgstr "" "Bu fonksiyon derlenmiş kaynak geçerli değil ise :exc:`SyntaxError` , null " "baytlar içeriyorsa :exc:`ValueError` hatalarını ortaya çıkarır." @@ -859,8 +850,8 @@ msgid "" "If you want to parse Python code into its AST representation, see :func:`ast." "parse`." msgstr "" -"Python kodunu onun AST temsiline ayrıştırmak isterseniz, :func:`ast.parse` " -"'a bakınız." +"Python kodunu onun AST temsiline ayrıştırmak isterseniz, :func:`ast.parse` 'a " +"bakınız." #: library/functions.rst:47 msgid "" @@ -883,20 +874,20 @@ msgstr "" #: library/functions.rst:342 msgid "" "When compiling a string with multi-line code in ``'single'`` or ``'eval'`` " -"mode, input must be terminated by at least one newline character. This is " -"to facilitate detection of incomplete and complete statements in the :mod:" -"`code` module." +"mode, input must be terminated by at least one newline character. This is to " +"facilitate detection of incomplete and complete statements in the :mod:`code` " +"module." msgstr "" -"``'single'`` veya ``'eval'`` modunda çok satırlı bir dize derleneceğinde, " -"giren veri en az bir yeni satır karakteri ile sonlandırılmalıdır. Bu :mod:" -"`code` modülündeki tamamlanmış ve tamamlanmamış ifadelerin tespitini " -"kolaylaştırmak içindir." +"``'single'`` veya ``'eval'`` modunda çok satırlı bir dize derleneceğinde, giren " +"veri en az bir yeni satır karakteri ile sonlandırılmalıdır. Bu :mod:`code` " +"modülündeki tamamlanmış ve tamamlanmamış ifadelerin tespitini kolaylaştırmak " +"içindir." #: library/functions.rst:349 msgid "" "It is possible to crash the Python interpreter with a sufficiently large/" -"complex string when compiling to an AST object due to stack depth " -"limitations in Python's AST compiler." +"complex string when compiling to an AST object due to stack depth limitations " +"in Python's AST compiler." msgstr "" "Python'un AST derleyicisindeki yığın derinliği sınırlamaları nedeniyle " "yeterince büyük/karmaşık bir dizeyi bir AST nesnesine derlerken Python " @@ -904,12 +895,12 @@ msgstr "" #: library/functions.rst:353 msgid "" -"Allowed use of Windows and Mac newlines. Also, input in ``'exec'`` mode " -"does not have to end in a newline anymore. Added the *optimize* parameter." +"Allowed use of Windows and Mac newlines. Also, input in ``'exec'`` mode does " +"not have to end in a newline anymore. Added the *optimize* parameter." msgstr "" -"Windows ve Mac yeni satırlarının kullanımına izin verildi. Ayrıca, bundan " -"böyle ``'exec'`` modunda iken veri girişinin yeni satırda sonlanması " -"gerekmiyor. *optimize* parametresi eklendi." +"Windows ve Mac yeni satırlarının kullanımına izin verildi. Ayrıca, bundan böyle " +"``'exec'`` modunda iken veri girişinin yeni satırda sonlanması gerekmiyor. " +"*optimize* parametresi eklendi." #: library/functions.rst:357 msgid "" @@ -921,30 +912,29 @@ msgstr "" #: library/functions.rst:361 msgid "" -"``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable " -"support for top-level ``await``, ``async for``, and ``async with``." +"``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable support " +"for top-level ``await``, ``async for``, and ``async with``." msgstr "" -"``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` artık üst düze ``await``, ``async for``, " -"ve ``async with`` desteğini etkinleştirmek için bayraklarla iletilebilir." +"``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` artık üst düze ``await``, ``async for``, ve " +"``async with`` desteğini etkinleştirmek için bayraklarla iletilebilir." #: library/functions.rst:369 msgid "" -"Return a complex number with the value *real* + *imag*\\*1j or convert a " -"string or number to a complex number. If the first parameter is a string, " -"it will be interpreted as a complex number and the function must be called " -"without a second parameter. The second parameter can never be a string. " -"Each argument may be any numeric type (including complex). If *imag* is " -"omitted, it defaults to zero and the constructor serves as a numeric " -"conversion like :class:`int` and :class:`float`. If both arguments are " -"omitted, returns ``0j``." -msgstr "" -"*real* + *imag*\\*1j değeriyle bir karmaşık sayı döndürür veya dize veya " -"sayıyı karmaşık sayıya dönüştürür. Eğer ilk parametre dize ise, karmaşık " -"sayı olarak yorumlanır ve fonksiyon ikinci bir parametre olmadan " -"çağrılmalıdır. İkinci parametre asla dize olamaz. Her argüman bir sayısal " -"çeşit olabilir (karmaşık sayılar dahil). Eğer *imag* atlandıysa, varsayılan " -"olarak sıfır alınır ve yapıcı metot :class:`int` ve :class:`float` gibi sayı " -"dönüştürme işlevi görür. Eğer iki argüman da atlandıysa, ``0j`` döndürür." +"Return a complex number with the value *real* + *imag*\\*1j or convert a string " +"or number to a complex number. If the first parameter is a string, it will be " +"interpreted as a complex number and the function must be called without a " +"second parameter. The second parameter can never be a string. Each argument " +"may be any numeric type (including complex). If *imag* is omitted, it defaults " +"to zero and the constructor serves as a numeric conversion like :class:`int` " +"and :class:`float`. If both arguments are omitted, returns ``0j``." +msgstr "" +"*real* + *imag*\\*1j değeriyle bir karmaşık sayı döndürür veya dize veya sayıyı " +"karmaşık sayıya dönüştürür. Eğer ilk parametre dize ise, karmaşık sayı olarak " +"yorumlanır ve fonksiyon ikinci bir parametre olmadan çağrılmalıdır. İkinci " +"parametre asla dize olamaz. Her argüman bir sayısal çeşit olabilir (karmaşık " +"sayılar dahil). Eğer *imag* atlandıysa, varsayılan olarak sıfır alınır ve " +"yapıcı metot :class:`int` ve :class:`float` gibi sayı dönüştürme işlevi görür. " +"Eğer iki argüman da atlandıysa, ``0j`` döndürür." #: library/functions.rst:378 msgid "" @@ -954,14 +944,14 @@ msgid "" "meth:`__index__`." msgstr "" "Genel bir python nesnesi ``x`` için, ``complex(x)`` , ``x.__complex__()`` 'i " -"temsil eder. Eğer ``__complex__()`` tanımlanmadıysa, :meth:`__float__` 'a " -"geri döner. ``__float__()`` tanımlanmadıysa, :meth:`__index__` 'e geri döner." +"temsil eder. Eğer ``__complex__()`` tanımlanmadıysa, :meth:`__float__` 'a geri " +"döner. ``__float__()`` tanımlanmadıysa, :meth:`__index__` 'e geri döner." #: library/functions.rst:385 msgid "" "When converting from a string, the string must not contain whitespace around " -"the central ``+`` or ``-`` operator. For example, ``complex('1+2j')`` is " -"fine, but ``complex('1 + 2j')`` raises :exc:`ValueError`." +"the central ``+`` or ``-`` operator. For example, ``complex('1+2j')`` is fine, " +"but ``complex('1 + 2j')`` raises :exc:`ValueError`." msgstr "" "Bir dize dönüştürürken, dizenin, merkezi ``+`` veya ``-`` operatörünün " "etrafında boşluk içermemelidir. Örnek olarak, ``complex('1+2j')`` uygun, ama " @@ -974,8 +964,8 @@ msgstr "Karmaşık tür, :ref:`typesnumeric` kısmında açıklanmıştır." #: library/functions.rst:696 library/functions.rst:920 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 " -"izin verilir." +"Rakamların, kod sabitlerinde olduğu gibi alt çizgi ile gruplandırılmasına izin " +"verilir." #: library/functions.rst:395 msgid "" @@ -994,38 +984,34 @@ msgid "" "need not be a Python identifier (see :func:`setattr`)." msgstr "" ":func:`setattr` fonksiyonu ile ilişkilidir . Argümanlar bir nesne ve bir " -"dizedir. Dize nesnenin özelliklerinden birinin adı olmak zorundadır. " -"Fonksiyon nesnenin izin vermesi koşuluyla, dizede belirtilen bu özelliği " -"siler. Örnek olarak, ``delattr(x, 'foobar')`` , ``del x.foobar`` 'a eş " -"değerdir. *name* bir Python tanımlayıcısı olmak zorunda değildir (:func:" -"`setattr` bkz.)." +"dizedir. Dize nesnenin özelliklerinden birinin adı olmak zorundadır. Fonksiyon " +"nesnenin izin vermesi koşuluyla, dizede belirtilen bu özelliği siler. Örnek " +"olarak, ``delattr(x, 'foobar')`` , ``del x.foobar`` 'a eş değerdir. *name* bir " +"Python tanımlayıcısı olmak zorunda değildir (:func:`setattr` bkz.)." #: library/functions.rst:415 msgid "" "Create a new dictionary. The :class:`dict` object is the dictionary class. " "See :class:`dict` and :ref:`typesmapping` for documentation about this class." msgstr "" -"Yeni bir sözlük yaratır. :class:`dict` nesnesi bir sözlük sınıfıdır. Bu " -"sınıf hakkındaki dökümantasyon için :class:`dict` ve :ref:`typesmapping` 'e " -"bakınız." +"Yeni bir sözlük yaratır. :class:`dict` nesnesi bir sözlük sınıfıdır. Bu sınıf " +"hakkındaki dökümantasyon için :class:`dict` ve :ref:`typesmapping` 'e bakınız." #: library/functions.rst:418 msgid "" -"For other containers see the built-in :class:`list`, :class:`set`, and :" -"class:`tuple` classes, as well as the :mod:`collections` module." +"For other containers see the built-in :class:`list`, :class:`set`, and :class:" +"`tuple` classes, as well as the :mod:`collections` module." msgstr "" "Diğer konteynerler için dahili :class:`list` , :class:`set` , :class:`tuple` " "sınıfları ve :mod:`collections` modülüne bakınız." #: library/functions.rst:425 msgid "" -"Without arguments, return the list of names in the current local scope. " -"With an argument, attempt to return a list of valid attributes for that " -"object." +"Without arguments, return the list of names in the current local scope. With " +"an argument, attempt to return a list of valid attributes for that object." msgstr "" -"Argüman yoksa, mevcut yerel kapsamdaki isimleri liste olarak döndürür. " -"Argüman varsa, o nesne için geçerli özelliklerin bir listesini döndürmeye " -"çalışır." +"Argüman yoksa, mevcut yerel kapsamdaki isimleri liste olarak döndürür. Argüman " +"varsa, o nesne için geçerli özelliklerin bir listesini döndürmeye çalışır." #: library/functions.rst:428 msgid "" @@ -1036,17 +1022,15 @@ msgid "" msgstr "" "Eğer nesne :meth:`__dir__` adında bir metoda sahipse, bu metot çağrılır ve " "nesnenin özelliklerinin listesini döndürmelidir. Bu, özel bir :func:" -"`__getattr__` veya :func:`__getattribute__` fonksiyonunu uygulayan " -"nesnelerin, :func:`dir` 'in özellikleri bildirme şeklini özelleştirmesine " -"izin verir." +"`__getattr__` veya :func:`__getattribute__` fonksiyonunu uygulayan nesnelerin, :" +"func:`dir` 'in özellikleri bildirme şeklini özelleştirmesine izin verir." #: library/functions.rst:433 msgid "" -"If the object does not provide :meth:`__dir__`, the function tries its best " -"to gather information from the object's :attr:`~object.__dict__` attribute, " -"if defined, and from its type object. The resulting list is not necessarily " -"complete and may be inaccurate when the object has a custom :func:" -"`__getattr__`." +"If the object does not provide :meth:`__dir__`, the function tries its best to " +"gather information from the object's :attr:`~object.__dict__` attribute, if " +"defined, and from its type object. The resulting list is not necessarily " +"complete and may be inaccurate when the object has a custom :func:`__getattr__`." msgstr "" "Eğer nesne :meth:`__dir__` metodu sağlamıyorsa, fonksiyon nesnenin :attr:" "`~object.__dict__` özelliğinden veri toplamak için elinen gelenin en iyisini " @@ -1055,20 +1039,19 @@ msgstr "" #: library/functions.rst:438 msgid "" -"The default :func:`dir` mechanism behaves differently with different types " -"of objects, as it attempts to produce the most relevant, rather than " -"complete, information:" +"The default :func:`dir` mechanism behaves differently with different types of " +"objects, as it attempts to produce the most relevant, rather than complete, " +"information:" msgstr "" "Varsayılan :func:`dir` mekanizması, eksiksiz bilgi yerine en alakalı bilgiyi " "üretmeye çalıştığı için farklı nesne türleriyle farklı çalışır:" #: library/functions.rst:442 msgid "" -"If the object is a module object, the list contains the names of the " -"module's attributes." +"If the object is a module object, the list contains the names of the module's " +"attributes." msgstr "" -"Eğer nesne bir modül nesnesiyse, liste modülün özelliklerinin isimlerini " -"içerir." +"Eğer nesne bir modül nesnesiyse, liste modülün özelliklerinin isimlerini içerir." #: library/functions.rst:445 msgid "" @@ -1080,9 +1063,9 @@ msgstr "" #: library/functions.rst:448 msgid "" -"Otherwise, the list contains the object's attributes' names, the names of " -"its class's attributes, and recursively of the attributes of its class's " -"base classes." +"Otherwise, the list contains the object's attributes' names, the names of its " +"class's attributes, and recursively of the attributes of its class's base " +"classes." msgstr "" "Aksi takdirde, liste nesnenin özelliklerini, sınıfının özelliklerini ve " "yinelemeli olarak sınıfının temel sınıflarının özelliklerini içerir." @@ -1094,50 +1077,50 @@ msgstr "Sonuç listesi alfabetik olarak sıralanmıştır. Örnek olarak:" #: library/functions.rst:471 msgid "" "Because :func:`dir` is supplied primarily as a convenience for use at an " -"interactive prompt, it tries to supply an interesting set of names more than " -"it tries to supply a rigorously or consistently defined set of names, and " -"its detailed behavior may change across releases. For example, metaclass " +"interactive prompt, it tries to supply an interesting set of names more than it " +"tries to supply a rigorously or consistently defined set of names, and its " +"detailed behavior may change across releases. For example, metaclass " "attributes are not in the result list when the argument is a class." msgstr "" -"Çünkü :func:`dir`, öncelikle etkileşimli bir komut isteminde kullanım " -"kolaylığı sunmak amacıyla sağlanır. Titizlikle ve tutarlı bir isim kümesi " -"sağlamaktansa ilginç bir isim kümesi sağlar, Detaylı davranışlı sürümler " -"arasında değişikliğe uğrayabilir. Örnek olarak, argüman sınıf ise metasınıf " -"özellikleri sonuç listesinde yer almaz." +"Çünkü :func:`dir`, öncelikle etkileşimli bir komut isteminde kullanım kolaylığı " +"sunmak amacıyla sağlanır. Titizlikle ve tutarlı bir isim kümesi sağlamaktansa " +"ilginç bir isim kümesi sağlar, Detaylı davranışlı sürümler arasında değişikliğe " +"uğrayabilir. Örnek olarak, argüman sınıf ise metasınıf özellikleri sonuç " +"listesinde yer almaz." #: library/functions.rst:481 msgid "" "Take two (non-complex) numbers as arguments and return a pair of numbers " -"consisting of their quotient and remainder when using integer division. " -"With mixed operand types, the rules for binary arithmetic operators apply. " -"For integers, the result is the same as ``(a // b, a % b)``. For floating " -"point numbers the result is ``(q, a % b)``, where *q* is usually ``math." -"floor(a / b)`` but may be 1 less than that. In any case ``q * b + a % b`` " -"is very close to *a*, if ``a % b`` is non-zero it has the same sign as *b*, " -"and ``0 <= abs(a % b) < abs(b)``." -msgstr "" -"Argüman olarak iki (karmaşık olmayan) sayı alır ve bölme işlemi yapılırken " -"bu argümanların bölümleri ve kalanlarından oluşan bir sayı çifti döndürür. " -"Karışık işlenen türlerinde, ikili aritmetik işleçler için geçerli olan " -"kurallar geçerlidir. Sonuç tam sayılar için ``(a // b, a % b)`` , Gerçel " -"sayılar için ``(q, a % b)`` (*q* genellikle ``math.floor(a / b)`` 'ye eşit " -"ama bundan 1 eksik olabilir). Her durumda ``q * b + a % b`` , *a* 'ya çok " -"yakındır. Eğer ``a % b`` sıfır değilse, *b* ile aynı işarete sahiptir ve ``0 " -"<= abs(a % b) < abs(b)``." +"consisting of their quotient and remainder when using integer division. With " +"mixed operand types, the rules for binary arithmetic operators apply. For " +"integers, the result is the same as ``(a // b, a % b)``. For floating point " +"numbers the result is ``(q, a % b)``, where *q* is usually ``math.floor(a / " +"b)`` but may be 1 less than that. In any case ``q * b + a % b`` is very close " +"to *a*, if ``a % b`` is non-zero it has the same sign as *b*, and ``0 <= abs(a " +"% b) < abs(b)``." +msgstr "" +"Argüman olarak iki (karmaşık olmayan) sayı alır ve bölme işlemi yapılırken bu " +"argümanların bölümleri ve kalanlarından oluşan bir sayı çifti döndürür. Karışık " +"işlenen türlerinde, ikili aritmetik işleçler için geçerli olan kurallar " +"geçerlidir. Sonuç tam sayılar için ``(a // b, a % b)`` , Gerçel sayılar için " +"``(q, a % b)`` (*q* genellikle ``math.floor(a / b)`` 'ye eşit ama bundan 1 " +"eksik olabilir). Her durumda ``q * b + a % b`` , *a* 'ya çok yakındır. Eğer ``a " +"% b`` sıfır değilse, *b* ile aynı işarete sahiptir ve ``0 <= abs(a % b) < " +"abs(b)``." #: library/functions.rst:493 msgid "" -"Return an enumerate object. *iterable* must be a sequence, an :term:" -"`iterator`, or some other object which supports iteration. The :meth:" -"`~iterator.__next__` method of the iterator returned by :func:`enumerate` " -"returns a tuple containing a count (from *start* which defaults to 0) and " -"the values obtained from iterating over *iterable*." +"Return an enumerate object. *iterable* must be a sequence, an :term:`iterator`, " +"or some other object which supports iteration. The :meth:`~iterator.__next__` " +"method of the iterator returned by :func:`enumerate` returns a tuple containing " +"a count (from *start* which defaults to 0) and the values obtained from " +"iterating over *iterable*." msgstr "" -"Bir numaralandırma nesnesi döndürür. *iterable* bir dize, :term:`iterator` " -"veya tekrarlamayı destekleyen başka bir nesne olmalıdır. Yineleyicinin by :" -"func:`enumerate` tarafından döndürülen :meth:`~iterator.__next__` metodu bir " -"sayıyı (varsayılan olarak 0 olan *start* 'dan) ve *iterable* üzerinde " -"yinelemeden elde edilen değerleri içeren bir demet döndürür." +"Bir numaralandırma nesnesi döndürür. *iterable* bir dize, :term:`iterator` veya " +"tekrarlamayı destekleyen başka bir nesne olmalıdır. Yineleyicinin by :func:" +"`enumerate` tarafından döndürülen :meth:`~iterator.__next__` metodu bir sayıyı " +"(varsayılan olarak 0 olan *start* 'dan) ve *iterable* üzerinde yinelemeden elde " +"edilen değerleri içeren bir demet döndürür." #: library/functions.rst:505 msgid "Equivalent to::" @@ -1150,24 +1133,24 @@ msgid "" "object." msgstr "" "Argümanlar bir dize veya opsiyonel global ve yerel değişkenler olabilir. " -"Sağlanırsa, *globals* bir sözlük olmalıdır. Sağlanırsa, *locals* herhangi " -"bir haritalama nesnesi olabilir." +"Sağlanırsa, *globals* bir sözlük olmalıdır. Sağlanırsa, *locals* herhangi bir " +"haritalama nesnesi olabilir." #: library/functions.rst:521 msgid "" "The *expression* argument is parsed and evaluated as a Python expression " "(technically speaking, a condition list) using the *globals* and *locals* " "dictionaries as global and local namespace. If the *globals* dictionary is " -"present and does not contain a value for the key ``__builtins__``, a " -"reference to the dictionary of the built-in module :mod:`builtins` is " -"inserted under that key before *expression* is parsed. That way you can " -"control what builtins are available to the executed code by inserting your " -"own ``__builtins__`` dictionary into *globals* before passing it to :func:" -"`eval`. If the *locals* dictionary is omitted it defaults to the *globals* " -"dictionary. If both dictionaries are omitted, the expression is executed " -"with the *globals* and *locals* in the environment where :func:`eval` is " -"called. Note, *eval()* does not have access to the :term:`nested scopes " -"` (non-locals) in the enclosing environment." +"present and does not contain a value for the key ``__builtins__``, a reference " +"to the dictionary of the built-in module :mod:`builtins` is inserted under that " +"key before *expression* is parsed. That way you can control what builtins are " +"available to the executed code by inserting your own ``__builtins__`` " +"dictionary into *globals* before passing it to :func:`eval`. If the *locals* " +"dictionary is omitted it defaults to the *globals* dictionary. If both " +"dictionaries are omitted, the expression is executed with the *globals* and " +"*locals* in the environment where :func:`eval` is called. Note, *eval()* does " +"not have access to the :term:`nested scopes ` (non-locals) in the " +"enclosing environment." msgstr "" "*expression* bağımsız değişkeni, genel ve yerel ad alanı olarak *globals* ve " "*locals* sözlükleri kullanılarak Python ifadesi (teknik olarak bir koşul " @@ -1185,53 +1168,50 @@ msgstr "" #: library/functions.rst:536 msgid "" -"The return value is the result of the evaluated expression. Syntax errors " -"are reported as exceptions. Example:" +"The return value is the result of the evaluated expression. Syntax errors are " +"reported as exceptions. Example:" msgstr "" "Dönen değer değerlendirilmiş ifadenin sonucudur. Söz dizimi hataları, " "istisnalar olarak rapor edilir. Örnek:" #: library/functions.rst:543 msgid "" -"This function can also be used to execute arbitrary code objects (such as " -"those created by :func:`compile`). In this case, pass a code object instead " -"of a string. If the code object has been compiled with ``'exec'`` as the " -"*mode* argument, :func:`eval`\\'s return value will be ``None``." +"This function can also be used to execute arbitrary code objects (such as those " +"created by :func:`compile`). In this case, pass a code object instead of a " +"string. If the code object has been compiled with ``'exec'`` as the *mode* " +"argument, :func:`eval`\\'s return value will be ``None``." msgstr "" -"Bu fonksiyon keyfi kod nesnelerini (:func:`compile` tarafından " -"oluşturulanlar gibi) çalıştırmak için de kullanılabilir. Bu durumda, dize " -"yerine bir kod nesnesi iletin. Eğer kod nesnesi *mode* argümanı olarak " -"``'exec'`` ile derlendiyse, :func:`eval` 'in döndürdüğü değer ``None`` " -"olacaktır." +"Bu fonksiyon keyfi kod nesnelerini (:func:`compile` tarafından oluşturulanlar " +"gibi) çalıştırmak için de kullanılabilir. Bu durumda, dize yerine bir kod " +"nesnesi iletin. Eğer kod nesnesi *mode* argümanı olarak ``'exec'`` ile " +"derlendiyse, :func:`eval` 'in döndürdüğü değer ``None`` olacaktır." #: library/functions.rst:548 msgid "" "Hints: dynamic execution of statements is supported by the :func:`exec` " -"function. The :func:`globals` and :func:`locals` functions return the " -"current global and local dictionary, respectively, which may be useful to " -"pass around for use by :func:`eval` or :func:`exec`." +"function. The :func:`globals` and :func:`locals` functions return the current " +"global and local dictionary, respectively, which may be useful to pass around " +"for use by :func:`eval` or :func:`exec`." msgstr "" "İpuçları: ifadelerin dinamik yürütmeleri :func:`exec` fonksiyonu tarafından " -"desteklenir. :func:`globals` ve :func:`locals` fonksiyonları sırasıyla " -"mevcut global ve yerel sözlüğü döndürür. :func:`eval` veya :func:`exec` " -"tarafından kullanım için dolaşmak yararlı olabilir." +"desteklenir. :func:`globals` ve :func:`locals` fonksiyonları sırasıyla mevcut " +"global ve yerel sözlüğü döndürür. :func:`eval` veya :func:`exec` tarafından " +"kullanım için dolaşmak yararlı olabilir." #: library/functions.rst:553 msgid "" -"If the given source is a string, then leading and trailing spaces and tabs " -"are stripped." +"If the given source is a string, then leading and trailing spaces and tabs are " +"stripped." msgstr "" -"Eğer verilen kaynak dize ise, baştaki ve sondaki boşluklar ve tab'lar " -"çıkarılır." +"Eğer verilen kaynak dize ise, baştaki ve sondaki boşluklar ve tab'lar çıkarılır." #: library/functions.rst:556 msgid "" "See :func:`ast.literal_eval` for a function that can safely evaluate strings " "with expressions containing only literals." msgstr "" -"Sadece kalıp içeren ifadelerle dizeleri güvenli bir şekilde " -"değerlendirebilen bir fonksiyon arıyorsanız, :func:`ast.literal_eval` 'a " -"bakınız." +"Sadece kalıp içeren ifadelerle dizeleri güvenli bir şekilde değerlendirebilen " +"bir fonksiyon arıyorsanız, :func:`ast.literal_eval` 'a bakınız." #: library/functions.rst:43 msgid "" @@ -1243,104 +1223,102 @@ msgstr "" #: library/functions.rst:602 msgid "" -"Raises an :ref:`auditing event ` ``exec`` with the code object as " -"the argument. Code compilation events may also be raised." +"Raises an :ref:`auditing event ` ``exec`` with the code object as the " +"argument. Code compilation events may also be raised." msgstr "" -"Argüman olarak kod nesnesi ile bir :ref:`denetleme olayı ` " -"``exec`` hatası ortaya çıkartır. Kodun derlendiği sırada çıkan hatalar da " -"yükseltilir." +"Argüman olarak kod nesnesi ile bir :ref:`denetleme olayı ` ``exec`` " +"hatası ortaya çıkartır. Kodun derlendiği sırada çıkan hatalar da yükseltilir." #: library/functions.rst:568 msgid "" "This function supports dynamic execution of Python code. *object* must be " -"either a string or a code object. If it is a string, the string is parsed " -"as a suite of Python statements which is then executed (unless a syntax " -"error occurs). [#]_ If it is a code object, it is simply executed. In all " -"cases, the code that's executed is expected to be valid as file input (see " -"the section :ref:`file-input` in the Reference Manual). Be aware that the :" -"keyword:`nonlocal`, :keyword:`yield`, and :keyword:`return` statements may " -"not be used outside of function definitions even within the context of code " -"passed to the :func:`exec` function. The return value is ``None``." +"either a string or a code object. If it is a string, the string is parsed as a " +"suite of Python statements which is then executed (unless a syntax error " +"occurs). [#]_ If it is a code object, it is simply executed. In all cases, the " +"code that's executed is expected to be valid as file input (see the section :" +"ref:`file-input` in the Reference Manual). Be aware that the :keyword:" +"`nonlocal`, :keyword:`yield`, and :keyword:`return` statements may not be used " +"outside of function definitions even within the context of code passed to the :" +"func:`exec` function. The return value is ``None``." msgstr "" "Bu fonksiyon Python kodunun dinamik çalıştırılmasını destekler. *object* bir " -"kod objesi veya dize olmalıdır. Dize ise, dize daha sonra yürütülen bir " -"Python ifadeleri paketi olarak ayrıştırılır (bir sözdizimi hatası " -"olmadıkça). [#]_ eğer bir kod objesiyse, sadece çalıştırılır. Her durumda, " -"çalıştırılacak kodun dosya girişi olarak geçerli olması beklenir (Referans " -"Kılavuzundaki :ref:`file-input` kısmına bakınız). :keyword:`nonlocal`, :" -"keyword:`yield`, ve :keyword:`return` ifadelerinin :func:`exec` fonksiyonuna " -"geçirilen kod kaynağında bile fonksiyonlar dışında kullanılamayacağını " -"unutmayınız. Döndürülen değer ``None`` 'dır." +"kod objesi veya dize olmalıdır. Dize ise, dize daha sonra yürütülen bir Python " +"ifadeleri paketi olarak ayrıştırılır (bir sözdizimi hatası olmadıkça). [#]_ " +"eğer bir kod objesiyse, sadece çalıştırılır. Her durumda, çalıştırılacak kodun " +"dosya girişi olarak geçerli olması beklenir (Referans Kılavuzundaki :ref:`file-" +"input` kısmına bakınız). :keyword:`nonlocal`, :keyword:`yield`, ve :keyword:" +"`return` ifadelerinin :func:`exec` fonksiyonuna geçirilen kod kaynağında bile " +"fonksiyonlar dışında kullanılamayacağını unutmayınız. Döndürülen değer ``None`` " +"'dır." #: library/functions.rst:579 msgid "" "In all cases, if the optional parts are omitted, the code is executed in the " -"current scope. If only *globals* is provided, it must be a dictionary (and " -"not a subclass of dictionary), which will be used for both the global and " -"the local variables. If *globals* and *locals* are given, they are used for " -"the global and local variables, respectively. If provided, *locals* can be " -"any mapping object. Remember that at the module level, globals and locals " -"are the same dictionary. If exec gets two separate objects as *globals* and " -"*locals*, the code will be executed as if it were embedded in a class " -"definition." +"current scope. If only *globals* is provided, it must be a dictionary (and not " +"a subclass of dictionary), which will be used for both the global and the local " +"variables. If *globals* and *locals* are given, they are used for the global " +"and local variables, respectively. If provided, *locals* can be any mapping " +"object. Remember that at the module level, globals and locals are the same " +"dictionary. If exec gets two separate objects as *globals* and *locals*, the " +"code will be executed as if it were embedded in a class definition." msgstr "" "Her durumda eğer opsiyonal kısımlar atlandıysa, kod mevcut kapsamda " "çalıştırılır. Eğer sadece *globals* sağlandıysa, global ve yerel değişkenler " -"için kullanılacak bir sözlük olmalıdır (bir sözlüğün alt sınıfı değil). " -"Eğer *globals* ve *locals* sağlandıysa, global ve yerel değişkenler için " -"sırasıyla kullanılırlar. Eğer sağlandıysa, *locals* herhangi bir haritalama " -"objesi olabilir. Modül seviyesinde global ve yerel değişkenlerin aynı " -"sözlükte bulunduğunu unutmayın. Eğer exec *globals* ve *locals* olarak iki " -"ayrı nesne alırsa, kod bir sınıf tanımına gömülmüş gibi çalıştırılacaktır." +"için kullanılacak bir sözlük olmalıdır (bir sözlüğün alt sınıfı değil). Eğer " +"*globals* ve *locals* sağlandıysa, global ve yerel değişkenler için sırasıyla " +"kullanılırlar. Eğer sağlandıysa, *locals* herhangi bir haritalama objesi " +"olabilir. Modül seviyesinde global ve yerel değişkenlerin aynı sözlükte " +"bulunduğunu unutmayın. Eğer exec *globals* ve *locals* olarak iki ayrı nesne " +"alırsa, kod bir sınıf tanımına gömülmüş gibi çalıştırılacaktır." #: library/functions.rst:589 msgid "" "If the *globals* dictionary does not contain a value for the key " "``__builtins__``, a reference to the dictionary of the built-in module :mod:" -"`builtins` is inserted under that key. That way you can control what " -"builtins are available to the executed code by inserting your own " -"``__builtins__`` dictionary into *globals* before passing it to :func:`exec`." -msgstr "" -"Eğer *globals* sözlüğü ``__builtins__`` anahtarı için bir değer içermiyorsa, " -"bu anahtarın altına bir referans yerleşik modül :mod:`builtins` 'in " -"sözlüğüne eklenir. Bu şekilde, kendi ``__builtins__`` sözlüğünüzü :func:" -"`exec` 'e geçirmeden önce *globals* içine ekleyerek yürütülen kod için hangi " +"`builtins` is inserted under that key. That way you can control what builtins " +"are available to the executed code by inserting your own ``__builtins__`` " +"dictionary into *globals* before passing it to :func:`exec`." +msgstr "" +"Eğer *globals* sözlüğü ``__builtins__`` anahtarı için bir değer içermiyorsa, bu " +"anahtarın altına bir referans yerleşik modül :mod:`builtins` 'in sözlüğüne " +"eklenir. Bu şekilde, kendi ``__builtins__`` sözlüğünüzü :func:`exec` 'e " +"geçirmeden önce *globals* içine ekleyerek yürütülen kod için hangi " "yerleşiklerin mevcut olduğunu kontrol edebilirsiniz." #: library/functions.rst:595 msgid "" "The *closure* argument specifies a closure--a tuple of cellvars. It's only " -"valid when the *object* is a code object containing free variables. The " -"length of the tuple must exactly match the number of free variables " -"referenced by the code object." +"valid when the *object* is a code object containing free variables. The length " +"of the tuple must exactly match the number of free variables referenced by the " +"code object." msgstr "" -"*closure* argümanı, bir hücre değişkenleri demeti olan bir kapatmayı " -"belirtir. Yalnızca *nesne* serbest değişkenler içeren bir kod nesnesi " -"olduğunda geçerlidir. Demetin uzunluğu, kod nesnesi tarafından başvurulan " -"serbest değişkenlerin sayısıyla tam olarak eşleşmelidir." +"*closure* argümanı, bir hücre değişkenleri demeti olan bir kapatmayı belirtir. " +"Yalnızca *nesne* serbest değişkenler içeren bir kod nesnesi olduğunda " +"geçerlidir. Demetin uzunluğu, kod nesnesi tarafından başvurulan serbest " +"değişkenlerin sayısıyla tam olarak eşleşmelidir." #: library/functions.rst:607 msgid "" "The built-in functions :func:`globals` and :func:`locals` return the current " -"global and local dictionary, respectively, which may be useful to pass " -"around for use as the second and third argument to :func:`exec`." +"global and local dictionary, respectively, which may be useful to pass around " +"for use as the second and third argument to :func:`exec`." msgstr "" -"Yerleşik :func:`globals` ve :func:`locals` fonksiyonları mevcut global ve " -"yerel sözlüğü sırasıyla döndürür. Bu, :func:`exec` 'e ikinci ve üçüncü " -"argüman olarak kullanılmak üzere geçirmek için yararlı olabilir." +"Yerleşik :func:`globals` ve :func:`locals` fonksiyonları mevcut global ve yerel " +"sözlüğü sırasıyla döndürür. Bu, :func:`exec` 'e ikinci ve üçüncü argüman olarak " +"kullanılmak üzere geçirmek için yararlı olabilir." #: library/functions.rst:613 msgid "" "The default *locals* act as described for function :func:`locals` below: " -"modifications to the default *locals* dictionary should not be attempted. " -"Pass an explicit *locals* dictionary if you need to see effects of the code " -"on *locals* after function :func:`exec` returns." +"modifications to the default *locals* dictionary should not be attempted. Pass " +"an explicit *locals* dictionary if you need to see effects of the code on " +"*locals* after function :func:`exec` returns." msgstr "" "Varsayılan *locals* davranışı aşağıda :func:`locals` fonksiyonu için " "açıklandığı gibi: varsayılan *locals* sözlüğünde değişiklik yapılmaya " "çalışılmamalıdır. :func:`exec` fonksiyonu değer döndürdükten sonra kodun " -"*locals* üzerindeki etkilerini görmeniz gerekiyorsa, açık bir *local* " -"sözlüğü geçirin." +"*locals* üzerindeki etkilerini görmeniz gerekiyorsa, açık bir *local* sözlüğü " +"geçirin." #: library/functions.rst:618 msgid "Added the *closure* parameter." @@ -1348,32 +1326,31 @@ msgstr "*closure* parametresi eklendi." #: library/functions.rst:624 msgid "" -"Construct an iterator from those elements of *iterable* for which *function* " -"is true. *iterable* may be either a sequence, a container which supports " -"iteration, or an iterator. If *function* is ``None``, the identity function " -"is assumed, that is, all elements of *iterable* that are false are removed." +"Construct an iterator from those elements of *iterable* for which *function* is " +"true. *iterable* may be either a sequence, a container which supports " +"iteration, or an iterator. If *function* is ``None``, the identity function is " +"assumed, that is, all elements of *iterable* that are false are removed." msgstr "" "*fonksiyon*'un doğru olduğu *iterable* öğelerinden bir yineleyici oluşturun. " -"*iterable* bir dizi, yinelemeyi destekleyen bir kapsayıcı veya bir " -"yineleyici olabilir. *fonksiyon* ``None`` ise, kimlik işlevi varsayılır, " -"yani *iterable* öğesinin yanlış olan tüm öğeleri kaldırılır." +"*iterable* bir dizi, yinelemeyi destekleyen bir kapsayıcı veya bir yineleyici " +"olabilir. *fonksiyon* ``None`` ise, kimlik işlevi varsayılır, yani *iterable* " +"öğesinin yanlış olan tüm öğeleri kaldırılır." #: library/functions.rst:630 msgid "" "Note that ``filter(function, iterable)`` is equivalent to the generator " -"expression ``(item for item in iterable if function(item))`` if function is " -"not ``None`` and ``(item for item in iterable if item)`` if function is " -"``None``." +"expression ``(item for item in iterable if function(item))`` if function is not " +"``None`` and ``(item for item in iterable if item)`` if function is ``None``." msgstr "" -"Eğer fonksiyon ``None`` değilse ve ``(item for item in iterable if item)`` " -"için fonksiyon ``None`` ise, ``filter(function, iterable)`` 'ın bir üretici " +"Eğer fonksiyon ``None`` değilse ve ``(item for item in iterable if item)`` için " +"fonksiyon ``None`` ise, ``filter(function, iterable)`` 'ın bir üretici " "ifadesine ``(item for item in iterable if function(item))`` eşit olduğunu " "unutmayın." #: library/functions.rst:635 msgid "" -"See :func:`itertools.filterfalse` for the complementary function that " -"returns elements of *iterable* for which *function* is false." +"See :func:`itertools.filterfalse` for the complementary function that returns " +"elements of *iterable* for which *function* is false." msgstr "" "*fonksiyon*'un yanlış olduğu *iterable* öğelerini döndüren tamamlayıcı " "fonksiyon için :func:`itertools.filterfalse` konusuna bakın." @@ -1385,49 +1362,49 @@ msgstr "Bir numara veya string *x* 'ten oluşturulan bir reel sayı döndürür. #: library/functions.rst:647 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 ``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 " -"işaret ``'+'`` veya ``'-'`` olabilir; ``'+'`` işareti üretilen değerde bir " -"etkisi yoktur. Argüman ayrıca NaN (not-a-number), pozitif sonsuz veya " -"negatif sonsuzu temsil eden bir dize olabilir. Daha açık olmak gerekirse, " -"baştaki ve sondaki boşluk karakterleri kaldırıldıktan sonra veri girişi " -"aşağıdaki dilbilgisindeki ``floatvalue`` üretim kuralına uygun olmalıdır:" +"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 " +"``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 işaret ``'+'`` " +"veya ``'-'`` olabilir; ``'+'`` işareti üretilen değerde bir etkisi yoktur. " +"Argüman ayrıca NaN (not-a-number), pozitif sonsuz veya negatif sonsuzu temsil " +"eden bir dize olabilir. Daha açık olmak gerekirse, baştaki ve sondaki boşluk " +"karakterleri kaldırıldıktan sonra veri girişi aşağıdaki dilbilgisindeki " +"``floatvalue`` üretim kuralına uygun olmalıdır:" #: library/functions.rst:665 msgid "" "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." +"category ``Nd``). Case is not significant, so, for example, \"inf\", \"Inf\", " +"\"INFINITY\", and \"iNfINity\" are all acceptable spellings for positive " +"infinity." msgstr "" "Burada ``digit`` bir Unicode ondalık basamağıdır (Unicode genel kategorisi " -"``Nd`` 'deki karakter). Büyük/küçük harf önemli değildir, bu nedenle, " -"örneğin, \"inf\", \"Inf\", \"INFINITY\" ve \"iNfINity\" pozitif sonsuzluk " -"için kabul edilebilir yazımlardır." +"``Nd`` 'deki karakter). Büyük/küçük harf önemli değildir, bu nedenle, örneğin, " +"\"inf\", \"Inf\", \"INFINITY\" ve \"iNfINity\" pozitif sonsuzluk için kabul " +"edilebilir yazımlardır." #: library/functions.rst:670 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 " -"precision) is returned. If the argument is outside the range of a Python " -"float, an :exc:`OverflowError` will be raised." +"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 precision) is " +"returned. If the argument is outside the range of a Python float, an :exc:" +"`OverflowError` will be raised." msgstr "" -"Aksi takdirde, argüman bir tam sayı veya reel sayıysa, aynı değerde reel " -"sayı döndürülür. Eğer argüman Python reel sayı aralığının dışındaysa, :exc:" +"Aksi takdirde, argüman bir tam sayı veya reel sayıysa, aynı değerde reel 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:675 msgid "" "For a general Python object ``x``, ``float(x)`` delegates to ``x." -"__float__()``. If ``__float__()`` is not defined then it falls back to :" -"meth:`__index__`." +"__float__()``. If ``__float__()`` is not defined then it falls back to :meth:" +"`__index__`." msgstr "" "Genel bir Python nesnesi ``x`` için, ``float(x)``, ``x.__float__()`` " "fonksiyonuna delege eder. Eğer ``__float__()`` tanımlanmamışsa, :meth:" @@ -1447,29 +1424,27 @@ msgstr "Float tipi :ref:`typesnumeric` kısmında açıklandı." #: library/functions.rst:702 msgid "Falls back to :meth:`__index__` if :meth:`__float__` is not defined." -msgstr "" -":meth:`__float__` tanımlanmadıysa, :meth:`__index__` konumuna geri döner." +msgstr ":meth:`__float__` tanımlanmadıysa, :meth:`__index__` konumuna geri döner." #: library/functions.rst:712 msgid "" "Convert a *value* to a \"formatted\" representation, as controlled by " -"*format_spec*. The interpretation of *format_spec* will depend on the type " -"of the *value* argument; however, there is a standard formatting syntax that " -"is used by most built-in types: :ref:`formatspec`." +"*format_spec*. The interpretation of *format_spec* will depend on the type of " +"the *value* argument; however, there is a standard formatting syntax that is " +"used by most built-in types: :ref:`formatspec`." msgstr "" "Bir *value* 'ı, *format_spec* tarafından kontrol edildiği gibi " -"\"biçimlendirilmiş\" bir gösterime dönüştürür. *format_spec* 'in " -"yorumlanması *value* argümanının tipine göre değişkendir; ama, çoğu yerleşik " -"tiplerde kullanılan :ref:`formatspec` adında bir standart biçimlendirme " -"sözdizimi var." +"\"biçimlendirilmiş\" bir gösterime dönüştürür. *format_spec* 'in yorumlanması " +"*value* argümanının tipine göre değişkendir; ama, çoğu yerleşik tiplerde " +"kullanılan :ref:`formatspec` adında bir standart biçimlendirme sözdizimi var." #: library/functions.rst:717 msgid "" "The default *format_spec* is an empty string which usually gives the same " "effect as calling :func:`str(value) `." msgstr "" -"Varsayılan *format_spec*, :func:`str(value) ` fonksiyonunu çağırmakla " -"aynı etkiyi gösteren boş bir dizedir." +"Varsayılan *format_spec*, :func:`str(value) ` fonksiyonunu çağırmakla aynı " +"etkiyi gösteren boş bir dizedir." #: library/functions.rst:720 msgid "" @@ -1477,8 +1452,8 @@ msgid "" "__format__(value, format_spec)`` which bypasses the instance dictionary when " "searching for the value's :meth:`__format__` method. A :exc:`TypeError` " "exception is raised if the method search reaches :mod:`object` and the " -"*format_spec* is non-empty, or if either the *format_spec* or the return " -"value are not strings." +"*format_spec* is non-empty, or if either the *format_spec* or the return value " +"are not strings." msgstr "" "``format(value, format_spec)`` çağrısı, değerin :meth:`__format__` metodunu " "ararken örnek sözlüğü atlayan ``type(value).__format__(value, format_spec)`` " @@ -1488,11 +1463,11 @@ msgstr "" #: library/functions.rst:727 msgid "" -"``object().__format__(format_spec)`` raises :exc:`TypeError` if " -"*format_spec* is not an empty string." +"``object().__format__(format_spec)`` raises :exc:`TypeError` if *format_spec* " +"is not an empty string." msgstr "" -"*format_spec* boş bir dize değilse, ``object().__format__(format_spec)``, :" -"exc:`TypeError` hatasını ortaya çıkartır." +"*format_spec* boş bir dize değilse, ``object().__format__(format_spec)``, :exc:" +"`TypeError` hatasını ortaya çıkartır." #: library/functions.rst:736 msgid "" @@ -1502,31 +1477,30 @@ msgid "" msgstr "" "Opsiyonel olarak *iterable* öğesinden alınan öğelerle yeni bir :class:" "`frozenset` nesnesi döndürür. ``frozenset`` yerleşik bir sınıftır. Bu sınıf " -"hakkında dokümantasyona ulaşmak için :class:`frozenset` ve :ref:`types-set` " -"'e bakınız." +"hakkında dokümantasyona ulaşmak için :class:`frozenset` ve :ref:`types-set` 'e " +"bakınız." #: library/functions.rst:740 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." msgstr "" -"Diğer konteynerler için, yerleşik :class:`set`, :class:`list`, :class:" -"`tuple`, ve :class:`dict` sınıflarına, ayrıca :mod:`collections` modülüne " -"bakabilirsiniz." +"Diğer konteynerler için, yerleşik :class:`set`, :class:`list`, :class:`tuple`, " +"ve :class:`dict` sınıflarına, ayrıca :mod:`collections` modülüne bakabilirsiniz." #: library/functions.rst:748 msgid "" -"Return the value of the named attribute of *object*. *name* must be a " -"string. If the string is the name of one of the object's attributes, the " -"result is the value of that attribute. For example, ``getattr(x, " -"'foobar')`` is equivalent to ``x.foobar``. If the named attribute does not " -"exist, *default* is returned if provided, otherwise :exc:`AttributeError` is " -"raised. *name* need not be a Python identifier (see :func:`setattr`)." +"Return the value of the named attribute of *object*. *name* must be a string. " +"If the string is the name of one of the object's attributes, the result is the " +"value of that attribute. For example, ``getattr(x, 'foobar')`` is equivalent " +"to ``x.foobar``. If the named attribute does not exist, *default* is returned " +"if provided, otherwise :exc:`AttributeError` is raised. *name* need not be a " +"Python identifier (see :func:`setattr`)." msgstr "" "*object* 'in parametre olarak verilmiş isimli özelliğinin değerini döndürür. " -"*name* bir dize olmalıdır. Eğer dize nesnenin özelliklerinden birinin ismi " -"ise, sonuç bu özelliğin değeri olur. Örnek olarak, ``getattr(x, 'foobar')``, " -"``x.foobar`` 'a eşittir. Eğer isimlendirilmiş özellik objede bulunmuyorsa, " +"*name* bir dize olmalıdır. Eğer dize nesnenin özelliklerinden birinin ismi ise, " +"sonuç bu özelliğin değeri olur. Örnek olarak, ``getattr(x, 'foobar')``, ``x." +"foobar`` 'a eşittir. Eğer isimlendirilmiş özellik objede bulunmuyorsa, " "*default* sağlanmışsa döndürülür, aksi takdirde :exc:`AttributeError` hatası " "ortaya çıkar. *name* bir Python tanımlayıcısı olmak zorunda değildir (:func:" "`setattr` bkz)." @@ -1535,8 +1509,7 @@ msgstr "" msgid "" "Since :ref:`private name mangling ` happens at " "compilation time, one must manually mangle a private attribute's (attributes " -"with two leading underscores) name in order to retrieve it with :func:" -"`getattr`." +"with two leading underscores) name in order to retrieve it with :func:`getattr`." msgstr "" ":ref:`özel isim yönetimi ` derleme zamanında " "gerçekleştiğinden dolayı, :func:`getattr` ile almak için özel bir niteliğin " @@ -1545,37 +1518,37 @@ msgstr "" #: library/functions.rst:765 msgid "" "Return the dictionary implementing the current module namespace. For code " -"within functions, this is set when the function is defined and remains the " -"same regardless of where the function is called." +"within functions, this is set when the function is defined and remains the same " +"regardless of where the function is called." msgstr "" "Geçerli modül ad alanını uygulayan sözlüğü döndürür. Fonksiyonlar içeren kod " -"için, bu fonksiyon tanımlandığında ayarlanır ve fonksiyonun çağrıldığı " -"yerden bağımsız olarak aynı kalır." +"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:772 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. " -"(This is implemented by calling ``getattr(object, name)`` and seeing whether " -"it raises an :exc:`AttributeError` or not.)" +"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. (This is " +"implemented by calling ``getattr(object, name)`` and seeing whether it raises " +"an :exc:`AttributeError` or not.)" msgstr "" "Argümanlar bir nesne ve dizedir. Eğer dize, nesnenin özelliklerinden birinin " -"ismiyse ``True``, değilse ``False`` döndürür. (Bu ``getattr(object, name)`` " -"'i çağırarak uygulanır ve :exc:`AttributeError` hatası oluşup oluşmayacağı " +"ismiyse ``True``, değilse ``False`` döndürür. (Bu ``getattr(object, name)`` 'i " +"çağırarak uygulanır ve :exc:`AttributeError` hatası oluşup oluşmayacağı " "görülür.)" #: library/functions.rst:780 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 " -"dictionary lookup. Numeric values that compare equal have the same hash " -"value (even if they are of different types, as is the case for 1 and 1.0)." +"integers. They are used to quickly compare dictionary keys during a dictionary " +"lookup. Numeric values that compare equal have the same hash value (even if " +"they are of different types, as is the case for 1 and 1.0)." msgstr "" -"Nesnenin karma değerini döndürür (eğer varsa). Karma değerler tam " -"sayılardır. Sözlükleri incelerken hızlı bir şekilde anahtarları " -"karşılaştırmak için kullanılırlar. Karşılaştırıldığında aynı olan nümerik " -"değerler aynı karma değere sahiptir (1 ve 1.0 durumunda olduğu gibi farklı " -"veri tiplerinde olsalar bile)." +"Nesnenin karma değerini döndürür (eğer varsa). Karma değerler tam sayılardır. " +"Sözlükleri incelerken hızlı bir şekilde anahtarları karşılaştırmak için " +"kullanılırlar. Karşılaştırıldığında aynı olan nümerik değerler aynı karma " +"değere sahiptir (1 ve 1.0 durumunda olduğu gibi farklı veri tiplerinde olsalar " +"bile)." #: library/functions.rst:787 msgid "" @@ -1583,25 +1556,25 @@ msgid "" "truncates the return value based on the bit width of the host machine. See :" "meth:`__hash__` for details." msgstr "" -":meth:`__hash__` metodu olan nesneler için, :func:`hash` öğesinin ana " -"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." +":meth:`__hash__` metodu olan nesneler için, :func:`hash` öğesinin ana 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:794 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 " -"interpreter console. If the argument is a string, then the string is looked " -"up as the name of a module, function, class, method, keyword, or " -"documentation topic, and a help page is printed on the console. If the " -"argument is any other kind of object, a help page on the object is generated." +"interpreter console. If the argument is a string, then the string is looked up " +"as the name of a module, function, class, method, keyword, or documentation " +"topic, and a help page is printed on the console. If the argument is any other " +"kind of object, a help page on the object is generated." msgstr "" "Yerleşik yardım sistemini çağırın. (Bu fonksiyon interaktif kullanıma " -"yöneliktir.) Eğer argüman verilmediyse, interaktif yardım sistemi " -"yorumlayıcı konsolunda başlar. Eğer argüman bir dize ise, bir modül, " -"fonksiyon, sınıf, metot, anahtar kelime veya dokümantasyon konusu için " -"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." +"yöneliktir.) Eğer argüman verilmediyse, interaktif yardım sistemi yorumlayıcı " +"konsolunda başlar. Eğer argüman bir dize ise, bir modül, fonksiyon, sınıf, " +"metot, anahtar kelime veya dokümantasyon konusu için 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:801 msgid "" @@ -1611,16 +1584,15 @@ msgid "" "parameters `." msgstr "" "Eğer :func:`help` çağrılırken bir fonksiyonun parametre listesinde eğik " -"çizgi(/) bulunuyorsa, bu, eğik çizgiden önceki parametrelerin yalnızca " -"konumsal olduğu anlamına gelir. Daha fazla bilgi için :ref:`yalnızca " -"konumsalparametrelerle ilgili SSS girişi ` " -"'ne bakınız." +"çizgi(/) bulunuyorsa, bu, eğik çizgiden önceki parametrelerin yalnızca konumsal " +"olduğu anlamına gelir. Daha fazla bilgi için :ref:`yalnızca " +"konumsalparametrelerle ilgili SSS girişi ` 'ne " +"bakınız." #: library/functions.rst:806 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." +msgstr "Bu fonksiyon :mod:`site` modülü tarafından yerleşik ad alanına eklenir." #: library/functions.rst:808 msgid "" @@ -1628,14 +1600,13 @@ msgid "" "for callables are now more comprehensive and consistent." msgstr "" ":mod:`pydoc` ve :mod:`inspect` 'e gelen değişiklikler, çağrılabilir nesneler " -"için rapor edilen damgaların artık daha kapsamlı ve tutarlı olduğunu ifade " -"eder." +"için rapor edilen damgaların artık daha kapsamlı ve tutarlı olduğunu ifade eder." #: library/functions.rst:815 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 :" -"meth:`__index__` method that returns an integer. Some examples:" +"\"0x\". If *x* is not a Python :class:`int` object, it has to define an :meth:" +"`__index__` method that returns an integer. Some examples:" msgstr "" "Bir tam sayıyı küçük harflerden oluşan ve \"0x\" ile başlayan onaltılık bir " "dizeye dönüştürür. Eğer *x* Python :class:`int` nesnesi değilse, tam sayı " @@ -1643,39 +1614,37 @@ msgstr "" #: library/functions.rst:824 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 " -"ways:" +"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 ways:" 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:" +"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:836 msgid "" -"See also :func:`int` for converting a hexadecimal string to an integer using " -"a base of 16." +"See also :func:`int` for converting a hexadecimal string to an integer using a " +"base of 16." 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." +"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:841 msgid "" -"To obtain a hexadecimal string representation for a float, use the :meth:" -"`float.hex` method." +"To obtain a hexadecimal string representation for a float, use the :meth:`float." +"hex` method." 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:847 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. " -"Two objects with non-overlapping lifetimes may have the same :func:`id` " -"value." +"Return the \"identity\" of an object. This is an integer which is guaranteed " +"to be unique and constant for this object during its lifetime. Two objects with " +"non-overlapping lifetimes may have the same :func:`id` value." msgstr "" -"Bir nesnenin \"kimlik\" 'ini döndürür. Bu nesnenin ömrü boyunca eşsiz ve " -"sabit olduğu garanti edilen bir tam sayıdır. Ömürleri örtüşmeyen iki nesne " -"aynı :func:`id` değerine sahip olabilir." +"Bir nesnenin \"kimlik\" 'ini döndürür. Bu nesnenin ömrü boyunca eşsiz ve 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:852 msgid "This is the address of the object in memory." @@ -1683,23 +1652,22 @@ msgstr "Bu, bellekteki nesnenin adresidir." #: library/functions.rst:8 msgid "" -"Raises an :ref:`auditing event ` ``builtins.id`` with argument " -"``id``." +"Raises an :ref:`auditing event ` ``builtins.id`` with argument ``id``." msgstr "" "``id`` argümanıyla beraber bir :ref:`denetleme olayı ` ``builtins." "id`` ortaya çıkartır." #: library/functions.rst:860 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, " -"converts it to a string (stripping a trailing newline), and returns that. " -"When EOF is read, :exc:`EOFError` is raised. Example::" +"If the *prompt* argument is present, it is written to standard output without a " +"trailing newline. The function then reads a line from input, converts it to a " +"string (stripping a trailing newline), and returns that. When EOF is read, :" +"exc:`EOFError` is raised. Example::" msgstr "" "Eğer *prompt* argümanı bulunuyorsa, sonunda yeni bir satır olmadan standart " -"çıktıya yazılır. Ardından fonksiyon veri girişinden bir satır okur ve bunu " -"bir dizeye çevirip (sondaki yeni satırı çıkartır) döndürür. EOF " -"okunduğunda, :exc:`EOFError` istisnası ortaya çıkar. Örnek::" +"çıktıya yazılır. Ardından fonksiyon veri girişinden bir satır okur ve bunu 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:870 msgid "" @@ -1722,8 +1690,8 @@ msgid "" "Raises an :ref:`auditing event ` ``builtins.input`` with argument " "``prompt`` before reading input" msgstr "" -"Girişi okumadan önce, ``prompt`` argümanıyla birlikte bir :ref:`denetleme " -"olayı ` ``builtins.input`` ortaya çıkartır" +"Girişi okumadan önce, ``prompt`` argümanıyla birlikte bir :ref:`denetleme olayı " +"` ``builtins.input`` ortaya çıkartır" #: library/functions.rst:19 msgid "" @@ -1735,8 +1703,8 @@ msgstr "" #: library/functions.rst:880 msgid "" -"Raises an :ref:`auditing event ` ``builtins.input/result`` with " -"the result after successfully reading input." +"Raises an :ref:`auditing event ` ``builtins.input/result`` with the " +"result after successfully reading input." msgstr "" "Girişi başarıyla okuduktan sonra sonuçla birlikte bir :ref:`auditing event " "` ``builtins.input/result`` denetleme olayı ortaya çıkarır." @@ -1746,23 +1714,28 @@ 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)`` " "returns ``x.__int__()``. If *x* defines :meth:`__index__`, it returns ``x." -"__index__()``. If *x* defines :meth:`__trunc__`, it returns ``x." -"__trunc__()``. For floating point numbers, this truncates towards zero." +"__index__()``. If *x* defines :meth:`__trunc__`, it returns ``x.__trunc__()``. " +"For floating point numbers, this truncates towards zero." msgstr "" "Bir numara veya *x* dizesinden bir tam sayı oluşturur. Eğer argüman " "verilmediyse 0 döndürür. *x* :meth:`__int__` 'i içeriyorsa, ``int(x)`` ``x." -"__int__()`` 'i döndürür. *x* :meth:`__index__` 'i içeriyorsa, ``x." -"__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." +"__int__()`` 'i döndürür. *x* :meth:`__index__` 'i içeriyorsa, ``x.__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:894 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 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." +"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 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 "" +"Eğer *x* bir sayı değilse veya *base* verilmişse, *x* *base* radiksinde bir " +"tamsayıyı temsil eden bir string, :class:`bytes` veya :class:`bytearray` örneği " +"olmalıdır. İsteğe bağlı olarak, dizeden önce ``+`` veya ``-`` (arada boşluk " +"olmadan) gelebilir, önünde sıfırlar olabilir, boşluklarla çevrelenebilir ve " +"rakamlar arasına serpiştirilmiş tek alt çizgilere sahip olabilir." #: library/functions.rst:900 msgid "" @@ -1770,24 +1743,24 @@ msgid "" "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 "" -"Bir taban-n tamsayı dizesi, her biri 0 ile n-1 arasında bir değeri temsil " -"eden rakamlar içerir. 0--9 değerleri herhangi bir Unicode ondalık basamağı " -"ile temsil edilebilir. 10-35 değerleri ``a`` ila ``z`` (veya ``A`` ila " -"``Z``) ile temsil edilebilir. Varsayılan *taban* 10'dur. İzin verilen " -"tabanlar 0 ve 2--36'dır. Taban-2, -8 ve -16 dizelerinin önüne isteğe bağlı " -"olarak ``0b``/``0B``, ``0o``/``0O`` veya ``0x``/``0X`` eklenebilir, tıpkı " -"koddaki tamsayı değişmezlerinde olduğu gibi. Taban 0 için, dize :ref:" -"`koddaki tamsayı değişmezi ` 'ne benzer bir şekilde yorumlanır, " -"gerçek taban önek tarafından belirlenen 2, 8, 10 veya 16'dır. Taban 0 ayrıca " -"baştaki sıfırlara da izin vermez: ``int('010', 0)`` yasal değilken, " -"``int('010')`` ve ``int('010', 8)`` yasaldır." +"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 "" +"Bir taban-n tamsayı dizesi, her biri 0 ile n-1 arasında bir değeri temsil eden " +"rakamlar içerir. 0--9 değerleri herhangi bir Unicode ondalık basamağı ile " +"temsil edilebilir. 10-35 değerleri ``a`` ila ``z`` (veya ``A`` ila ``Z``) ile " +"temsil edilebilir. Varsayılan *taban* 10'dur. İzin verilen tabanlar 0 ve " +"2--36'dır. Taban-2, -8 ve -16 dizelerinin önüne isteğe bağlı olarak ``0b``/" +"``0B``, ``0o``/``0O`` veya ``0x``/``0X`` eklenebilir, tıpkı koddaki tamsayı " +"değişmezlerinde olduğu gibi. Taban 0 için, dize :ref:`koddaki tamsayı " +"değişmezi ` 'ne benzer bir şekilde yorumlanır, gerçek taban önek " +"tarafından belirlenen 2, 8, 10 veya 16'dır. Taban 0 ayrıca baştaki sıfırlara da " +"izin vermez: ``int('010', 0)`` yasal değilken, ``int('010')`` ve ``int('010', " +"8)`` yasaldır." #: library/functions.rst:911 msgid "The integer type is described in :ref:`typesnumeric`." @@ -1795,15 +1768,15 @@ msgstr "Tam sayı tipi :ref:`typesnumeric` kısmında açıklandı." #: library/functions.rst:913 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 " -"obtain an integer for the base. Previous versions used :meth:`base.__int__ " -"` instead of :meth:`base.__index__ `." +"If *base* is not an instance of :class:`int` and the *base* object has a :meth:" +"`base.__index__ ` method, that method is called to obtain an " +"integer for the base. Previous versions used :meth:`base.__int__ ` instead of :meth:`base.__index__ `." msgstr "" "Eğer *base* bir :class:`int` örneği değilse ve *base* objesi :meth:`base." "__index__ ` metoduna sahipse, bu metot, taban için bir " -"tamsayı elde etmek için çağrılır. Önceki sürümler :meth:`base.__index__ " -"` yerine :meth:`base.__int__ ` 'i kullandı." +"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:926 msgid "Falls back to :meth:`__index__` if :meth:`__int__` is not defined." @@ -1816,41 +1789,38 @@ msgstr ":meth:`__trunc__` yetkisi kullanımdan kaldırıldı." #: library/functions.rst:932 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 " -"limit is exceeded while converting a string *x* to an :class:`int` or when " -"converting an :class:`int` into a string would exceed the limit. See the :" -"ref:`integer string conversion length limitation ` " -"documentation." -msgstr "" -":class:`int` dizi girişleri ve dizi gösterimleri, hizmet reddi " -"saldırılarından (DOS) kaçınmaya yardımcı olmak için sınırlandırılabilir. :" -"exc:`ValueError`, bir *x* dizgesini :class:`int` 'e dönüştürürken sınır " -"aşıldığında veya :class:`int` 'i bir dizgeye dönüştürürken sınırı aştığında " -"ortaya çıkar. :ref:`tam sayı dönüştürme uzunluk sınırlaması " -"` dokümanına bakın." +"avoid denial of service attacks. A :exc:`ValueError` is raised when the limit " +"is exceeded while converting a string *x* to an :class:`int` or when converting " +"an :class:`int` into a string would exceed the limit. See the :ref:`integer " +"string conversion length limitation ` documentation." +msgstr "" +":class:`int` dizi girişleri ve dizi gösterimleri, hizmet reddi saldırılarından " +"(DOS) kaçınmaya yardımcı olmak için sınırlandırılabilir. :exc:`ValueError`, bir " +"*x* dizgesini :class:`int` 'e dönüştürürken sınır aşıldığında veya :class:`int` " +"'i bir dizgeye dönüştürürken sınırı aştığında ortaya çıkar. :ref:`tam sayı " +"dönüştürme uzunluk sınırlaması ` dokümanına bakın." #: library/functions.rst:942 msgid "" "Return ``True`` if the *object* argument is an instance of the *classinfo* " -"argument, or of a (direct, indirect, or :term:`virtual `) subclass thereof. If *object* is not an object of the given type, " -"the function always returns ``False``. If *classinfo* is a tuple of type " -"objects (or recursively, other such tuples) or a :ref:`types-union` of " -"multiple types, return ``True`` if *object* is an instance of any of the " -"types. If *classinfo* is not a type or tuple of types and such tuples, a :" -"exc:`TypeError` exception is raised. :exc:`TypeError` may not be raised for " -"an invalid type if an earlier check succeeds." +"argument, or of a (direct, indirect, or :term:`virtual `) " +"subclass thereof. If *object* is not an object of the given type, the function " +"always returns ``False``. If *classinfo* is a tuple of type objects (or " +"recursively, other such tuples) or a :ref:`types-union` of multiple types, " +"return ``True`` if *object* is an instance of any of the types. If *classinfo* " +"is not a type or tuple of types and such tuples, a :exc:`TypeError` exception " +"is raised. :exc:`TypeError` may not be raised for an invalid type if an earlier " +"check succeeds." msgstr "" "*object* argümanı, *classinfo* argümanının bir örneğiyse veya (doğrudan, " -"dolaylı veya :term:`sanal `) alt sınıfının bir " -"örneğiyse ``True`` döndürür. Eğer *object* verilen tipte bir nesne değilse, " -"fonksiyon mutlaka ``False`` döndürür. *classinfo*, tür nesnelerinden oluşan " -"bir demet (veya yinelemeli olarak, bu tür diğer demetler) veya birden çok " -"türden bir :ref:`types-union` ise, ayrıca *object* bu verilen türlerden " -"herhangi birinin örneği ise ``True`` döndürür. Eğer *classinfo* bir tür veya " -"türler içeren bir tuple değilse, :exc:`TypeError` hatası ortaya çıkar. Eğer " -"önceden yapılmış bir kontrol başarılıysa :exc:`TypeError` geçersiz bir tip " -"için ortaya çıkmayabilir." +"dolaylı veya :term:`sanal `) alt sınıfının bir örneğiyse " +"``True`` döndürür. Eğer *object* verilen tipte bir nesne değilse, fonksiyon " +"mutlaka ``False`` döndürür. *classinfo*, tür nesnelerinden oluşan bir demet " +"(veya yinelemeli olarak, bu tür diğer demetler) veya birden çok türden bir :ref:" +"`types-union` ise, ayrıca *object* bu verilen türlerden herhangi birinin örneği " +"ise ``True`` döndürür. Eğer *classinfo* bir tür veya türler içeren bir tuple " +"değilse, :exc:`TypeError` hatası ortaya çıkar. Eğer önceden yapılmış bir " +"kontrol başarılıysa :exc:`TypeError` geçersiz bir tip için ortaya çıkmayabilir." #: library/functions.rst:967 msgid "*classinfo* can be a :ref:`types-union`." @@ -1858,46 +1828,46 @@ msgstr "*classinfo* bir :ref:`types-union` olabilir." #: library/functions.rst:959 msgid "" -"Return ``True`` if *class* is a subclass (direct, indirect, or :term:" -"`virtual `) of *classinfo*. A class is considered a " -"subclass of itself. *classinfo* may be a tuple of class objects (or " -"recursively, other such tuples) or a :ref:`types-union`, in which case " -"return ``True`` if *class* is a subclass of any entry in *classinfo*. In " -"any other case, a :exc:`TypeError` exception is raised." -msgstr "" -"Eğer *class*, *classinfo* 'nun bir alt sınıfıysa (doğrudan, dolaylı, veya :" -"term:`sanal `), ``True`` döndürür. Bir sınıf kendisinin " -"alt sınıfı olarak dikkate alınır. *classinfo* sınıf nesnelerinden oluşan bir " -"demet (veya tekrarlı diğer benzer demetler) veya :ref:`types-union` " -"olabilir, bu durumda eğer *class*, *classinfo* 'daki elemanlardan herhangi " -"birinin alt sınıfıysa ``True`` döndürülür. Diğer her durumda, :exc:" -"`TypeError` hatası ortaya çıkar." +"Return ``True`` if *class* is a subclass (direct, indirect, or :term:`virtual " +"`) of *classinfo*. A class is considered a subclass of " +"itself. *classinfo* may be a tuple of class objects (or recursively, other such " +"tuples) or a :ref:`types-union`, in which case return ``True`` if *class* is a " +"subclass of any entry in *classinfo*. In any other case, a :exc:`TypeError` " +"exception is raised." +msgstr "" +"Eğer *class*, *classinfo* 'nun bir alt sınıfıysa (doğrudan, dolaylı, veya :term:" +"`sanal `), ``True`` döndürür. Bir sınıf kendisinin alt " +"sınıfı olarak dikkate alınır. *classinfo* sınıf nesnelerinden oluşan bir demet " +"(veya tekrarlı diğer benzer demetler) veya :ref:`types-union` olabilir, bu " +"durumda eğer *class*, *classinfo* 'daki elemanlardan herhangi birinin alt " +"sınıfıysa ``True`` döndürülür. Diğer her durumda, :exc:`TypeError` hatası " +"ortaya çıkar." #: library/functions.rst:974 msgid "" "Return an :term:`iterator` object. The first argument is interpreted very " -"differently depending on the presence of the second argument. Without a " -"second argument, *object* must be a collection object which supports the :" -"term:`iterable` protocol (the :meth:`__iter__` method), or it must support " -"the sequence protocol (the :meth:`__getitem__` method with integer arguments " +"differently depending on the presence of the second argument. Without a second " +"argument, *object* must be a collection object which supports the :term:" +"`iterable` protocol (the :meth:`__iter__` method), or it must support the " +"sequence protocol (the :meth:`__getitem__` method with integer arguments " "starting at ``0``). If it does not support either of those protocols, :exc:" "`TypeError` is raised. If the second argument, *sentinel*, is given, then " "*object* must be a callable object. The iterator created in this case will " -"call *object* with no arguments for each call to its :meth:`~iterator." -"__next__` method; if the value returned is equal to *sentinel*, :exc:" -"`StopIteration` will be raised, otherwise the value will be returned." +"call *object* with no arguments for each call to its :meth:`~iterator.__next__` " +"method; if the value returned is equal to *sentinel*, :exc:`StopIteration` will " +"be raised, otherwise the value will be returned." msgstr "" "Bir :term:`iterator` nesnesi döndürür. İlk parametre ikinci parametrenin " "sunumuna oldukça bağımlı bir şekilde yorumlanır. İkinci parametre yoksa, " -"*nesne* :term:`iterable` protokolünü (:meth:`__iter__` metodu) destekleyen " -"bir koleksiyon objesi olmalıdır veya dizi protokolünü (``0`` 'dan başlayarak " -"tam sayı değerleri alan :meth:`__getitem__` metodu) desteklemelidir. Eğer bu " -"iki protokolü de desteklemiyorsa, :exc:`TypeError` hatası ortaya çıkar. Eğer " -"2. argüman, *sentinel*, verildiyse, *nesne* çağırılabilir bir nesne " -"olmalıdır. Bu durumda oluşturulan yineleyici, :meth:`~iterator.__next__` " -"yöntemine yapılan her çağrı için hiçbir argüman olmadan *nesne* 'yi çağırır; " -"döndürülen değer *sentinel* 'e eşitse, :exc:`StopIteration` hatası ortaya " -"çıkar, aksi takdirde değer döndürülür." +"*nesne* :term:`iterable` protokolünü (:meth:`__iter__` metodu) destekleyen bir " +"koleksiyon objesi olmalıdır veya dizi protokolünü (``0`` 'dan başlayarak tam " +"sayı değerleri alan :meth:`__getitem__` metodu) desteklemelidir. Eğer bu iki " +"protokolü de desteklemiyorsa, :exc:`TypeError` hatası ortaya çıkar. Eğer 2. " +"argüman, *sentinel*, verildiyse, *nesne* çağırılabilir bir nesne olmalıdır. Bu " +"durumda oluşturulan yineleyici, :meth:`~iterator.__next__` yöntemine yapılan " +"her çağrı için hiçbir argüman olmadan *nesne* 'yi çağırır; döndürülen değer " +"*sentinel* 'e eşitse, :exc:`StopIteration` hatası ortaya çıkar, aksi takdirde " +"değer döndürülür." #: library/functions.rst:987 msgid "See also :ref:`typeiter`." @@ -1905,28 +1875,28 @@ msgstr "Ayrıca :ref:`typeiter` bkz." #: library/functions.rst:989 msgid "" -"One useful application of the second form of :func:`iter` is to build a " -"block-reader. For example, reading fixed-width blocks from a binary database " -"file until the end of file is reached::" +"One useful application of the second form of :func:`iter` is to build a block-" +"reader. For example, reading fixed-width blocks from a binary database file " +"until the end of file is reached::" msgstr "" ":func:`iter` 'in ikinci formunun kullanışlı uygulamalarından biri bir blok " -"okuyucu inşaa etmektir. Örnek olarak, dosyanın sonuna ulaşılana kadar ikili " -"bir veritabanı dosyasından sabit genişlikte bloklar okunurken::" +"okuyucu inşaa etmektir. Örnek olarak, dosyanın sonuna ulaşılana kadar ikili bir " +"veritabanı dosyasından sabit genişlikte bloklar okunurken::" #: library/functions.rst:1001 msgid "" "Return the length (the number of items) of an object. The argument may be a " -"sequence (such as a string, bytes, tuple, list, or range) or a collection " -"(such as a dictionary, set, or frozen set)." +"sequence (such as a string, bytes, tuple, list, or range) or a collection (such " +"as a dictionary, set, or frozen set)." msgstr "" -"Bir objenin uzunluğunu (element sayısını) döndürür. Argüman bir dizi " -"(örneğin dize, bytes, demet, liste veya aralık) veya bir koleksiyon (örneğin " -"sözlük, küme veya dondurulmuş küme) olabilir." +"Bir objenin uzunluğunu (element sayısını) döndürür. Argüman bir dizi (örneğin " +"dize, bytes, demet, liste veya aralık) veya bir koleksiyon (örneğin sözlük, " +"küme veya dondurulmuş küme) olabilir." #: library/functions.rst:1007 msgid "" -"``len`` raises :exc:`OverflowError` on lengths larger than :data:`sys." -"maxsize`, such as :class:`range(2 ** 100) `." +"``len`` raises :exc:`OverflowError` on lengths larger than :data:`sys.maxsize`, " +"such as :class:`range(2 ** 100) `." msgstr "" "``len``, :class:`range(2 ** 100) ` gibi :data:`sys.maxsize` 'dan daha " "geniş uzunluklar için :exc:`OverflowError` hatası ortaya çıkartır." @@ -1943,19 +1913,18 @@ msgstr "" 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 " -"blocks, but not in class blocks. Note that at the module level, :func:" -"`locals` and :func:`globals` are the same dictionary." +"blocks, but not in class blocks. Note that at the module level, :func:`locals` " +"and :func:`globals` are the same dictionary." msgstr "" "Anlık yerel sembol tablosunu temsil eden bir sözlüğü günceller ve döndürür. " "Serbest değişkenler :func:`locals` fonksiyon bloklarında çağırıldığında onun " -"aracılığıyla döndürülür, aynısı sınıf bloklarında geçerli değildir. " -"Unutmayın ki modül seviyesinde, :func:`locals` ve :func:`globals` aynı " -"sözlüklerdir." +"aracılığıyla döndürülür, aynısı sınıf bloklarında geçerli değildir. Unutmayın " +"ki modül seviyesinde, :func:`locals` ve :func:`globals` aynı sözlüklerdir." #: library/functions.rst:1028 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." +"The contents of this dictionary should not be modified; changes may not affect " +"the values of local and free variables used by the interpreter." msgstr "" "Bu sözlüğün içeriği modifiye edilmemelidir, değişiklikler yorumlayıcı " "tarafından kullanılan yerel ve serbest değişkenlerin değerlerini " @@ -1965,61 +1934,57 @@ msgstr "" msgid "" "Return an iterator that applies *function* to every item of *iterable*, " "yielding the results. If additional *iterables* arguments are passed, " -"*function* must take that many arguments and is applied to the items from " -"all iterables in parallel. With multiple iterables, the iterator stops when " -"the shortest iterable is exhausted. For cases where the function inputs are " +"*function* must take that many arguments and is applied to the items from all " +"iterables in parallel. With multiple iterables, the iterator stops when the " +"shortest iterable is exhausted. For cases where the function inputs are " "already arranged into argument tuples, see :func:`itertools.starmap`\\." msgstr "" -"*iterable* 'in her elementini *function* 'a gönderen bir yineleyici döndürür " -"ve sonuçları sunar. Eğer ek *iterables* parametreleri verildiyse, *function* " -"o sayıda parametre almalı ve paralel bir şekilde tüm yinelenebilir " -"nesnelerden tüm elementleri uygulamalıdır. Birden fazla yinelenebilir nesne " -"ile, yineleyici en kısa yinelenebilir nesne tükendiğinde durur. Fonksiyon " -"girdilerinin zaten demetler halinde verildiği durumlar için, :func:" -"`itertools.starmap`\\ 'a bakın." +"*iterable* 'in her elementini *function* 'a gönderen bir yineleyici döndürür ve " +"sonuçları sunar. Eğer ek *iterables* parametreleri verildiyse, *function* o " +"sayıda parametre almalı ve paralel bir şekilde tüm yinelenebilir nesnelerden " +"tüm elementleri uygulamalıdır. Birden fazla yinelenebilir nesne ile, yineleyici " +"en kısa yinelenebilir nesne tükendiğinde durur. Fonksiyon girdilerinin zaten " +"demetler halinde verildiği durumlar için, :func:`itertools.starmap`\\ 'a bakın." #: library/functions.rst:1045 msgid "" -"Return the largest item in an iterable or the largest of two or more " -"arguments." +"Return the largest item in an iterable or the largest of two or more arguments." msgstr "" -"Bir yineleyicinin veya birden fazla parametrenin en büyük elementini " -"döndürür." +"Bir yineleyicinin veya birden fazla parametrenin en büyük elementini döndürür." #: library/functions.rst:1048 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 " -"arguments are provided, the largest of the positional arguments is returned." +"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 arguments " +"are provided, the largest of the positional arguments is returned." msgstr "" "Eğer bir konumsal parametre sağlandıysa, o bir :term:`iterable` olmalıdır. " -"Yineleyicinin en büyük elementi döndürülür. Eğer iki veya daha fazla " -"pozisyonel parametre sağlandıysa, pozisyonel parametrelerin en büyüğü " -"döndürülür." +"Yineleyicinin en büyük elementi döndürülür. Eğer iki veya daha fazla pozisyonel " +"parametre sağlandıysa, pozisyonel parametrelerin en büyüğü döndürülür." #: library/functions.rst:1091 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 " +"There are two optional keyword-only arguments. The *key* argument specifies a " +"one-argument ordering function like that used for :meth:`list.sort`. The " "*default* argument specifies an object to return if the provided iterable is " "empty. If the iterable is empty and *default* is not provided, a :exc:" "`ValueError` is raised." msgstr "" -"İki tane opsiyonel anahtar kelime parametresi vardır. *key* parametresi, :" -"meth:`list.sort` için kullanıldığı gibi bir parametre talep etme " -"fonksiyonunu belirtir. *varsayılan* parametre, sağlanan yineleyici boş ise " -"döndürülecek nesneyi belirtir. Eğer yineleyici boş ve *varsayılan* " -"verilmemiş ise, :exc:`ValueError` hatası ortaya çıkar." +"İki tane opsiyonel anahtar kelime parametresi vardır. *key* parametresi, :meth:" +"`list.sort` için kullanıldığı gibi bir parametre talep etme fonksiyonunu " +"belirtir. *varsayılan* parametre, sağlanan yineleyici boş ise döndürülecek " +"nesneyi belirtir. Eğer yineleyici boş ve *varsayılan* verilmemiş ise, :exc:" +"`ValueError` hatası ortaya çıkar." #: library/functions.rst:1059 msgid "" -"If multiple items are maximal, the function returns the first one " -"encountered. This is consistent with other sort-stability preserving tools " -"such as ``sorted(iterable, key=keyfunc, reverse=True)[0]`` and ``heapq." -"nlargest(1, iterable, key=keyfunc)``." +"If multiple items are maximal, the function returns the first one encountered. " +"This is consistent with other sort-stability preserving tools such as " +"``sorted(iterable, key=keyfunc, reverse=True)[0]`` and ``heapq.nlargest(1, " +"iterable, key=keyfunc)``." msgstr "" -"Eğer birden fazla element en büyük ise, fonksiyon ilk rastlananı döndürür. " -"bu ``sorted(iterable, key=keyfunc, reverse=True)[0]`` ve ``heapq.nlargest(1, " +"Eğer birden fazla element en büyük ise, fonksiyon ilk rastlananı döndürür. bu " +"``sorted(iterable, key=keyfunc, reverse=True)[0]`` ve ``heapq.nlargest(1, " "iterable, key=keyfunc)`` gibi sıralama kararlılığı muhafaza eden araçlar ile " "uygundur." @@ -2036,22 +2001,22 @@ msgid "" "Return a \"memory view\" object created from the given argument. See :ref:" "`typememoryview` for more information." msgstr "" -"Verilen argümandan oluşturulan bir \"memory view\" objesi döndürür. Daha " -"fazla bilgi için :ref:`typememoryview` bkz." +"Verilen argümandan oluşturulan bir \"memory view\" objesi döndürür. Daha fazla " +"bilgi için :ref:`typememoryview` bkz." #: library/functions.rst:1083 msgid "" "Return the smallest item in an iterable or the smallest of two or more " "arguments." msgstr "" -"Bir yineleyicideki en küçük elementi veya birden fazla argümandan en " -"küçüğünü döndürür." +"Bir yineleyicideki en küçük elementi veya birden fazla argümandan en küçüğünü " +"döndürür." #: library/functions.rst:1086 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 " -"arguments are provided, the smallest of the positional arguments is returned." +"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 arguments " +"are provided, the smallest of the positional arguments is returned." msgstr "" "Eğer bir argüman sağlandıysa, argüman bir :term:`iterable` olmalıdır. " "Yineleyicinin en küçük elementi döndürülür. Eğer birden fazla argüman " @@ -2059,10 +2024,10 @@ msgstr "" #: library/functions.rst:1097 msgid "" -"If multiple items are minimal, the function returns the first one " -"encountered. This is consistent with other sort-stability preserving tools " -"such as ``sorted(iterable, key=keyfunc)[0]`` and ``heapq.nsmallest(1, " -"iterable, key=keyfunc)``." +"If multiple items are minimal, the function returns the first one encountered. " +"This is consistent with other sort-stability preserving tools such as " +"``sorted(iterable, key=keyfunc)[0]`` and ``heapq.nsmallest(1, iterable, " +"key=keyfunc)``." msgstr "" "Eğer birden fazla element minimum ise, ilk karşılaşılan döndürülür. Bu, " "``sorted(iterable, key=keyfunc)[0]`` ve ``heapq.nsmallest(1, iterable, " @@ -2081,28 +2046,27 @@ msgstr "" #: library/functions.rst:1119 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 " -"function does not accept any arguments." +"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 function " +"does not accept any arguments." msgstr "" -"Yeni bir niteliksiz nesne döndürün. :class:`object` tüm sınıflar için " -"temeldir. Tüm Python sınıflarında bulunan genel metotları içerir. Bu " -"fonksiyon hiçbir argüman kabul etmez." +"Yeni bir niteliksiz nesne döndürün. :class:`object` tüm sınıflar için temeldir. " +"Tüm Python sınıflarında bulunan genel metotları içerir. Bu fonksiyon hiçbir " +"argüman kabul etmez." #: library/functions.rst:1125 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." +":class:`object` does *not* have a :attr:`~object.__dict__`, so you can't assign " +"arbitrary attributes to an instance of the :class:`object` class." 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:1131 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` " -"object, it has to define an :meth:`__index__` method that returns an " -"integer. For example:" +"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` object, it " +"has to define an :meth:`__index__` method that returns an integer. For example:" msgstr "" "Bir tamsayıyı \"0o\" ön ekiyle oktal bir dizeye çevirir. Sonuç geçerli bir " "Python ifadesidir. Eğer *x* bir Python :class:`int` nesnesi değilse, tamsayı " @@ -2113,14 +2077,14 @@ 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." 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." +"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:1158 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 " -"examples of how to use this function." +"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 examples " +"of how to use this function." msgstr "" "*file* 'ı açar ve buna karşılık gelen :term:`file object` 'i döndürür. Eğer " "dosya açılamazsa, :exc:`OSError` hatası ortaya çıkar. Bu fonksiyonun nasıl " @@ -2128,15 +2092,15 @@ msgstr "" #: library/functions.rst:1162 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 " -"integer file descriptor of the file to be wrapped. (If a file descriptor is " -"given, it is closed when the returned I/O object is closed unless *closefd* " -"is set to ``False``.)" +"*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 integer file " +"descriptor of the file to be wrapped. (If a file descriptor is given, it is " +"closed when the returned I/O object is closed unless *closefd* is set to " +"``False``.)" msgstr "" "*file*, açılan dosyanın açılması veya dosyanın bir tam sayı dosya " -"tanımlayıcısının paketlenmesi için bir yol adını (mutlak veya geçerli " -"çalışma dizinine göre) veren :term:`path-like object` 'dir. (Eğer bir dosya " +"tanımlayıcısının paketlenmesi için bir yol adını (mutlak veya geçerli çalışma " +"dizinine göre) veren :term:`path-like object` 'dir. (Eğer bir dosya " "açıklayıcısı veirldiyse, *closefd*, ``False`` 'a ayarlanmadığı sürece I/O " "nesnesi kapatıldığında kapatılır." @@ -2144,25 +2108,24 @@ msgstr "" 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. " -"Other common values are ``'w'`` for writing (truncating the file if it " -"already exists), ``'x'`` for exclusive creation, and ``'a'`` for appending " -"(which on *some* Unix systems, means that *all* writes append to the end of " -"the file regardless of the current seek position). In text mode, if " -"*encoding* is not specified the encoding used is platform-dependent: :func:" -"`locale.getencoding()` is called to get the current locale encoding. (For " -"reading and writing raw bytes use binary mode and leave *encoding* " -"unspecified.) The available modes are:" +"Other common values are ``'w'`` for writing (truncating the file if it already " +"exists), ``'x'`` for exclusive creation, and ``'a'`` for appending (which on " +"*some* Unix systems, means that *all* writes append to the end of the file " +"regardless of the current seek position). In text mode, if *encoding* is not " +"specified the encoding used is platform-dependent: :func:`locale.getencoding()` " +"is called to get the current locale encoding. (For reading and writing raw " +"bytes use binary mode and leave *encoding* unspecified.) The available modes " +"are:" msgstr "" "*mode* dosyanın açılacağı modu belirten opsiyonel bir dizedir. Varsayılan " -"olarak metin modunda okuma anlamına gelen ``'r'`` değerini alır. Diğer " -"sıradan değerler yazmak için (dosya zaten varsa kesilir) ``'w'``, " -"ayrıcalıklı oluşturma için ``'x'`` ve dosyaya ekleme yapmak için (*bazı* " -"Unix sistemlerinde, *hepsi* o anki imleç pozisyonundan bağımsız dosyanın " -"sonuna ekleme anlamına gelir). Metin modunda, *encoding* belirtilmemiş ise " -"kullanılan kodlayıcı platforma bağlıdır: :func:`locale." -"getpreferredencoding(False)` geçerli kodlayıcıyı getirmek için çağırılır. " -"(İşlenmemiş baytlar okumak veya yazmak için ikili modu kullanın ve " -"*encoding* 'i boş bırakın. Geçerli modlar:" +"olarak metin modunda okuma anlamına gelen ``'r'`` değerini alır. Diğer sıradan " +"değerler yazmak için (dosya zaten varsa kesilir) ``'w'``, ayrıcalıklı oluşturma " +"için ``'x'`` ve dosyaya ekleme yapmak için (*bazı* Unix sistemlerinde, *hepsi* " +"o anki imleç pozisyonundan bağımsız dosyanın sonuna ekleme anlamına gelir). " +"Metin modunda, *encoding* belirtilmemiş ise kullanılan kodlayıcı platforma " +"bağlıdır: :func:`locale.getpreferredencoding(False)` geçerli kodlayıcıyı " +"getirmek için çağırılır. (İşlenmemiş baytlar okumak veya yazmak için ikili modu " +"kullanın ve *encoding* 'i boş bırakın. Geçerli modlar:" #: library/functions.rst:1185 msgid "Character" @@ -2240,27 +2203,26 @@ msgstr "" #: library/functions.rst:1200 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* " -"argument) return contents as :class:`bytes` objects without any decoding. " -"In text mode (the default, or when ``'t'`` is included in the *mode* " -"argument), the contents of the file are returned as :class:`str`, the bytes " -"having been first decoded using a platform-dependent encoding or using the " -"specified *encoding* if given." +"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* " +"argument) return contents as :class:`bytes` objects without any decoding. In " +"text mode (the default, or when ``'t'`` is included in the *mode* argument), " +"the contents of the file are returned as :class:`str`, the bytes having been " +"first decoded using a platform-dependent encoding or using the specified " +"*encoding* if given." msgstr "" ":ref:`io-overview` 'de bahsedildiği gibi, Python ikili ve metin I/O arasında " "ayrım yapar. İkili modda (*mode* parametresinde ``'b'`` 'yi içererek) açılan " -"dosyalar, içerikleri :class:`bytes` nesneleri halinde deşifre etmeden " -"döndürür. Metin modunda (varsayılan, veya *mode* parametresinde ``'t'`` " -"içerildiğinde), dosyanın içeriği :class:`str` olarak döndürülür, baytlar " -"platforma bağlı bir kodlayıcı veya belirtilen *encoding* 'i kullanarak " -"deşifre edilir." +"dosyalar, içerikleri :class:`bytes` nesneleri halinde deşifre etmeden döndürür. " +"Metin modunda (varsayılan, veya *mode* parametresinde ``'t'`` içerildiğinde), " +"dosyanın içeriği :class:`str` olarak döndürülür, baytlar platforma bağlı bir " +"kodlayıcı veya belirtilen *encoding* 'i kullanarak deşifre edilir." #: library/functions.rst:1210 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 " -"platform-independent." +"files; all the processing is done by Python itself, and is therefore platform-" +"independent." msgstr "" "Python, temel alınan işletim sisteminin metin dosyaları kavramına bağlı " "değildir. Tüm işlemler Python'un kendisi tarafından yapılır ve bu yüzden de " @@ -2268,15 +2230,15 @@ msgstr "" #: library/functions.rst:1214 msgid "" -"*buffering* is an optional integer used to set the buffering policy. Pass 0 " -"to switch buffering off (only allowed in binary mode), 1 to select line " -"buffering (only usable in text mode), and an integer > 1 to indicate the " -"size in bytes of a fixed-size chunk buffer. Note that specifying a buffer " -"size this way applies for binary buffered I/O, but ``TextIOWrapper`` (i.e., " -"files opened with ``mode='r+'``) would have another buffering. To disable " -"buffering in ``TextIOWrapper``, consider using the ``write_through`` flag " -"for :func:`io.TextIOWrapper.reconfigure`. When no *buffering* argument is " -"given, the default buffering policy works as follows:" +"*buffering* is an optional integer used to set the buffering policy. Pass 0 to " +"switch buffering off (only allowed in binary mode), 1 to select line buffering " +"(only usable in text mode), and an integer > 1 to indicate the size in bytes of " +"a fixed-size chunk buffer. Note that specifying a buffer size this way applies " +"for binary buffered I/O, but ``TextIOWrapper`` (i.e., files opened with " +"``mode='r+'``) would have another buffering. To disable buffering in " +"``TextIOWrapper``, consider using the ``write_through`` flag for :func:`io." +"TextIOWrapper.reconfigure`. When no *buffering* argument is given, the default " +"buffering policy works as follows:" msgstr "" "*buffering*, arabelleğe alma ilkesini ayarlamak için kullanılan isteğe bağlı " "bir tamsayıdır. Arabelleğe almayı kapatmak için 0 (yalnızca ikili modda izin " @@ -2297,16 +2259,16 @@ msgid "" "size\" and falling back on :attr:`io.DEFAULT_BUFFER_SIZE`. On many systems, " "the buffer will typically be 4096 or 8192 bytes long." msgstr "" -"İkili dosyalar sabit boyutlu yığınlarda arabelleğe alınır; arabelleğin " -"boyutu temel cihazın \"blok boyutu\"'nu belirlemek için buluşsal bir deney " +"İkili dosyalar sabit boyutlu yığınlarda arabelleğe alınır; arabelleğin boyutu " +"temel cihazın \"blok boyutu\"'nu belirlemek için buluşsal bir deney " "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:1229 msgid "" -"\"Interactive\" text files (files for which :meth:`~io.IOBase.isatty` " -"returns ``True``) use line buffering. Other text files use the policy " -"described above for binary files." +"\"Interactive\" text files (files for which :meth:`~io.IOBase.isatty` returns " +"``True``) use line buffering. Other text files use the policy described above " +"for binary files." msgstr "" "\"İnteraktif\" metin dosyaları (:meth:`~io.IOBase.isatty` 'nın ``True`` " "döndürdüğü dosyalar) satır arabelleğe almayı kullanır. Diğer metin dosyaları " @@ -2314,26 +2276,26 @@ msgstr "" #: library/functions.rst:1233 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 " -"dependent (whatever :func:`locale.getencoding` returns), but any :term:`text " -"encoding` supported by Python can be used. See the :mod:`codecs` module for " -"the list of supported encodings." +"*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 dependent " +"(whatever :func:`locale.getencoding` returns), but any :term:`text encoding` " +"supported by Python can be used. See the :mod:`codecs` module for the list of " +"supported encodings." msgstr "" "*encoding* dosyayı kodlamak veya deşifre etmek için kullanılan kodlayıcının " "ismidir. Bu sadece metin modunda kullanılmalıdır. Varsayılan kodlayıcı " -"platforma bağımlıdır (:func:`locale.getpreferredencoding` ne döndürüyorsa), " -"ama Python tarafından desteklenen herhangi bir :term:`text encoding` " -"kullanılabilir. Desteklenen kodlayıcıların listesi için :mod:`codecs` " -"modülüne bkz." +"platforma bağımlıdır (:func:`locale.getpreferredencoding` ne döndürüyorsa), ama " +"Python tarafından desteklenen herhangi bir :term:`text encoding` " +"kullanılabilir. Desteklenen kodlayıcıların listesi için :mod:`codecs` modülüne " +"bkz." #: library/functions.rst:1239 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 " -"standard error handlers are available (listed under :ref:`error-handlers`), " -"though any error handling name that has been registered with :func:`codecs." -"register_error` is also valid. The standard names include:" +"*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 standard " +"error handlers are available (listed under :ref:`error-handlers`), though any " +"error handling name that has been registered with :func:`codecs.register_error` " +"is also valid. The standard names include:" msgstr "" "*errors* şifreleme ve deşifreleme hatalarının nasıl işleneceğini belirten " "opsiyonel bir dizedir—bu ikili modda kullanılamaz. Bazı standart hata " @@ -2347,16 +2309,15 @@ msgid "" "error. The default value of ``None`` has the same effect." msgstr "" "``'strict'``, bir kodlama hatası varsa bir :exc:`ValueError` istisnasını " -"yükseltmek için kullanılır. Varsayılan değer ``None`` ile aynı etkiyi " -"gösterir." +"yükseltmek için kullanılır. Varsayılan değer ``None`` ile aynı etkiyi gösterir." #: library/functions.rst:1251 msgid "" "``'ignore'`` ignores errors. Note that ignoring encoding errors can lead to " "data loss." msgstr "" -"``'ignore'`` hataları görmezden gelir. Kodlayıcı hatalarını görmezden " -"gelmenin veri kaybı ile sonuçlanabileceğini unutmayın." +"``'ignore'`` hataları görmezden gelir. Kodlayıcı hatalarını görmezden gelmenin " +"veri kaybı ile sonuçlanabileceğini unutmayın." #: library/functions.rst:1254 msgid "" @@ -2364,19 +2325,18 @@ msgid "" "where there is malformed data." msgstr "" "``'replace'`` hatalı biçimlendirilmiş veri olduğunda bir yedek işaretleyici " -"(``'?'`` gibi) 'nin hatalı biçimlendirilmiş verinin yerine geçmesine neden " -"olur." +"(``'?'`` gibi) 'nin hatalı biçimlendirilmiş verinin yerine geçmesine neden olur." #: library/functions.rst:1257 msgid "" -"``'surrogateescape'`` will represent any incorrect bytes as low surrogate " -"code units ranging from U+DC80 to U+DCFF. These surrogate code units will " -"then be turned back into the same bytes when the ``surrogateescape`` error " -"handler is used when writing data. This is useful for processing files in " -"an unknown encoding." +"``'surrogateescape'`` will represent any incorrect bytes as low surrogate code " +"units ranging from U+DC80 to U+DCFF. These surrogate code units will then be " +"turned back into the same bytes when the ``surrogateescape`` error handler is " +"used when writing data. This is useful for processing files in an unknown " +"encoding." msgstr "" -"``'surrogateescape'``, hatalı baytları U+DC80'den U+DCFF'ye kadar değişen " -"vekil kod birimleri olarak sunacaktır. Bu vekil kod birimleri sonradan " +"``'surrogateescape'``, hatalı baytları U+DC80'den U+DCFF'ye kadar değişen vekil " +"kod birimleri olarak sunacaktır. Bu vekil kod birimleri sonradan " "``surrogateescape`` hata işleyicisi veri yazmak için kullanıldığında aynı " "baytlara geri döndürülecektir. Bu dosyaları bilinmeyen bir kodlayıcıyla " "işlerken kullanışlıdır." @@ -2384,20 +2344,20 @@ msgstr "" #: library/functions.rst:1264 msgid "" "``'xmlcharrefreplace'`` is only supported when writing to a file. Characters " -"not supported by the encoding are replaced with the appropriate XML " -"character reference ``&#nnn;``." +"not supported by the encoding are replaced with the appropriate XML character " +"reference ``&#nnn;``." msgstr "" -"``'xmlcharrefreplace'`` sadece bir dosyaya veri yazarken desteklenir. " -"Kodlayıcı tarafından desteklenmeyen karakterler uygun XML karakter örneği " -"ile değiştirilir." +"``'xmlcharrefreplace'`` sadece bir dosyaya veri yazarken desteklenir. Kodlayıcı " +"tarafından desteklenmeyen karakterler uygun XML karakter örneği ile " +"değiştirilir." #: library/functions.rst:1268 msgid "" -"``'backslashreplace'`` replaces malformed data by Python's backslashed " -"escape sequences." +"``'backslashreplace'`` replaces malformed data by Python's backslashed escape " +"sequences." msgstr "" -"``'backslashreplace'`` Python'un ters slash kaçış karakterleri yüzünden " -"oluşan hatalı veriyi değiştirir." +"``'backslashreplace'`` Python'un ters slash kaçış karakterleri yüzünden oluşan " +"hatalı veriyi değiştirir." #: library/functions.rst:1271 msgid "" @@ -2409,45 +2369,44 @@ msgstr "" #: library/functions.rst:1279 msgid "" -"*newline* determines how to parse newline characters from the stream. It can " -"be ``None``, ``''``, ``'\\n'``, ``'\\r'``, and ``'\\r\\n'``. It works as " -"follows:" +"*newline* determines how to parse newline characters from the stream. It can be " +"``None``, ``''``, ``'\\n'``, ``'\\r'``, and ``'\\r\\n'``. It works as follows:" msgstr "" -"*newline* akıştan yeni satır karakterlerinin nasıl ayrıştırılacağını " -"belirler. ``None``, ``''``, ``'\\n'``, ``'\\r'`` ve ``'\\r\\n'`` olabilir. " -"Aşağıdaki gibi çalışır:" +"*newline* akıştan yeni satır karakterlerinin nasıl ayrıştırılacağını belirler. " +"``None``, ``''``, ``'\\n'``, ``'\\r'`` ve ``'\\r\\n'`` olabilir. Aşağıdaki gibi " +"çalışır:" #: library/functions.rst:1283 msgid "" "When reading input from the stream, if *newline* is ``None``, universal " -"newlines mode is enabled. Lines in the input can end in ``'\\n'``, " -"``'\\r'``, or ``'\\r\\n'``, and these are translated into ``'\\n'`` before " -"being returned to the caller. If it is ``''``, universal newlines mode is " -"enabled, but line endings are returned to the caller untranslated. If it " -"has any of the other legal values, input lines are only terminated by the " -"given string, and the line ending is returned to the caller untranslated." +"newlines mode is enabled. Lines in the input can end in ``'\\n'``, ``'\\r'``, " +"or ``'\\r\\n'``, and these are translated into ``'\\n'`` before being returned " +"to the caller. If it is ``''``, universal newlines mode is enabled, but line " +"endings are returned to the caller untranslated. If it has any of the other " +"legal values, input lines are only terminated by the given string, and the line " +"ending is returned to the caller untranslated." msgstr "" "Akıştan veri okurken eğer *newline* ``None`` ise, evrensel *newlines* aktif " -"hale getirilir. Girdideki satırlar ``'\\n'``, ``'\\r'``, veya ``'\\r\\n'`` " -"ile bitebilirler ve bunlar çağrıcıya döndürülmeden önce ``'\\n'`` 'e " -"çevrilirler. Eğer ``''`` ise, evrensel *newlines* aktif hale getirilir ama " -"satır sonları çağrıcıya çevrilmeden döndürülürler. Eğer başka bir geçerli " -"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." +"hale getirilir. Girdideki satırlar ``'\\n'``, ``'\\r'``, veya ``'\\r\\n'`` ile " +"bitebilirler ve bunlar çağrıcıya döndürülmeden önce ``'\\n'`` 'e çevrilirler. " +"Eğer ``''`` ise, evrensel *newlines* aktif hale getirilir ama satır sonları " +"çağrıcıya çevrilmeden döndürülürler. Eğer başka bir geçerli 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:1291 msgid "" "When writing output to the stream, if *newline* is ``None``, any ``'\\n'`` " -"characters written are translated to the system default line separator, :" -"data:`os.linesep`. If *newline* is ``''`` or ``'\\n'``, no translation " -"takes place. If *newline* is any of the other legal values, any ``'\\n'`` " -"characters written are translated to the given string." +"characters written are translated to the system default line separator, :data:" +"`os.linesep`. If *newline* is ``''`` or ``'\\n'``, no translation takes " +"place. If *newline* is any of the other legal values, any ``'\\n'`` characters " +"written are translated to the given string." msgstr "" -"Çıktıyı akışa yazarkeni eğer *newline* ``None`` ise, tüm ``'\\n'`` " -"karakterleri sistemin varsayılan satır ayırıcısına, :data:`os.linesep` 'e " -"dönüştürülür. Eğer *newline* ``\"`` veya ```'\\n'`` ise, bir dönüştürme " -"yapılmaz. Eğer *newline* diğer uygun değerlerden biri ise, tüm ``'\\n'`` " -"karakterleri verilen dizeye dönüştürülür." +"Çıktıyı akışa yazarkeni eğer *newline* ``None`` ise, tüm ``'\\n'`` karakterleri " +"sistemin varsayılan satır ayırıcısına, :data:`os.linesep` 'e dönüştürülür. Eğer " +"*newline* ``\"`` veya ```'\\n'`` ise, bir dönüştürme 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:1297 msgid "" @@ -2458,16 +2417,15 @@ msgid "" msgstr "" "Eğer *closefd*, ``False`` ise ve dosya adı yerine bir dosya tanımlayıcısı " "verildiyse, dosya kapatıldığında temel dosya tanımlayıcısı açık kalacaktır. " -"Eğer bir dosya adı verildiyse, *closefd* ``True`` olmalıdır (varsayılan); " -"aksi takdirde, bir hata ortaya çıkar." +"Eğer bir dosya adı verildiyse, *closefd* ``True`` olmalıdır (varsayılan); aksi " +"takdirde, bir hata ortaya çıkar." #: library/functions.rst:1302 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 " -"*opener* with (*file*, *flags*). *opener* must return an open file " -"descriptor (passing :mod:`os.open` as *opener* results in functionality " -"similar to passing ``None``)." +"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 *opener* with " +"(*file*, *flags*). *opener* must return an open file descriptor (passing :mod:" +"`os.open` as *opener* results in functionality similar to passing ``None``)." msgstr "" "*opener* yerine bir çağrılabilir nesne verilerek özel bir açıcı " "kullanabilirsiniz. Dosya nesnesi için temel dosya tanımlayıcısı sonradan " @@ -2484,40 +2442,38 @@ 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::" 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:" +"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:1323 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 " -"mode (``'w'``, ``'r'``, ``'wt'``, ``'rt'``, etc.), it returns a subclass of :" -"class:`io.TextIOBase` (specifically :class:`io.TextIOWrapper`). When used " -"to open a file in a binary mode with buffering, the returned class is a " -"subclass of :class:`io.BufferedIOBase`. The exact class varies: in read " -"binary mode, it returns an :class:`io.BufferedReader`; in write binary and " -"append binary modes, it returns an :class:`io.BufferedWriter`, and in read/" -"write mode, it returns an :class:`io.BufferedRandom`. When buffering is " -"disabled, the raw stream, a subclass of :class:`io.RawIOBase`, :class:`io." -"FileIO`, is returned." +"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 mode (``'w'``, " +"``'r'``, ``'wt'``, ``'rt'``, etc.), it returns a subclass of :class:`io." +"TextIOBase` (specifically :class:`io.TextIOWrapper`). When used to open a file " +"in a binary mode with buffering, the returned class is a subclass of :class:`io." +"BufferedIOBase`. The exact class varies: in read binary mode, it returns an :" +"class:`io.BufferedReader`; in write binary and append binary modes, it returns " +"an :class:`io.BufferedWriter`, and in read/write mode, it returns an :class:`io." +"BufferedRandom`. When buffering is disabled, the raw stream, a subclass of :" +"class:`io.RawIOBase`, :class:`io.FileIO`, is returned." msgstr "" ":func:`open` metodu tarafından döndürülen :term:`file object` 'in tipi moda " -"bağlıdır. :func:`open` bir dosyayı metin modunda (``'w'``, ``'r'``, " -"``'wt'``, ``'rt'`` vb.) açmak için kullanıldığında, :class:`io.TextIOBase` " -"'in bir alt sınıfını döndürür (özellikle :class:`io.TextIOWrapper`). Bir " -"dosyayı ikili modda arabellek ile açmak için kullanıldığında, döndürülen " -"sınıf :class:`io.BufferedIOBase` 'ın alt sınıfıdır. Kesin sınıf değişkendir: " -"ikili okuma modunda, bir :class:`io.BufferedReader` döndürür; ikili yazma ve " -"ikili ekleme modunda, :class:`io.BufferedWriter` döndürür, ve okuma/yazma " -"modunda :class:`io.BufferedRandom` döndürür. Arabelleğe alma devre dışı " -"olduğunda, ham akış, :class:`io.RawIOBase` 'in alt sınıfı, :class:`io." -"FileIO` döndürülür." +"bağlıdır. :func:`open` bir dosyayı metin modunda (``'w'``, ``'r'``, ``'wt'``, " +"``'rt'`` vb.) açmak için kullanıldığında, :class:`io.TextIOBase` 'in bir alt " +"sınıfını döndürür (özellikle :class:`io.TextIOWrapper`). Bir dosyayı ikili " +"modda arabellek ile açmak için kullanıldığında, döndürülen sınıf :class:`io." +"BufferedIOBase` 'ın alt sınıfıdır. Kesin sınıf değişkendir: ikili okuma " +"modunda, bir :class:`io.BufferedReader` döndürür; ikili yazma ve ikili ekleme " +"modunda, :class:`io.BufferedWriter` döndürür, ve okuma/yazma modunda :class:`io." +"BufferedRandom` döndürür. Arabelleğe alma devre dışı olduğunda, ham akış, :" +"class:`io.RawIOBase` 'in alt sınıfı, :class:`io.FileIO` döndürülür." #: library/functions.rst:1344 msgid "" -"See also the file handling modules, such as :mod:`fileinput`, :mod:`io` " -"(where :func:`open` is declared), :mod:`os`, :mod:`os.path`, :mod:" -"`tempfile`, and :mod:`shutil`." +"See also the file handling modules, such as :mod:`fileinput`, :mod:`io` (where :" +"func:`open` is declared), :mod:`os`, :mod:`os.path`, :mod:`tempfile`, and :mod:" +"`shutil`." msgstr "" "Ayrıca :mod:`fileinput`, :mod:`io` (:func:`open` 'ın tanımlandığı yer), :mod:" "`os`, :mod:`os.path`, :mod:`tempfile`, ve :mod:`shutil` gibi dosya işleme " @@ -2536,8 +2492,8 @@ msgid "" "The ``mode`` and ``flags`` arguments may have been modified or inferred from " "the original call." msgstr "" -"``mode`` ve ``flags`` parametreleri orijinal çağrı tarafından modifiye " -"edilmiş veya çıkartılmış olabilir." +"``mode`` ve ``flags`` parametreleri orijinal çağrı tarafından modifiye edilmiş " +"veya çıkartılmış olabilir." #: library/functions.rst:1355 msgid "The *opener* parameter was added." @@ -2555,11 +2511,11 @@ msgstr "" #: library/functions.rst:1358 msgid "" -":exc:`FileExistsError` is now raised if the file opened in exclusive " -"creation mode (``'x'``) already exists." +":exc:`FileExistsError` is now raised if the file opened in exclusive creation " +"mode (``'x'``) already exists." msgstr "" -"Artık eğer özel oluşturma modunda (``'x'``) açılmış dosyalar zaten " -"bulunuyorsa :exc:`FileExistsError` hatası ortaya çıkar." +"Artık eğer özel oluşturma modunda (``'x'``) açılmış dosyalar zaten bulunuyorsa :" +"exc:`FileExistsError` hatası ortaya çıkar." #: library/functions.rst:1363 msgid "The file is now non-inheritable." @@ -2568,8 +2524,8 @@ msgstr "Dosya artık miras alınamaz." #: library/functions.rst:1367 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 :" -"exc:`InterruptedError` exception (see :pep:`475` for the rationale)." +"exception, the function now retries the system call instead of raising an :exc:" +"`InterruptedError` exception (see :pep:`475` for the rationale)." msgstr "" "Eğer sistem çağrısı bölündüyse ve sinyal işleyicisi bir hata ortaya " "çıkartmazsa, artık fonksiyon :exc:`InterruptedError` hatası ortaya çıkartmak " @@ -2588,8 +2544,8 @@ msgid "" "On Windows, opening a console buffer may return a subclass of :class:`io." "RawIOBase` other than :class:`io.FileIO`." 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." +"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:1378 msgid "The ``'U'`` mode has been removed." @@ -2616,30 +2572,29 @@ msgid "" msgstr "" "*base* 'in *exp* kuvvetini döndürür; *mod* verildiyse, aynı sayı % *mod* " "sonucunu döndürür (``pow(base,exp) % mod`` 'dan daha verimli işlenir). İki " -"parametreli formu ``pow(base, exp)``, üs operatörü ``base**exp`` kullanmaya " -"eş değerdir." +"parametreli formu ``pow(base, exp)``, üs operatörü ``base**exp`` kullanmaya eş " +"değerdir." #: library/functions.rst:1396 msgid "" -"The arguments must have numeric types. With mixed operand types, the " -"coercion rules for binary arithmetic operators apply. For :class:`int` " -"operands, the result has the same type as the operands (after coercion) " -"unless the second argument is negative; in that case, all arguments are " -"converted to float and a float result is delivered. For example, ``pow(10, " -"2)`` returns ``100``, but ``pow(10, -2)`` returns ``0.01``. For a negative " -"base of type :class:`int` or :class:`float` and a non-integral exponent, a " -"complex result is delivered. For example, ``pow(-9, 0.5)`` returns a value " -"close to ``3j``." +"The arguments must have numeric types. With mixed operand types, the coercion " +"rules for binary arithmetic operators apply. For :class:`int` operands, the " +"result has the same type as the operands (after coercion) unless the second " +"argument is negative; in that case, all arguments are converted to float and a " +"float result is delivered. For example, ``pow(10, 2)`` returns ``100``, but " +"``pow(10, -2)`` returns ``0.01``. For a negative base of type :class:`int` or :" +"class:`float` and a non-integral exponent, a complex result is delivered. For " +"example, ``pow(-9, 0.5)`` returns a value close to ``3j``." msgstr "" "Parametreler nümerik olmak zorundadır. Karışık işlenen türleriyle, ikili " -"aritmetik operatörler için baskı kuralları geçerlidir. :class:`int` " -"işlemleri için, ikinci parametre negatif olmadığı sürece sonuç işlenen ile " -"aynı türe sahip olmalıdır (baskıdan sonra); bu durumda, tüm parametreler " -"gerçel sayıya çevrilir ve bir gerçel sayı sonucu teslim edilir. Örneğin " -"``pow(10, 2)``, ``100`` değerini döndürür, ama ``pow(10, -2)``, ``0.01`` " -"değerini döndürür. integral olmayan bir üs ile :class:`int` veya :class:" -"`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." +"aritmetik operatörler için baskı kuralları geçerlidir. :class:`int` işlemleri " +"için, ikinci parametre negatif olmadığı sürece sonuç işlenen ile aynı türe " +"sahip olmalıdır (baskıdan sonra); bu durumda, tüm parametreler gerçel sayıya " +"çevrilir ve bir gerçel sayı sonucu teslim edilir. Örneğin ``pow(10, 2)``, " +"``100`` değerini döndürür, ama ``pow(10, -2)``, ``0.01`` değerini döndürür. " +"integral olmayan bir üs ile :class:`int` veya :class:`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:1406 msgid "" @@ -2652,8 +2607,7 @@ msgstr "" ":class:`int` işlemleri için *mod* verilmişse, *base* ve *exp* bir tam sayı " "olmalıdır, aynı zamanda *mod* sıfır olamaz. Eğer *mod* verilmişse ve *exp* " "negatifse, *base*, *mod* için görece asal olmalıdır. Bu durumda, " -"``pow(inv_base,-exp,mod)`` döndürülüri *inv_base, *base* mod *mod* 'un " -"tersidir." +"``pow(inv_base,-exp,mod)`` döndürülüri *inv_base, *base* mod *mod* 'un tersidir." #: library/functions.rst:1412 msgid "Here's an example of computing an inverse for ``38`` modulo ``97``::" @@ -2671,14 +2625,14 @@ msgstr "" msgid "" "Allow keyword arguments. Formerly, only positional arguments were supported." msgstr "" -"Anahtar kelime parametrelerine izin ver, önceden sadece pozisyonel " -"parametreler desteklenirdi." +"Anahtar kelime parametrelerine izin ver, önceden sadece pozisyonel parametreler " +"desteklenirdi." #: library/functions.rst:1431 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 " -"keyword arguments." +"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 keyword " +"arguments." msgstr "" "Metin akış *file* 'ına *sep* tarafından ayırılacak ve *end* ile bitirilecek " "şekilde *objects* 'i yazdırır. *sep*, *end, *file*, ve *flush* sunulursa " @@ -2689,8 +2643,7 @@ 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* " "and *end* must be strings; they can also be ``None``, which means to use the " -"default values. If no *objects* are given, :func:`print` will just write " -"*end*." +"default values. If no *objects* are given, :func:`print` will just write *end*." msgstr "" "Tüm anahtar kelime olmayan parametler :func:`str` 'in yaptığı gibi dizeye " "çevirilir ve *sep* tarafından ayırılıp *end* ile bitecek şekilde akışa " @@ -2700,23 +2653,23 @@ msgstr "" #: library/functions.rst:1441 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 " +"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 " "arguments are converted to text strings, :func:`print` cannot be used with " "binary mode file objects. For these, use ``file.write(...)`` instead." msgstr "" "*file* parametresi ``write(string)`` metodu içeren bir obje olmalıdır; eğer " "sunulmamış veya ``None`` ise, :data:`sys.stdout` kullanılacaktır. Yazdırılan " -"argümanlar metin dizelerine çevrildiğinden, :func:`print` ikili dosya " -"nesneleri ile kullanılamaz. Bunlar için, ``file.write(...)`` 'ı kullanın." +"argümanlar metin dizelerine çevrildiğinden, :func:`print` ikili dosya nesneleri " +"ile kullanılamaz. Bunlar için, ``file.write(...)`` 'ı kullanın." #: library/functions.rst:1446 msgid "" "Whether the output is buffered is usually determined by *file*, but if the " "*flush* keyword argument is true, the stream is forcibly flushed." 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." +"Çı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:1449 msgid "Added the *flush* keyword argument." @@ -2728,14 +2681,14 @@ msgstr "Bir özellik özelliği döndürür." #: library/functions.rst:1457 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 " -"attribute value. And *doc* creates a docstring for the attribute." +"*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 attribute " +"value. And *doc* creates a docstring for the attribute." msgstr "" "*fget* bir özelliğin değerini almak için kullanılan bir fonksiyondur. *fset* " -"bir özelliğin değerini ayarlamak için kullanılan bir fonksiyondur. *fdel* " -"bir özelliğin değerini silmek için kullanılan bir fonksiyondur, ve *doc* " -"özellik için bir belge dizisi oluşturur." +"bir özelliğin değerini ayarlamak için kullanılan bir fonksiyondur. *fdel* 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:1461 msgid "A typical use is to define a managed attribute ``x``::" @@ -2743,46 +2696,45 @@ msgstr "Yönetilen bir ``x`` özelliği tanımlamak için tipik bir yöntem::" #: library/functions.rst:1478 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." +"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." 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." +"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:1481 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 " -"possible to create read-only properties easily using :func:`property` as a :" -"term:`decorator`::" +"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 possible " +"to create read-only properties easily using :func:`property` as a :term:" +"`decorator`::" msgstr "" "Eğer verildiyse, *doc* property özelliğinin doküman dizisi olacaktır. Aksi " -"takdirde, property *fget* 'in (bulunuyorsa) doküman dizisini " -"kopyalayacaktır. Bu :func:`property` 'i :term:`decorator` olarak kullanarak " -"kolayca salt-okunur özellikler oluşturmayı mümkün kılar::" +"takdirde, property *fget* 'in (bulunuyorsa) doküman dizisini kopyalayacaktır. " +"Bu :func:`property` 'i :term:`decorator` olarak kullanarak kolayca salt-okunur " +"özellikler oluşturmayı mümkün kılar::" #: library/functions.rst:1494 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 " -"docstring for *voltage* to \"Get the current voltage.\"" +"The ``@property`` decorator turns the :meth:`voltage` method into a \"getter\" " +"for a read-only attribute with the same name, and it sets the docstring for " +"*voltage* to \"Get the current voltage.\"" msgstr "" -"``@property`` dekoratörü :meth:`voltage` metodunu aynı isimli salt-okunur " -"bir özellik için \"getter\" metoduna dönüştürür ve *voltage* için doküman " -"dizisini \"Get the current voltage.\" olarak ayarlar." +"``@property`` dekoratörü :meth:`voltage` metodunu aynı isimli salt-okunur 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:1498 msgid "" -"A property object has :attr:`~property.getter`, :attr:`~property.setter`, " -"and :attr:`~property.deleter` methods usable as decorators that create a " -"copy of the property with the corresponding accessor function set to the " -"decorated function. This is best explained with an example::" +"A property object has :attr:`~property.getter`, :attr:`~property.setter`, and :" +"attr:`~property.deleter` methods usable as decorators that create a copy of the " +"property with the corresponding accessor function set to the decorated " +"function. This is best explained with an example::" msgstr "" -"Bir property nesnesi, dekore edilmiş metoda ayarlanan ilgili erişimci " -"metoduyla özelliğin bir kopyasını oluşturmak için dekoratör olarak " -"kullanılabilen :attr:`~property.getter`, :attr:`~property.setter`, ve :attr:" -"`~property.deleter` metotlarını içerir. Bu en iyi şekilde bir örnekle " -"açıklanabilir::" +"Bir property nesnesi, dekore edilmiş metoda ayarlanan ilgili erişimci metoduyla " +"özelliğin bir kopyasını oluşturmak için dekoratör olarak kullanılabilen :attr:" +"`~property.getter`, :attr:`~property.setter`, ve :attr:`~property.deleter` " +"metotlarını içerir. Bu en iyi şekilde bir örnekle açıklanabilir::" #: library/functions.rst:1520 msgid "" @@ -2807,45 +2759,43 @@ msgstr "Property nesnelerinin doküman dizeleri artık yazılabilir." #: library/functions.rst:1536 msgid "" -"Rather than being a function, :class:`range` is actually an immutable " -"sequence type, as documented in :ref:`typesseq-range` and :ref:`typesseq`." +"Rather than being a function, :class:`range` is actually an immutable sequence " +"type, as documented in :ref:`typesseq-range` and :ref:`typesseq`." msgstr "" -"Bir metot olmaktansa, :class:`range` aslında bir değiştirilemez dizi " -"tipidir. Daha fazla bilgi için :ref:`typesseq-range` ve :ref:`typesseq` 'e " -"bakınız." +"Bir metot olmaktansa, :class:`range` aslında bir değiştirilemez dizi tipidir. " +"Daha fazla bilgi için :ref:`typesseq-range` ve :ref:`typesseq` 'e bakınız." #: library/functions.rst:1542 msgid "" -"Return a string containing a printable representation of an object. For " -"many types, this function makes an attempt to return a string that would " -"yield an object with the same value when passed to :func:`eval`; otherwise, " -"the representation is a string enclosed in angle brackets that contains the " -"name of the type of the object together with additional information often " -"including the name and address of the object. A class can control what this " -"function returns for its instances by defining a :meth:`__repr__` method. " -"If :func:`sys.displayhook` is not accessible, this function will raise :exc:" -"`RuntimeError`." -msgstr "" -"Bir nesnenin yazdırılabilir temsilini içeren bir dize döndürür. Birçok tür " -"için bu fonksiyon, :func:`eval`; fonksiyonuna iletildiğinde aynı değere " -"sahip bir nesne verecek bir dize döndürme girişiminde bulunur. Aksi halde " -"gösterim, genellikle nesnenin adı ve adresini içeren ek bilgilerle birlikte " -"nesnenin türünün adını içeren açılı ayraçlar içine alınmış bir dizedir. Bir " -"sınıf, bir :meth:`__repr__` yöntemi tanımlayarak bu işlevin örnekleri için " -"ne döndürdüğünü kontrol edebilir. :func:`sys.displayhook` erişilebilir " -"değilse, bu fonksiyon :exc:`RuntimeError` değerini yükseltir." +"Return a string containing a printable representation of an object. For many " +"types, this function makes an attempt to return a string that would yield an " +"object with the same value when passed to :func:`eval`; otherwise, the " +"representation is a string enclosed in angle brackets that contains the name of " +"the type of the object together with additional information often including the " +"name and address of the object. A class can control what this function returns " +"for its instances by defining a :meth:`__repr__` method. If :func:`sys." +"displayhook` is not accessible, this function will raise :exc:`RuntimeError`." +msgstr "" +"Bir nesnenin yazdırılabilir temsilini içeren bir dize döndürür. Birçok tür için " +"bu fonksiyon, :func:`eval`; fonksiyonuna iletildiğinde aynı değere sahip bir " +"nesne verecek bir dize döndürme girişiminde bulunur. Aksi halde gösterim, " +"genellikle nesnenin adı ve adresini içeren ek bilgilerle birlikte nesnenin " +"türünün adını içeren açılı ayraçlar içine alınmış bir dizedir. Bir sınıf, bir :" +"meth:`__repr__` yöntemi tanımlayarak bu işlevin örnekleri için ne döndürdüğünü " +"kontrol edebilir. :func:`sys.displayhook` erişilebilir değilse, bu fonksiyon :" +"exc:`RuntimeError` değerini yükseltir." #: library/functions.rst:1555 msgid "" -"Return a reverse :term:`iterator`. *seq* must be an object which has a :" -"meth:`__reversed__` method or supports the sequence protocol (the :meth:" -"`__len__` method and the :meth:`__getitem__` method with integer arguments " -"starting at ``0``)." +"Return a reverse :term:`iterator`. *seq* must be an object which has a :meth:" +"`__reversed__` method or supports the sequence protocol (the :meth:`__len__` " +"method and the :meth:`__getitem__` method with integer arguments starting at " +"``0``)." msgstr "" -"Ters bir :term:`iterator` döndürür. *seq* :meth:`__reversed__` metodunu " -"içeren veya dizi protokolünü (:meth:`__len__` metodu ve ``0`` ile başlayıp " -"tam sayı argümanları alan bir :meth:`__getitem__` metodu) destekleyen bir " -"nesne olmalıdır." +"Ters bir :term:`iterator` döndürür. *seq* :meth:`__reversed__` metodunu içeren " +"veya dizi protokolünü (:meth:`__len__` metodu ve ``0`` ile başlayıp tam sayı " +"argümanları alan bir :meth:`__getitem__` metodu) destekleyen bir nesne " +"olmalıdır." #: library/functions.rst:1563 msgid "" @@ -2861,19 +2811,19 @@ msgstr "" 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 " -"equally close, rounding is done toward the even choice (so, for example, " -"both ``round(0.5)`` and ``round(-0.5)`` are ``0``, and ``round(1.5)`` is " -"``2``). Any integer value is valid for *ndigits* (positive, zero, or " -"negative). The return value is an integer if *ndigits* is omitted or " -"``None``. Otherwise, the return value has the same type as *number*." -msgstr "" -":func:`round` 'u destekleyen yerleşik yapılar için, değerler 10 üssü " -"*ndigits* 'in en yakın katına yuvarlanır; eğer iki kat da eşitse, yuvarlama " -"işlemi çift sayıya doğru yapılır (örneğin, ``round(0.5)`` ve ``round(-0.5)`` " -"'in değerleri ``0`` 'dır. ve ``round(1.5)``, ``2`` 'dir). *ndigits* için " -"herhangi bir tamsayı değeri (pozitif, sıfır veya negatif) uygundur. " -"*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." +"equally close, rounding is done toward the even choice (so, for example, both " +"``round(0.5)`` and ``round(-0.5)`` are ``0``, and ``round(1.5)`` is ``2``). " +"Any integer value is valid for *ndigits* (positive, zero, or negative). The " +"return value is an integer if *ndigits* is omitted or ``None``. Otherwise, the " +"return value has the same type as *number*." +msgstr "" +":func:`round` 'u destekleyen yerleşik yapılar için, değerler 10 üssü *ndigits* " +"'in en yakın katına yuvarlanır; eğer iki kat da eşitse, yuvarlama işlemi çift " +"sayıya doğru yapılır (örneğin, ``round(0.5)`` ve ``round(-0.5)`` 'in değerleri " +"``0`` 'dır. ve ``round(1.5)``, ``2`` 'dir). *ndigits* için herhangi bir tamsayı " +"değeri (pozitif, sıfır veya negatif) uygundur. *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:1576 msgid "" @@ -2888,12 +2838,11 @@ 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 " "not a bug: it's a result of the fact that most decimal fractions can't be " -"represented exactly as a float. See :ref:`tut-fp-issues` for more " -"information." +"represented exactly as a float. See :ref:`tut-fp-issues` for more information." msgstr "" "Gerçel sayılar için :func:`round` 'un davranışı şaşırtıcı olabilir: örneğin " -"``round(2.675, 2)`` beklenen gibi ``2.68`` yerine ``2.67`` sonucunu verir. " -"Bu bir hata değil; çoğu ondalıklı kesir tamı tamına bir gerçel sayı olarak " +"``round(2.675, 2)`` beklenen gibi ``2.68`` yerine ``2.67`` sonucunu verir. Bu " +"bir hata değil; çoğu ondalıklı kesir tamı tamına bir gerçel sayı olarak " "gösterilemeyeceğinden bu sonucu alıyoruz. Daha fazla bilgi için :ref:`tut-fp-" "issues` 'e bkz." @@ -2909,21 +2858,20 @@ msgstr "" #: library/functions.rst:1597 msgid "" -"For other containers see the built-in :class:`frozenset`, :class:`list`, :" -"class:`tuple`, and :class:`dict` classes, as well as the :mod:`collections` " -"module." +"For other containers see the built-in :class:`frozenset`, :class:`list`, :class:" +"`tuple`, and :class:`dict` classes, as well as the :mod:`collections` module." msgstr "" "Diğer konteynerler için, yerleşik :class:`frozenset`, :class:`list`, :class:" -"`tuple` ve :class:`dict` sınıflarını; aynı zamanda :mod:`collections` " -"modülüne bakınız." +"`tuple` ve :class:`dict` sınıflarını; aynı zamanda :mod:`collections` modülüne " +"bakınız." #: library/functions.rst:1604 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 " -"or a new attribute. The function assigns the value to the attribute, " -"provided the object allows it. For example, ``setattr(x, 'foobar', 123)`` " -"is equivalent to ``x.foobar = 123``." +"string, and an arbitrary value. The string may name an existing attribute or a " +"new attribute. The function assigns the value to the attribute, provided the " +"object allows it. For example, ``setattr(x, 'foobar', 123)`` is equivalent to " +"``x.foobar = 123``." msgstr "" "Bu :func:`getattr` 'un karşılığıdır. Argümanlar bir nesne, dize ve opsiyonel " "değerdir. Dize halihazırda var olan veya yeni bir özelliğe isim verebilir. " @@ -2932,17 +2880,17 @@ msgstr "" #: library/functions.rst:1610 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:" -"`~object.__getattribute__` or via :attr:`~object.__slots__`. An attribute " -"whose name is not an identifier will not be accessible using the dot " -"notation, but is accessible through :func:`getattr` etc.." +"*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:`~object." +"__getattribute__` or via :attr:`~object.__slots__`. An attribute whose name is " +"not an identifier will not be accessible using the dot notation, but is " +"accessible through :func:`getattr` etc.." msgstr "" -"*name*, nesne bunu zorunlu kılmayı seçmedikçe, örneğin özel bir :meth:" -"`~object.__getattribute__` veya :attr:`~object.__slots__` aracılığıyla, :ref:" -"`identifiers` içinde tanımlandığı gibi bir Python tanımlayıcısı olmak " -"zorunda değildir. Adı tanımlayıcı olmayan bir özelliğe nokta kullanılarak " -"erişilemez, ancak :func:`getattr` vb. aracılığıyla erişilebilir." +"*name*, nesne bunu zorunlu kılmayı seçmedikçe, örneğin özel bir :meth:`~object." +"__getattribute__` veya :attr:`~object.__slots__` aracılığıyla, :ref:" +"`identifiers` içinde tanımlandığı gibi bir Python tanımlayıcısı olmak zorunda " +"değildir. Adı tanımlayıcı olmayan bir özelliğe nokta kullanılarak erişilemez, " +"ancak :func:`getattr` vb. aracılığıyla erişilebilir." #: library/functions.rst:1618 msgid "" @@ -2958,40 +2906,38 @@ msgstr "" msgid "" "Return a :term:`slice` object representing the set of indices specified by " "``range(start, stop, step)``. The *start* and *step* arguments default to " -"``None``. Slice objects have read-only data attributes :attr:`~slice." -"start`, :attr:`~slice.stop`, and :attr:`~slice.step` which merely return the " -"argument values (or their default). They have no other explicit " -"functionality; however, they are used by NumPy and other third-party " -"packages. Slice objects are also generated when extended indexing syntax is " -"used. For example: ``a[start:stop:step]`` or ``a[start:stop, i]``. See :" -"func:`itertools.islice` for an alternate version that returns an iterator." -msgstr "" -"``range(start, stop, step)`` tarafından belirtilen indekslerden oluşan " -"kümeyi temsil eden bir :term:`slice` nesnesi döndürür. *start* ve *step* " -"parametreleri varsayılan olarak ``None`` 'dır. Dilim nesneleri sadece " -"parametre değerlerini (veya varsayılan değerleri) döndüren salt-okunur :attr:" -"`~slice.start`, :attr:`~slice.stop`, ve :attr:`~slice.step` özelliklerine " -"sahiptir. Başka belirgin işlevselliği olmasa da; NumPy ve diğer üçüncü parti " -"paketler tarafından kullanılırlar. Dilim nesneleri, genişletilmiş indeksleme " -"sözdizimi kullanıldığında da üretilirler. Örneğin: ``a[start:stop:step]`` " -"veya ``a[start:stop, i]``. Yineleyici döndüren alternatif bir versiyon için :" -"func:`itertools.islice` 'e bakınız." +"``None``. Slice objects have read-only data attributes :attr:`~slice.start`, :" +"attr:`~slice.stop`, and :attr:`~slice.step` which merely return the argument " +"values (or their default). They have no other explicit functionality; however, " +"they are used by NumPy and other third-party packages. Slice objects are also " +"generated when extended indexing syntax is used. For example: ``a[start:stop:" +"step]`` or ``a[start:stop, i]``. See :func:`itertools.islice` for an alternate " +"version that returns an iterator." +msgstr "" +"``range(start, stop, step)`` tarafından belirtilen indekslerden oluşan kümeyi " +"temsil eden bir :term:`slice` nesnesi döndürür. *start* ve *step* parametreleri " +"varsayılan olarak ``None`` 'dır. Dilim nesneleri sadece parametre değerlerini " +"(veya varsayılan değerleri) döndüren salt-okunur :attr:`~slice.start`, :attr:" +"`~slice.stop`, ve :attr:`~slice.step` özelliklerine sahiptir. Başka belirgin " +"işlevselliği olmasa da; NumPy ve diğer üçüncü parti paketler tarafından " +"kullanılırlar. Dilim nesneleri, genişletilmiş indeksleme sözdizimi " +"kullanıldığında da üretilirler. Örneğin: ``a[start:stop:step]`` veya ``a[start:" +"stop, i]``. Yineleyici döndüren alternatif bir versiyon için :func:`itertools." +"islice` 'e bakınız." #: library/functions.rst:1640 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." +msgstr "*iterable* 'ın içindeki elementlerden oluşan sıralı bir liste döndürür." #: library/functions.rst:1642 -msgid "" -"Has two optional arguments which must be specified as keyword arguments." +msgid "Has two optional arguments which must be specified as keyword arguments." msgstr "İsimle belirtilmesi gereken 2 opsiyonel parametresi vardır." #: library/functions.rst:1644 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." -"lower``). The default value is ``None`` (compare the elements directly)." +"*key* specifies a function of one argument that is used to extract a comparison " +"key from each element in *iterable* (for example, ``key=str.lower``). The " +"default value is ``None`` (compare the elements directly)." msgstr "" "*key*, *iterable* 'ın her elementinden bir karşılaştırma anahtarı ayıklamak " "için kullanılan bir argümanın fonksiyonunu belirtir (örneğin, ``key=str." @@ -2999,8 +2945,8 @@ msgstr "" #: library/functions.rst:1648 msgid "" -"*reverse* is a boolean value. If set to ``True``, then the list elements " -"are sorted as if each comparison were reversed." +"*reverse* is a boolean value. If set to ``True``, then the list elements are " +"sorted as if each comparison were reversed." msgstr "" "*reverse* bir boolean değerdir. Eğer ``True`` ise, liste elementleri tüm " "karşılaştırmalar tersine çevrilmiş şekilde sıralanır." @@ -3017,33 +2963,32 @@ msgstr "" 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 " -"compare equal --- this is helpful for sorting in multiple passes (for " -"example, sort by department, then by salary grade)." +"compare equal --- this is helpful for sorting in multiple passes (for example, " +"sort by department, then by salary grade)." msgstr "" "Yerleşik :func:`sorted` fonksiyonunun stabil çalışması garantilenmiştir. Bir " -"sıralama eşit olan elementlerin ilgili sırasını değiştirmemeyi " -"garantiliyorsa stabildir --- bu çoklu geçişlerle sıralama (örneğin önce " -"departman, ardından maaş sıralama) için yardımcıdır." +"sıralama eşit olan elementlerin ilgili sırasını değiştirmemeyi 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:1659 msgid "" -"The sort algorithm uses only ``<`` comparisons between items. While " -"defining an :meth:`~object.__lt__` method will suffice for sorting, :PEP:`8` " -"recommends that all six :ref:`rich comparisons ` be " -"implemented. This will help avoid bugs when using the same data with other " -"ordering tools such as :func:`max` that rely on a different underlying " -"method. Implementing all six comparisons also helps avoid confusion for " -"mixed type comparisons which can call reflected the :meth:`~object.__gt__` " -"method." +"The sort algorithm uses only ``<`` comparisons between items. While defining " +"an :meth:`~object.__lt__` method will suffice for sorting, :PEP:`8` recommends " +"that all six :ref:`rich comparisons ` be implemented. This will " +"help avoid bugs when using the same data with other ordering tools such as :" +"func:`max` that rely on a different underlying method. Implementing all six " +"comparisons also helps avoid confusion for mixed type comparisons which can " +"call reflected the :meth:`~object.__gt__` method." msgstr "" "Sıralama algoritması elementler arasında sadece ``<`` karşılaştırmalarını " -"kullanır. Bir :meth:`~object.__lt__` metodu tanımlamak sıralamak için " -"yeterli olmasına rağmen, :PEP:`8` tüm altı :ref:`rich comparisons " -"` 'ların uygulanmasını öneriyor. Bu aynı veri ile :func:`max` " -"gibi farklı bir temel metot ile çalışan farklı sıralama araçlarını " -"kullanırken hataları önlemeyi kolaylaştıracaktır. Tüm karşılaştırmaları " -"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." +"kullanır. Bir :meth:`~object.__lt__` metodu tanımlamak sıralamak için yeterli " +"olmasına rağmen, :PEP:`8` tüm altı :ref:`rich comparisons ` 'ların " +"uygulanmasını öneriyor. Bu aynı veri ile :func:`max` gibi farklı bir temel " +"metot ile çalışan farklı sıralama araçlarını kullanırken hataları önlemeyi " +"kolaylaştıracaktır. Tüm karşılaştırmaları 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:1668 msgid "" @@ -3074,37 +3019,35 @@ msgstr "" #: library/functions.rst:1684 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 " +"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 " "functions (such as ``f()``)." msgstr "" "Bir statik metot sınıf üzerinden (``C.f()`` gibi) veya bir örnek üzerinden " -"(``C().f()`` gibi) çağırılabilir. Hatta normal fonksiyonlar gibi (``f()``) " -"de çağırılabilirler." +"(``C().f()`` gibi) çağırılabilir. Hatta normal fonksiyonlar gibi (``f()``) de " +"çağırılabilirler." #: library/functions.rst:1688 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 " -"class constructors." +"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 class " +"constructors." msgstr "" -"Python'daki statik metotlar Java ve C++'takilerle benzerdir. Ayrıca, sınıf " -"için alternatif bir yapıcı metot oluşturmak isterseniz :func:`classmethod` " -"bkz." +"Python'daki statik metotlar Java ve C++'takilerle benzerdir. Ayrıca, sınıf için " +"alternatif bir yapıcı metot oluşturmak isterseniz :func:`classmethod` bkz." #: library/functions.rst:1692 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 " -"cases where you need a reference to a function from a class body and you " -"want to avoid the automatic transformation to instance method. For these " -"cases, use this idiom::" +"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 cases where " +"you need a reference to a function from a class body and you want to avoid the " +"automatic transformation to instance method. For these cases, use this idiom::" msgstr "" -"Tüm dekoratörler gibi, ``staticmethod`` 'u normal bir fonksiyon gibi " -"çağırmak ve sonucu ile bir şeyler yapmak mümkündür. Bu, bir sınıfın " -"fonksiyonuna referans vermeniz gerektiğinde ve örnek metoda otomatik " -"dönüşümü engellemek istediğinizde işinize yarayabilir. Böyle durumlar için, " -"bu ifadeyi kullanabilirsiniz::" +"Tüm dekoratörler gibi, ``staticmethod`` 'u normal bir fonksiyon gibi çağırmak " +"ve sonucu ile bir şeyler yapmak mümkündür. Bu, bir sınıfın fonksiyonuna " +"referans vermeniz gerektiğinde ve örnek metoda otomatik dönüşümü engellemek " +"istediğinizde işinize yarayabilir. Böyle durumlar için, bu ifadeyi " +"kullanabilirsiniz::" #: library/functions.rst:1704 msgid "For more information on static methods, see :ref:`types`." @@ -3112,9 +3055,9 @@ msgstr "Statik metotlar hakkında daha fazla bilgi için, :ref:`types` bkz." #: library/functions.rst:1706 msgid "" -"Static methods now inherit the method attributes (``__module__``, " -"``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``), have a " -"new ``__wrapped__`` attribute, and are now callable as regular functions." +"Static methods now inherit the method attributes (``__module__``, ``__name__``, " +"``__qualname__``, ``__doc__`` and ``__annotations__``), have a new " +"``__wrapped__`` attribute, and are now callable as regular functions." msgstr "" "Statik metotlar artık metot özelliklerini (``__module__``, ``__name__``, " "``__qualname__``, ``__doc__`` and ``__annotations__``) miras alır, yeni bir " @@ -3122,44 +3065,42 @@ msgstr "" "çağırılabilirler." #: library/functions.rst:1721 -msgid "" -"Return a :class:`str` version of *object*. See :func:`str` for details." +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." +"*object* 'in :class:`str` versiyonunu döndürür. Detaylar için :func:`str` bkz." #: library/functions.rst:1723 msgid "" "``str`` is the built-in string :term:`class`. For general information about " "strings, see :ref:`textseq`." msgstr "" -"``str`` yerleşik dize :term:`class` 'ıdır. Dizeler hakkında genel bilgi " -"için, :ref:`textseq` bkz." +"``str`` yerleşik dize :term:`class` 'ıdır. Dizeler hakkında genel bilgi için, :" +"ref:`textseq` bkz." #: library/functions.rst:1729 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 " -"is not allowed to be a string." +"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 is not " +"allowed to be a string." msgstr "" -"*start* ve *iterable* 'ın elemanlarını soldan sağa toplar ve toplamı " -"döndürür. *iterable* 'ın elemanları normal olarak numaralardır ve başlangıç " -"değeri bir dize olamaz." +"*start* ve *iterable* 'ın elemanlarını soldan sağa toplar ve toplamı döndürür. " +"*iterable* 'ın elemanları normal olarak numaralardır ve başlangıç değeri bir " +"dize olamaz." #: library/functions.rst:1733 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 ``''." -"join(sequence)``. To add floating point values with extended precision, " -"see :func:`math.fsum`\\. To concatenate a series of iterables, consider " -"using :func:`itertools.chain`." +"For some use cases, there are good alternatives to :func:`sum`. The preferred, " +"fast way to concatenate a sequence of strings is by calling ``''." +"join(sequence)``. To add floating point values with extended precision, see :" +"func:`math.fsum`\\. To concatenate a series of iterables, consider using :func:" +"`itertools.chain`." msgstr "" -"Bazı kullanım durumları için, :func:`sum` fonksiyonuna iyi alternatifler " -"var. Dizelerden oluşan bir diziyi birleştirmek için tercih edilen hızlı " -"yöntem ``''.join(sequence)`` fonksiyonudur. Gerçel değerleri hassas bir " -"şekilde eklemek istiyorsanız, :func:`math.fsum`\\ bkz. Yinelenebilir " -"nesnelerden oluşan bir diziyi birleştirmek istiyorsanız, :func:`itertools." -"chain` fonksiyonunu kullanmayı göz önünde bulundurun." +"Bazı kullanım durumları için, :func:`sum` fonksiyonuna iyi alternatifler var. " +"Dizelerden oluşan bir diziyi birleştirmek için tercih edilen hızlı yöntem ``''." +"join(sequence)`` fonksiyonudur. Gerçel değerleri hassas bir şekilde eklemek " +"istiyorsanız, :func:`math.fsum`\\ bkz. Yinelenebilir nesnelerden oluşan bir " +"diziyi birleştirmek istiyorsanız, :func:`itertools.chain` fonksiyonunu " +"kullanmayı göz önünde bulundurun." #: library/functions.rst:1739 msgid "The *start* parameter can be specified as a keyword argument." @@ -3167,133 +3108,132 @@ msgstr "*start* parametresi bir anahtar kelime argümanı olarak belirtilebilir. #: library/functions.rst:1745 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 " -"been overridden in a class." +"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 been " +"overridden in a class." msgstr "" -"*type* 'ın ebeveyn veya kardeş sınıfına yapılan metot çağrılarını temsil " -"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." +"*type* 'ın ebeveyn veya kardeş sınıfına yapılan metot çağrılarını temsil 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:1749 msgid "" "The *object_or_type* determines the :term:`method resolution order` to be " "searched. The search starts from the class right after the *type*." msgstr "" -"*object_or_type* aranacak :term:`method resolution order` 'nı belirler. " -"Arama *type* 'dan sonraki ilk sınıftan başlar." +"*object_or_type* aranacak :term:`method resolution order` 'nı belirler. Arama " +"*type* 'dan sonraki ilk sınıftan başlar." #: library/functions.rst:1753 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` " -"searches ``C -> A -> object``." +"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` searches ``C " +"-> A -> object``." msgstr "" -"Örnek olarak, eğer *object_or_type* 'ın :attr:`~class.__mro__` özelliği ``D -" -"> B -> C -> A -> object`` ise ve *type* değeri ``B`` ise, :func:`super` ``C -" -"> A -> object`` 'i arar." +"Örnek olarak, eğer *object_or_type* 'ın :attr:`~class.__mro__` özelliği ``D -> " +"B -> C -> A -> object`` ise ve *type* değeri ``B`` ise, :func:`super` ``C -> A -" +"> object`` 'i arar." #: library/functions.rst:1757 msgid "" -"The :attr:`~class.__mro__` attribute of the *object_or_type* lists the " -"method resolution search order used by both :func:`getattr` and :func:" -"`super`. The attribute is dynamic and can change whenever the inheritance " -"hierarchy is updated." +"The :attr:`~class.__mro__` attribute of the *object_or_type* lists the method " +"resolution search order used by both :func:`getattr` and :func:`super`. The " +"attribute is dynamic and can change whenever the inheritance hierarchy is " +"updated." msgstr "" -"*object_or_type* 'ın :attr:`~class.__mro__` özelliği, hem :func:`getattr` " -"hem de :func:`super` tarafından kullanılan yöntem çözümleme arama sırasını " +"*object_or_type* 'ın :attr:`~class.__mro__` özelliği, hem :func:`getattr` hem " +"de :func:`super` tarafından kullanılan yöntem çözümleme arama sırasını " "listeler. Özellik dinamiktir ve kalıtım hiyerarşisi her güncellendiğinde " "değişebilir." #: library/functions.rst:1762 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. " -"If the second argument is a type, ``issubclass(type2, type)`` must be true " -"(this is useful for classmethods)." +"the second argument is an object, ``isinstance(obj, type)`` must be true. If " +"the second argument is a type, ``issubclass(type2, type)`` must be true (this " +"is useful for classmethods)." msgstr "" "Eğer ikinci parametre atlanırsa, döndürülen süper objesi serbesttir. Eğer " -"ikinci parametre bir objeyse, ``isinstance(obj, type)`` doğru olmak " -"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)." +"ikinci parametre bir objeyse, ``isinstance(obj, type)`` doğru olmak 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:1767 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 " -"naming them explicitly, thus making the code more maintainable. This use " -"closely parallels the use of *super* in other programming languages." +"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 naming them " +"explicitly, thus making the code more maintainable. This use closely parallels " +"the use of *super* in other programming languages." msgstr "" "*super* için tipik iki kullanım şekli vardır. Tek kalıtımlı bir sınıf " -"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." +"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:1772 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 " -"found in statically compiled languages or languages that only support single " +"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 found in " +"statically compiled languages or languages that only support single " "inheritance. This makes it possible to implement \"diamond diagrams\" where " "multiple base classes implement the same method. Good design dictates that " -"such implementations have the same calling signature in every case (because " -"the order of calls is determined at runtime, because that order adapts to " -"changes in the class hierarchy, and because that order can include sibling " -"classes that are unknown prior to runtime)." +"such implementations have the same calling signature in every case (because the " +"order of calls is determined at runtime, because that order adapts to changes " +"in the class hierarchy, and because that order can include sibling classes that " +"are unknown prior to runtime)." msgstr "" "İkinci kullanım şekli dinamik yürütme ortamında işbirlikli çoklu kalıtımı " -"desteklemektir. Bu durum Python'a özgüdür ve statik derlenen diller veya " -"tekli kalıtımı destekleyen dillerde bulunmaz. Bu çoklu temel sınıfların aynı " -"metodu uyguladığı \"diamond diagrams\" sistemini uygulamayı mümkün kılar. " -"İyi tasarım bu tür uygulamaların her durumda aynı çağrı imzasına sahip " -"olduğunu (çünkü çağrıların sırası yürütme zamanında belirlenir, çünkü bu " -"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." +"desteklemektir. Bu durum Python'a özgüdür ve statik derlenen diller veya tekli " +"kalıtımı destekleyen dillerde bulunmaz. Bu çoklu temel sınıfların aynı metodu " +"uyguladığı \"diamond diagrams\" sistemini uygulamayı mümkün kılar. İyi tasarım " +"bu tür uygulamaların her durumda aynı çağrı imzasına sahip olduğunu (çünkü " +"çağrıların sırası yürütme zamanında belirlenir, çünkü bu 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:1782 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::" +msgstr "İki kullanım durumu için de, tipik bir üst sınıf çağrısı bu şekildedir::" #: library/functions.rst:1789 msgid "" -"In addition to method lookups, :func:`super` also works for attribute " -"lookups. One possible use case for this is calling :term:`descriptors " -"` in a parent or sibling class." +"In addition to method lookups, :func:`super` also works for attribute lookups. " +"One possible use case for this is calling :term:`descriptors ` in a " +"parent or sibling class." msgstr "" -"Metot aramalarına ek olarak, :func:`super` özellik aramaları için de " -"çalışır. Bunun kullanım şekli ebeveyn veya kardeş bir sınıfta :term:" -"`tanımlayıcılar ` 'i çağırmaktır." +"Metot aramalarına ek olarak, :func:`super` özellik aramaları için de ç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:1793 msgid "" "Note that :func:`super` is implemented as part of the binding process for " "explicit dotted attribute lookups such as ``super().__getitem__(name)``. It " -"does so by implementing its own :meth:`__getattribute__` method for " -"searching classes in a predictable order that supports cooperative multiple " -"inheritance. Accordingly, :func:`super` is undefined for implicit lookups " -"using statements or operators such as ``super()[name]``." +"does so by implementing its own :meth:`__getattribute__` method for searching " +"classes in a predictable order that supports cooperative multiple inheritance. " +"Accordingly, :func:`super` is undefined for implicit lookups using statements " +"or operators such as ``super()[name]``." msgstr "" ":func:`super` 'ın, ``super().__getitem__(name)`` gibi açık noktalı öznitelik " "aramaları için bağlayan işlemin bir parçası olarak uygulanır. Sınıfları " -"işbirlikli çoklu kalıtımı destekleyen tahmin edilebilir bir sırada aramak " -"için kendi :meth:`__getattribute__` metodunu sağlar. Bu nedenle :func:" -"`super`, ifadeler veya ``super()[name]`` gibi operatörler kullanarak kesin " -"aramalar için tanımsızdır." +"işbirlikli çoklu kalıtımı destekleyen tahmin edilebilir bir sırada aramak için " +"kendi :meth:`__getattribute__` metodunu sağlar. Bu nedenle :func:`super`, " +"ifadeler veya ``super()[name]`` gibi operatörler kullanarak kesin aramalar için " +"tanımsızdır." #: library/functions.rst:1800 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 " -"arguments exactly and makes the appropriate references. The zero argument " -"form only works inside a class definition, as the compiler fills in the " -"necessary details to correctly retrieve the class being defined, as well as " -"accessing the current instance for ordinary methods." +"Also note that, aside from the zero argument form, :func:`super` is not limited " +"to use inside methods. The two argument form specifies the arguments exactly " +"and makes the appropriate references. The zero argument form only works inside " +"a class definition, as the compiler fills in the necessary details to correctly " +"retrieve the class being defined, as well as accessing the current instance for " +"ordinary methods." msgstr "" -"Ayrıca, argümansız formunun yanı sıra, :func:`süper` iç metotları " -"kullanmakla sınırlı değildir. İki parametreli form parametlerini tamı tamına " -"belirler ve uygun karşılaştırmaları yapar. Argümansız form sadece bir sınıf " -"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." +"Ayrıca, argümansız formunun yanı sıra, :func:`süper` iç metotları kullanmakla " +"sınırlı değildir. İki parametreli form parametlerini tamı tamına belirler ve " +"uygun karşılaştırmaları yapar. Argümansız form sadece bir sınıf 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:1807 msgid "" @@ -3307,50 +3247,49 @@ msgstr "" #: library/functions.rst:1817 msgid "" -"Rather than being a function, :class:`tuple` is actually an immutable " -"sequence type, as documented in :ref:`typesseq-tuple` and :ref:`typesseq`." +"Rather than being a function, :class:`tuple` is actually an immutable sequence " +"type, as documented in :ref:`typesseq-tuple` and :ref:`typesseq`." 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:1826 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." -"__class__ `." +"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.__class__ " +"`." msgstr "" "Bir parametre ile, *object* 'in türünü döndürür. Döndürülen değer bir obje " -"türüdür ve genellikle :attr:`object.__class__ ` " -"tarafından döndürülen obje ile aynıdır." +"türüdür ve genellikle :attr:`object.__class__ ` tarafından " +"döndürülen obje ile aynıdır." #: library/functions.rst:1830 msgid "" -"The :func:`isinstance` built-in function is recommended for testing the type " -"of an object, because it takes subclasses into account." +"The :func:`isinstance` built-in function is recommended for testing the type of " +"an object, because it takes subclasses into account." 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:1834 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 " -"class name and becomes the :attr:`~definition.__name__` attribute. The " -"*bases* tuple contains the base classes and becomes the :attr:`~class." -"__bases__` attribute; if empty, :class:`object`, the ultimate base of all " -"classes, is added. The *dict* dictionary contains attribute and method " -"definitions for the class body; it may be copied or wrapped before becoming " -"the :attr:`~object.__dict__` attribute. The following two statements create " -"identical :class:`type` objects:" +"With three arguments, return a new type object. This is essentially a dynamic " +"form of the :keyword:`class` statement. The *name* string is the class name and " +"becomes the :attr:`~definition.__name__` attribute. The *bases* tuple contains " +"the base classes and becomes the :attr:`~class.__bases__` attribute; if empty, :" +"class:`object`, the ultimate base of all classes, is added. The *dict* " +"dictionary contains attribute and method definitions for the class body; it may " +"be copied or wrapped before becoming the :attr:`~object.__dict__` attribute. " +"The following two statements create identical :class:`type` objects:" msgstr "" "Üç parametre ile, yeni nesne türü döndürür. Bu esasen :keyword:`class` " "ifadesinin dinamik biçimidir. *name* dizesi sınıfın ismidir ve :attr:" "`~definition.__name__` özelliği yerine gelir. *bases* demeti temel sınıfları " -"içerir ve :attr:`~class.__bases__` özelliği yerine gelir; eğer boş ise, :" -"class:`object`, tüm sınıfların nihai temeli eklenir. *dict* sözlüğü sınıf " -"gövdesi için özellik ve metot tanımlamaları içerir; :attr:`~object.__dict__` " -"özelliği yerine geçmeden önce kopyalanabilir veya sarılabilir. Aşağıdaki iki " -"ifade birebir aynı :class:`type` nesneleri oluşturur:" +"içerir ve :attr:`~class.__bases__` özelliği yerine gelir; eğer boş ise, :class:" +"`object`, tüm sınıfların nihai temeli eklenir. *dict* sözlüğü sınıf gövdesi " +"için özellik ve metot tanımlamaları içerir; :attr:`~object.__dict__` ö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:1849 msgid "See also :ref:`bltin-type-objects`." @@ -3359,14 +3298,12 @@ msgstr ":ref:`bltin-type-objects` 'e de bkz." #: library/functions.rst:1851 msgid "" "Keyword arguments provided to the three argument form are passed to the " -"appropriate metaclass machinery (usually :meth:`~object.__init_subclass__`) " -"in the same way that keywords in a class definition (besides *metaclass*) " -"would." +"appropriate metaclass machinery (usually :meth:`~object.__init_subclass__`) in " +"the same way that keywords in a class definition (besides *metaclass*) would." msgstr "" -"Üç değişkene sağlanan anahtar kelime argümanları, uygun metasınıf " -"makinelerine (genellikle :meth:`~object.__init_subclass__`) bir sınıf " -"tanımındaki anahtar sözcüklerin (*metaclass* dışında) yapacağı şekilde " -"iletilir." +"Üç değişkene sağlanan anahtar kelime argümanları, uygun metasınıf makinelerine " +"(genellikle :meth:`~object.__init_subclass__`) bir sınıf tanımındaki anahtar " +"sözcüklerin (*metaclass* dışında) yapacağı şekilde iletilir." #: library/functions.rst:1856 msgid "See also :ref:`class-customization`." @@ -3374,19 +3311,19 @@ msgstr ":ref:`class-customization` 'a da bkz." #: library/functions.rst:1858 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." +"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." 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:1865 msgid "" -"Return the :attr:`~object.__dict__` attribute for a module, class, instance, " -"or any other object with a :attr:`~object.__dict__` attribute." +"Return the :attr:`~object.__dict__` attribute for a module, class, instance, or " +"any other object with a :attr:`~object.__dict__` attribute." 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." +"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:1868 msgid "" @@ -3395,36 +3332,36 @@ msgid "" "their :attr:`~object.__dict__` attributes (for example, classes use a :class:" "`types.MappingProxyType` to prevent direct dictionary updates)." msgstr "" -"Modüller ve örnekler gibi nesneler güncellenebilir bir :attr:`~object." -"__dict__` özelliğine sahiptir; ama diğer nesnelerin kendilerinin :attr:" -"`~object.__dict__` özelliklerine yazma kısıtlaması olabilir (örnek olarak, " -"sınıflar doğrudan sözlük güncellemelerini önlemek için :class:`types." -"MappingProxyType` sınıfını kullanırlar)." +"Modüller ve örnekler gibi nesneler güncellenebilir bir :attr:`~object.__dict__` " +"özelliğine sahiptir; ama diğer nesnelerin kendilerinin :attr:`~object.__dict__` " +"özelliklerine yazma kısıtlaması olabilir (örnek olarak, 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:1873 msgid "" -"Without an argument, :func:`vars` acts like :func:`locals`. Note, the " -"locals dictionary is only useful for reads since updates to the locals " -"dictionary are ignored." +"Without an argument, :func:`vars` acts like :func:`locals`. Note, the locals " +"dictionary is only useful for reads since updates to the locals dictionary are " +"ignored." msgstr "" -"Parametre olmadan, :func:`vars` :func:`locals` gibi davranır. Yerel sözlük, " -"ona yapılan güncellemeler görmezden gelindiğinden ötürü, sadece okuma işlemi " -"için kullanışlıdır." +"Parametre olmadan, :func:`vars` :func:`locals` gibi davranır. Yerel sözlük, ona " +"yapılan güncellemeler görmezden gelindiğinden ötürü, sadece okuma işlemi için " +"kullanışlıdır." #: library/functions.rst:1877 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 " -"defines the :attr:`~object.__slots__` attribute)." +"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 defines " +"the :attr:`~object.__slots__` attribute)." msgstr "" "Eğer bir obje belirtildiyse ama :attr:`~object.__dict__` özelliği yoksa " -"(örneğin, :attr:`~object.__slots__` özelliğini tanımlayan bir sınıf ise), :" -"exc:`TypeError` hatası ortaya çıkar." +"(örneğin, :attr:`~object.__slots__` özelliğini tanımlayan bir sınıf ise), :exc:" +"`TypeError` hatası ortaya çıkar." #: library/functions.rst:1883 msgid "" -"Iterate over several iterables in parallel, producing tuples with an item " -"from each one." +"Iterate over several iterables in parallel, producing tuples with an item from " +"each one." msgstr "" "Paralel olarak birkaç yinelenebilir nesneyi yineler ve hepsinden bir element " "alarak bir demet üretir." @@ -3438,9 +3375,8 @@ 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." msgstr "" -"Daha resmice: :func:`zip` demetlerden oluşan ve *i* inci demetin her " -"parametre yineleyicisinden *i* 'inci elementi içerdiği bir yineleyici " -"döndürür." +"Daha resmice: :func:`zip` demetlerden oluşan ve *i* inci demetin her parametre " +"yineleyicisinden *i* 'inci elementi içerdiği bir yineleyici döndürür." #: library/functions.rst:1898 msgid "" @@ -3449,40 +3385,39 @@ msgid "" "wikipedia.org/wiki/Transpose>`_." msgstr "" ":func:`zip` 'i anlamanın başka bir yolu da, sütunları satırlara ve satırları " -"sütunlara çevirmesidir. Bu `transposing a matrix `_ 'a benzer." +"sütunlara çevirmesidir. Bu `transposing a matrix `_ 'a benzer." #: library/functions.rst:1902 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:" -"`list`." +"iterated on, e.g. by a :keyword:`!for` loop or by wrapping in a :class:`list`." msgstr "" -":func:`zip` tembeldir: Yinelenebilir nesne, örneğin bir :keyword:`!for` " -"döngüsü veya :class:`list` tarafından sarılarak yinelenmediği sürece " -"elementler işlenmez." +":func:`zip` tembeldir: Yinelenebilir nesne, örneğin bir :keyword:`!for` döngüsü " +"veya :class:`list` tarafından sarılarak yinelenmediği sürece elementler " +"işlenmez." #: library/functions.rst:1906 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 " -"the code that prepared these iterables. Python offers three different " -"approaches to dealing with this issue:" +"different lengths; sometimes by design, and sometimes because of a bug in the " +"code that prepared these iterables. Python offers three different approaches " +"to dealing with this issue:" msgstr "" -"Dikkate alınması gereken şeylerden biri de :func:`zip` 'e verilen " -"yineleyiciler bazen tasarım gereği, bazen ise yineleyicileri hazırlayan " -"kodda oluşan bir hatadan dolayı farklı uzunluklarda olabilirler. Python " -"bununla başa çıkmak için üç farklı yaklaşım sunar:" +"Dikkate alınması gereken şeylerden biri de :func:`zip` 'e verilen yineleyiciler " +"bazen tasarım gereği, bazen ise yineleyicileri hazırlayan kodda oluşan bir " +"hatadan dolayı farklı uzunluklarda olabilirler. Python bununla başa çıkmak için " +"üç farklı yaklaşım sunar:" #: library/functions.rst:1911 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 " -"result to the length of the shortest iterable::" +"By default, :func:`zip` stops when the shortest iterable is exhausted. It will " +"ignore the remaining items in the longer iterables, cutting off the result to " +"the length of the shortest iterable::" msgstr "" -"Varsayılan olarak, :func:`zip` en kısa yinelenebilir nesne tükendiğinde " -"durur. Daha uzun yinelebilirlerde kalan elementleri görmezden gelecektir ve " -"sonucu en kısa yineleyicinin uzunluğuna eşitleyecektir::" +"Varsayılan olarak, :func:`zip` en kısa yinelenebilir nesne tükendiğinde durur. " +"Daha uzun yinelebilirlerde kalan elementleri görmezden gelecektir ve sonucu en " +"kısa yineleyicinin uzunluğuna eşitleyecektir::" #: library/functions.rst:1918 msgid "" @@ -3491,39 +3426,40 @@ msgid "" "option. Its output is the same as regular :func:`zip`::" msgstr "" ":func:`zip` genellikle yineleyicilerin aynı uzunlukta olduğu varsayıldığında " -"kullanılır. Bu gibi durumlarda, ``strict=True`` opsiyonunu kullanmak " -"önerilir. Çıktısı sıradan :func:`zip` ile aynıdır::" +"kullanılır. Bu gibi durumlarda, ``strict=True`` opsiyonunu kullanmak önerilir. " +"Çıktısı sıradan :func:`zip` ile aynıdır::" #: library/functions.rst:1925 msgid "" -"Unlike the default behavior, it raises a :exc:`ValueError` if one iterable " -"is exhausted before the others:" +"Unlike the default behavior, it raises a :exc:`ValueError` if one iterable is " +"exhausted before the others:" msgstr "" +"Varsayılan davranışın aksine, bir yinelenebilir diğerlerinden önce tükenirse " +"bir :exc:`ValueError` ortaya çıkar:" #: library/functions.rst:1943 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 " -"bug in another part of the program." +"different lengths will be silenced, possibly manifesting as a hard-to-find bug " +"in another part of the program." msgstr "" -"``strict=True`` parametresi olmadan, farklı boyutlardaki nesnelerde " -"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." +"``strict=True`` parametresi olmadan, farklı boyutlardaki nesnelerde 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:1947 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." -"zip_longest`." +"Shorter iterables can be padded with a constant value to make all the iterables " +"have the same length. This is done by :func:`itertools.zip_longest`." msgstr "" -"Daha kısa yinelenebilir nesneler, tüm yinelenebilir nesnelerin aynı " -"uzunlukta olması için sabit bir değerle doldurulabilirler. Bu :func:" -"`itertools.zip_longest` tarafından yapılır." +"Daha kısa yinelenebilir nesneler, tüm yinelenebilir nesnelerin aynı uzunlukta " +"olması için sabit bir değerle doldurulabilirler. Bu :func:`itertools." +"zip_longest` tarafından yapılır." #: library/functions.rst:1951 msgid "" -"Edge cases: With a single iterable argument, :func:`zip` returns an iterator " -"of 1-tuples. With no arguments, it returns an empty iterator." +"Edge cases: With a single iterable argument, :func:`zip` returns an iterator of " +"1-tuples. With no arguments, it returns an empty iterator." msgstr "" "Kenar durumları: Tek bir yinelenebilir nesne argümanı verilirse, :func:`zip` " "bir demetin yineleyicisini döndürür. Argüman verilmezse, boş bir yineleyici " @@ -3535,26 +3471,23 @@ msgstr "İpucu ve hileler:" #: library/functions.rst:1956 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 " -"using ``zip(*[iter(s)]*n, strict=True)``. This repeats the *same* iterator " -"``n`` times so that each output tuple has the result of ``n`` calls to the " -"iterator. This has the effect of dividing the input into n-length chunks." +"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 using " +"``zip(*[iter(s)]*n, strict=True)``. This repeats the *same* iterator ``n`` " +"times so that each output tuple has the result of ``n`` calls to the iterator. " +"This has the effect of dividing the input into n-length chunks." msgstr "" -"Yinelenebilir nesnelerin soldan sağa değerlendirme sırası garanti edilir. " -"Bu, bir veri serisini ``zip(*[iter(s)]*n, strict=True)`` kullanarak n-" -"uzunluklu gruplar halinde kümelemeyi mümkün kılar. Bu *aynı* yineleyiciyi " -"``n`` defa tekrar eder ve böylece tüm çıktı demetler yineleyiciye ``n`` " -"sayıda çağrı yapmış olur. Bu, girdiyi n-uzunluklu parçalara bölme etkisine " -"sahiptir." +"Yinelenebilir nesnelerin soldan sağa değerlendirme sırası garanti edilir. Bu, " +"bir veri serisini ``zip(*[iter(s)]*n, strict=True)`` kullanarak n-uzunluklu " +"gruplar halinde kümelemeyi mümkün kılar. Bu *aynı* yineleyiciyi ``n`` defa " +"tekrar eder ve böylece tüm çıktı demetler yineleyiciye ``n`` sayıda çağrı " +"yapmış olur. Bu, girdiyi n-uzunluklu parçalara bölme etkisine sahiptir." #: library/functions.rst:1962 msgid "" -":func:`zip` in conjunction with the ``*`` operator can be used to unzip a " -"list::" +":func:`zip` in conjunction with the ``*`` operator can be used to unzip a list::" msgstr "" -":func:`zip`, bir listeyi açmak için ``*`` operatörüyle birlikte " -"kullanılabilir::" +":func:`zip`, bir listeyi açmak için ``*`` operatörüyle birlikte kullanılabilir::" #: library/functions.rst:1973 msgid "Added the ``strict`` argument." @@ -3562,8 +3495,8 @@ msgstr "``strict`` argümanı eklendi." #: library/functions.rst:1985 msgid "" -"This is an advanced function that is not needed in everyday Python " -"programming, unlike :func:`importlib.import_module`." +"This is an advanced function that is not needed in everyday Python programming, " +"unlike :func:`importlib.import_module`." msgstr "" "Bu :func:`importlib.import_module` 'un aksine günlük Python programlamasında " "genel olarak kullanılmayan gelişmiş bir fonksiyondur." @@ -3571,45 +3504,44 @@ msgstr "" #: library/functions.rst:1988 msgid "" "This function is invoked by the :keyword:`import` statement. It can be " -"replaced (by importing the :mod:`builtins` module and assigning to " -"``builtins.__import__``) in order to change semantics of the :keyword:`!" -"import` statement, but doing so is **strongly** discouraged as it is usually " -"simpler to use import hooks (see :pep:`302`) to attain the same goals and " -"does not cause issues with code which assumes the default import " -"implementation is in use. Direct use of :func:`__import__` is also " -"discouraged in favor of :func:`importlib.import_module`." -msgstr "" -"Bu fonksiyon :keyword:`import` ifadesi tarafından çağırılır. :keyword:`!" -"import` ifadesinin anlamlarını değiştirmek için yenisiyle değiştirilebilir (:" -"mod:`builtins` modülünü içe aktarıp ``builtins.__import__`` 'a devrederek), " -"ama bunu yapmak aynı amaçlara ulaşmak için içe aktarma çengellerini " -"kullanmak daha basit olduğundan ve içe aktarma çengellerinin kodda hatalara " -"neden olmayacağından tavsiye **edilmez**. :func:`__import__` 'un doğrudan " -"kullanımı da :func:`importlib.import_module` 'ın lehine tavsiye edilmez." +"replaced (by importing the :mod:`builtins` module and assigning to ``builtins." +"__import__``) in order to change semantics of the :keyword:`!import` statement, " +"but doing so is **strongly** discouraged as it is usually simpler to use import " +"hooks (see :pep:`302`) to attain the same goals and does not cause issues with " +"code which assumes the default import implementation is in use. Direct use of :" +"func:`__import__` is also discouraged in favor of :func:`importlib." +"import_module`." +msgstr "" +"Bu fonksiyon :keyword:`import` ifadesi tarafından çağırılır. :keyword:`!import` " +"ifadesinin anlamlarını değiştirmek için yenisiyle değiştirilebilir (:mod:" +"`builtins` modülünü içe aktarıp ``builtins.__import__`` 'a devrederek), ama " +"bunu yapmak aynı amaçlara ulaşmak için içe aktarma çengellerini kullanmak daha " +"basit olduğundan ve içe aktarma çengellerinin kodda hatalara neden " +"olmayacağından tavsiye **edilmez**. :func:`__import__` 'un doğrudan kullanımı " +"da :func:`importlib.import_module` 'ın lehine tavsiye edilmez." #: library/functions.rst:1997 msgid "" -"The function imports the module *name*, potentially using the given " -"*globals* and *locals* to determine how to interpret the name in a package " -"context. The *fromlist* gives the names of objects or submodules that should " -"be imported from the module given by *name*. The standard implementation " -"does not use its *locals* argument at all and uses its *globals* only to " -"determine the package context of the :keyword:`import` statement." +"The function imports the module *name*, potentially using the given *globals* " +"and *locals* to determine how to interpret the name in a package context. The " +"*fromlist* gives the names of objects or submodules that should be imported " +"from the module given by *name*. The standard implementation does not use its " +"*locals* argument at all and uses its *globals* only to determine the package " +"context of the :keyword:`import` statement." msgstr "" -"Fonksiyon modül *adını* içe aktarır, potansiyel olarak bir paket " -"bağlamındaki isimleri nasıl yorumlayacağını belirlemek için verien *globals* " -"ve *locals* 'i kullanır. *fromlist*, *name* ismiyle içe aktarılması gereken " -"modülün alt modüllerinin ve nesnelerinin isimlerini verir. Standart uygulama " -"*locals* argümanını kullanmaya teşebbüs etmez ve *globals* 'i :keyword:" -"`import` ifadesinin paket bağlamını belirlemek için kullanır." +"Fonksiyon modül *adını* içe aktarır, potansiyel olarak bir paket bağlamındaki " +"isimleri nasıl yorumlayacağını belirlemek için verien *globals* ve *locals* 'i " +"kullanır. *fromlist*, *name* ismiyle içe aktarılması gereken modülün alt " +"modüllerinin ve nesnelerinin isimlerini verir. Standart uygulama *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:2004 msgid "" "*level* specifies whether to use absolute or relative imports. ``0`` (the " "default) means only perform absolute imports. Positive values for *level* " -"indicate the number of parent directories to search relative to the " -"directory of the module calling :func:`__import__` (see :pep:`328` for the " -"details)." +"indicate the number of parent directories to search relative to the directory " +"of the module calling :func:`__import__` (see :pep:`328` for the details)." msgstr "" "*level* mutlak mı yoksa göreli içe aktarmaların mı kullanılacağını belirtir. " "``0`` (varsayılan) sadece mutlak içe aktarmaların uygulanacağını belirtir. " @@ -3619,19 +3551,19 @@ msgstr "" #: library/functions.rst:2010 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 " -"module named by *name*. However, when a non-empty *fromlist* argument is " -"given, the module named by *name* is returned." +"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 module " +"named by *name*. However, when a non-empty *fromlist* argument is given, the " +"module named by *name* is returned." msgstr "" -"*name* değişkeni ``package.module`` biçiminde olduğunda, üst düzey paket " -"((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." +"*name* değişkeni ``package.module`` biçiminde olduğunda, üst düzey paket ((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:2015 msgid "" -"For example, the statement ``import spam`` results in bytecode resembling " -"the following code::" +"For example, the statement ``import spam`` results in bytecode resembling the " +"following code::" msgstr "" "Örnek olarak, ``import spam`` ifadesi aşağıdaki koda benzeyen bayt koduyla " "sonuçlanır::" @@ -3645,31 +3577,30 @@ 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." msgstr "" -"Burada :func:`__import__` öğesinin üst düzey modülü nasıl döndürdüğüne " -"dikkat edin, çünkü bu, :keyword:`import` ifadesiyle bir ada bağlanan " -"nesnedir." +"Burada :func:`__import__` öğesinin üst düzey modülü nasıl döndürdüğüne dikkat " +"edin, çünkü bu, :keyword:`import` ifadesiyle bir ada bağlanan nesnedir." #: library/functions.rst:2027 msgid "" -"On the other hand, the statement ``from spam.ham import eggs, sausage as " -"saus`` results in ::" +"On the other hand, the statement ``from spam.ham import eggs, sausage as saus`` " +"results in ::" msgstr "" "Diğer yandan, ``from spam.ham import eggs, sausage as saus`` ifadesi şöyle " "sonuçlanır::" #: library/functions.rst:2034 msgid "" -"Here, the ``spam.ham`` module is returned from :func:`__import__`. From " -"this object, the names to import are retrieved and assigned to their " -"respective names." +"Here, the ``spam.ham`` module is returned from :func:`__import__`. From this " +"object, the names to import are retrieved and assigned to their respective " +"names." 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:2038 msgid "" -"If you simply want to import a module (potentially within a package) by " -"name, use :func:`importlib.import_module`." +"If you simply want to import a module (potentially within a package) by name, " +"use :func:`importlib.import_module`." 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." @@ -3684,8 +3615,8 @@ msgstr "" #: library/functions.rst:2045 msgid "" -"When the command line options :option:`-E` or :option:`-I` are being used, " -"the environment variable :envvar:`PYTHONCASEOK` is now ignored." +"When the command line options :option:`-E` or :option:`-I` are being used, the " +"environment variable :envvar:`PYTHONCASEOK` is now ignored." msgstr "" "Komut satırı opsiyonlarından :option:`-E` veya :option:`-I` kullanıldığında, " "ortam değişkeni :envvar:`PYTHONCASEOK` görmezden gelinir." @@ -3696,14 +3627,14 @@ msgstr "Dipnotlar" #: library/functions.rst:2051 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 " -"mode to convert Windows or Mac-style newlines." +"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 mode to " +"convert Windows or Mac-style newlines." msgstr "" "Ayrıştırıcının yalnızca Unix stili satır sonu kuralını kabul ettiğini " "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." +"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 " @@ -3719,11 +3650,11 @@ msgstr "" #~ "Python 3.0. Refer to the documentation of the :ref:`newline ` parameter for further details." #~ msgstr "" -#~ "İzin verilen ek bir mod karakteri vardır, ``'U'``, artık bir etkisi " -#~ "yoktur ve \"kullanımdan kaldırıldı\" olarak değerlendirilir. Önceden " -#~ "Python 3.0 da varsayılan hale gelen, metin modunda :term:`universal " -#~ "newlines` 'i aktif ederdi. Parametrenin detayları için :ref:`newline " -#~ "` sayfasına bakınız." +#~ "İzin verilen ek bir mod karakteri vardır, ``'U'``, artık bir etkisi yoktur " +#~ "ve \"kullanımdan kaldırıldı\" olarak değerlendirilir. Önceden Python 3.0 da " +#~ "varsayılan hale gelen, metin modunda :term:`universal newlines` 'i aktif " +#~ "ederdi. Parametrenin detayları için :ref:`newline ` " +#~ "sayfasına bakınız." #~ msgid "The ``'U'`` mode." #~ msgstr "``'U'`` modu." From b3eec29c7bb68c4cd46df245db51f2dbdb3bf8a6 Mon Sep 17 00:00:00 2001 From: Arda Sak Date: Wed, 8 Mar 2023 10:14:13 -0500 Subject: [PATCH 11/12] Update --- install/index.po | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/install/index.po b/install/index.po index ce35d8eaa..116c8f765 100644 --- a/install/index.po +++ b/install/index.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-12-17 01:28+0300\n" -"PO-Revision-Date: 2023-03-01 11:30+0300\n" +"PO-Revision-Date: 2023-03-08 10:14-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" "Language: tr\n" @@ -456,8 +456,8 @@ msgstr "" #: install/index.rst:234 msgid "" -"The default installation directory on Windows was :file:`C:\\\\Program Files" -"\\\\Python` under Python 1.6a1, 1.5.2, and earlier." +"The default installation directory on Windows was :file:`C:\\\\Program " +"Files\\\\Python` under Python 1.6a1, 1.5.2, and earlier." msgstr "" "Windows'ta varsayılan kurulum dizini Python 1.6a1, 1.5.2 ve önceki " "sürümlerde :file:`C:\\\\Program Files\\\\Python` idi." @@ -1230,7 +1230,7 @@ msgid "" "and in order to import them, this directory must be added to ``sys.path``. " "There are several different ways to add the directory." msgstr "" -"Yerel olarak kurulmuş paketler için beklenen kural, onları :file:`{…}/site-" +"Yerel olarak kurulmuş paketler için beklenen kural, onları :file:`{...}/site-" "packages/` dizinine koymaktır, ancak Python modüllerini rastgele bir dizine " "kurmak isteyebilirsiniz. Örneğin, sitenizin web sunucusuyla ilgili tüm " "yazılımları :file:`/www` altında tutma kuralı olabilir. Eklenti Python " @@ -1474,12 +1474,12 @@ msgid "" msgstr "" "(Ayrıca not (1)'e bakın.) Python 1.6 ve sonraki sürümlerde, Python'un " "varsayılan \"kurulum öneki\" :file:`C:\\\\Python` şeklindedir, bu nedenle " -"sistem yapılandırma dosyası normalde :file:`C:\\\\Python\\ şeklindedir. \\Lib" -"\\\\distutils\\\\distutils.cfg`. Python 1.5.2 altında, varsayılan önek :file:" -"`C:\\\\Program Files\\\\Python` idi ve Distutils standart kitaplığın parçası " -"değildi -- bu nedenle sistem yapılandırma dosyası :file:`C olacaktır. :\\" -"\\Program Files\\\\Python\\\\distutils\\\\distutils.cfg` Windows altında " -"standart bir Python 1.5.2 kurulumunda." +"sistem yapılandırma dosyası normalde :file:`C:\\\\Python\\ şeklindedir. " +"\\Lib\\\\distutils\\\\distutils.cfg`. Python 1.5.2 altında, varsayılan önek :" +"file:`C:\\\\Program Files\\\\Python` idi ve Distutils standart kitaplığın " +"parçası değildi -- bu nedenle sistem yapılandırma dosyası :file:`C " +"olacaktır. :\\\\Program Files\\\\Python\\\\distutils\\\\distutils.cfg` " +"Windows altında standart bir Python 1.5.2 kurulumunda." #: install/index.rst:794 msgid "" @@ -1541,8 +1541,8 @@ msgid "" "command:`build\\*` commands always forcibly rebuild all files with the " "following:" msgstr "" -"Varsayılan \"temel oluşturma\" dizinini geçersiz kılabilir ve :command:`build" -"\\*` komutlarını aşağıdakilerle tüm dosyaları her zaman zorla yeniden " +"Varsayılan \"temel oluşturma\" dizinini geçersiz kılabilir ve :command:" +"`build\\*` komutlarını aşağıdakilerle tüm dosyaları her zaman zorla yeniden " "oluşturabilirsiniz:" #: install/index.rst:835 @@ -1729,9 +1729,9 @@ msgid "" "appended to the proper command line, so in the above example the compiler " "will be passed the :option:`!-o32` option, and the linker will be passed :" "option:`!-shared`. If a compiler option requires an argument, you'll have " -"to supply multiple :option:`!-Xcompiler` options; for example, to pass ``-x c" -"++`` the :file:`Setup` file would have to contain ``-Xcompiler -x -Xcompiler " -"c++``." +"to supply multiple :option:`!-Xcompiler` options; for example, to pass ``-x " +"c++`` the :file:`Setup` file would have to contain ``-Xcompiler -x -" +"Xcompiler c++``." msgstr "" ":option:`!-Xcompiler` ve :option:`!-Xlinker` 'dan sonraki sonraki seçenek " "uygun komut satırına eklenecektir, bu nedenle yukarıdaki örnekte " From 1514c471351d72d2714cb1d02190d81d8b6cec31 Mon Sep 17 00:00:00 2001 From: egeakman Date: Thu, 9 Mar 2023 23:33:32 +0300 Subject: [PATCH 12/12] syntax + translation updates --- glossary.po | 2 +- library/functions.po | 4 ++-- library/stdtypes.po | 16 ++++++++-------- library/time.po | 2 +- tutorial/datastructures.po | 2 +- tutorial/inputoutput.po | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/glossary.po b/glossary.po index 503ce77da..6b8cfac5f 100644 --- a/glossary.po +++ b/glossary.po @@ -2777,7 +2777,7 @@ msgid "" msgstr "" "Aşağıdakilerin tümünün bir satırın bitişi olarak kabul edildiği metin " "akışlarını yorumlamanın bir yolu: Unix satır sonu kuralı ``\\n'``, Windows " -"kuralı ```\\r\\n'``, ve eski Macintosh kuralı ``'\\r'``. Ek bir kullanım " +"kuralı ``'\\r\\n'``, ve eski Macintosh kuralı ``'\\r'``. Ek bir kullanım " "için :pep:`278` ve :pep:`3116` ve ayrıca :func:`bytes.splitlines` bakın." #: glossary.rst:1221 diff --git a/library/functions.po b/library/functions.po index 7cce405ea..8013aa4b9 100644 --- a/library/functions.po +++ b/library/functions.po @@ -2050,7 +2050,7 @@ msgid "" "has methods that are common to all instances of Python classes. This function " "does not accept any arguments." msgstr "" -"Yeni bir niteliksiz nesne döndürün. :class:`object` tüm sınıflar için temeldir. " +"Yeni bir niteliksiz nesne döndürür. :class:`object` tüm sınıflar için temeldir. " "Tüm Python sınıflarında bulunan genel metotları içerir. Bu fonksiyon hiçbir " "argüman kabul etmez." @@ -2404,7 +2404,7 @@ msgid "" msgstr "" "Çıktıyı akışa yazarkeni eğer *newline* ``None`` ise, tüm ``'\\n'`` karakterleri " "sistemin varsayılan satır ayırıcısına, :data:`os.linesep` 'e dönüştürülür. Eğer " -"*newline* ``\"`` veya ```'\\n'`` ise, bir dönüştürme yapılmaz. Eğer *newline* " +"*newline* ``''`` veya ``'\\n'`` ise, bir dönüştürme yapılmaz. Eğer *newline* " "diğer uygun değerlerden biri ise, tüm ``'\\n'`` karakterleri verilen dizeye " "dönüştürülür." diff --git a/library/stdtypes.po b/library/stdtypes.po index cebb98394..a94ab3f01 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -896,7 +896,7 @@ msgid "" "of the integer. This is also known as the population count. Example::" msgstr "" "Tam sayının mutlak değerinin ikili gösterimindeki birlerin sayısını " -"döndürün. Buna nüfus sayımı da denir. Örneğin::" +"döndürür. Buna nüfus sayımı da denir. Örneğin::" #: library/stdtypes.rst:505 msgid "Return an array of bytes representing an integer." @@ -1213,7 +1213,7 @@ msgid "" "lies in ``range(-2**(sys.hash_info.width - 1), 2**(sys.hash_info.width - " "1))``. Again, if the result is ``-1``, it's replaced with ``-2``." msgstr "" -"Bir :class:`complex` sayı ``z`` için, gerçek ve sanal parçaların ```hash`` " +"Bir :class:`complex` sayı ``z`` için, gerçek ve sanal parçaların hash " "değerleri, ``hash(z.real) + sys.hash_info.imag * hash(z.imag)`` , ``reduced " "modulo`` ``2**sys.hash_info.width`` hesaplanarak birleştirilir, böylece " "``range(-2**(sys.hash_info.width - 1), 2**(sys.hash_info.width - 1))`` 'de " @@ -1567,7 +1567,7 @@ msgid "" "not copied; they are referenced multiple times. This often haunts new " "Python programmers; consider::" msgstr "" -"*n* 'nin ```0`` 'dan küçük değerleri ``0`` olarak değerlendirilir (bu, *s* " +"*n* 'nin ``0`` 'dan küçük değerleri ``0`` olarak değerlendirilir (bu, *s* " "ile aynı türde boş bir dizi verir). *s* dizisindeki öğeler kopyalanmaz, " "birden çok kez referans gösterilir (kullanılır). Bu, çoğunlukla yeni Python " "programcılarına musallat olur; şunu düşünün::" @@ -1610,7 +1610,7 @@ msgid "" "*j* is omitted or ``None``, use ``len(s)``. If *i* is greater than or equal " "to *j*, the slice is empty." msgstr "" -"*s* 'nin *i* ile *j* arasındaki dilimi, ```i <= k < j`` olacak şekilde *k* " +"*s* 'nin *i* ile *j* arasındaki dilimi, ``i <= k < j`` olacak şekilde *k* " "indeksine sahip öğelerin dizisi olarak tanımlanır. *i* veya *j* ``len(s)`` " "'den büyükse,``len(s)`` kullanın. *i* atlanırsa veya ``None`` ise, ``0`` " "kullanın. *j* atlanırsa veya ``None`` ise, ``len(s)`` kullanın. *i*, *j* " @@ -1941,7 +1941,7 @@ msgid "" msgstr "" "*n* değeri bir tam sayıdır veya :meth:`~object.__index__` uygulayan bir " "nesnedir. *n* 'nin sıfır ve negatif değerleri diziyi temizler. Dizideki " -"öğeler kopyalanmaz; :ref:`typesseq-common` altında ```s * n`` için " +"öğeler kopyalanmaz; :ref:`typesseq-common` altında ``s * n`` için " "açıklandığı gibi, bunlara birden çok kez başvurulur." #: library/stdtypes.rst:1213 @@ -2699,8 +2699,8 @@ msgid "" "With optional *start*, test beginning at that position. With optional " "*end*, stop comparing at that position." msgstr "" -"Dize belirtilen *suffix* ile bitiyorsa ``True``, aksi takdirde ```False`` " -"döndürün. *suffix* ayrıca aranacak bir son ek grubu da olabilir. İsteğe " +"Dize belirtilen *suffix* ile bitiyorsa ``True``, aksi takdirde ``False`` " +"döndürür. *suffix* ayrıca aranacak bir son ek grubu da olabilir. İsteğe " "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." @@ -2720,7 +2720,7 @@ msgid "" "printed." msgstr "" "Geçerli sütuna ve verilen tab boyutuna bağlı olarak, tüm tab karakterlerinin " -"bir veya daha fazla boşlukla değiştirildiği dizenin bir kopyasını döndürün. " +"bir veya daha fazla boşlukla değiştirildiği dizenin bir kopyasını döndürür. " "Tab konumları her *tab boyutu* karakterinde oluşur (varsayılan 8'dir, 0, 8, " "16 ve benzeri sütunlarda tab konumları verilir). Dizeyi genişletmek için " "mevcut sütun sıfıra ayarlanır ve dize karakter karakter incelenir. Karakter " diff --git a/library/time.po b/library/time.po index d81c00e29..36d401230 100644 --- a/library/time.po +++ b/library/time.po @@ -258,7 +258,7 @@ msgid "" "*thread_id*." msgstr "" "Belirtilen *thread_id* için iş parçacığına özgü CPU-zaman saatinin *clk_id* " -"değerini döndürün." +"değerini döndürür." #: library/time.rst:139 msgid "" diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index cf3ba3927..ae1a9e2d8 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -130,7 +130,7 @@ msgstr "Listenin öğelerini yerinde ters çevirir." #: tutorial/datastructures.rst:97 msgid "Return a shallow copy of the list. Equivalent to ``a[:]``." -msgstr "Listenin yüzeysel bir kopyasını döndürün. ``a[:]`` ile eş değerdir." +msgstr "Listenin yüzeysel bir kopyasını döndürür. ``a[:]`` ile eş değerdir." #: tutorial/datastructures.rst:100 msgid "An example that uses most of the list methods::" diff --git a/tutorial/inputoutput.po b/tutorial/inputoutput.po index f798849b1..f7230cd40 100644 --- a/tutorial/inputoutput.po +++ b/tutorial/inputoutput.po @@ -315,7 +315,7 @@ msgstr "" "alandaki dizeyi soldaki boşluklarla doldurmayı haklı hale getirir. Benzer " "yöntemler vardır :meth:`str.ljust` ve :meth:`str.center`. Bu yöntemler " "hiçbir şey yazmaz, yalnızca yeni bir dize döndürür. Giriş dizesi çok uzunsa, " -"onu kesmiyorlar, ancak değiştirmeden döndürün; bu, sütununuzu mahvedecektir, " +"onu kesmezler, değiştirmeden döndürürler; bu, sütununuzu mahvedecektir, " "ancak bu genellikle bir değer hakkında yalan söylemek olan alternatiften " "daha iyidir. (Gerçekten kesilme istiyorsanız, ``x.ljust(n)[:n]`` gibi her " "zaman bir dilim işlemi ekleyebilirsiniz.)" 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