diff --git a/Makefile b/Makefile index 00e554dfa..d37cea7f1 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ # test build, we're building with the .rst files that generated our # .po files. -CPYTHON_CURRENT_COMMIT := 8882b30dab237c8b460cb8d18cecc8b8d031da25 +CPYTHON_CURRENT_COMMIT := 5a4e821b436710bc9814513965ec9ad097c4adac LANGUAGE := tr BRANCH := 3.12 diff --git a/c-api/exceptions.po b/c-api/exceptions.po index bdb76da29..491c98ef3 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -804,8 +804,8 @@ msgstr "" msgid "" "Implement part of the interpreter's implementation of :keyword:`!except*`. " "*orig* is the original exception that was caught, and *excs* is the list of " -"the exceptions that need to be raised. This list contains the the unhandled " -"part of *orig*, if any, as well as the exceptions that were raised from the :" +"the exceptions that need to be raised. This list contains the unhandled part " +"of *orig*, if any, as well as the exceptions that were raised from the :" "keyword:`!except*` clauses (so they have a different traceback from *orig*) " "and those that were reraised (and have the same traceback as *orig*). Return " "the :exc:`ExceptionGroup` that needs to be reraised in the end, or ``None`` " diff --git a/howto/perf_profiling.po b/howto/perf_profiling.po index 76745cf94..f16e6ce0f 100644 --- a/howto/perf_profiling.po +++ b/howto/perf_profiling.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -111,23 +111,23 @@ msgstr "" msgid "Example, using the environment variable::" msgstr "" -#: howto/perf_profiling.rst:169 +#: howto/perf_profiling.rst:168 msgid "Example, using the :option:`!-X` option::" msgstr "" -#: howto/perf_profiling.rst:174 +#: howto/perf_profiling.rst:173 msgid "Example, using the :mod:`sys` APIs in file :file:`example.py`:" msgstr "" -#: howto/perf_profiling.rst:186 +#: howto/perf_profiling.rst:185 msgid "...then::" msgstr "" -#: howto/perf_profiling.rst:193 +#: howto/perf_profiling.rst:192 msgid "How to obtain the best results" msgstr "" -#: howto/perf_profiling.rst:195 +#: howto/perf_profiling.rst:194 msgid "" "For best results, Python should be compiled with ``CFLAGS=\"-fno-omit-frame-" "pointer -mno-omit-leaf-frame-pointer\"`` as this allows profilers to unwind " @@ -137,12 +137,12 @@ msgid "" "available." msgstr "" -#: howto/perf_profiling.rst:202 +#: howto/perf_profiling.rst:201 msgid "" "You can check if your system has been compiled with this flag by running::" msgstr "" -#: howto/perf_profiling.rst:206 +#: howto/perf_profiling.rst:205 msgid "" "If you don't see any output it means that your interpreter has not been " "compiled with frame pointers and therefore it may not be able to show Python " diff --git a/library/__main__.po b/library/__main__.po index 21ae0710c..6c47d7c22 100644 --- a/library/__main__.po +++ b/library/__main__.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -252,10 +252,10 @@ msgstr "" #: library/__main__.rst:241 msgid "" -"The contents of ``__main__.py`` typically isn't fenced with ``if __name__ == " -"'__main__'`` blocks. Instead, those files are kept short, functions to " -"execute from other modules. Those other modules can then be easily unit-" -"tested and are properly reusable." +"The content of ``__main__.py`` typically isn't fenced with an ``if __name__ " +"== '__main__'`` block. Instead, those files are kept short and import " +"functions to execute from other modules. Those other modules can then be " +"easily unit-tested and are properly reusable." msgstr "" #: library/__main__.rst:246 diff --git a/library/asyncio-llapi-index.po b/library/asyncio-llapi-index.po index 5811e5d25..1283101eb 100644 --- a/library/asyncio-llapi-index.po +++ b/library/asyncio-llapi-index.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -945,34 +945,33 @@ msgid "Subprocess Protocols" msgstr "" #: library/asyncio-llapi-index.rst:487 -msgid "" -"``callback`` :meth:`pipe_data_received() <SubprocessProtocol." -"pipe_data_received>`" +msgid "``callback`` :meth:`~SubprocessProtocol.pipe_data_received`" msgstr "" -#: library/asyncio-llapi-index.rst:489 +#: library/asyncio-llapi-index.rst:488 msgid "" "Called when the child process writes data into its *stdout* or *stderr* pipe." msgstr "" -#: library/asyncio-llapi-index.rst:492 -msgid "" -"``callback`` :meth:`pipe_connection_lost() <SubprocessProtocol." -"pipe_connection_lost>`" +#: library/asyncio-llapi-index.rst:491 +msgid "``callback`` :meth:`~SubprocessProtocol.pipe_connection_lost`" msgstr "" -#: library/asyncio-llapi-index.rst:494 +#: library/asyncio-llapi-index.rst:492 msgid "" "Called when one of the pipes communicating with the child process is closed." msgstr "" -#: library/asyncio-llapi-index.rst:497 +#: library/asyncio-llapi-index.rst:495 msgid "" "``callback`` :meth:`process_exited() <SubprocessProtocol.process_exited>`" msgstr "" -#: library/asyncio-llapi-index.rst:499 -msgid "Called when the child process has exited." +#: library/asyncio-llapi-index.rst:497 +msgid "" +"Called when the child process has exited. It can be called before :meth:" +"`~SubprocessProtocol.pipe_data_received` and :meth:`~SubprocessProtocol." +"pipe_connection_lost` methods." msgstr "" #: library/asyncio-llapi-index.rst:503 diff --git a/library/asyncio-protocol.po b/library/asyncio-protocol.po index fc62c5391..fb848b2bb 100644 --- a/library/asyncio-protocol.po +++ b/library/asyncio-protocol.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -927,101 +927,107 @@ msgstr "" msgid "Called when the child process has exited." msgstr "" -#: library/asyncio-protocol.rst:713 +#: library/asyncio-protocol.rst:711 +msgid "" +"It can be called before :meth:`~SubprocessProtocol.pipe_data_received` and :" +"meth:`~SubprocessProtocol.pipe_connection_lost` methods." +msgstr "" + +#: library/asyncio-protocol.rst:716 msgid "Examples" msgstr "" -#: library/asyncio-protocol.rst:718 +#: library/asyncio-protocol.rst:721 msgid "TCP Echo Server" msgstr "" -#: library/asyncio-protocol.rst:720 +#: library/asyncio-protocol.rst:723 msgid "" "Create a TCP echo server using the :meth:`loop.create_server` method, send " "back received data, and close the connection::" msgstr "" -#: library/asyncio-protocol.rst:761 +#: library/asyncio-protocol.rst:764 msgid "" "The :ref:`TCP echo server using streams <asyncio-tcp-echo-server-streams>` " "example uses the high-level :func:`asyncio.start_server` function." msgstr "" -#: library/asyncio-protocol.rst:767 +#: library/asyncio-protocol.rst:770 msgid "TCP Echo Client" msgstr "" -#: library/asyncio-protocol.rst:769 +#: library/asyncio-protocol.rst:772 msgid "" "A TCP echo client using the :meth:`loop.create_connection` method, sends " "data, and waits until the connection is closed::" msgstr "" -#: library/asyncio-protocol.rst:817 +#: library/asyncio-protocol.rst:820 msgid "" "The :ref:`TCP echo client using streams <asyncio-tcp-echo-client-streams>` " "example uses the high-level :func:`asyncio.open_connection` function." msgstr "" -#: library/asyncio-protocol.rst:824 +#: library/asyncio-protocol.rst:827 msgid "UDP Echo Server" msgstr "" -#: library/asyncio-protocol.rst:826 +#: library/asyncio-protocol.rst:829 msgid "" "A UDP echo server, using the :meth:`loop.create_datagram_endpoint` method, " "sends back received data::" msgstr "" -#: library/asyncio-protocol.rst:868 +#: library/asyncio-protocol.rst:871 msgid "UDP Echo Client" msgstr "" -#: library/asyncio-protocol.rst:870 +#: library/asyncio-protocol.rst:873 msgid "" "A UDP echo client, using the :meth:`loop.create_datagram_endpoint` method, " "sends data and closes the transport when it receives the answer::" msgstr "" -#: library/asyncio-protocol.rst:925 +#: library/asyncio-protocol.rst:928 msgid "Connecting Existing Sockets" msgstr "" -#: library/asyncio-protocol.rst:927 +#: library/asyncio-protocol.rst:930 msgid "" "Wait until a socket receives data using the :meth:`loop.create_connection` " "method with a protocol::" msgstr "" -#: library/asyncio-protocol.rst:981 +#: library/asyncio-protocol.rst:984 msgid "" "The :ref:`watch a file descriptor for read events " "<asyncio_example_watch_fd>` example uses the low-level :meth:`loop." "add_reader` method to register an FD." msgstr "" -#: library/asyncio-protocol.rst:985 +#: library/asyncio-protocol.rst:988 msgid "" "The :ref:`register an open socket to wait for data using streams " "<asyncio_example_create_connection-streams>` example uses high-level streams " "created by the :func:`open_connection` function in a coroutine." msgstr "" -#: library/asyncio-protocol.rst:992 +#: library/asyncio-protocol.rst:995 msgid "loop.subprocess_exec() and SubprocessProtocol" msgstr "" -#: library/asyncio-protocol.rst:994 +#: library/asyncio-protocol.rst:997 msgid "" "An example of a subprocess protocol used to get the output of a subprocess " "and to wait for the subprocess exit." msgstr "" -#: library/asyncio-protocol.rst:997 +#: library/asyncio-protocol.rst:1000 msgid "The subprocess is created by the :meth:`loop.subprocess_exec` method::" msgstr "" -#: library/asyncio-protocol.rst:1043 +#: library/asyncio-protocol.rst:1060 msgid "" "See also the :ref:`same example <asyncio_example_create_subprocess_exec>` " "written using high-level APIs." diff --git a/library/exceptions.po b/library/exceptions.po index bedebfc88..ef0a8eb40 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -264,37 +264,43 @@ msgstr "" #: library/exceptions.rst:223 msgid "" -"The :attr:`name` and :attr:`path` attributes can be set using keyword-only " -"arguments to the constructor. When set they represent the name of the module " -"that was attempted to be imported and the path to any file which triggered " -"the exception, respectively." +"The optional *name* and *path* keyword-only arguments set the corresponding " +"attributes:" msgstr "" #: library/exceptions.rst:228 +msgid "The name of the module that was attempted to be imported." +msgstr "" + +#: library/exceptions.rst:232 +msgid "The path to any file which triggered the exception." +msgstr "" + +#: library/exceptions.rst:234 msgid "Added the :attr:`name` and :attr:`path` attributes." msgstr "" -#: library/exceptions.rst:233 +#: library/exceptions.rst:239 msgid "" "A subclass of :exc:`ImportError` which is raised by :keyword:`import` when a " "module could not be located. It is also raised when ``None`` is found in :" "data:`sys.modules`." msgstr "" -#: library/exceptions.rst:242 +#: library/exceptions.rst:248 msgid "" "Raised when a sequence subscript is out of range. (Slice indices are " "silently truncated to fall in the allowed range; if an index is not an " "integer, :exc:`TypeError` is raised.)" msgstr "" -#: library/exceptions.rst:251 +#: library/exceptions.rst:257 msgid "" "Raised when a mapping (dictionary) key is not found in the set of existing " "keys." msgstr "" -#: library/exceptions.rst:258 +#: library/exceptions.rst:264 msgid "" "Raised when the user hits the interrupt key (normally :kbd:`Control-C` or :" "kbd:`Delete`). During execution, a check for interrupts is made regularly. " @@ -303,7 +309,7 @@ msgid "" "the interpreter from exiting." msgstr "" -#: library/exceptions.rst:266 +#: library/exceptions.rst:272 msgid "" "Catching a :exc:`KeyboardInterrupt` requires special consideration. Because " "it can be raised at unpredictable points, it may, in some circumstances, " @@ -312,7 +318,7 @@ msgid "" "avoid raising it entirely. (See :ref:`handlers-and-exceptions`.)" msgstr "" -#: library/exceptions.rst:276 +#: library/exceptions.rst:282 msgid "" "Raised when an operation runs out of memory but the situation may still be " "rescued (by deleting some objects). The associated value is a string " @@ -323,25 +329,25 @@ msgid "" "stack traceback can be printed, in case a run-away program was the cause." msgstr "" -#: library/exceptions.rst:287 +#: library/exceptions.rst:293 msgid "" "Raised when a local or global name is not found. This applies only to " "unqualified names. The associated value is an error message that includes " "the name that could not be found." msgstr "" -#: library/exceptions.rst:291 +#: library/exceptions.rst:297 msgid "" "The :attr:`name` attribute can be set using a keyword-only argument to the " "constructor. When set it represent the name of the variable that was " "attempted to be accessed." msgstr "" -#: library/exceptions.rst:295 +#: library/exceptions.rst:301 msgid "Added the :attr:`name` attribute." msgstr "" -#: library/exceptions.rst:301 +#: library/exceptions.rst:307 msgid "" "This exception is derived from :exc:`RuntimeError`. In user defined base " "classes, abstract methods should raise this exception when they require " @@ -349,28 +355,28 @@ msgid "" "developed to indicate that the real implementation still needs to be added." msgstr "" -#: library/exceptions.rst:308 +#: library/exceptions.rst:314 msgid "" "It should not be used to indicate that an operator or method is not meant to " "be supported at all -- in that case either leave the operator / method " "undefined or, if a subclass, set it to :data:`None`." msgstr "" -#: library/exceptions.rst:314 +#: library/exceptions.rst:320 msgid "" "``NotImplementedError`` and ``NotImplemented`` are not interchangeable, even " "though they have similar names and purposes. See :data:`NotImplemented` for " "details on when to use it." msgstr "" -#: library/exceptions.rst:323 +#: library/exceptions.rst:329 msgid "" "This exception is raised when a system function returns a system-related " "error, including I/O failures such as \"file not found\" or \"disk " "full\" (not for illegal argument types or other incidental errors)." msgstr "" -#: library/exceptions.rst:327 +#: library/exceptions.rst:333 msgid "" "The second form of the constructor sets the corresponding attributes, " "described below. The attributes default to :const:`None` if not specified. " @@ -379,7 +385,7 @@ msgid "" "constructor arguments." msgstr "" -#: library/exceptions.rst:333 +#: library/exceptions.rst:339 msgid "" "The constructor often actually returns a subclass of :exc:`OSError`, as " "described in `OS exceptions`_ below. The particular subclass depends on the " @@ -388,18 +394,18 @@ msgid "" "subclassing." msgstr "" -#: library/exceptions.rst:341 +#: library/exceptions.rst:347 msgid "A numeric error code from the C variable :c:data:`errno`." msgstr "" -#: library/exceptions.rst:345 +#: library/exceptions.rst:351 msgid "" "Under Windows, this gives you the native Windows error code. The :attr:`." "errno` attribute is then an approximate translation, in POSIX terms, of that " "native error code." msgstr "" -#: library/exceptions.rst:349 +#: library/exceptions.rst:355 msgid "" "Under Windows, if the *winerror* constructor argument is an integer, the :" "attr:`.errno` attribute is determined from the Windows error code, and the " @@ -407,14 +413,14 @@ msgid "" "ignored, and the :attr:`winerror` attribute does not exist." msgstr "" -#: library/exceptions.rst:357 +#: library/exceptions.rst:363 msgid "" "The corresponding error message, as provided by the operating system. It is " "formatted by the C functions :c:func:`perror` under POSIX, and :c:func:" "`FormatMessage` under Windows." msgstr "" -#: library/exceptions.rst:365 +#: library/exceptions.rst:371 msgid "" "For exceptions that involve a file system path (such as :func:`open` or :" "func:`os.unlink`), :attr:`filename` is the file name passed to the function. " @@ -423,14 +429,14 @@ msgid "" "the function." msgstr "" -#: library/exceptions.rst:372 +#: library/exceptions.rst:378 msgid "" ":exc:`EnvironmentError`, :exc:`IOError`, :exc:`WindowsError`, :exc:`socket." "error`, :exc:`select.error` and :exc:`mmap.error` have been merged into :exc:" "`OSError`, and the constructor may return a subclass." msgstr "" -#: library/exceptions.rst:378 +#: library/exceptions.rst:384 msgid "" "The :attr:`filename` attribute is now the original file name passed to the " "function, instead of the name encoded to or decoded from the :term:" @@ -438,7 +444,7 @@ msgid "" "argument and attribute was added." msgstr "" -#: library/exceptions.rst:387 +#: library/exceptions.rst:393 msgid "" "Raised when the result of an arithmetic operation is too large to be " "represented. This cannot occur for integers (which would rather raise :exc:" @@ -448,18 +454,18 @@ msgid "" "in C, most floating point operations are not checked." msgstr "" -#: library/exceptions.rst:397 +#: library/exceptions.rst:403 msgid "" "This exception is derived from :exc:`RuntimeError`. It is raised when the " "interpreter detects that the maximum recursion depth (see :func:`sys." "getrecursionlimit`) is exceeded." msgstr "" -#: library/exceptions.rst:401 +#: library/exceptions.rst:407 msgid "Previously, a plain :exc:`RuntimeError` was raised." msgstr "" -#: library/exceptions.rst:407 +#: library/exceptions.rst:413 msgid "" "This exception is raised when a weak reference proxy, created by the :func:" "`weakref.proxy` function, is used to access an attribute of the referent " @@ -467,65 +473,65 @@ msgid "" "references, see the :mod:`weakref` module." msgstr "" -#: library/exceptions.rst:415 +#: library/exceptions.rst:421 msgid "" "Raised when an error is detected that doesn't fall in any of the other " "categories. The associated value is a string indicating what precisely went " "wrong." msgstr "" -#: library/exceptions.rst:422 +#: library/exceptions.rst:428 msgid "" "Raised by built-in function :func:`next` and an :term:`iterator`\\'s :meth:" "`~iterator.__next__` method to signal that there are no further items " "produced by the iterator." msgstr "" -#: library/exceptions.rst:426 +#: library/exceptions.rst:432 msgid "" "The exception object has a single attribute :attr:`value`, which is given as " "an argument when constructing the exception, and defaults to :const:`None`." msgstr "" -#: library/exceptions.rst:430 +#: library/exceptions.rst:436 msgid "" "When a :term:`generator` or :term:`coroutine` function returns, a new :exc:" "`StopIteration` instance is raised, and the value returned by the function " "is used as the :attr:`value` parameter to the constructor of the exception." msgstr "" -#: library/exceptions.rst:435 +#: library/exceptions.rst:441 msgid "" "If a generator code directly or indirectly raises :exc:`StopIteration`, it " "is converted into a :exc:`RuntimeError` (retaining the :exc:`StopIteration` " "as the new exception's cause)." msgstr "" -#: library/exceptions.rst:439 +#: library/exceptions.rst:445 msgid "" "Added ``value`` attribute and the ability for generator functions to use it " "to return a value." msgstr "" -#: library/exceptions.rst:443 +#: library/exceptions.rst:449 msgid "" "Introduced the RuntimeError transformation via ``from __future__ import " "generator_stop``, see :pep:`479`." msgstr "" -#: library/exceptions.rst:447 +#: library/exceptions.rst:453 msgid "" "Enable :pep:`479` for all code by default: a :exc:`StopIteration` error " "raised in a generator is transformed into a :exc:`RuntimeError`." msgstr "" -#: library/exceptions.rst:453 +#: library/exceptions.rst:459 msgid "" "Must be raised by :meth:`~object.__anext__` method of an :term:`asynchronous " "iterator` object to stop the iteration." msgstr "" -#: library/exceptions.rst:460 +#: library/exceptions.rst:466 msgid "" "Raised when the parser encounters a syntax error. This may occur in an :" "keyword:`import` statement, in a call to the built-in functions :func:" @@ -533,45 +539,45 @@ msgid "" "or standard input (also interactively)." msgstr "" -#: library/exceptions.rst:466 +#: library/exceptions.rst:472 msgid "" "The :func:`str` of the exception instance returns only the error message. " "Details is a tuple whose members are also available as separate attributes." msgstr "" -#: library/exceptions.rst:471 +#: library/exceptions.rst:477 msgid "The name of the file the syntax error occurred in." msgstr "" -#: library/exceptions.rst:475 +#: library/exceptions.rst:481 msgid "" "Which line number in the file the error occurred in. This is 1-indexed: the " "first line in the file has a ``lineno`` of 1." msgstr "" -#: library/exceptions.rst:480 +#: library/exceptions.rst:486 msgid "" "The column in the line where the error occurred. This is 1-indexed: the " "first character in the line has an ``offset`` of 1." msgstr "" -#: library/exceptions.rst:485 +#: library/exceptions.rst:491 msgid "The source code text involved in the error." msgstr "" -#: library/exceptions.rst:489 +#: library/exceptions.rst:495 msgid "" "Which line number in the file the error occurred ends in. This is 1-indexed: " "the first line in the file has a ``lineno`` of 1." msgstr "" -#: library/exceptions.rst:494 +#: library/exceptions.rst:500 msgid "" "The column in the end line where the error occurred finishes. This is 1-" "indexed: the first character in the line has an ``offset`` of 1." msgstr "" -#: library/exceptions.rst:497 +#: library/exceptions.rst:503 msgid "" "For errors in f-string fields, the message is prefixed by \"f-string: \" and " "the offsets are offsets in a text constructed from the replacement " @@ -579,30 +585,30 @@ msgid "" "attribute: ('f-string: ...', ('', 1, 2, '(a b)\\n', 1, 5))." msgstr "" -#: library/exceptions.rst:502 +#: library/exceptions.rst:508 msgid "Added the :attr:`end_lineno` and :attr:`end_offset` attributes." msgstr "" -#: library/exceptions.rst:507 +#: library/exceptions.rst:513 msgid "" "Base class for syntax errors related to incorrect indentation. This is a " "subclass of :exc:`SyntaxError`." msgstr "" -#: library/exceptions.rst:513 +#: library/exceptions.rst:519 msgid "" "Raised when indentation contains an inconsistent use of tabs and spaces. " "This is a subclass of :exc:`IndentationError`." msgstr "" -#: library/exceptions.rst:519 +#: library/exceptions.rst:525 msgid "" "Raised when the interpreter finds an internal error, but the situation does " "not look so serious to cause it to abandon all hope. The associated value is " "a string indicating what went wrong (in low-level terms)." msgstr "" -#: library/exceptions.rst:523 +#: library/exceptions.rst:529 msgid "" "You should report this to the author or maintainer of your Python " "interpreter. Be sure to report the version of the Python interpreter (``sys." @@ -611,7 +617,7 @@ msgid "" "possible the source of the program that triggered the error." msgstr "" -#: library/exceptions.rst:532 +#: library/exceptions.rst:538 msgid "" "This exception is raised by the :func:`sys.exit` function. It inherits " "from :exc:`BaseException` instead of :exc:`Exception` so that it is not " @@ -625,7 +631,7 @@ msgid "" "printed and the exit status is one." msgstr "" -#: library/exceptions.rst:543 +#: library/exceptions.rst:549 msgid "" "A call to :func:`sys.exit` is translated into an exception so that clean-up " "handlers (:keyword:`finally` clauses of :keyword:`try` statements) can be " @@ -635,20 +641,20 @@ msgid "" "child process after a call to :func:`os.fork`)." msgstr "" -#: library/exceptions.rst:552 +#: library/exceptions.rst:558 msgid "" "The exit status or error message that is passed to the constructor. " "(Defaults to ``None``.)" msgstr "" -#: library/exceptions.rst:558 +#: library/exceptions.rst:564 msgid "" "Raised when an operation or function is applied to an object of " "inappropriate type. The associated value is a string giving details about " "the type mismatch." msgstr "" -#: library/exceptions.rst:561 +#: library/exceptions.rst:567 msgid "" "This exception may be raised by user code to indicate that an attempted " "operation on an object is not supported, and is not meant to be. If an " @@ -656,7 +662,7 @@ msgid "" "implementation, :exc:`NotImplementedError` is the proper exception to raise." msgstr "" -#: library/exceptions.rst:566 +#: library/exceptions.rst:572 msgid "" "Passing arguments of the wrong type (e.g. passing a :class:`list` when an :" "class:`int` is expected) should result in a :exc:`TypeError`, but passing " @@ -664,99 +670,99 @@ msgid "" "should result in a :exc:`ValueError`." msgstr "" -#: library/exceptions.rst:573 +#: library/exceptions.rst:579 msgid "" "Raised when a reference is made to a local variable in a function or method, " "but no value has been bound to that variable. This is a subclass of :exc:" "`NameError`." msgstr "" -#: library/exceptions.rst:580 +#: library/exceptions.rst:586 msgid "" "Raised when a Unicode-related encoding or decoding error occurs. It is a " "subclass of :exc:`ValueError`." msgstr "" -#: library/exceptions.rst:583 +#: library/exceptions.rst:589 msgid "" ":exc:`UnicodeError` has attributes that describe the encoding or decoding " "error. For example, ``err.object[err.start:err.end]`` gives the particular " "invalid input that the codec failed on." msgstr "" -#: library/exceptions.rst:589 +#: library/exceptions.rst:595 msgid "The name of the encoding that raised the error." msgstr "" -#: library/exceptions.rst:593 +#: library/exceptions.rst:599 msgid "A string describing the specific codec error." msgstr "" -#: library/exceptions.rst:597 +#: library/exceptions.rst:603 msgid "The object the codec was attempting to encode or decode." msgstr "" -#: library/exceptions.rst:601 +#: library/exceptions.rst:607 msgid "The first index of invalid data in :attr:`object`." msgstr "" -#: library/exceptions.rst:605 +#: library/exceptions.rst:611 msgid "The index after the last invalid data in :attr:`object`." msgstr "" -#: library/exceptions.rst:610 +#: library/exceptions.rst:616 msgid "" "Raised when a Unicode-related error occurs during encoding. It is a " "subclass of :exc:`UnicodeError`." msgstr "" -#: library/exceptions.rst:616 +#: library/exceptions.rst:622 msgid "" "Raised when a Unicode-related error occurs during decoding. It is a " "subclass of :exc:`UnicodeError`." msgstr "" -#: library/exceptions.rst:622 +#: library/exceptions.rst:628 msgid "" "Raised when a Unicode-related error occurs during translating. It is a " "subclass of :exc:`UnicodeError`." msgstr "" -#: library/exceptions.rst:628 +#: library/exceptions.rst:634 msgid "" "Raised when an operation or function receives an argument that has the right " "type but an inappropriate value, and the situation is not described by a " "more precise exception such as :exc:`IndexError`." msgstr "" -#: library/exceptions.rst:635 +#: library/exceptions.rst:641 msgid "" "Raised when the second argument of a division or modulo operation is zero. " "The associated value is a string indicating the type of the operands and the " "operation." msgstr "" -#: library/exceptions.rst:640 +#: library/exceptions.rst:646 msgid "" "The following exceptions are kept for compatibility with previous versions; " "starting from Python 3.3, they are aliases of :exc:`OSError`." msgstr "" -#: library/exceptions.rst:649 +#: library/exceptions.rst:655 msgid "Only available on Windows." msgstr "" -#: library/exceptions.rst:653 +#: library/exceptions.rst:659 msgid "OS exceptions" msgstr "" -#: library/exceptions.rst:655 +#: library/exceptions.rst:661 msgid "" "The following exceptions are subclasses of :exc:`OSError`, they get raised " "depending on the system error code." msgstr "" -#: library/exceptions.rst:660 +#: library/exceptions.rst:666 msgid "" "Raised when an operation would block on an object (e.g. socket) set for non-" "blocking operation. Corresponds to :c:data:`errno` :py:const:`~errno." @@ -764,36 +770,36 @@ msgid "" "const:`~errno.EINPROGRESS`." msgstr "" -#: library/exceptions.rst:665 +#: library/exceptions.rst:671 msgid "" "In addition to those of :exc:`OSError`, :exc:`BlockingIOError` can have one " "more attribute:" msgstr "" -#: library/exceptions.rst:670 +#: library/exceptions.rst:676 msgid "" "An integer containing the number of characters written to the stream before " "it blocked. This attribute is available when using the buffered I/O classes " "from the :mod:`io` module." msgstr "" -#: library/exceptions.rst:676 +#: library/exceptions.rst:682 msgid "" "Raised when an operation on a child process failed. Corresponds to :c:data:" "`errno` :py:const:`~errno.ECHILD`." msgstr "" -#: library/exceptions.rst:681 +#: library/exceptions.rst:687 msgid "A base class for connection-related issues." msgstr "" -#: library/exceptions.rst:683 +#: library/exceptions.rst:689 msgid "" "Subclasses are :exc:`BrokenPipeError`, :exc:`ConnectionAbortedError`, :exc:" "`ConnectionRefusedError` and :exc:`ConnectionResetError`." msgstr "" -#: library/exceptions.rst:688 +#: library/exceptions.rst:694 msgid "" "A subclass of :exc:`ConnectionError`, raised when trying to write on a pipe " "while the other end has been closed, or trying to write on a socket which " @@ -801,58 +807,58 @@ msgid "" "`~errno.EPIPE` and :py:const:`~errno.ESHUTDOWN`." msgstr "" -#: library/exceptions.rst:695 +#: library/exceptions.rst:701 msgid "" "A subclass of :exc:`ConnectionError`, raised when a connection attempt is " "aborted by the peer. Corresponds to :c:data:`errno` :py:const:`~errno." "ECONNABORTED`." msgstr "" -#: library/exceptions.rst:701 +#: library/exceptions.rst:707 msgid "" "A subclass of :exc:`ConnectionError`, raised when a connection attempt is " "refused by the peer. Corresponds to :c:data:`errno` :py:const:`~errno." "ECONNREFUSED`." msgstr "" -#: library/exceptions.rst:707 +#: library/exceptions.rst:713 msgid "" "A subclass of :exc:`ConnectionError`, raised when a connection is reset by " "the peer. Corresponds to :c:data:`errno` :py:const:`~errno.ECONNRESET`." msgstr "" -#: library/exceptions.rst:713 +#: library/exceptions.rst:719 msgid "" "Raised when trying to create a file or directory which already exists. " "Corresponds to :c:data:`errno` :py:const:`~errno.EEXIST`." msgstr "" -#: library/exceptions.rst:718 +#: library/exceptions.rst:724 msgid "" "Raised when a file or directory is requested but doesn't exist. Corresponds " "to :c:data:`errno` :py:const:`~errno.ENOENT`." msgstr "" -#: library/exceptions.rst:723 +#: library/exceptions.rst:729 msgid "" "Raised when a system call is interrupted by an incoming signal. Corresponds " "to :c:data:`errno` :py:const:`~errno.EINTR`." msgstr "" -#: library/exceptions.rst:726 +#: library/exceptions.rst:732 msgid "" "Python now retries system calls when a syscall is interrupted by a signal, " "except if the signal handler raises an exception (see :pep:`475` for the " "rationale), instead of raising :exc:`InterruptedError`." msgstr "" -#: library/exceptions.rst:733 +#: library/exceptions.rst:739 msgid "" "Raised when a file operation (such as :func:`os.remove`) is requested on a " "directory. Corresponds to :c:data:`errno` :py:const:`~errno.EISDIR`." msgstr "" -#: library/exceptions.rst:739 +#: library/exceptions.rst:745 msgid "" "Raised when a directory operation (such as :func:`os.listdir`) is requested " "on something which is not a directory. On most POSIX platforms, it may also " @@ -861,7 +867,7 @@ msgid "" "ENOTDIR`." msgstr "" -#: library/exceptions.rst:747 +#: library/exceptions.rst:753 msgid "" "Raised when trying to run an operation without the adequate access rights - " "for example filesystem permissions. Corresponds to :c:data:`errno` :py:const:" @@ -869,130 +875,130 @@ msgid "" "ENOTCAPABLE`." msgstr "" -#: library/exceptions.rst:752 +#: library/exceptions.rst:758 msgid "" "WASI's :py:const:`~errno.ENOTCAPABLE` is now mapped to :exc:" "`PermissionError`." msgstr "" -#: library/exceptions.rst:758 +#: library/exceptions.rst:764 msgid "" "Raised when a given process doesn't exist. Corresponds to :c:data:`errno` :" "py:const:`~errno.ESRCH`." msgstr "" -#: library/exceptions.rst:763 +#: library/exceptions.rst:769 msgid "" "Raised when a system function timed out at the system level. Corresponds to :" "c:data:`errno` :py:const:`~errno.ETIMEDOUT`." msgstr "" -#: library/exceptions.rst:766 +#: library/exceptions.rst:772 msgid "All the above :exc:`OSError` subclasses were added." msgstr "" -#: library/exceptions.rst:772 +#: library/exceptions.rst:778 msgid ":pep:`3151` - Reworking the OS and IO exception hierarchy" msgstr "" -#: library/exceptions.rst:778 +#: library/exceptions.rst:784 msgid "Warnings" msgstr "" -#: library/exceptions.rst:780 +#: library/exceptions.rst:786 msgid "" "The following exceptions are used as warning categories; see the :ref:" "`warning-categories` documentation for more details." msgstr "" -#: library/exceptions.rst:785 +#: library/exceptions.rst:791 msgid "Base class for warning categories." msgstr "" -#: library/exceptions.rst:790 +#: library/exceptions.rst:796 msgid "Base class for warnings generated by user code." msgstr "" -#: library/exceptions.rst:795 +#: library/exceptions.rst:801 msgid "" "Base class for warnings about deprecated features when those warnings are " "intended for other Python developers." msgstr "" -#: library/exceptions.rst:798 +#: library/exceptions.rst:804 msgid "" "Ignored by the default warning filters, except in the ``__main__`` module (:" "pep:`565`). Enabling the :ref:`Python Development Mode <devmode>` shows this " "warning." msgstr "" -#: library/exceptions.rst:818 +#: library/exceptions.rst:824 msgid "The deprecation policy is described in :pep:`387`." msgstr "" -#: library/exceptions.rst:807 +#: library/exceptions.rst:813 msgid "" "Base class for warnings about features which are obsolete and expected to be " "deprecated in the future, but are not deprecated at the moment." msgstr "" -#: library/exceptions.rst:811 +#: library/exceptions.rst:817 msgid "" "This class is rarely used as emitting a warning about a possible upcoming " "deprecation is unusual, and :exc:`DeprecationWarning` is preferred for " "already active deprecations." msgstr "" -#: library/exceptions.rst:841 library/exceptions.rst:868 +#: library/exceptions.rst:847 library/exceptions.rst:874 msgid "" "Ignored by the default warning filters. Enabling the :ref:`Python " "Development Mode <devmode>` shows this warning." msgstr "" -#: library/exceptions.rst:823 +#: library/exceptions.rst:829 msgid "Base class for warnings about dubious syntax." msgstr "" -#: library/exceptions.rst:828 +#: library/exceptions.rst:834 msgid "Base class for warnings about dubious runtime behavior." msgstr "" -#: library/exceptions.rst:833 +#: library/exceptions.rst:839 msgid "" "Base class for warnings about deprecated features when those warnings are " "intended for end users of applications that are written in Python." msgstr "" -#: library/exceptions.rst:839 +#: library/exceptions.rst:845 msgid "Base class for warnings about probable mistakes in module imports." msgstr "" -#: library/exceptions.rst:847 +#: library/exceptions.rst:853 msgid "Base class for warnings related to Unicode." msgstr "" -#: library/exceptions.rst:852 +#: library/exceptions.rst:858 msgid "Base class for warnings related to encodings." msgstr "" -#: library/exceptions.rst:854 +#: library/exceptions.rst:860 msgid "See :ref:`io-encoding-warning` for details." msgstr "" -#: library/exceptions.rst:861 +#: library/exceptions.rst:867 msgid "" "Base class for warnings related to :class:`bytes` and :class:`bytearray`." msgstr "" -#: library/exceptions.rst:866 +#: library/exceptions.rst:872 msgid "Base class for warnings related to resource usage." msgstr "" -#: library/exceptions.rst:877 +#: library/exceptions.rst:883 msgid "Exception groups" msgstr "" -#: library/exceptions.rst:879 +#: library/exceptions.rst:885 msgid "" "The following are used when it is necessary to raise multiple unrelated " "exceptions. They are part of the exception hierarchy so they can be handled " @@ -1001,7 +1007,7 @@ msgid "" "based on the types of the contained exceptions." msgstr "" -#: library/exceptions.rst:888 +#: library/exceptions.rst:894 msgid "" "Both of these exception types wrap the exceptions in the sequence ``excs``. " "The ``msg`` parameter must be a string. The difference between the two " @@ -1012,7 +1018,7 @@ msgid "" "exc:`BaseExceptionGroup`." msgstr "" -#: library/exceptions.rst:896 +#: library/exceptions.rst:902 msgid "" "The :exc:`BaseExceptionGroup` constructor returns an :exc:`ExceptionGroup` " "rather than a :exc:`BaseExceptionGroup` if all contained exceptions are :exc:" @@ -1021,23 +1027,23 @@ msgid "" "`TypeError` if any contained exception is not an :exc:`Exception` subclass." msgstr "" -#: library/exceptions.rst:905 +#: library/exceptions.rst:911 msgid "The ``msg`` argument to the constructor. This is a read-only attribute." msgstr "" -#: library/exceptions.rst:909 +#: library/exceptions.rst:915 msgid "" "A tuple of the exceptions in the ``excs`` sequence given to the constructor. " "This is a read-only attribute." msgstr "" -#: library/exceptions.rst:914 +#: library/exceptions.rst:920 msgid "" "Returns an exception group that contains only the exceptions from the " "current group that match *condition*, or ``None`` if the result is empty." msgstr "" -#: library/exceptions.rst:917 +#: library/exceptions.rst:923 msgid "" "The condition can be either a function that accepts an exception and returns " "true for those that should be in the subgroup, or it can be an exception " @@ -1045,7 +1051,7 @@ msgid "" "the same check that is used in an ``except`` clause." msgstr "" -#: library/exceptions.rst:922 +#: library/exceptions.rst:928 msgid "" "The nesting structure of the current exception is preserved in the result, " "as are the values of its :attr:`message`, :attr:`__traceback__`, :attr:" @@ -1053,34 +1059,34 @@ msgid "" "groups are omitted from the result." msgstr "" -#: library/exceptions.rst:927 +#: library/exceptions.rst:933 msgid "" "The condition is checked for all exceptions in the nested exception group, " "including the top-level and any nested exception groups. If the condition is " "true for such an exception group, it is included in the result in full." msgstr "" -#: library/exceptions.rst:933 +#: library/exceptions.rst:939 msgid "" "Like :meth:`subgroup`, but returns the pair ``(match, rest)`` where " "``match`` is ``subgroup(condition)`` and ``rest`` is the remaining non-" "matching part." msgstr "" -#: library/exceptions.rst:939 +#: library/exceptions.rst:945 msgid "" "Returns an exception group with the same :attr:`message`, but which wraps " "the exceptions in ``excs``." msgstr "" -#: library/exceptions.rst:942 +#: library/exceptions.rst:948 msgid "" "This method is used by :meth:`subgroup` and :meth:`split`. A subclass needs " "to override it in order to make :meth:`subgroup` and :meth:`split` return " "instances of the subclass rather than :exc:`ExceptionGroup`." msgstr "" -#: library/exceptions.rst:947 +#: library/exceptions.rst:953 msgid "" ":meth:`subgroup` and :meth:`split` copy the :attr:`__traceback__`, :attr:" "`__cause__`, :attr:`__context__` and :attr:`__notes__` fields from the " @@ -1088,7 +1094,7 @@ msgid "" "fields do not need to be updated by :meth:`derive`. ::" msgstr "" -#: library/exceptions.rst:976 +#: library/exceptions.rst:982 msgid "" "Note that :exc:`BaseExceptionGroup` defines :meth:`__new__`, so subclasses " "that need a different constructor signature need to override that rather " @@ -1097,18 +1103,18 @@ msgid "" "from it. ::" msgstr "" -#: library/exceptions.rst:991 +#: library/exceptions.rst:997 msgid "" "Like :exc:`ExceptionGroup`, any subclass of :exc:`BaseExceptionGroup` which " "is also a subclass of :exc:`Exception` can only wrap instances of :exc:" "`Exception`." msgstr "" -#: library/exceptions.rst:999 +#: library/exceptions.rst:1005 msgid "Exception hierarchy" msgstr "" -#: library/exceptions.rst:1001 +#: library/exceptions.rst:1007 msgid "The class hierarchy for built-in exceptions is:" msgstr "" @@ -1132,10 +1138,10 @@ msgstr "" msgid "assert" msgstr "" -#: library/exceptions.rst:321 +#: library/exceptions.rst:327 msgid "module" msgstr "" -#: library/exceptions.rst:321 +#: library/exceptions.rst:327 msgid "errno" msgstr "" diff --git a/library/gettext.po b/library/gettext.po index 2621fda74..f2d660efa 100644 --- a/library/gettext.po +++ b/library/gettext.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -82,7 +82,7 @@ msgstr "" msgid "" "Return the localized translation of *message*, based on the current global " "domain, language, and locale directory. This function is usually aliased " -"as :func:`_` in the local namespace (see examples below)." +"as :func:`!_` in the local namespace (see examples below)." msgstr "" #: library/gettext.rst:66 @@ -122,7 +122,7 @@ msgstr "" #: library/gettext.rst:101 msgid "" -"Note that GNU :program:`gettext` also defines a :func:`dcgettext` method, " +"Note that GNU :program:`gettext` also defines a :func:`!dcgettext` method, " "but this was deemed not useful and so it is currently unimplemented." msgstr "" @@ -142,7 +142,7 @@ msgid "" "gettext` defines a :class:`GNUTranslations` class which implements the " "parsing of GNU :file:`.mo` format files, and has methods for returning " "strings. Instances of this class can also install themselves in the built-in " -"namespace as the function :func:`_`." +"namespace as the function :func:`!_`." msgstr "" #: library/gettext.rst:127 @@ -184,17 +184,15 @@ msgstr "" #: library/gettext.rst:153 msgid "" -"Return a :class:`*Translations` instance based on the *domain*, *localedir*, " -"and *languages*, which are first passed to :func:`find` to get a list of the " +"Return a ``*Translations`` instance based on the *domain*, *localedir*, and " +"*languages*, which are first passed to :func:`find` to get a list of the " "associated :file:`.mo` file paths. Instances with identical :file:`.mo` " "file names are cached. The actual class instantiated is *class_* if " "provided, otherwise :class:`GNUTranslations`. The class's constructor must " -"take a single :term:`file object` argument. If provided, *codeset* will " -"change the charset used to encode translated strings in the :meth:" -"`~NullTranslations.lgettext` and :meth:`~NullTranslations.lngettext` methods." +"take a single :term:`file object` argument." msgstr "" -#: library/gettext.rst:163 +#: library/gettext.rst:160 msgid "" "If multiple files are found, later files are used as fallbacks for earlier " "ones. To allow setting the fallback, :func:`copy.copy` is used to clone each " @@ -202,57 +200,57 @@ msgid "" "with the cache." msgstr "" -#: library/gettext.rst:168 +#: library/gettext.rst:165 msgid "" "If no :file:`.mo` file is found, this function raises :exc:`OSError` if " "*fallback* is false (which is the default), and returns a :class:" "`NullTranslations` instance if *fallback* is true." msgstr "" -#: library/gettext.rst:172 +#: library/gettext.rst:169 msgid ":exc:`IOError` used to be raised instead of :exc:`OSError`." msgstr "" -#: library/gettext.rst:175 +#: library/gettext.rst:172 msgid "*codeset* parameter is removed." msgstr "" -#: library/gettext.rst:180 +#: library/gettext.rst:177 msgid "" -"This installs the function :func:`_` in Python's builtins namespace, based " +"This installs the function :func:`!_` in Python's builtins namespace, based " "on *domain* and *localedir* which are passed to the function :func:" "`translation`." msgstr "" -#: library/gettext.rst:183 +#: library/gettext.rst:180 msgid "" "For the *names* parameter, please see the description of the translation " "object's :meth:`~NullTranslations.install` method." msgstr "" -#: library/gettext.rst:186 +#: library/gettext.rst:183 msgid "" "As seen below, you usually mark the strings in your application that are " -"candidates for translation, by wrapping them in a call to the :func:`_` " +"candidates for translation, by wrapping them in a call to the :func:`!_` " "function, like this::" msgstr "" -#: library/gettext.rst:192 +#: library/gettext.rst:189 msgid "" -"For convenience, you want the :func:`_` function to be installed in Python's " -"builtins namespace, so it is easily accessible in all modules of your " -"application." +"For convenience, you want the :func:`!_` function to be installed in " +"Python's builtins namespace, so it is easily accessible in all modules of " +"your application." msgstr "" -#: library/gettext.rst:196 +#: library/gettext.rst:193 msgid "*names* is now a keyword-only parameter." msgstr "" -#: library/gettext.rst:200 +#: library/gettext.rst:197 msgid "The :class:`NullTranslations` class" msgstr "" -#: library/gettext.rst:202 +#: library/gettext.rst:199 msgid "" "Translation classes are what actually implement the translation of original " "source file message strings to translated message strings. The base class " @@ -261,7 +259,7 @@ msgid "" "classes. Here are the methods of :class:`!NullTranslations`:" msgstr "" -#: library/gettext.rst:211 +#: library/gettext.rst:208 msgid "" "Takes an optional :term:`file object` *fp*, which is ignored by the base " "class. Initializes \"protected\" instance variables *_info* and *_charset* " @@ -270,7 +268,7 @@ msgid "" "not ``None``." msgstr "" -#: library/gettext.rst:219 +#: library/gettext.rst:216 msgid "" "No-op in the base class, this method takes file object *fp*, and reads the " "data from the file, initializing its message catalog. If you have an " @@ -278,86 +276,86 @@ msgid "" "parse your format." msgstr "" -#: library/gettext.rst:227 +#: library/gettext.rst:224 msgid "" "Add *fallback* as the fallback object for the current translation object. A " "translation object should consult the fallback if it cannot provide a " "translation for a given message." msgstr "" -#: library/gettext.rst:234 +#: library/gettext.rst:231 msgid "" "If a fallback has been set, forward :meth:`!gettext` to the fallback. " "Otherwise, return *message*. Overridden in derived classes." msgstr "" -#: library/gettext.rst:240 +#: library/gettext.rst:237 msgid "" "If a fallback has been set, forward :meth:`!ngettext` to the fallback. " "Otherwise, return *singular* if *n* is 1; return *plural* otherwise. " "Overridden in derived classes." msgstr "" -#: library/gettext.rst:247 +#: library/gettext.rst:244 msgid "" "If a fallback has been set, forward :meth:`pgettext` to the fallback. " "Otherwise, return the translated message. Overridden in derived classes." msgstr "" -#: library/gettext.rst:255 +#: library/gettext.rst:252 msgid "" "If a fallback has been set, forward :meth:`npgettext` to the fallback. " "Otherwise, return the translated message. Overridden in derived classes." msgstr "" -#: library/gettext.rst:263 +#: library/gettext.rst:260 msgid "" "Return the \"protected\" :attr:`_info` variable, a dictionary containing the " "metadata found in the message catalog file." msgstr "" -#: library/gettext.rst:269 +#: library/gettext.rst:266 msgid "Return the encoding of the message catalog file." msgstr "" -#: library/gettext.rst:274 +#: library/gettext.rst:271 msgid "" "This method installs :meth:`.gettext` into the built-in namespace, binding " "it to ``_``." msgstr "" -#: library/gettext.rst:277 +#: library/gettext.rst:274 msgid "" "If the *names* parameter is given, it must be a sequence containing the " "names of functions you want to install in the builtins namespace in addition " -"to :func:`_`. Supported names are ``'gettext'``, ``'ngettext'``, " -"``'pgettext'``, ``'npgettext'``, ``'lgettext'``, and ``'lngettext'``." +"to :func:`!_`. Supported names are ``'gettext'``, ``'ngettext'``, " +"``'pgettext'``, and ``'npgettext'``." msgstr "" -#: library/gettext.rst:282 +#: library/gettext.rst:279 msgid "" "Note that this is only one way, albeit the most convenient way, to make the :" -"func:`_` function available to your application. Because it affects the " +"func:`!_` function available to your application. Because it affects the " "entire application globally, and specifically the built-in namespace, " -"localized modules should never install :func:`_`. Instead, they should use " -"this code to make :func:`_` available to their module::" +"localized modules should never install :func:`!_`. Instead, they should use " +"this code to make :func:`!_` available to their module::" msgstr "" -#: library/gettext.rst:292 +#: library/gettext.rst:289 msgid "" -"This puts :func:`_` only in the module's global namespace and so only " +"This puts :func:`!_` only in the module's global namespace and so only " "affects calls within this module." msgstr "" -#: library/gettext.rst:295 +#: library/gettext.rst:292 msgid "Added ``'pgettext'`` and ``'npgettext'``." msgstr "" -#: library/gettext.rst:300 +#: library/gettext.rst:297 msgid "The :class:`GNUTranslations` class" msgstr "" -#: library/gettext.rst:302 +#: library/gettext.rst:299 msgid "" "The :mod:`gettext` module provides one additional class derived from :class:" "`NullTranslations`: :class:`GNUTranslations`. This class overrides :meth:" @@ -365,7 +363,7 @@ msgid "" "in both big-endian and little-endian format." msgstr "" -#: library/gettext.rst:307 +#: library/gettext.rst:304 msgid "" ":class:`GNUTranslations` parses optional metadata out of the translation " "catalog. It is convention with GNU :program:`gettext` to include metadata as " @@ -378,31 +376,31 @@ msgid "" "to Unicode using this encoding, else ASCII is assumed." msgstr "" -#: library/gettext.rst:317 +#: library/gettext.rst:314 msgid "" -"Since message ids are read as Unicode strings too, all :meth:`*gettext` " +"Since message ids are read as Unicode strings too, all ``*gettext()`` " "methods will assume message ids as Unicode strings, not byte strings." msgstr "" -#: library/gettext.rst:320 +#: library/gettext.rst:317 msgid "" "The entire set of key/value pairs are placed into a dictionary and set as " "the \"protected\" :attr:`_info` instance variable." msgstr "" -#: library/gettext.rst:323 +#: library/gettext.rst:320 msgid "" "If the :file:`.mo` file's magic number is invalid, the major version number " "is unexpected, or if other problems occur while reading the file, " "instantiating a :class:`GNUTranslations` class can raise :exc:`OSError`." msgstr "" -#: library/gettext.rst:329 +#: library/gettext.rst:326 msgid "" "The following methods are overridden from the base class implementation:" msgstr "" -#: library/gettext.rst:333 +#: library/gettext.rst:330 msgid "" "Look up the *message* id in the catalog and return the corresponding message " "string, as a Unicode string. If there is no entry in the catalog for the " @@ -411,14 +409,14 @@ msgid "" "*message* id is returned." msgstr "" -#: library/gettext.rst:342 +#: library/gettext.rst:339 msgid "" "Do a plural-forms lookup of a message id. *singular* is used as the message " "id for purposes of lookup in the catalog, while *n* is used to determine " "which plural form to use. The returned message string is a Unicode string." msgstr "" -#: library/gettext.rst:346 +#: library/gettext.rst:343 msgid "" "If the message id is not found in the catalog, and a fallback is specified, " "the request is forwarded to the fallback's :meth:`~NullTranslations." @@ -426,11 +424,11 @@ msgid "" "*plural* is returned in all other cases." msgstr "" -#: library/gettext.rst:351 +#: library/gettext.rst:348 msgid "Here is an example::" msgstr "" -#: library/gettext.rst:363 +#: library/gettext.rst:360 msgid "" "Look up the *context* and *message* id in the catalog and return the " "corresponding message string, as a Unicode string. If there is no entry in " @@ -439,14 +437,14 @@ msgid "" "Otherwise, the *message* id is returned." msgstr "" -#: library/gettext.rst:374 +#: library/gettext.rst:371 msgid "" "Do a plural-forms lookup of a message id. *singular* is used as the message " "id for purposes of lookup in the catalog, while *n* is used to determine " "which plural form to use." msgstr "" -#: library/gettext.rst:378 +#: library/gettext.rst:375 msgid "" "If the message id for *context* is not found in the catalog, and a fallback " "is specified, the request is forwarded to the fallback's :meth:`npgettext` " @@ -454,45 +452,45 @@ msgid "" "returned in all other cases." msgstr "" -#: library/gettext.rst:387 +#: library/gettext.rst:384 msgid "Solaris message catalog support" msgstr "" -#: library/gettext.rst:389 +#: library/gettext.rst:386 msgid "" "The Solaris operating system defines its own binary :file:`.mo` file format, " "but since no documentation can be found on this format, it is not supported " "at this time." msgstr "" -#: library/gettext.rst:395 +#: library/gettext.rst:392 msgid "The Catalog constructor" msgstr "" -#: library/gettext.rst:399 +#: library/gettext.rst:396 msgid "" "GNOME uses a version of the :mod:`gettext` module by James Henstridge, but " "this version has a slightly different API. Its documented usage was::" msgstr "" -#: library/gettext.rst:407 +#: library/gettext.rst:404 msgid "" -"For compatibility with this older module, the function :func:`Catalog` is an " -"alias for the :func:`translation` function described above." +"For compatibility with this older module, the function :func:`!Catalog` is " +"an alias for the :func:`translation` function described above." msgstr "" -#: library/gettext.rst:410 +#: library/gettext.rst:407 msgid "" "One difference between this module and Henstridge's: his catalog objects " "supported access through a mapping API, but this appears to be unused and so " "is not currently supported." msgstr "" -#: library/gettext.rst:417 +#: library/gettext.rst:414 msgid "Internationalizing your programs and modules" msgstr "" -#: library/gettext.rst:419 +#: library/gettext.rst:416 msgid "" "Internationalization (I18N) refers to the operation by which a program is " "made aware of multiple languages. Localization (L10N) refers to the " @@ -501,41 +499,41 @@ msgid "" "Python programs, you need to take the following steps:" msgstr "" -#: library/gettext.rst:425 +#: library/gettext.rst:422 msgid "" "prepare your program or module by specially marking translatable strings" msgstr "" -#: library/gettext.rst:427 +#: library/gettext.rst:424 msgid "" "run a suite of tools over your marked files to generate raw messages catalogs" msgstr "" -#: library/gettext.rst:429 +#: library/gettext.rst:426 msgid "create language-specific translations of the message catalogs" msgstr "" -#: library/gettext.rst:431 +#: library/gettext.rst:428 msgid "" "use the :mod:`gettext` module so that message strings are properly translated" msgstr "" -#: library/gettext.rst:433 +#: library/gettext.rst:430 msgid "" "In order to prepare your code for I18N, you need to look at all the strings " "in your files. Any string that needs to be translated should be marked by " -"wrapping it in ``_('...')`` --- that is, a call to the function :func:`_`. " -"For example::" +"wrapping it in ``_('...')`` --- that is, a call to the function :func:`_ " +"<gettext>`. For example::" msgstr "" -#: library/gettext.rst:442 +#: library/gettext.rst:439 msgid "" "In this example, the string ``'writing a log message'`` is marked as a " "candidate for translation, while the strings ``'mylog.txt'`` and ``'w'`` are " "not." msgstr "" -#: library/gettext.rst:445 +#: library/gettext.rst:442 msgid "" "There are a few tools to extract the strings meant for translation. The " "original GNU :program:`gettext` only supported C or C++ source code but its " @@ -548,7 +546,7 @@ msgid "" "utils>`__." msgstr "" -#: library/gettext.rst:455 +#: library/gettext.rst:452 msgid "" "(Python also includes pure-Python versions of these programs, called :" "program:`pygettext.py` and :program:`msgfmt.py`; some Python distributions " @@ -561,7 +559,7 @@ msgid "" "GNU :program:`gettext` package to internationalize your Python applications.)" msgstr "" -#: library/gettext.rst:467 +#: library/gettext.rst:464 msgid "" ":program:`xgettext`, :program:`pygettext`, and similar tools generate :file:" "`.po` files that are message catalogs. They are structured human-readable " @@ -569,7 +567,7 @@ msgid "" "placeholder for the translated versions of these strings." msgstr "" -#: library/gettext.rst:473 +#: library/gettext.rst:470 msgid "" "Copies of these :file:`.po` files are then handed over to the individual " "human translators who write translations for every supported natural " @@ -580,25 +578,25 @@ msgid "" "processing at run-time." msgstr "" -#: library/gettext.rst:482 +#: library/gettext.rst:479 msgid "" "How you use the :mod:`gettext` module in your code depends on whether you " "are internationalizing a single module or your entire application. The next " "two sections will discuss each case." msgstr "" -#: library/gettext.rst:488 +#: library/gettext.rst:485 msgid "Localizing your module" msgstr "" -#: library/gettext.rst:490 +#: library/gettext.rst:487 msgid "" "If you are localizing your module, you must take care not to make global " "changes, e.g. to the built-in namespace. You should not use the GNU :program:" "`gettext` API but instead the class-based API." msgstr "" -#: library/gettext.rst:494 +#: library/gettext.rst:491 msgid "" "Let's say your module is called \"spam\" and the module's various natural " "language translation :file:`.mo` files reside in :file:`/usr/share/locale` " @@ -606,143 +604,143 @@ msgid "" "your module::" msgstr "" -#: library/gettext.rst:505 +#: library/gettext.rst:502 msgid "Localizing your application" msgstr "" -#: library/gettext.rst:507 +#: library/gettext.rst:504 msgid "" -"If you are localizing your application, you can install the :func:`_` " +"If you are localizing your application, you can install the :func:`!_` " "function globally into the built-in namespace, usually in the main driver " "file of your application. This will let all your application-specific files " "just use ``_('...')`` without having to explicitly install it in each file." msgstr "" -#: library/gettext.rst:512 +#: library/gettext.rst:509 msgid "" "In the simple case then, you need only add the following bit of code to the " "main driver file of your application::" msgstr "" -#: library/gettext.rst:518 +#: library/gettext.rst:515 msgid "" "If you need to set the locale directory, you can pass it into the :func:" "`install` function::" msgstr "" -#: library/gettext.rst:526 +#: library/gettext.rst:523 msgid "Changing languages on the fly" msgstr "" -#: library/gettext.rst:528 +#: library/gettext.rst:525 msgid "" "If your program needs to support many languages at the same time, you may " "want to create multiple translation instances and then switch between them " "explicitly, like so::" msgstr "" -#: library/gettext.rst:549 +#: library/gettext.rst:546 msgid "Deferred translations" msgstr "" -#: library/gettext.rst:551 +#: library/gettext.rst:548 msgid "" "In most coding situations, strings are translated where they are coded. " "Occasionally however, you need to mark strings for translation, but defer " "actual translation until later. A classic example is::" msgstr "" -#: library/gettext.rst:564 +#: library/gettext.rst:561 msgid "" "Here, you want to mark the strings in the ``animals`` list as being " "translatable, but you don't actually want to translate them until they are " "printed." msgstr "" -#: library/gettext.rst:568 +#: library/gettext.rst:565 msgid "Here is one way you can handle this situation::" msgstr "" -#: library/gettext.rst:584 +#: library/gettext.rst:581 msgid "" -"This works because the dummy definition of :func:`_` simply returns the " +"This works because the dummy definition of :func:`!_` simply returns the " "string unchanged. And this dummy definition will temporarily override any " -"definition of :func:`_` in the built-in namespace (until the :keyword:`del` " -"command). Take care, though if you have a previous definition of :func:`_` " +"definition of :func:`!_` in the built-in namespace (until the :keyword:`del` " +"command). Take care, though if you have a previous definition of :func:`!_` " "in the local namespace." msgstr "" -#: library/gettext.rst:590 +#: library/gettext.rst:587 msgid "" -"Note that the second use of :func:`_` will not identify \"a\" as being " +"Note that the second use of :func:`!_` will not identify \"a\" as being " "translatable to the :program:`gettext` program, because the parameter is not " "a string literal." msgstr "" -#: library/gettext.rst:594 +#: library/gettext.rst:591 msgid "Another way to handle this is with the following example::" msgstr "" -#: library/gettext.rst:608 +#: library/gettext.rst:605 msgid "" -"In this case, you are marking translatable strings with the function :func:" -"`N_`, which won't conflict with any definition of :func:`_`. However, you " +"In this case, you are marking translatable strings with the function :func:`!" +"N_`, which won't conflict with any definition of :func:`!_`. However, you " "will need to teach your message extraction program to look for translatable " -"strings marked with :func:`N_`. :program:`xgettext`, :program:`pygettext`, " +"strings marked with :func:`!N_`. :program:`xgettext`, :program:`pygettext`, " "``pybabel extract``, and :program:`xpot` all support this through the use of " -"the :option:`!-k` command-line switch. The choice of :func:`N_` here is " -"totally arbitrary; it could have just as easily been :func:" -"`MarkThisStringForTranslation`." +"the :option:`!-k` command-line switch. The choice of :func:`!N_` here is " +"totally arbitrary; it could have just as easily been :func:`!" +"MarkThisStringForTranslation`." msgstr "" -#: library/gettext.rst:619 +#: library/gettext.rst:616 msgid "Acknowledgements" msgstr "" -#: library/gettext.rst:621 +#: library/gettext.rst:618 msgid "" "The following people contributed code, feedback, design suggestions, " "previous implementations, and valuable experience to the creation of this " "module:" msgstr "" -#: library/gettext.rst:624 +#: library/gettext.rst:621 msgid "Peter Funk" msgstr "" -#: library/gettext.rst:626 +#: library/gettext.rst:623 msgid "James Henstridge" msgstr "" -#: library/gettext.rst:628 +#: library/gettext.rst:625 msgid "Juan David Ibáñez Palomar" msgstr "" -#: library/gettext.rst:630 +#: library/gettext.rst:627 msgid "Marc-André Lemburg" msgstr "" -#: library/gettext.rst:632 +#: library/gettext.rst:629 msgid "Martin von Löwis" msgstr "" -#: library/gettext.rst:634 +#: library/gettext.rst:631 msgid "François Pinard" msgstr "" -#: library/gettext.rst:636 +#: library/gettext.rst:633 msgid "Barry Warsaw" msgstr "" -#: library/gettext.rst:638 +#: library/gettext.rst:635 msgid "Gustavo Niemeyer" msgstr "" -#: library/gettext.rst:641 +#: library/gettext.rst:638 msgid "Footnotes" msgstr "" -#: library/gettext.rst:642 +#: library/gettext.rst:639 msgid "" "The default locale directory is system dependent; for example, on RedHat " "Linux it is :file:`/usr/share/locale`, but on Solaris it is :file:`/usr/lib/" @@ -753,7 +751,7 @@ msgid "" "your application." msgstr "" -#: library/gettext.rst:650 +#: library/gettext.rst:647 msgid "See the footnote for :func:`bindtextdomain` above." msgstr "" @@ -765,6 +763,6 @@ msgstr "" msgid "gettext" msgstr "" -#: library/gettext.rst:397 +#: library/gettext.rst:394 msgid "GNOME" msgstr "" diff --git a/library/os.po b/library/os.po index fce6b0f95..aa2370fe9 100644 --- a/library/os.po +++ b/library/os.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-10-01 00:18+0000\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -474,8 +474,8 @@ msgstr "" #: library/os.rst:1053 library/os.rst:1138 library/os.rst:1396 #: library/os.rst:1424 library/os.rst:1708 library/os.rst:1770 #: library/os.rst:2124 library/os.rst:2178 library/os.rst:2508 -#: library/os.rst:3398 library/os.rst:5172 library/os.rst:5202 -#: library/os.rst:5221 +#: library/os.rst:3398 library/os.rst:5174 library/os.rst:5204 +#: library/os.rst:5223 msgid ":ref:`Availability <availability>`: Unix." msgstr "" @@ -5556,16 +5556,20 @@ msgid "" msgstr "" #: library/os.rst:5144 +msgid "Return the set of CPUs the process with PID *pid* is restricted to." +msgstr "" + +#: library/os.rst:5146 msgid "" -"Return the set of CPUs the process with PID *pid* (or the current process if " -"zero) is restricted to." +"If *pid* is zero, return the set of CPUs the calling thread of the current " +"process is restricted to." msgstr "" -#: library/os.rst:5151 +#: library/os.rst:5153 msgid "Miscellaneous System Information" msgstr "" -#: library/os.rst:5156 +#: library/os.rst:5158 msgid "" "Return string-valued system configuration values. *name* specifies the " "configuration value to retrieve; it may be a string which is the name of a " @@ -5576,13 +5580,13 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:5164 +#: library/os.rst:5166 msgid "" "If the configuration value specified by *name* isn't defined, ``None`` is " "returned." msgstr "" -#: library/os.rst:5167 +#: library/os.rst:5169 msgid "" "If *name* is a string and is not known, :exc:`ValueError` is raised. If a " "specific value for *name* is not supported by the host system, even if it is " @@ -5590,33 +5594,34 @@ msgid "" "`errno.EINVAL` for the error number." msgstr "" -#: library/os.rst:5177 +#: library/os.rst:5179 msgid "" "Dictionary mapping names accepted by :func:`confstr` to the integer values " "defined for those names by the host operating system. This can be used to " "determine the set of names known to the system." msgstr "" -#: library/os.rst:5186 +#: library/os.rst:5188 msgid "" -"Return the number of CPUs in the system. Returns ``None`` if undetermined." +"Return the number of logical CPUs in the system. Returns ``None`` if " +"undetermined." msgstr "" -#: library/os.rst:5188 +#: library/os.rst:5191 msgid "" -"This number is not equivalent to the number of CPUs the current process can " -"use. The number of usable CPUs can be obtained with ``len(os." -"sched_getaffinity(0))``" +"This number is not equivalent to the number of logical CPUs the current " +"process can use. ``len(os.sched_getaffinity(0))`` gets the number of logical " +"CPUs the calling thread of the current process is restricted to" msgstr "" -#: library/os.rst:5198 +#: library/os.rst:5200 msgid "" "Return the number of processes in the system run queue averaged over the " "last 1, 5, and 15 minutes or raises :exc:`OSError` if the load average was " "unobtainable." msgstr "" -#: library/os.rst:5207 +#: library/os.rst:5209 msgid "" "Return integer-valued system configuration values. If the configuration " "value specified by *name* isn't defined, ``-1`` is returned. The comments " @@ -5625,44 +5630,44 @@ msgid "" "``sysconf_names``." msgstr "" -#: library/os.rst:5217 +#: library/os.rst:5219 msgid "" "Dictionary mapping names accepted by :func:`sysconf` to the integer values " "defined for those names by the host operating system. This can be used to " "determine the set of names known to the system." msgstr "" -#: library/os.rst:5223 +#: library/os.rst:5225 msgid "Add ``'SC_MINSIGSTKSZ'`` name." msgstr "" -#: library/os.rst:5226 +#: library/os.rst:5228 msgid "" "The following data values are used to support path manipulation operations. " "These are defined for all platforms." msgstr "" -#: library/os.rst:5229 +#: library/os.rst:5231 msgid "" "Higher-level operations on pathnames are defined in the :mod:`os.path` " "module." msgstr "" -#: library/os.rst:5235 +#: library/os.rst:5237 msgid "" "The constant string used by the operating system to refer to the current " "directory. This is ``'.'`` for Windows and POSIX. Also available via :mod:" "`os.path`." msgstr "" -#: library/os.rst:5243 +#: library/os.rst:5245 msgid "" "The constant string used by the operating system to refer to the parent " "directory. This is ``'..'`` for Windows and POSIX. Also available via :mod:" "`os.path`." msgstr "" -#: library/os.rst:5252 +#: library/os.rst:5254 msgid "" "The character used by the operating system to separate pathname components. " "This is ``'/'`` for POSIX and ``'\\\\'`` for Windows. Note that knowing " @@ -5671,7 +5676,7 @@ msgid "" "useful. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:5262 +#: library/os.rst:5264 msgid "" "An alternative character used by the operating system to separate pathname " "components, or ``None`` if only one separator character exists. This is set " @@ -5679,27 +5684,27 @@ msgid "" "via :mod:`os.path`." msgstr "" -#: library/os.rst:5271 +#: library/os.rst:5273 msgid "" "The character which separates the base filename from the extension; for " "example, the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:5279 +#: library/os.rst:5281 msgid "" "The character conventionally used by the operating system to separate search " "path components (as in :envvar:`PATH`), such as ``':'`` for POSIX or ``';'`` " "for Windows. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:5286 +#: library/os.rst:5288 msgid "" "The default search path used by :func:`exec\\*p\\* <execl>` and :func:" "`spawn\\*p\\* <spawnl>` if the environment doesn't have a ``'PATH'`` key. " "Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:5293 +#: library/os.rst:5295 msgid "" "The string used to separate (or, rather, terminate) lines on the current " "platform. This may be a single character, such as ``'\\n'`` for POSIX, or " @@ -5708,36 +5713,36 @@ msgid "" "default); use a single ``'\\n'`` instead, on all platforms." msgstr "" -#: library/os.rst:5302 +#: library/os.rst:5304 msgid "" "The file path of the null device. For example: ``'/dev/null'`` for POSIX, " "``'nul'`` for Windows. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:5313 +#: library/os.rst:5315 msgid "" "Flags for use with the :func:`~sys.setdlopenflags` and :func:`~sys." "getdlopenflags` functions. See the Unix manual page :manpage:`dlopen(3)` " "for what the different flags mean." msgstr "" -#: library/os.rst:5321 +#: library/os.rst:5323 msgid "Random numbers" msgstr "" -#: library/os.rst:5326 +#: library/os.rst:5328 msgid "" "Get up to *size* random bytes. The function can return less bytes than " "requested." msgstr "" -#: library/os.rst:5329 +#: library/os.rst:5331 msgid "" "These bytes can be used to seed user-space random number generators or for " "cryptographic purposes." msgstr "" -#: library/os.rst:5332 +#: library/os.rst:5334 msgid "" "``getrandom()`` relies on entropy gathered from device drivers and other " "sources of environmental noise. Unnecessarily reading large quantities of " @@ -5745,36 +5750,36 @@ msgid "" "``/dev/urandom`` devices." msgstr "" -#: library/os.rst:5337 +#: library/os.rst:5339 msgid "" "The flags argument is a bit mask that can contain zero or more of the " "following values ORed together: :py:const:`os.GRND_RANDOM` and :py:data:" "`GRND_NONBLOCK`." msgstr "" -#: library/os.rst:5341 +#: library/os.rst:5343 msgid "" "See also the `Linux getrandom() manual page <https://man7.org/linux/man-" "pages/man2/getrandom.2.html>`_." msgstr "" -#: library/os.rst:5344 +#: library/os.rst:5346 msgid ":ref:`Availability <availability>`: Linux >= 3.17." msgstr "" -#: library/os.rst:5350 +#: library/os.rst:5352 msgid "" "Return a bytestring of *size* random bytes suitable for cryptographic use." msgstr "" -#: library/os.rst:5352 +#: library/os.rst:5354 msgid "" "This function returns random bytes from an OS-specific randomness source. " "The returned data should be unpredictable enough for cryptographic " "applications, though its exact quality depends on the OS implementation." msgstr "" -#: library/os.rst:5356 +#: library/os.rst:5358 msgid "" "On Linux, if the ``getrandom()`` syscall is available, it is used in " "blocking mode: block until the system urandom entropy pool is initialized " @@ -5784,63 +5789,63 @@ msgid "" "to poll until the system urandom entropy pool is initialized." msgstr "" -#: library/os.rst:5363 +#: library/os.rst:5365 msgid "" "On a Unix-like system, random bytes are read from the ``/dev/urandom`` " "device. If the ``/dev/urandom`` device is not available or not readable, " "the :exc:`NotImplementedError` exception is raised." msgstr "" -#: library/os.rst:5367 +#: library/os.rst:5369 msgid "On Windows, it will use ``BCryptGenRandom()``." msgstr "" -#: library/os.rst:5370 +#: library/os.rst:5372 msgid "" "The :mod:`secrets` module provides higher level functions. For an easy-to-" "use interface to the random number generator provided by your platform, " "please see :class:`random.SystemRandom`." msgstr "" -#: library/os.rst:5374 +#: library/os.rst:5376 msgid "" "On Linux, ``getrandom()`` is now used in blocking mode to increase the " "security." msgstr "" -#: library/os.rst:5378 +#: library/os.rst:5380 msgid "" "On Linux, if the ``getrandom()`` syscall blocks (the urandom entropy pool is " "not initialized yet), fall back on reading ``/dev/urandom``." msgstr "" -#: library/os.rst:5382 +#: library/os.rst:5384 msgid "" "On Linux 3.17 and newer, the ``getrandom()`` syscall is now used when " "available. On OpenBSD 5.6 and newer, the C ``getentropy()`` function is now " "used. These functions avoid the usage of an internal file descriptor." msgstr "" -#: library/os.rst:5388 +#: library/os.rst:5390 msgid "" "On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()`` " "which is deprecated." msgstr "" -#: library/os.rst:5394 +#: library/os.rst:5396 msgid "" "By default, when reading from ``/dev/random``, :func:`getrandom` blocks if " "no random bytes are available, and when reading from ``/dev/urandom``, it " "blocks if the entropy pool has not yet been initialized." msgstr "" -#: library/os.rst:5398 +#: library/os.rst:5400 msgid "" "If the :py:data:`GRND_NONBLOCK` flag is set, then :func:`getrandom` does not " "block in these cases, but instead immediately raises :exc:`BlockingIOError`." msgstr "" -#: library/os.rst:5405 +#: library/os.rst:5407 msgid "" "If this bit is set, then random bytes are drawn from the ``/dev/" "random`` pool instead of the ``/dev/urandom`` pool." @@ -5946,38 +5951,38 @@ msgstr "" msgid "signalling" msgstr "" -#: library/os.rst:5268 +#: library/os.rst:5270 msgid ". (dot)" msgstr "" -#: library/os.rst:5240 library/os.rst:5259 library/os.rst:5268 +#: library/os.rst:5242 library/os.rst:5261 library/os.rst:5270 msgid "in pathnames" msgstr "" -#: library/os.rst:5240 +#: library/os.rst:5242 msgid ".." msgstr "" -#: library/os.rst:5259 +#: library/os.rst:5261 msgid "/ (slash)" msgstr "" -#: library/os.rst:5249 +#: library/os.rst:5251 msgid "\\ (backslash)" msgstr "" -#: library/os.rst:5249 +#: library/os.rst:5251 msgid "in pathnames (Windows)" msgstr "" -#: library/os.rst:5275 +#: library/os.rst:5277 msgid ": (colon)" msgstr "" -#: library/os.rst:5275 +#: library/os.rst:5277 msgid "path separator (POSIX)" msgstr "" -#: library/os.rst:5275 +#: library/os.rst:5277 msgid "; (semicolon)" msgstr "" diff --git a/library/shutil.po b/library/shutil.po index 8f14c87f7..58d27a9bd 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -598,18 +598,25 @@ msgid "" "now be found." msgstr "" -#: library/shutil.rst:481 +#: library/shutil.rst:479 +msgid "" +"On Windows, if *mode* includes ``os.X_OK``, executables with an extension in " +"``PATHEXT`` will be preferred over executables without a matching extension. " +"This brings behavior closer to that of Python 3.11." +msgstr "" + +#: library/shutil.rst:487 msgid "" "This exception collects exceptions that are raised during a multi-file " "operation. For :func:`copytree`, the exception argument is a list of 3-" "tuples (*srcname*, *dstname*, *exception*)." msgstr "" -#: library/shutil.rst:488 +#: library/shutil.rst:494 msgid "Platform-dependent efficient copy operations" msgstr "" -#: library/shutil.rst:490 +#: library/shutil.rst:496 msgid "" "Starting from Python 3.8, all functions involving a file copy (:func:" "`copyfile`, :func:`~shutil.copy`, :func:`copy2`, :func:`copytree`, and :func:" @@ -619,51 +626,51 @@ msgid "" "buffers in Python as in \"``outfd.write(infd.read())``\"." msgstr "" -#: library/shutil.rst:498 +#: library/shutil.rst:504 msgid "On macOS `fcopyfile`_ is used to copy the file content (not metadata)." msgstr "" -#: library/shutil.rst:500 +#: library/shutil.rst:506 msgid "On Linux :func:`os.sendfile` is used." msgstr "" -#: library/shutil.rst:502 +#: library/shutil.rst:508 msgid "" "On Windows :func:`shutil.copyfile` uses a bigger default buffer size (1 MiB " "instead of 64 KiB) and a :func:`memoryview`-based variant of :func:`shutil." "copyfileobj` is used." msgstr "" -#: library/shutil.rst:506 +#: library/shutil.rst:512 msgid "" "If the fast-copy operation fails and no data was written in the destination " "file then shutil will silently fallback on using less efficient :func:" "`copyfileobj` function internally." msgstr "" -#: library/shutil.rst:515 +#: library/shutil.rst:521 msgid "copytree example" msgstr "" -#: library/shutil.rst:517 +#: library/shutil.rst:523 msgid "An example that uses the :func:`ignore_patterns` helper::" msgstr "" -#: library/shutil.rst:523 +#: library/shutil.rst:529 msgid "" "This will copy everything except ``.pyc`` files and files or directories " "whose name starts with ``tmp``." msgstr "" -#: library/shutil.rst:526 +#: library/shutil.rst:532 msgid "Another example that uses the *ignore* argument to add a logging call::" msgstr "" -#: library/shutil.rst:541 +#: library/shutil.rst:547 msgid "rmtree example" msgstr "" -#: library/shutil.rst:543 +#: library/shutil.rst:549 msgid "" "This example shows how to remove a directory tree on Windows where some of " "the files have their read-only bit set. It uses the onexc callback to clear " @@ -671,25 +678,25 @@ msgid "" "propagate. ::" msgstr "" -#: library/shutil.rst:561 +#: library/shutil.rst:567 msgid "Archiving operations" msgstr "" -#: library/shutil.rst:565 +#: library/shutil.rst:571 msgid "Added support for the *xztar* format." msgstr "" -#: library/shutil.rst:569 +#: library/shutil.rst:575 msgid "" "High-level utilities to create and read compressed and archived files are " "also provided. They rely on the :mod:`zipfile` and :mod:`tarfile` modules." msgstr "" -#: library/shutil.rst:574 +#: library/shutil.rst:580 msgid "Create an archive file (such as zip or tar) and return its name." msgstr "" -#: library/shutil.rst:576 +#: library/shutil.rst:582 msgid "" "*base_name* is the name of the file to create, including the path, minus any " "format-specific extension. *format* is the archive format: one of " @@ -698,14 +705,14 @@ msgid "" "available), or \"xztar\" (if the :mod:`lzma` module is available)." msgstr "" -#: library/shutil.rst:582 +#: library/shutil.rst:588 msgid "" "*root_dir* is a directory that will be the root directory of the archive, " "all paths in the archive will be relative to it; for example, we typically " "chdir into *root_dir* before creating the archive." msgstr "" -#: library/shutil.rst:586 +#: library/shutil.rst:592 msgid "" "*base_dir* is the directory where we start archiving from; i.e. *base_dir* " "will be the common prefix of all files and directories in the archive. " @@ -713,39 +720,39 @@ msgid "" "example-with-basedir` for how to use *base_dir* and *root_dir* together." msgstr "" -#: library/shutil.rst:592 +#: library/shutil.rst:598 msgid "*root_dir* and *base_dir* both default to the current directory." msgstr "" -#: library/shutil.rst:594 +#: library/shutil.rst:600 msgid "" "If *dry_run* is true, no archive is created, but the operations that would " "be executed are logged to *logger*." msgstr "" -#: library/shutil.rst:597 +#: library/shutil.rst:603 msgid "" "*owner* and *group* are used when creating a tar archive. By default, uses " "the current owner and group." msgstr "" -#: library/shutil.rst:600 +#: library/shutil.rst:606 msgid "" "*logger* must be an object compatible with :pep:`282`, usually an instance " "of :class:`logging.Logger`." msgstr "" -#: library/shutil.rst:603 +#: library/shutil.rst:609 msgid "The *verbose* argument is unused and deprecated." msgstr "" -#: library/shutil.rst:605 +#: library/shutil.rst:611 msgid "" "Raises an :ref:`auditing event <auditing>` ``shutil.make_archive`` with " "arguments ``base_name``, ``format``, ``root_dir``, ``base_dir``." msgstr "" -#: library/shutil.rst:609 +#: library/shutil.rst:615 msgid "" "This function is not thread-safe when custom archivers registered with :func:" "`register_archive_format` do not support the *root_dir* argument. In this " @@ -753,60 +760,60 @@ msgid "" "*root_dir* to perform archiving." msgstr "" -#: library/shutil.rst:615 +#: library/shutil.rst:621 msgid "" "The modern pax (POSIX.1-2001) format is now used instead of the legacy GNU " "format for archives created with ``format=\"tar\"``." msgstr "" -#: library/shutil.rst:619 +#: library/shutil.rst:625 msgid "" "This function is now made thread-safe during creation of standard ``.zip`` " "and tar archives." msgstr "" -#: library/shutil.rst:625 +#: library/shutil.rst:631 msgid "" "Return a list of supported formats for archiving. Each element of the " "returned sequence is a tuple ``(name, description)``." msgstr "" -#: library/shutil.rst:739 +#: library/shutil.rst:745 msgid "By default :mod:`shutil` provides these formats:" msgstr "" -#: library/shutil.rst:630 +#: library/shutil.rst:636 msgid "*zip*: ZIP file (if the :mod:`zlib` module is available)." msgstr "" -#: library/shutil.rst:631 +#: library/shutil.rst:637 msgid "" "*tar*: Uncompressed tar file. Uses POSIX.1-2001 pax format for new archives." msgstr "" -#: library/shutil.rst:744 +#: library/shutil.rst:750 msgid "*gztar*: gzip'ed tar-file (if the :mod:`zlib` module is available)." msgstr "" -#: library/shutil.rst:745 +#: library/shutil.rst:751 msgid "*bztar*: bzip2'ed tar-file (if the :mod:`bz2` module is available)." msgstr "" -#: library/shutil.rst:746 +#: library/shutil.rst:752 msgid "*xztar*: xz'ed tar-file (if the :mod:`lzma` module is available)." msgstr "" -#: library/shutil.rst:636 +#: library/shutil.rst:642 msgid "" "You can register new formats or provide your own archiver for any existing " "formats, by using :func:`register_archive_format`." msgstr "" -#: library/shutil.rst:642 +#: library/shutil.rst:648 msgid "Register an archiver for the format *name*." msgstr "" -#: library/shutil.rst:644 +#: library/shutil.rst:650 msgid "" "*function* is the callable that will be used to unpack archives. The " "callable will receive the *base_name* of the file to create, followed by the " @@ -815,7 +822,7 @@ msgid "" "*dry_run* and *logger* (as passed in :func:`make_archive`)." msgstr "" -#: library/shutil.rst:650 +#: library/shutil.rst:656 msgid "" "If *function* has the custom attribute ``function.supports_root_dir`` set to " "``True``, the *root_dir* argument is passed as a keyword argument. Otherwise " @@ -824,37 +831,37 @@ msgid "" "not thread-safe." msgstr "" -#: library/shutil.rst:656 +#: library/shutil.rst:662 msgid "" "If given, *extra_args* is a sequence of ``(name, value)`` pairs that will be " "used as extra keywords arguments when the archiver callable is used." msgstr "" -#: library/shutil.rst:659 +#: library/shutil.rst:665 msgid "" "*description* is used by :func:`get_archive_formats` which returns the list " "of archivers. Defaults to an empty string." msgstr "" -#: library/shutil.rst:662 +#: library/shutil.rst:668 msgid "Added support for functions supporting the *root_dir* argument." msgstr "" -#: library/shutil.rst:668 +#: library/shutil.rst:674 msgid "Remove the archive format *name* from the list of supported formats." msgstr "" -#: library/shutil.rst:673 +#: library/shutil.rst:679 msgid "Unpack an archive. *filename* is the full path of the archive." msgstr "" -#: library/shutil.rst:675 +#: library/shutil.rst:681 msgid "" "*extract_dir* is the name of the target directory where the archive is " "unpacked. If not provided, the current working directory is used." msgstr "" -#: library/shutil.rst:678 +#: library/shutil.rst:684 msgid "" "*format* is the archive format: one of \"zip\", \"tar\", \"gztar\", " "\"bztar\", or \"xztar\". Or any other format registered with :func:" @@ -863,7 +870,7 @@ msgid "" "that extension. In case none is found, a :exc:`ValueError` is raised." msgstr "" -#: library/shutil.rst:685 +#: library/shutil.rst:691 msgid "" "The keyword-only *filter* argument is passed to the underlying unpacking " "function. For zip files, *filter* is not accepted. For tar files, it is " @@ -873,13 +880,13 @@ msgid "" "Python 3.14." msgstr "" -#: library/shutil.rst:693 +#: library/shutil.rst:699 msgid "" "Raises an :ref:`auditing event <auditing>` ``shutil.unpack_archive`` with " "arguments ``filename``, ``extract_dir``, ``format``." msgstr "" -#: library/shutil.rst:697 +#: library/shutil.rst:703 msgid "" "Never extract archives from untrusted sources without prior inspection. It " "is possible that files are created outside of the path specified in the " @@ -887,138 +894,138 @@ msgid "" "with \"/\" or filenames with two dots \"..\"." msgstr "" -#: library/shutil.rst:702 +#: library/shutil.rst:708 msgid "Accepts a :term:`path-like object` for *filename* and *extract_dir*." msgstr "" -#: library/shutil.rst:705 +#: library/shutil.rst:711 msgid "Added the *filter* argument." msgstr "" -#: library/shutil.rst:710 +#: library/shutil.rst:716 msgid "" "Registers an unpack format. *name* is the name of the format and " "*extensions* is a list of extensions corresponding to the format, like ``." "zip`` for Zip files." msgstr "" -#: library/shutil.rst:714 +#: library/shutil.rst:720 msgid "" "*function* is the callable that will be used to unpack archives. The " "callable will receive:" msgstr "" -#: library/shutil.rst:717 +#: library/shutil.rst:723 msgid "the path of the archive, as a positional argument;" msgstr "" -#: library/shutil.rst:718 +#: library/shutil.rst:724 msgid "" "the directory the archive must be extracted to, as a positional argument;" msgstr "" -#: library/shutil.rst:719 +#: library/shutil.rst:725 msgid "" "possibly a *filter* keyword argument, if it was given to :func:" "`unpack_archive`;" msgstr "" -#: library/shutil.rst:721 +#: library/shutil.rst:727 msgid "" "additional keyword arguments, specified by *extra_args* as a sequence of " "``(name, value)`` tuples." msgstr "" -#: library/shutil.rst:724 +#: library/shutil.rst:730 msgid "" "*description* can be provided to describe the format, and will be returned " "by the :func:`get_unpack_formats` function." msgstr "" -#: library/shutil.rst:730 +#: library/shutil.rst:736 msgid "Unregister an unpack format. *name* is the name of the format." msgstr "" -#: library/shutil.rst:735 +#: library/shutil.rst:741 msgid "" "Return a list of all registered formats for unpacking. Each element of the " "returned sequence is a tuple ``(name, extensions, description)``." msgstr "" -#: library/shutil.rst:741 +#: library/shutil.rst:747 msgid "" "*zip*: ZIP file (unpacking compressed files works only if the corresponding " "module is available)." msgstr "" -#: library/shutil.rst:743 +#: library/shutil.rst:749 msgid "*tar*: uncompressed tar file." msgstr "" -#: library/shutil.rst:748 +#: library/shutil.rst:754 msgid "" "You can register new formats or provide your own unpacker for any existing " "formats, by using :func:`register_unpack_format`." msgstr "" -#: library/shutil.rst:755 +#: library/shutil.rst:761 msgid "Archiving example" msgstr "" -#: library/shutil.rst:757 +#: library/shutil.rst:763 msgid "" "In this example, we create a gzip'ed tar-file archive containing all files " "found in the :file:`.ssh` directory of the user::" msgstr "" -#: library/shutil.rst:767 +#: library/shutil.rst:773 msgid "The resulting archive contains:" msgstr "" -#: library/shutil.rst:785 +#: library/shutil.rst:791 msgid "Archiving example with *base_dir*" msgstr "" -#: library/shutil.rst:787 +#: library/shutil.rst:793 msgid "" "In this example, similar to the `one above <shutil-archiving-example_>`_, we " "show how to use :func:`make_archive`, but this time with the usage of " "*base_dir*. We now have the following directory structure:" msgstr "" -#: library/shutil.rst:801 +#: library/shutil.rst:807 msgid "" "In the final archive, :file:`please_add.txt` should be included, but :file:" "`do_not_add.txt` should not. Therefore we use the following::" msgstr "" -#: library/shutil.rst:815 +#: library/shutil.rst:821 msgid "Listing the files in the resulting archive gives us:" msgstr "" -#: library/shutil.rst:825 +#: library/shutil.rst:831 msgid "Querying the size of the output terminal" msgstr "" -#: library/shutil.rst:829 +#: library/shutil.rst:835 msgid "Get the size of the terminal window." msgstr "" -#: library/shutil.rst:831 +#: library/shutil.rst:837 msgid "" "For each of the two dimensions, the environment variable, ``COLUMNS`` and " "``LINES`` respectively, is checked. If the variable is defined and the value " "is a positive integer, it is used." msgstr "" -#: library/shutil.rst:835 +#: library/shutil.rst:841 msgid "" "When ``COLUMNS`` or ``LINES`` is not defined, which is the common case, the " "terminal connected to :data:`sys.__stdout__` is queried by invoking :func:" "`os.get_terminal_size`." msgstr "" -#: library/shutil.rst:839 +#: library/shutil.rst:845 msgid "" "If the terminal size cannot be successfully queried, either because the " "system doesn't support querying, or because we are not connected to a " @@ -1027,17 +1034,17 @@ msgid "" "emulators." msgstr "" -#: library/shutil.rst:845 +#: library/shutil.rst:851 msgid "The value returned is a named tuple of type :class:`os.terminal_size`." msgstr "" -#: library/shutil.rst:847 +#: library/shutil.rst:853 msgid "" "See also: The Single UNIX Specification, Version 2, `Other Environment " "Variables`_." msgstr "" -#: library/shutil.rst:852 +#: library/shutil.rst:858 msgid "" "The ``fallback`` values are also used if :func:`os.get_terminal_size` " "returns zeroes." diff --git a/library/site.po b/library/site.po index d970b9982..17d3a1d21 100644 --- a/library/site.po +++ b/library/site.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -37,7 +37,7 @@ msgid "" "path and add a few builtins, unless :option:`-S` was used. In that case, " "this module can be safely imported with no automatic modifications to the " "module search path or additions to the builtins. To explicitly trigger the " -"usual site-specific additions, call the :func:`site.main` function." +"usual site-specific additions, call the :func:`main` function." msgstr "" #: library/site.rst:24 @@ -126,43 +126,52 @@ msgid "" "because it is not mentioned in either path configuration file." msgstr "" -#: library/site.rst:114 +#: library/site.rst:113 +msgid ":mod:`sitecustomize`" +msgstr "" + +#: library/site.rst:117 msgid "" "After these path manipulations, an attempt is made to import a module named :" "mod:`sitecustomize`, which can perform arbitrary site-specific " "customizations. It is typically created by a system administrator in the " "site-packages directory. If this import fails with an :exc:`ImportError` or " -"its subclass exception, and the exception's :attr:`name` attribute equals to " -"``'sitecustomize'``, it is silently ignored. If Python is started without " -"output streams available, as with :file:`pythonw.exe` on Windows (which is " -"used by default to start IDLE), attempted output from :mod:`sitecustomize` " -"is ignored. Any other exception causes a silent and perhaps mysterious " -"failure of the process." +"its subclass exception, and the exception's :attr:`~ImportError.name` " +"attribute equals to ``'sitecustomize'``, it is silently ignored. If Python " +"is started without output streams available, as with :file:`pythonw.exe` on " +"Windows (which is used by default to start IDLE), attempted output from :mod:" +"`sitecustomize` is ignored. Any other exception causes a silent and perhaps " +"mysterious failure of the process." +msgstr "" + +#: library/site.rst:129 +msgid ":mod:`usercustomize`" msgstr "" -#: library/site.rst:126 +#: library/site.rst:133 msgid "" "After this, an attempt is made to import a module named :mod:" "`usercustomize`, which can perform arbitrary user-specific customizations, " -"if :data:`ENABLE_USER_SITE` is true. This file is intended to be created in " -"the user site-packages directory (see below), which is part of ``sys.path`` " -"unless disabled by :option:`-s`. If this import fails with an :exc:" -"`ImportError` or its subclass exception, and the exception's :attr:`name` " -"attribute equals to ``'usercustomize'``, it is silently ignored." +"if :data:`~site.ENABLE_USER_SITE` is true. This file is intended to be " +"created in the user site-packages directory (see below), which is part of " +"``sys.path`` unless disabled by :option:`-s`. If this import fails with an :" +"exc:`ImportError` or its subclass exception, and the exception's :attr:" +"`~ImportError.name` attribute equals to ``'usercustomize'``, it is silently " +"ignored." msgstr "" -#: library/site.rst:134 +#: library/site.rst:141 msgid "" "Note that for some non-Unix systems, ``sys.prefix`` and ``sys.exec_prefix`` " "are empty, and the path manipulations are skipped; however the import of :" "mod:`sitecustomize` and :mod:`usercustomize` is still attempted." msgstr "" -#: library/site.rst:142 +#: library/site.rst:150 msgid "Readline configuration" msgstr "" -#: library/site.rst:144 +#: library/site.rst:152 msgid "" "On systems that support :mod:`readline`, this module will also import and " "configure the :mod:`rlcompleter` module, if Python is started in :ref:" @@ -174,19 +183,19 @@ msgid "" "`PYTHONSTARTUP` file." msgstr "" -#: library/site.rst:153 +#: library/site.rst:161 msgid "Activation of rlcompleter and history was made automatic." msgstr "" -#: library/site.rst:158 +#: library/site.rst:166 msgid "Module contents" msgstr "" -#: library/site.rst:162 +#: library/site.rst:170 msgid "A list of prefixes for site-packages directories." msgstr "" -#: library/site.rst:167 +#: library/site.rst:175 msgid "" "Flag showing the status of the user site-packages directory. ``True`` means " "that it is enabled and was added to ``sys.path``. ``False`` means that it " @@ -195,7 +204,7 @@ msgid "" "(mismatch between user or group id and effective id) or by an administrator." msgstr "" -#: library/site.rst:177 +#: library/site.rst:185 msgid "" "Path to the user site-packages for the running Python. Can be ``None`` if :" "func:`getusersitepackages` hasn't been called yet. Default value is :file:" @@ -206,46 +215,46 @@ msgid "" "file:`.pth` files in it will be processed." msgstr "" -#: library/site.rst:188 +#: library/site.rst:196 msgid "" "Path to the base directory for the user site-packages. Can be ``None`` if :" "func:`getuserbase` hasn't been called yet. Default value is :file:`~/." "local` for UNIX and macOS non-framework builds, :file:`~/Library/Python/{X.Y}" "` for macOS framework builds, and :file:`{%APPDATA%}\\\\Python` for " "Windows. This value is used to compute the installation directories for " -"scripts, data files, Python modules, etc. for the user installation scheme. " -"See also :envvar:`PYTHONUSERBASE`." +"scripts, data files, Python modules, etc. for the :ref:`user installation " +"scheme <sysconfig-user-scheme>`. See also :envvar:`PYTHONUSERBASE`." msgstr "" -#: library/site.rst:200 +#: library/site.rst:208 msgid "" "Adds all the standard site-specific directories to the module search path. " "This function is called automatically when this module is imported, unless " "the Python interpreter was started with the :option:`-S` flag." msgstr "" -#: library/site.rst:204 +#: library/site.rst:212 msgid "This function used to be called unconditionally." msgstr "" -#: library/site.rst:210 +#: library/site.rst:218 msgid "" "Add a directory to sys.path and process its :file:`.pth` files. Typically " "used in :mod:`sitecustomize` or :mod:`usercustomize` (see above)." msgstr "" -#: library/site.rst:216 +#: library/site.rst:224 msgid "Return a list containing all global site-packages directories." msgstr "" -#: library/site.rst:223 +#: library/site.rst:231 msgid "" "Return the path of the user base directory, :data:`USER_BASE`. If it is not " "initialized yet, this function will also set it, respecting :envvar:" "`PYTHONUSERBASE`." msgstr "" -#: library/site.rst:232 +#: library/site.rst:240 msgid "" "Return the path of the user-specific site-packages directory, :data:" "`USER_SITE`. If it is not initialized yet, this function will also set it, " @@ -253,17 +262,17 @@ msgid "" "packages was added to ``sys.path`` :data:`ENABLE_USER_SITE` should be used." msgstr "" -#: library/site.rst:244 +#: library/site.rst:252 msgid "Command Line Interface" msgstr "" -#: library/site.rst:248 +#: library/site.rst:256 msgid "" "The :mod:`site` module also provides a way to get the user directories from " "the command line:" msgstr "" -#: library/site.rst:256 +#: library/site.rst:264 msgid "" "If it is called without arguments, it will print the contents of :data:`sys." "path` on the standard output, followed by the value of :data:`USER_BASE` and " @@ -271,21 +280,21 @@ msgid "" "finally the value of :data:`ENABLE_USER_SITE`." msgstr "" -#: library/site.rst:263 +#: library/site.rst:271 msgid "Print the path to the user base directory." msgstr "" -#: library/site.rst:267 +#: library/site.rst:275 msgid "Print the path to the user site-packages directory." msgstr "" -#: library/site.rst:269 +#: library/site.rst:277 msgid "" "If both options are given, user base and user site will be printed (always " "in this order), separated by :data:`os.pathsep`." msgstr "" -#: library/site.rst:272 +#: library/site.rst:280 msgid "" "If any option is given, the script will exit with one of these values: ``0`` " "if the user site-packages directory is enabled, ``1`` if it was disabled by " @@ -293,15 +302,15 @@ msgid "" "administrator, and a value greater than 2 if there is an error." msgstr "" -#: library/site.rst:279 +#: library/site.rst:287 msgid ":pep:`370` -- Per user site-packages directory" msgstr "" -#: library/site.rst:280 +#: library/site.rst:288 msgid ":ref:`sys-path-init` -- The initialization of :data:`sys.path`." msgstr "" -#: library/site.rst:112 library/site.rst:124 +#: library/site.rst:16 msgid "module" msgstr "" @@ -348,11 +357,3 @@ msgstr "" #: library/site.rst:77 msgid "file" msgstr "" - -#: library/site.rst:112 -msgid "sitecustomize" -msgstr "" - -#: library/site.rst:124 -msgid "usercustomize" -msgstr "" diff --git a/library/socket.po b/library/socket.po index 17c1a0b40..887c1b903 100644 --- a/library/socket.po +++ b/library/socket.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -2260,7 +2260,7 @@ msgid "" "and IPv6. The server side will listen to the first address family available " "(it should listen to both instead). On most of IPv6-ready systems, IPv6 will " "take precedence and the server may not accept IPv4 traffic. The client side " -"will try to connect to the all addresses returned as a result of the name " +"will try to connect to all the addresses returned as a result of the name " "resolution, and sends traffic to the first one connected successfully. ::" msgstr "" diff --git a/library/sqlite3.po b/library/sqlite3.po index e6b73dc59..4ba4c9f87 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -2153,10 +2153,11 @@ msgid "" "manager does nothing." msgstr "" -#: library/sqlite3.rst:2410 +#: library/sqlite3.rst:2409 msgid "" "The context manager neither implicitly opens a new transaction nor closes " -"the connection." +"the connection. If you need a closing context manager, consider using :meth:" +"`contextlib.closing`." msgstr "" #: library/sqlite3.rst:2443 diff --git a/library/statistics.po b/library/statistics.po index d14186cfc..620f1123d 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -24,13 +24,13 @@ msgstr "" msgid "**Source code:** :source:`Lib/statistics.py`" msgstr "" -#: library/statistics.rst:21 +#: library/statistics.rst:22 msgid "" "This module provides functions for calculating mathematical statistics of " "numeric (:class:`~numbers.Real`-valued) data." msgstr "" -#: library/statistics.rst:24 +#: library/statistics.rst:25 msgid "" "The module is not intended to be a competitor to third-party libraries such " "as `NumPy <https://numpy.org>`_, `SciPy <https://scipy.org/>`_, or " @@ -39,7 +39,7 @@ msgid "" "graphing and scientific calculators." msgstr "" -#: library/statistics.rst:30 +#: library/statistics.rst:31 msgid "" "Unless explicitly noted, these functions support :class:`int`, :class:" "`float`, :class:`~decimal.Decimal` and :class:`~fractions.Fraction`. " @@ -50,7 +50,7 @@ msgid "" "example: ``map(float, input_data)``." msgstr "" -#: library/statistics.rst:38 +#: library/statistics.rst:39 msgid "" "Some datasets use ``NaN`` (not a number) values to represent missing data. " "Since NaNs have unusual comparison semantics, they cause surprising or " @@ -61,196 +61,196 @@ msgid "" "functions::" msgstr "" -#: library/statistics.rst:68 +#: library/statistics.rst:69 msgid "Averages and measures of central location" msgstr "" -#: library/statistics.rst:70 +#: library/statistics.rst:71 msgid "" "These functions calculate an average or typical value from a population or " "sample." msgstr "" -#: library/statistics.rst:74 +#: library/statistics.rst:75 msgid ":func:`mean`" msgstr "" -#: library/statistics.rst:74 +#: library/statistics.rst:75 msgid "Arithmetic mean (\"average\") of data." msgstr "" -#: library/statistics.rst:75 +#: library/statistics.rst:76 msgid ":func:`fmean`" msgstr "" -#: library/statistics.rst:75 +#: library/statistics.rst:76 msgid "Fast, floating point arithmetic mean, with optional weighting." msgstr "" -#: library/statistics.rst:76 +#: library/statistics.rst:77 msgid ":func:`geometric_mean`" msgstr "" -#: library/statistics.rst:76 +#: library/statistics.rst:77 msgid "Geometric mean of data." msgstr "" -#: library/statistics.rst:77 +#: library/statistics.rst:78 msgid ":func:`harmonic_mean`" msgstr "" -#: library/statistics.rst:77 +#: library/statistics.rst:78 msgid "Harmonic mean of data." msgstr "" -#: library/statistics.rst:78 +#: library/statistics.rst:79 msgid ":func:`median`" msgstr "" -#: library/statistics.rst:78 +#: library/statistics.rst:79 msgid "Median (middle value) of data." msgstr "" -#: library/statistics.rst:79 +#: library/statistics.rst:80 msgid ":func:`median_low`" msgstr "" -#: library/statistics.rst:79 +#: library/statistics.rst:80 msgid "Low median of data." msgstr "" -#: library/statistics.rst:80 +#: library/statistics.rst:81 msgid ":func:`median_high`" msgstr "" -#: library/statistics.rst:80 +#: library/statistics.rst:81 msgid "High median of data." msgstr "" -#: library/statistics.rst:81 +#: library/statistics.rst:82 msgid ":func:`median_grouped`" msgstr "" -#: library/statistics.rst:81 +#: library/statistics.rst:82 msgid "Median, or 50th percentile, of grouped data." msgstr "" -#: library/statistics.rst:82 +#: library/statistics.rst:83 msgid ":func:`mode`" msgstr "" -#: library/statistics.rst:82 +#: library/statistics.rst:83 msgid "Single mode (most common value) of discrete or nominal data." msgstr "" -#: library/statistics.rst:83 +#: library/statistics.rst:84 msgid ":func:`multimode`" msgstr "" -#: library/statistics.rst:83 +#: library/statistics.rst:84 msgid "List of modes (most common values) of discrete or nominal data." msgstr "" -#: library/statistics.rst:84 +#: library/statistics.rst:85 msgid ":func:`quantiles`" msgstr "" -#: library/statistics.rst:84 +#: library/statistics.rst:85 msgid "Divide data into intervals with equal probability." msgstr "" -#: library/statistics.rst:88 +#: library/statistics.rst:89 msgid "Measures of spread" msgstr "" -#: library/statistics.rst:90 +#: library/statistics.rst:91 msgid "" "These functions calculate a measure of how much the population or sample " "tends to deviate from the typical or average values." msgstr "" -#: library/statistics.rst:94 +#: library/statistics.rst:95 msgid ":func:`pstdev`" msgstr "" -#: library/statistics.rst:94 +#: library/statistics.rst:95 msgid "Population standard deviation of data." msgstr "" -#: library/statistics.rst:95 +#: library/statistics.rst:96 msgid ":func:`pvariance`" msgstr "" -#: library/statistics.rst:95 +#: library/statistics.rst:96 msgid "Population variance of data." msgstr "" -#: library/statistics.rst:96 +#: library/statistics.rst:97 msgid ":func:`stdev`" msgstr "" -#: library/statistics.rst:96 +#: library/statistics.rst:97 msgid "Sample standard deviation of data." msgstr "" -#: library/statistics.rst:97 +#: library/statistics.rst:98 msgid ":func:`variance`" msgstr "" -#: library/statistics.rst:97 +#: library/statistics.rst:98 msgid "Sample variance of data." msgstr "" -#: library/statistics.rst:101 +#: library/statistics.rst:102 msgid "Statistics for relations between two inputs" msgstr "" -#: library/statistics.rst:103 +#: library/statistics.rst:104 msgid "" "These functions calculate statistics regarding relations between two inputs." msgstr "" -#: library/statistics.rst:106 +#: library/statistics.rst:107 msgid ":func:`covariance`" msgstr "" -#: library/statistics.rst:106 +#: library/statistics.rst:107 msgid "Sample covariance for two variables." msgstr "" -#: library/statistics.rst:107 +#: library/statistics.rst:108 msgid ":func:`correlation`" msgstr "" -#: library/statistics.rst:107 +#: library/statistics.rst:108 msgid "Pearson and Spearman's correlation coefficients." msgstr "" -#: library/statistics.rst:108 +#: library/statistics.rst:109 msgid ":func:`linear_regression`" msgstr "" -#: library/statistics.rst:108 +#: library/statistics.rst:109 msgid "Slope and intercept for simple linear regression." msgstr "" -#: library/statistics.rst:113 +#: library/statistics.rst:114 msgid "Function details" msgstr "" -#: library/statistics.rst:115 +#: library/statistics.rst:116 msgid "" "Note: The functions do not require the data given to them to be sorted. " "However, for reading convenience, most of the examples show sorted sequences." msgstr "" -#: library/statistics.rst:120 +#: library/statistics.rst:121 msgid "" "Return the sample arithmetic mean of *data* which can be a sequence or " "iterable." msgstr "" -#: library/statistics.rst:122 +#: library/statistics.rst:123 msgid "" "The arithmetic mean is the sum of the data divided by the number of data " "points. It is commonly called \"the average\", although it is only one of " @@ -258,15 +258,15 @@ msgid "" "location of the data." msgstr "" -#: library/statistics.rst:127 +#: library/statistics.rst:128 msgid "If *data* is empty, :exc:`StatisticsError` will be raised." msgstr "" -#: library/statistics.rst:129 +#: library/statistics.rst:130 msgid "Some examples of use:" msgstr "" -#: library/statistics.rst:148 +#: library/statistics.rst:149 msgid "" "The mean is strongly affected by `outliers <https://en.wikipedia.org/wiki/" "Outlier>`_ and is not necessarily a typical example of the data points. For " @@ -274,7 +274,7 @@ msgid "" "<https://en.wikipedia.org/wiki/Central_tendency>`_, see :func:`median`." msgstr "" -#: library/statistics.rst:154 +#: library/statistics.rst:155 msgid "" "The sample mean gives an unbiased estimate of the true population mean, so " "that when taken on average over all the possible samples, ``mean(sample)`` " @@ -283,65 +283,65 @@ msgid "" "equivalent to calculating the true population mean μ." msgstr "" -#: library/statistics.rst:163 +#: library/statistics.rst:164 msgid "Convert *data* to floats and compute the arithmetic mean." msgstr "" -#: library/statistics.rst:165 +#: library/statistics.rst:166 msgid "" "This runs faster than the :func:`mean` function and it always returns a :" "class:`float`. The *data* may be a sequence or iterable. If the input " "dataset is empty, raises a :exc:`StatisticsError`." msgstr "" -#: library/statistics.rst:174 +#: library/statistics.rst:175 msgid "" "Optional weighting is supported. For example, a professor assigns a grade " "for a course by weighting quizzes at 20%, homework at 20%, a midterm exam at " "30%, and a final exam at 30%:" msgstr "" -#: library/statistics.rst:185 +#: library/statistics.rst:186 msgid "" "If *weights* is supplied, it must be the same length as the *data* or a :exc:" "`ValueError` will be raised." msgstr "" -#: library/statistics.rst:258 +#: library/statistics.rst:259 msgid "Added support for *weights*." msgstr "" -#: library/statistics.rst:196 +#: library/statistics.rst:197 msgid "Convert *data* to floats and compute the geometric mean." msgstr "" -#: library/statistics.rst:198 +#: library/statistics.rst:199 msgid "" "The geometric mean indicates the central tendency or typical value of the " "*data* using the product of the values (as opposed to the arithmetic mean " "which uses their sum)." msgstr "" -#: library/statistics.rst:202 +#: library/statistics.rst:203 msgid "" "Raises a :exc:`StatisticsError` if the input dataset is empty, if it " "contains a zero, or if it contains a negative value. The *data* may be a " "sequence or iterable." msgstr "" -#: library/statistics.rst:206 +#: library/statistics.rst:207 msgid "" "No special efforts are made to achieve exact results. (However, this may " "change in the future.)" msgstr "" -#: library/statistics.rst:219 +#: library/statistics.rst:220 msgid "" "Return the harmonic mean of *data*, a sequence or iterable of real-valued " "numbers. If *weights* is omitted or *None*, then equal weighting is assumed." msgstr "" -#: library/statistics.rst:223 +#: library/statistics.rst:224 msgid "" "The harmonic mean is the reciprocal of the arithmetic :func:`mean` of the " "reciprocals of the data. For example, the harmonic mean of three values *a*, " @@ -349,118 +349,118 @@ msgid "" "values is zero, the result will be zero." msgstr "" -#: library/statistics.rst:228 +#: library/statistics.rst:229 msgid "" "The harmonic mean is a type of average, a measure of the central location of " "the data. It is often appropriate when averaging ratios or rates, for " "example speeds." msgstr "" -#: library/statistics.rst:232 +#: library/statistics.rst:233 msgid "" "Suppose a car travels 10 km at 40 km/hr, then another 10 km at 60 km/hr. " "What is the average speed?" msgstr "" -#: library/statistics.rst:240 +#: library/statistics.rst:241 msgid "" "Suppose a car travels 40 km/hr for 5 km, and when traffic clears, speeds-up " "to 60 km/hr for the remaining 30 km of the journey. What is the average " "speed?" msgstr "" -#: library/statistics.rst:249 +#: library/statistics.rst:250 msgid "" ":exc:`StatisticsError` is raised if *data* is empty, any element is less " "than zero, or if the weighted sum isn't positive." msgstr "" -#: library/statistics.rst:252 +#: library/statistics.rst:253 msgid "" "The current algorithm has an early-out when it encounters a zero in the " "input. This means that the subsequent inputs are not tested for validity. " "(This behavior may change in the future.)" msgstr "" -#: library/statistics.rst:263 +#: library/statistics.rst:264 msgid "" "Return the median (middle value) of numeric data, using the common \"mean of " "middle two\" method. If *data* is empty, :exc:`StatisticsError` is raised. " "*data* can be a sequence or iterable." msgstr "" -#: library/statistics.rst:267 +#: library/statistics.rst:268 msgid "" "The median is a robust measure of central location and is less affected by " "the presence of outliers. When the number of data points is odd, the middle " "data point is returned:" msgstr "" -#: library/statistics.rst:276 +#: library/statistics.rst:277 msgid "" "When the number of data points is even, the median is interpolated by taking " "the average of the two middle values:" msgstr "" -#: library/statistics.rst:284 +#: library/statistics.rst:285 msgid "" "This is suited for when your data is discrete, and you don't mind that the " "median may not be an actual data point." msgstr "" -#: library/statistics.rst:287 +#: library/statistics.rst:288 msgid "" "If the data is ordinal (supports order operations) but not numeric (doesn't " "support addition), consider using :func:`median_low` or :func:`median_high` " "instead." msgstr "" -#: library/statistics.rst:293 +#: library/statistics.rst:294 msgid "" "Return the low median of numeric data. If *data* is empty, :exc:" "`StatisticsError` is raised. *data* can be a sequence or iterable." msgstr "" -#: library/statistics.rst:296 +#: library/statistics.rst:297 msgid "" "The low median is always a member of the data set. When the number of data " "points is odd, the middle value is returned. When it is even, the smaller " "of the two middle values is returned." msgstr "" -#: library/statistics.rst:307 +#: library/statistics.rst:308 msgid "" "Use the low median when your data are discrete and you prefer the median to " "be an actual data point rather than interpolated." msgstr "" -#: library/statistics.rst:313 +#: library/statistics.rst:314 msgid "" "Return the high median of data. If *data* is empty, :exc:`StatisticsError` " "is raised. *data* can be a sequence or iterable." msgstr "" -#: library/statistics.rst:316 +#: library/statistics.rst:317 msgid "" "The high median is always a member of the data set. When the number of data " "points is odd, the middle value is returned. When it is even, the larger of " "the two middle values is returned." msgstr "" -#: library/statistics.rst:327 +#: library/statistics.rst:328 msgid "" "Use the high median when your data are discrete and you prefer the median to " "be an actual data point rather than interpolated." msgstr "" -#: library/statistics.rst:333 +#: library/statistics.rst:334 msgid "" "Return the median of grouped continuous data, calculated as the 50th " "percentile, using interpolation. If *data* is empty, :exc:`StatisticsError` " "is raised. *data* can be a sequence or iterable." msgstr "" -#: library/statistics.rst:342 +#: library/statistics.rst:343 msgid "" "In the following example, the data are rounded, so that each value " "represents the midpoint of data classes, e.g. 1 is the midpoint of the class " @@ -469,31 +469,31 @@ msgid "" "3.5--4.5, and interpolation is used to estimate it:" msgstr "" -#: library/statistics.rst:353 +#: library/statistics.rst:354 msgid "" "Optional argument *interval* represents the class interval, and defaults to " "1. Changing the class interval naturally will change the interpolation:" msgstr "" -#: library/statistics.rst:363 +#: library/statistics.rst:364 msgid "" "This function does not check whether the data points are at least *interval* " "apart." msgstr "" -#: library/statistics.rst:368 +#: library/statistics.rst:369 msgid "" "Under some circumstances, :func:`median_grouped` may coerce data points to " "floats. This behaviour is likely to change in the future." msgstr "" -#: library/statistics.rst:373 +#: library/statistics.rst:374 msgid "" "\"Statistics for the Behavioral Sciences\", Frederick J Gravetter and Larry " "B Wallnau (8th Edition)." msgstr "" -#: library/statistics.rst:376 +#: library/statistics.rst:377 msgid "" "The `SSMEDIAN <https://help.gnome.org/users/gnumeric/stable/gnumeric." "html#gnumeric-function-SSMEDIAN>`_ function in the Gnome Gnumeric " @@ -501,14 +501,14 @@ msgid "" "gnumeric-list/2011-April/msg00018.html>`_." msgstr "" -#: library/statistics.rst:384 +#: library/statistics.rst:385 msgid "" "Return the single most common data point from discrete or nominal *data*. " "The mode (when it exists) is the most typical value and serves as a measure " "of central location." msgstr "" -#: library/statistics.rst:388 +#: library/statistics.rst:389 msgid "" "If there are multiple modes with the same frequency, returns the first one " "encountered in the *data*. If the smallest or largest of those is desired " @@ -516,38 +516,38 @@ msgid "" "input *data* is empty, :exc:`StatisticsError` is raised." msgstr "" -#: library/statistics.rst:393 +#: library/statistics.rst:394 msgid "" "``mode`` assumes discrete data and returns a single value. This is the " "standard treatment of the mode as commonly taught in schools:" msgstr "" -#: library/statistics.rst:401 +#: library/statistics.rst:402 msgid "" "The mode is unique in that it is the only statistic in this package that " "also applies to nominal (non-numeric) data:" msgstr "" -#: library/statistics.rst:409 +#: library/statistics.rst:410 msgid "" "Now handles multimodal datasets by returning the first mode encountered. " "Formerly, it raised :exc:`StatisticsError` when more than one mode was found." msgstr "" -#: library/statistics.rst:417 +#: library/statistics.rst:418 msgid "" "Return a list of the most frequently occurring values in the order they were " "first encountered in the *data*. Will return more than one result if there " "are multiple modes or an empty list if the *data* is empty:" msgstr "" -#: library/statistics.rst:433 +#: library/statistics.rst:434 msgid "" "Return the population standard deviation (the square root of the population " "variance). See :func:`pvariance` for arguments and other details." msgstr "" -#: library/statistics.rst:444 +#: library/statistics.rst:445 msgid "" "Return the population variance of *data*, a non-empty sequence or iterable " "of real-valued numbers. Variance, or second moment about the mean, is a " @@ -556,7 +556,7 @@ msgid "" "clustered closely around the mean." msgstr "" -#: library/statistics.rst:450 +#: library/statistics.rst:451 msgid "" "If the optional second argument *mu* is given, it is typically the mean of " "the *data*. It can also be used to compute the second moment around a point " @@ -564,39 +564,39 @@ msgid "" "arithmetic mean is automatically calculated." msgstr "" -#: library/statistics.rst:455 +#: library/statistics.rst:456 msgid "" "Use this function to calculate the variance from the entire population. To " "estimate the variance from a sample, the :func:`variance` function is " "usually a better choice." msgstr "" -#: library/statistics.rst:459 +#: library/statistics.rst:460 msgid "Raises :exc:`StatisticsError` if *data* is empty." msgstr "" -#: library/statistics.rst:531 library/statistics.rst:635 +#: library/statistics.rst:532 library/statistics.rst:636 msgid "Examples:" msgstr "" -#: library/statistics.rst:469 +#: library/statistics.rst:470 msgid "" "If you have already calculated the mean of your data, you can pass it as the " "optional second argument *mu* to avoid recalculation:" msgstr "" -#: library/statistics.rst:478 +#: library/statistics.rst:479 msgid "Decimals and Fractions are supported:" msgstr "" -#: library/statistics.rst:492 +#: library/statistics.rst:493 msgid "" "When called with the entire population, this gives the population variance " "σ². When called on a sample instead, this is the biased sample variance s², " "also known as variance with N degrees of freedom." msgstr "" -#: library/statistics.rst:496 +#: library/statistics.rst:497 msgid "" "If you somehow know the true population mean μ, you may use this function to " "calculate the variance of a sample, giving the known population mean as the " @@ -605,13 +605,13 @@ msgid "" "variance." msgstr "" -#: library/statistics.rst:505 +#: library/statistics.rst:506 msgid "" "Return the sample standard deviation (the square root of the sample " "variance). See :func:`variance` for arguments and other details." msgstr "" -#: library/statistics.rst:516 +#: library/statistics.rst:517 msgid "" "Return the sample variance of *data*, an iterable of at least two real-" "valued numbers. Variance, or second moment about the mean, is a measure of " @@ -620,41 +620,41 @@ msgid "" "closely around the mean." msgstr "" -#: library/statistics.rst:522 +#: library/statistics.rst:523 msgid "" "If the optional second argument *xbar* is given, it should be the mean of " "*data*. If it is missing or ``None`` (the default), the mean is " "automatically calculated." msgstr "" -#: library/statistics.rst:526 +#: library/statistics.rst:527 msgid "" "Use this function when your data is a sample from a population. To calculate " "the variance from the entire population, see :func:`pvariance`." msgstr "" -#: library/statistics.rst:529 +#: library/statistics.rst:530 msgid "Raises :exc:`StatisticsError` if *data* has fewer than two values." msgstr "" -#: library/statistics.rst:539 +#: library/statistics.rst:540 msgid "" "If you have already calculated the mean of your data, you can pass it as the " "optional second argument *xbar* to avoid recalculation:" msgstr "" -#: library/statistics.rst:548 +#: library/statistics.rst:549 msgid "" "This function does not attempt to verify that you have passed the actual " "mean as *xbar*. Using arbitrary values for *xbar* can lead to invalid or " "impossible results." msgstr "" -#: library/statistics.rst:552 +#: library/statistics.rst:553 msgid "Decimal and Fraction values are supported:" msgstr "" -#: library/statistics.rst:566 +#: library/statistics.rst:567 msgid "" "This is the sample variance s² with Bessel's correction, also known as " "variance with N-1 degrees of freedom. Provided that the data points are " @@ -662,20 +662,20 @@ msgid "" "should be an unbiased estimate of the true population variance." msgstr "" -#: library/statistics.rst:571 +#: library/statistics.rst:572 msgid "" "If you somehow know the actual population mean μ you should pass it to the :" "func:`pvariance` function as the *mu* parameter to get the variance of a " "sample." msgstr "" -#: library/statistics.rst:577 +#: library/statistics.rst:578 msgid "" "Divide *data* into *n* continuous intervals with equal probability. Returns " "a list of ``n - 1`` cut points separating the intervals." msgstr "" -#: library/statistics.rst:580 +#: library/statistics.rst:581 msgid "" "Set *n* to 4 for quartiles (the default). Set *n* to 10 for deciles. Set " "*n* to 100 for percentiles which gives the 99 cuts points that separate " @@ -683,28 +683,28 @@ msgid "" "not least 1." msgstr "" -#: library/statistics.rst:585 +#: library/statistics.rst:586 msgid "" "The *data* can be any iterable containing sample data. For meaningful " "results, the number of data points in *data* should be larger than *n*. " "Raises :exc:`StatisticsError` if there are not at least two data points." msgstr "" -#: library/statistics.rst:589 +#: library/statistics.rst:590 msgid "" "The cut points are linearly interpolated from the two nearest data points. " "For example, if a cut point falls one-third of the distance between two " "sample values, ``100`` and ``112``, the cut-point will evaluate to ``104``." msgstr "" -#: library/statistics.rst:594 +#: library/statistics.rst:595 msgid "" "The *method* for computing quantiles can be varied depending on whether the " "*data* includes or excludes the lowest and highest possible values from the " "population." msgstr "" -#: library/statistics.rst:598 +#: library/statistics.rst:599 msgid "" "The default *method* is \"exclusive\" and is used for data sampled from a " "population that can have more extreme values than found in the samples. The " @@ -714,7 +714,7 @@ msgid "" "70%, 80%, 90%." msgstr "" -#: library/statistics.rst:605 +#: library/statistics.rst:606 msgid "" "Setting the *method* to \"inclusive\" is used for describing population data " "or for samples that are known to include the most extreme values from the " @@ -726,19 +726,19 @@ msgid "" "80%, 90%, 100%." msgstr "" -#: library/statistics.rst:629 +#: library/statistics.rst:630 msgid "" "Return the sample covariance of two inputs *x* and *y*. Covariance is a " "measure of the joint variability of two inputs." msgstr "" -#: library/statistics.rst:632 +#: library/statistics.rst:633 msgid "" "Both inputs must be of the same length (no less than two), otherwise :exc:" "`StatisticsError` is raised." msgstr "" -#: library/statistics.rst:653 +#: library/statistics.rst:654 msgid "" "Return the `Pearson's correlation coefficient <https://en.wikipedia.org/wiki/" "Pearson_correlation_coefficient>`_ for two inputs. Pearson's correlation " @@ -746,7 +746,7 @@ msgid "" "direction of a linear relationship." msgstr "" -#: library/statistics.rst:659 +#: library/statistics.rst:660 msgid "" "If *method* is \"ranked\", computes `Spearman's rank correlation coefficient " "<https://en.wikipedia.org/wiki/Spearman%27s_rank_correlation_coefficient>`_ " @@ -755,30 +755,30 @@ msgid "" "strength of a monotonic relationship." msgstr "" -#: library/statistics.rst:665 +#: library/statistics.rst:666 msgid "" "Spearman's correlation coefficient is appropriate for ordinal data or for " "continuous data that doesn't meet the linear proportion requirement for " "Pearson's correlation coefficient." msgstr "" -#: library/statistics.rst:669 +#: library/statistics.rst:670 msgid "" "Both inputs must be of the same length (no less than two), and need not to " "be constant, otherwise :exc:`StatisticsError` is raised." msgstr "" -#: library/statistics.rst:672 +#: library/statistics.rst:673 msgid "" "Example with `Kepler's laws of planetary motion <https://en.wikipedia.org/" "wiki/Kepler's_laws_of_planetary_motion>`_:" msgstr "" -#: library/statistics.rst:699 +#: library/statistics.rst:700 msgid "Added support for Spearman's rank correlation coefficient." msgstr "" -#: library/statistics.rst:704 +#: library/statistics.rst:705 msgid "" "Return the slope and intercept of `simple linear regression <https://en." "wikipedia.org/wiki/Simple_linear_regression>`_ parameters estimated using " @@ -787,11 +787,11 @@ msgid "" "this linear function:" msgstr "" -#: library/statistics.rst:710 +#: library/statistics.rst:711 msgid "*y = slope \\* x + intercept + noise*" msgstr "" -#: library/statistics.rst:712 +#: library/statistics.rst:713 msgid "" "where ``slope`` and ``intercept`` are the regression parameters that are " "estimated, and ``noise`` represents the variability of the data that was not " @@ -799,14 +799,14 @@ msgid "" "predicted and actual values of the dependent variable)." msgstr "" -#: library/statistics.rst:718 +#: library/statistics.rst:719 msgid "" "Both inputs must be of the same length (no less than two), and the " "independent variable *x* cannot be constant; otherwise a :exc:" "`StatisticsError` is raised." msgstr "" -#: library/statistics.rst:722 +#: library/statistics.rst:723 msgid "" "For example, we can use the `release dates of the Monty Python films " "<https://en.wikipedia.org/wiki/Monty_Python#Films>`_ to predict the " @@ -814,7 +814,7 @@ msgid "" "2019 assuming that they had kept the pace." msgstr "" -#: library/statistics.rst:736 +#: library/statistics.rst:737 msgid "" "If *proportional* is true, the independent variable *x* and the dependent " "variable *y* are assumed to be directly proportional. The data is fit to a " @@ -822,31 +822,38 @@ msgid "" "the underlying linear function simplifies to:" msgstr "" -#: library/statistics.rst:742 +#: library/statistics.rst:743 msgid "*y = slope \\* x + noise*" msgstr "" -#: library/statistics.rst:746 +#: library/statistics.rst:745 +msgid "" +"Continuing the example from :func:`correlation`, we look to see how well a " +"model based on major planets can predict the orbital distances for dwarf " +"planets:" +msgstr "" + +#: library/statistics.rst:765 msgid "Added support for *proportional*." msgstr "" -#: library/statistics.rst:750 +#: library/statistics.rst:769 msgid "Exceptions" msgstr "" -#: library/statistics.rst:752 +#: library/statistics.rst:771 msgid "A single exception is defined:" msgstr "" -#: library/statistics.rst:756 +#: library/statistics.rst:775 msgid "Subclass of :exc:`ValueError` for statistics-related exceptions." msgstr "" -#: library/statistics.rst:760 +#: library/statistics.rst:779 msgid ":class:`NormalDist` objects" msgstr "" -#: library/statistics.rst:762 +#: library/statistics.rst:781 msgid "" ":class:`NormalDist` is a tool for creating and manipulating normal " "distributions of a `random variable <http://www.stat.yale.edu/" @@ -854,62 +861,62 @@ msgid "" "standard deviation of data measurements as a single entity." msgstr "" -#: library/statistics.rst:768 +#: library/statistics.rst:787 msgid "" "Normal distributions arise from the `Central Limit Theorem <https://en." "wikipedia.org/wiki/Central_limit_theorem>`_ and have a wide range of " "applications in statistics." msgstr "" -#: library/statistics.rst:774 +#: library/statistics.rst:793 msgid "" "Returns a new *NormalDist* object where *mu* represents the `arithmetic mean " "<https://en.wikipedia.org/wiki/Arithmetic_mean>`_ and *sigma* represents the " "`standard deviation <https://en.wikipedia.org/wiki/Standard_deviation>`_." msgstr "" -#: library/statistics.rst:779 +#: library/statistics.rst:798 msgid "If *sigma* is negative, raises :exc:`StatisticsError`." msgstr "" -#: library/statistics.rst:783 +#: library/statistics.rst:802 msgid "" "A read-only property for the `arithmetic mean <https://en.wikipedia.org/wiki/" "Arithmetic_mean>`_ of a normal distribution." msgstr "" -#: library/statistics.rst:789 +#: library/statistics.rst:808 msgid "" "A read-only property for the `median <https://en.wikipedia.org/wiki/" "Median>`_ of a normal distribution." msgstr "" -#: library/statistics.rst:795 +#: library/statistics.rst:814 msgid "" "A read-only property for the `mode <https://en.wikipedia.org/wiki/" "Mode_(statistics)>`_ of a normal distribution." msgstr "" -#: library/statistics.rst:801 +#: library/statistics.rst:820 msgid "" "A read-only property for the `standard deviation <https://en.wikipedia.org/" "wiki/Standard_deviation>`_ of a normal distribution." msgstr "" -#: library/statistics.rst:807 +#: library/statistics.rst:826 msgid "" "A read-only property for the `variance <https://en.wikipedia.org/wiki/" "Variance>`_ of a normal distribution. Equal to the square of the standard " "deviation." msgstr "" -#: library/statistics.rst:813 +#: library/statistics.rst:832 msgid "" "Makes a normal distribution instance with *mu* and *sigma* parameters " "estimated from the *data* using :func:`fmean` and :func:`stdev`." msgstr "" -#: library/statistics.rst:816 +#: library/statistics.rst:835 msgid "" "The *data* can be any :term:`iterable` and should consist of values that can " "be converted to type :class:`float`. If *data* does not contain at least " @@ -918,20 +925,20 @@ msgid "" "dispersion." msgstr "" -#: library/statistics.rst:824 +#: library/statistics.rst:843 msgid "" "Generates *n* random samples for a given mean and standard deviation. " "Returns a :class:`list` of :class:`float` values." msgstr "" -#: library/statistics.rst:827 +#: library/statistics.rst:846 msgid "" "If *seed* is given, creates a new instance of the underlying random number " "generator. This is useful for creating reproducible results, even in a " "multi-threading context." msgstr "" -#: library/statistics.rst:833 +#: library/statistics.rst:852 msgid "" "Using a `probability density function (pdf) <https://en.wikipedia.org/wiki/" "Probability_density_function>`_, compute the relative likelihood that a " @@ -939,7 +946,7 @@ msgid "" "the limit of the ratio ``P(x <= X < x+dx) / dx`` as *dx* approaches zero." msgstr "" -#: library/statistics.rst:839 +#: library/statistics.rst:858 msgid "" "The relative likelihood is computed as the probability of a sample occurring " "in a narrow range divided by the width of the range (hence the word " @@ -947,7 +954,7 @@ msgid "" "can be greater than ``1.0``." msgstr "" -#: library/statistics.rst:846 +#: library/statistics.rst:865 msgid "" "Using a `cumulative distribution function (cdf) <https://en.wikipedia.org/" "wiki/Cumulative_distribution_function>`_, compute the probability that a " @@ -955,7 +962,7 @@ msgid "" "is written ``P(X <= x)``." msgstr "" -#: library/statistics.rst:853 +#: library/statistics.rst:872 msgid "" "Compute the inverse cumulative distribution function, also known as the " "`quantile function <https://en.wikipedia.org/wiki/Quantile_function>`_ or " @@ -964,34 +971,34 @@ msgid "" "function. Mathematically, it is written ``x : P(X <= x) = p``." msgstr "" -#: library/statistics.rst:859 +#: library/statistics.rst:878 msgid "" "Finds the value *x* of the random variable *X* such that the probability of " "the variable being less than or equal to that value equals the given " "probability *p*." msgstr "" -#: library/statistics.rst:865 +#: library/statistics.rst:884 msgid "" "Measures the agreement between two normal probability distributions. Returns " "a value between 0.0 and 1.0 giving `the overlapping area for the two " "probability density functions <https://www.rasch.org/rmt/rmt101r.htm>`_." msgstr "" -#: library/statistics.rst:872 +#: library/statistics.rst:891 msgid "" "Divide the normal distribution into *n* continuous intervals with equal " "probability. Returns a list of (n - 1) cut points separating the intervals." msgstr "" -#: library/statistics.rst:876 +#: library/statistics.rst:895 msgid "" "Set *n* to 4 for quartiles (the default). Set *n* to 10 for deciles. Set " "*n* to 100 for percentiles which gives the 99 cuts points that separate the " "normal distribution into 100 equal sized groups." msgstr "" -#: library/statistics.rst:882 +#: library/statistics.rst:901 msgid "" "Compute the `Standard Score <https://www.statisticshowto.com/probability-and-" "statistics/z-score/>`_ describing *x* in terms of the number of standard " @@ -999,20 +1006,20 @@ msgid "" "mean) / stdev``." msgstr "" -#: library/statistics.rst:890 +#: library/statistics.rst:909 msgid "" "Instances of :class:`NormalDist` support addition, subtraction, " "multiplication and division by a constant. These operations are used for " "translation and scaling. For example:" msgstr "" -#: library/statistics.rst:900 +#: library/statistics.rst:919 msgid "" "Dividing a constant by an instance of :class:`NormalDist` is not supported " "because the result wouldn't be normally distributed." msgstr "" -#: library/statistics.rst:903 +#: library/statistics.rst:922 msgid "" "Since normal distributions arise from additive effects of independent " "variables, it is possible to `add and subtract two independent normally " @@ -1021,19 +1028,19 @@ msgid "" "class:`NormalDist`. For example:" msgstr "" -#: library/statistics.rst:923 +#: library/statistics.rst:942 msgid ":class:`NormalDist` Examples and Recipes" msgstr "" -#: library/statistics.rst:927 +#: library/statistics.rst:946 msgid "Classic probability problems" msgstr "" -#: library/statistics.rst:929 +#: library/statistics.rst:948 msgid ":class:`NormalDist` readily solves classic probability problems." msgstr "" -#: library/statistics.rst:931 +#: library/statistics.rst:950 msgid "" "For example, given `historical data for SAT exams <https://nces.ed.gov/" "programs/digest/d17/tables/dt17_226.40.asp>`_ showing that scores are " @@ -1042,35 +1049,35 @@ msgid "" "after rounding to the nearest whole number:" msgstr "" -#: library/statistics.rst:944 +#: library/statistics.rst:963 msgid "" "Find the `quartiles <https://en.wikipedia.org/wiki/Quartile>`_ and `deciles " "<https://en.wikipedia.org/wiki/Decile>`_ for the SAT scores:" msgstr "" -#: library/statistics.rst:956 +#: library/statistics.rst:975 msgid "Monte Carlo inputs for simulations" msgstr "" -#: library/statistics.rst:958 +#: library/statistics.rst:977 msgid "" "To estimate the distribution for a model than isn't easy to solve " "analytically, :class:`NormalDist` can generate input samples for a `Monte " "Carlo simulation <https://en.wikipedia.org/wiki/Monte_Carlo_method>`_:" msgstr "" -#: library/statistics.rst:975 +#: library/statistics.rst:994 msgid "Approximating binomial distributions" msgstr "" -#: library/statistics.rst:977 +#: library/statistics.rst:996 msgid "" "Normal distributions can be used to approximate `Binomial distributions " "<https://mathworld.wolfram.com/BinomialDistribution.html>`_ when the sample " "size is large and when the probability of a successful trial is near 50%." msgstr "" -#: library/statistics.rst:982 +#: library/statistics.rst:1001 msgid "" "For example, an open source conference has 750 attendees and two rooms with " "a 500 person capacity. There is a talk about Python and another about Ruby. " @@ -1079,15 +1086,15 @@ msgid "" "probability that the Python room will stay within its capacity limits?" msgstr "" -#: library/statistics.rst:1016 +#: library/statistics.rst:1035 msgid "Naive bayesian classifier" msgstr "" -#: library/statistics.rst:1018 +#: library/statistics.rst:1037 msgid "Normal distributions commonly arise in machine learning problems." msgstr "" -#: library/statistics.rst:1020 +#: library/statistics.rst:1039 msgid "" "Wikipedia has a `nice example of a Naive Bayesian Classifier <https://en." "wikipedia.org/wiki/Naive_Bayes_classifier#Person_classification>`_. The " @@ -1095,20 +1102,20 @@ msgid "" "distributed features including height, weight, and foot size." msgstr "" -#: library/statistics.rst:1025 +#: library/statistics.rst:1044 msgid "" "We're given a training dataset with measurements for eight people. The " "measurements are assumed to be normally distributed, so we summarize the " "data with :class:`NormalDist`:" msgstr "" -#: library/statistics.rst:1038 +#: library/statistics.rst:1057 msgid "" "Next, we encounter a new person whose feature measurements are known but " "whose gender is unknown:" msgstr "" -#: library/statistics.rst:1047 +#: library/statistics.rst:1066 msgid "" "Starting with a 50% `prior probability <https://en.wikipedia.org/wiki/" "Prior_probability>`_ of being male or female, we compute the posterior as " @@ -1116,24 +1123,24 @@ msgid "" "given the gender:" msgstr "" -#: library/statistics.rst:1062 +#: library/statistics.rst:1081 msgid "" "The final prediction goes to the largest posterior. This is known as the " "`maximum a posteriori <https://en.wikipedia.org/wiki/" "Maximum_a_posteriori_estimation>`_ or MAP:" msgstr "" -#: library/statistics.rst:1073 +#: library/statistics.rst:1092 msgid "Kernel density estimation" msgstr "" -#: library/statistics.rst:1075 +#: library/statistics.rst:1094 msgid "" "It is possible to estimate a continuous probability density function from a " "fixed number of discrete samples." msgstr "" -#: library/statistics.rst:1078 +#: library/statistics.rst:1097 msgid "" "The basic idea is to smooth the data using `a kernel function such as a " "normal distribution, triangular distribution, or uniform distribution " @@ -1143,7 +1150,7 @@ msgid "" "variance of the kernel function." msgstr "" -#: library/statistics.rst:1097 +#: library/statistics.rst:1116 msgid "" "`Wikipedia has an example <https://en.wikipedia.org/wiki/" "Kernel_density_estimation#Example>`_ where we can use the ``kde_normal()`` " @@ -1151,7 +1158,7 @@ msgid "" "small sample:" msgstr "" -#: library/statistics.rst:1109 +#: library/statistics.rst:1128 msgid "The points in ``xarr`` and ``yarr`` can be used to make a PDF plot:" msgstr "" diff --git a/library/stdtypes.po b/library/stdtypes.po index 24cd205c8..1d93e0f5c 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: 2023-02-01 18:55-0500\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -128,17 +128,17 @@ msgstr "Boolean İşlemleri --- :keyword:`!and`, :keyword:`!or`, :keyword:`!not` msgid "These are the Boolean operations, ordered by ascending priority:" msgstr "Bunlar artan önceliğe göre sıralanmış Boolean işlemleridir:" -#: library/stdtypes.rst:143 library/stdtypes.rst:365 library/stdtypes.rst:963 -#: library/stdtypes.rst:1168 +#: library/stdtypes.rst:143 library/stdtypes.rst:365 library/stdtypes.rst:964 +#: library/stdtypes.rst:1169 msgid "Operation" msgstr "İşlem" -#: library/stdtypes.rst:275 library/stdtypes.rst:415 library/stdtypes.rst:1168 +#: library/stdtypes.rst:275 library/stdtypes.rst:415 library/stdtypes.rst:1169 msgid "Result" msgstr "Sonuç" -#: library/stdtypes.rst:275 library/stdtypes.rst:963 library/stdtypes.rst:2418 -#: library/stdtypes.rst:3636 +#: library/stdtypes.rst:275 library/stdtypes.rst:964 library/stdtypes.rst:2419 +#: library/stdtypes.rst:3637 msgid "Notes" msgstr "Notlar" @@ -150,7 +150,7 @@ msgstr "``x or y``" msgid "if *x* is true, then *x*, else *y*" msgstr "*x* doğruysa, *x*, aksi halde *y*" -#: library/stdtypes.rst:965 library/stdtypes.rst:1179 library/stdtypes.rst:3642 +#: library/stdtypes.rst:966 library/stdtypes.rst:1180 library/stdtypes.rst:3643 msgid "\\(1)" msgstr "\\(1)" @@ -162,8 +162,8 @@ msgstr "``x and y``" msgid "if *x* is false, then *x*, else *y*" msgstr "*x* yanlışsa, *x*, aksi halde *y*" -#: library/stdtypes.rst:288 library/stdtypes.rst:1207 library/stdtypes.rst:2430 -#: library/stdtypes.rst:3648 +#: library/stdtypes.rst:288 library/stdtypes.rst:1208 library/stdtypes.rst:2431 +#: library/stdtypes.rst:3649 msgid "\\(2)" msgstr "\\(2)" @@ -175,14 +175,14 @@ msgstr "``not x``" msgid "if *x* is false, then ``True``, else ``False``" msgstr "*x* yanlışsa, ``True``, aksi halde ``False``" -#: library/stdtypes.rst:977 library/stdtypes.rst:2432 library/stdtypes.rst:2436 -#: library/stdtypes.rst:3650 library/stdtypes.rst:3654 -#: library/stdtypes.rst:3656 +#: library/stdtypes.rst:978 library/stdtypes.rst:2433 library/stdtypes.rst:2437 +#: library/stdtypes.rst:3651 library/stdtypes.rst:3655 +#: library/stdtypes.rst:3657 msgid "\\(3)" msgstr "\\(3)" -#: library/stdtypes.rst:319 library/stdtypes.rst:1014 library/stdtypes.rst:2464 -#: library/stdtypes.rst:3686 +#: library/stdtypes.rst:319 library/stdtypes.rst:1015 library/stdtypes.rst:2465 +#: library/stdtypes.rst:3687 msgid "Notes:" msgstr "Notlar:" @@ -233,8 +233,8 @@ msgstr "" msgid "This table summarizes the comparison operations:" msgstr "Bu tablo karşılaştırma operatörlerini özetlemektedir:" -#: library/stdtypes.rst:2395 library/stdtypes.rst:3613 -#: library/stdtypes.rst:3636 +#: library/stdtypes.rst:2396 library/stdtypes.rst:3614 +#: library/stdtypes.rst:3637 msgid "Meaning" msgstr "Anlamı" @@ -571,7 +571,7 @@ msgstr "" "gerçek kısmı *re*, sanal kısmı *im* olan bir karmaşık sayı. *im* varsayılan " "olarak sıfırdır." -#: library/stdtypes.rst:1200 library/stdtypes.rst:3673 +#: library/stdtypes.rst:1201 library/stdtypes.rst:3674 msgid "\\(6)" msgstr "\\(6)" @@ -607,8 +607,8 @@ msgstr "``pow(x, y)``" msgid "*x* to the power *y*" msgstr "*x* üzeri *y*" -#: library/stdtypes.rst:312 library/stdtypes.rst:1192 library/stdtypes.rst:2454 -#: library/stdtypes.rst:3669 library/stdtypes.rst:3676 +#: library/stdtypes.rst:312 library/stdtypes.rst:1193 library/stdtypes.rst:2455 +#: library/stdtypes.rst:3670 library/stdtypes.rst:3677 msgid "\\(5)" msgstr "\\(5)" @@ -781,8 +781,8 @@ msgstr "``x | y``" msgid "bitwise :dfn:`or` of *x* and *y*" msgstr "bit düzeyinde *x* :dfn:`or` *y*" -#: library/stdtypes.rst:420 library/stdtypes.rst:1213 library/stdtypes.rst:2444 -#: library/stdtypes.rst:3662 +#: library/stdtypes.rst:420 library/stdtypes.rst:1214 library/stdtypes.rst:2445 +#: library/stdtypes.rst:3663 msgid "\\(4)" msgstr "\\(4)" @@ -1253,24 +1253,24 @@ msgstr "" "`complex` olan rasyonel bir sayının ``hash`` 'ini hesaplamak için gömülü " "``hash`` 'e eş değer örnek Python kodu::" -#: library/stdtypes.rst:810 +#: library/stdtypes.rst:811 #, fuzzy msgid "Boolean Type - :class:`bool`" msgstr "Mapping Types --- :class:`dict`" -#: library/stdtypes.rst:812 +#: library/stdtypes.rst:813 msgid "" "Booleans represent truth values. The :class:`bool` type has exactly two " "constant instances: ``True`` and ``False``." msgstr "" -#: library/stdtypes.rst:820 +#: library/stdtypes.rst:821 msgid "" "The built-in function :func:`bool` converts any value to a boolean, if the " "value can be interpreted as a truth value (see section :ref:`truth` above)." msgstr "" -#: library/stdtypes.rst:823 +#: library/stdtypes.rst:824 msgid "" "For logical operations, use the :ref:`boolean operators <boolean>` ``and``, " "``or`` and ``not``. When applying the bitwise operators ``&``, ``|``, ``^`` " @@ -1279,13 +1279,13 @@ msgid "" "``!=`` should be preferred over ``&``, ``|`` and ``^``." msgstr "" -#: library/stdtypes.rst:832 +#: library/stdtypes.rst:833 msgid "" "The use of the bitwise inversion operator ``~`` is deprecated and will raise " "an error in Python 3.14." msgstr "" -#: library/stdtypes.rst:835 +#: library/stdtypes.rst:836 msgid "" ":class:`bool` is a subclass of :class:`int` (see :ref:`typesnumeric`). In " "many numeric contexts, ``False`` and ``True`` behave like the integers 0 and " @@ -1293,11 +1293,11 @@ msgid "" "using :func:`int` instead." msgstr "" -#: library/stdtypes.rst:843 +#: library/stdtypes.rst:844 msgid "Iterator Types" msgstr "Yineleyici Türleri" -#: library/stdtypes.rst:851 +#: library/stdtypes.rst:852 msgid "" "Python supports a concept of iteration over containers. This is implemented " "using two distinct methods; these are used to allow user-defined classes to " @@ -1309,7 +1309,7 @@ msgstr "" "yinelemeyi desteklemesine izin vermek için kullanılır. Aşağıda daha " "ayrıntılı olarak açıklanan diziler, her zaman yineleme metotlarını destekler." -#: library/stdtypes.rst:856 +#: library/stdtypes.rst:857 msgid "" "One method needs to be defined for container objects to provide :term:" "`iterable` support:" @@ -1317,7 +1317,7 @@ msgstr "" "Container nesnelerinin :term:`iterable` desteği sağlaması için bir metodun " "tanımlanması gerekir:" -#: library/stdtypes.rst:863 +#: library/stdtypes.rst:864 msgid "" "Return an :term:`iterator` object. The object is required to support the " "iterator protocol described below. If a container supports different types " @@ -1337,7 +1337,7 @@ msgstr "" "C API'sindeki Python nesneleri için tür yapısının :c:member:`~PyTypeObject." "tp_iter` yuvasına karşılık gelir." -#: library/stdtypes.rst:872 +#: library/stdtypes.rst:873 msgid "" "The iterator objects themselves are required to support the following two " "methods, which together form the :dfn:`iterator protocol`:" @@ -1345,7 +1345,7 @@ msgstr "" "Yineleyici nesnelerinin kendilerinin, birlikte :dfn:`iterator protocol` 'ü " "oluşturan aşağıdaki iki metodu desteklemesi gerekir:" -#: library/stdtypes.rst:878 +#: library/stdtypes.rst:879 msgid "" "Return the :term:`iterator` object itself. This is required to allow both " "containers and iterators to be used with the :keyword:`for` and :keyword:" @@ -1358,7 +1358,7 @@ msgstr "" "Python nesneleri için tür yapısının :c:member:`~PyTypeObject.tp_iter` " "yuvasına karşılık gelir." -#: library/stdtypes.rst:887 +#: library/stdtypes.rst:888 msgid "" "Return the next item from the :term:`iterator`. If there are no further " "items, raise the :exc:`StopIteration` exception. This method corresponds to " @@ -1370,7 +1370,7 @@ msgstr "" "nesneleri için tür yapısının :c:member:`~PyTypeObject.tp_iternext` yuvasına " "karşılık gelir." -#: library/stdtypes.rst:892 +#: library/stdtypes.rst:893 msgid "" "Python defines several iterator objects to support iteration over general " "and specific sequence types, dictionaries, and other more specialized " @@ -1382,7 +1382,7 @@ msgstr "" "Belirli türler, yineleyici protokolünün uygulanmasının ötesinde önemli " "değildir." -#: library/stdtypes.rst:897 +#: library/stdtypes.rst:898 msgid "" "Once an iterator's :meth:`~iterator.__next__` method raises :exc:" "`StopIteration`, it must continue to do so on subsequent calls. " @@ -1392,11 +1392,11 @@ msgstr "" "hatasını verdiğinde, sonraki çağrılarda bunu yapmaya devam etmelidir. Bu " "özelliğe uymayan uygulamalar bozuk sayılır." -#: library/stdtypes.rst:905 +#: library/stdtypes.rst:906 msgid "Generator Types" msgstr "Oluşturucu Tipleri" -#: library/stdtypes.rst:907 +#: library/stdtypes.rst:908 msgid "" "Python's :term:`generator`\\s provide a convenient way to implement the " "iterator protocol. If a container object's :meth:`__iter__` method is " @@ -1413,11 +1413,11 @@ msgstr "" "bilgi :ref:`the documentation for the yield expression <yieldexpr>` " "adresinde bulunabilir." -#: library/stdtypes.rst:919 +#: library/stdtypes.rst:920 msgid "Sequence Types --- :class:`list`, :class:`tuple`, :class:`range`" msgstr "Dizi Tipleri --- :class:`list`, :class:`tuple`, :class:`range`" -#: library/stdtypes.rst:921 +#: library/stdtypes.rst:922 msgid "" "There are three basic sequence types: lists, tuples, and range objects. " "Additional sequence types tailored for processing of :ref:`binary data " @@ -1428,11 +1428,11 @@ msgstr "" "`binary data <binaryseq>` ve :ref:`text strings <textseq>` 'in işlenmesi " "için uyarlanmış ek dizi türleri, özel bölümlerde açıklanmıştır." -#: library/stdtypes.rst:930 +#: library/stdtypes.rst:931 msgid "Common Sequence Operations" msgstr "Yaygın Dizi İşlemleri" -#: library/stdtypes.rst:934 +#: library/stdtypes.rst:935 msgid "" "The operations in the following table are supported by most sequence types, " "both mutable and immutable. The :class:`collections.abc.Sequence` ABC is " @@ -1444,7 +1444,7 @@ msgstr "" "Sequence` ABC, bu işlemleri özel dize türlerinde doğru şekilde uygulamayı " "kolaylaştırmak için sağlanmıştır." -#: library/stdtypes.rst:939 +#: library/stdtypes.rst:940 msgid "" "This table lists the sequence operations sorted in ascending priority. In " "the table, *s* and *t* are sequences of the same type, *n*, *i*, *j* and *k* " @@ -1456,7 +1456,7 @@ msgstr "" "*x*, *s* tarafından dayatılan her tür ve değer kısıtlamasını karşılayan " "isteğe bağlı bir nesnedir." -#: library/stdtypes.rst:944 +#: library/stdtypes.rst:945 msgid "" "The ``in`` and ``not in`` operations have the same priorities as the " "comparison operations. The ``+`` (concatenation) and ``*`` (repetition) " @@ -1467,109 +1467,109 @@ msgstr "" "sahiptir. ``+`` (birleştirme) ve ``*`` (yineleme) işlemleri, karşılık gelen " "sayısal işlemlerle aynı önceliğe sahiptir. [3]_" -#: library/stdtypes.rst:965 +#: library/stdtypes.rst:966 msgid "``x in s``" msgstr "``x in s``" -#: library/stdtypes.rst:965 +#: library/stdtypes.rst:966 msgid "``True`` if an item of *s* is equal to *x*, else ``False``" msgstr "*s* 'nin bir öğesi *x* 'e eşitse ``True``, aksi takdirde ``False``" -#: library/stdtypes.rst:968 +#: library/stdtypes.rst:969 msgid "``x not in s``" msgstr "``x not in s``" -#: library/stdtypes.rst:968 +#: library/stdtypes.rst:969 msgid "``False`` if an item of *s* is equal to *x*, else ``True``" msgstr "*s* 'nin bir öğesi *x* 'e eşitse ``False``, aksi taktirde ``True``" -#: library/stdtypes.rst:971 +#: library/stdtypes.rst:972 msgid "``s + t``" msgstr "``s + t``" -#: library/stdtypes.rst:971 +#: library/stdtypes.rst:972 msgid "the concatenation of *s* and *t*" msgstr "*s* ve *t* 'nin birleşimi" -#: library/stdtypes.rst:971 +#: library/stdtypes.rst:972 msgid "(6)(7)" msgstr "(6)(7)" -#: library/stdtypes.rst:974 +#: library/stdtypes.rst:975 msgid "``s * n`` or ``n * s``" msgstr "``s * n`` veya ``n * s``" -#: library/stdtypes.rst:974 +#: library/stdtypes.rst:975 msgid "equivalent to adding *s* to itself *n* times" msgstr "*s* 'yi kendisine *n* kez eklemeye eş değer" -#: library/stdtypes.rst:974 +#: library/stdtypes.rst:975 msgid "(2)(7)" msgstr "(2)(7)" -#: library/stdtypes.rst:977 +#: library/stdtypes.rst:978 msgid "``s[i]``" msgstr "``s[i]``" -#: library/stdtypes.rst:977 +#: library/stdtypes.rst:978 msgid "*i*\\ th item of *s*, origin 0" msgstr "*s* 'nin *i*\\ 'inci öğesi, orijin 0" -#: library/stdtypes.rst:979 +#: library/stdtypes.rst:980 msgid "``s[i:j]``" msgstr "``s[i:j]``" -#: library/stdtypes.rst:979 +#: library/stdtypes.rst:980 msgid "slice of *s* from *i* to *j*" msgstr "*s* 'nin *i* 'den *j* 'ye kadar olan dilimi" -#: library/stdtypes.rst:979 +#: library/stdtypes.rst:980 msgid "(3)(4)" msgstr "(3)(4)" -#: library/stdtypes.rst:981 +#: library/stdtypes.rst:982 msgid "``s[i:j:k]``" msgstr "``s[i:j:k]``" -#: library/stdtypes.rst:981 +#: library/stdtypes.rst:982 msgid "slice of *s* from *i* to *j* with step *k*" msgstr "" "*s* 'nin *i* 'den *j* 'ye kadar olan dilimi, *k* 'lik adımlarla (örneğin *k* " "= 2 ise, ikişer ikişer)" -#: library/stdtypes.rst:981 +#: library/stdtypes.rst:982 msgid "(3)(5)" msgstr "(3)(5)" -#: library/stdtypes.rst:984 +#: library/stdtypes.rst:985 msgid "``len(s)``" msgstr "``len(s)``" -#: library/stdtypes.rst:984 +#: library/stdtypes.rst:985 msgid "length of *s*" msgstr "*s* 'nin uzunluğu" -#: library/stdtypes.rst:986 +#: library/stdtypes.rst:987 msgid "``min(s)``" msgstr "``min(s)``" -#: library/stdtypes.rst:986 +#: library/stdtypes.rst:987 msgid "smallest item of *s*" msgstr "*s* 'nin en küçük öğesi" -#: library/stdtypes.rst:988 +#: library/stdtypes.rst:989 msgid "``max(s)``" msgstr "``max(s)``" -#: library/stdtypes.rst:988 +#: library/stdtypes.rst:989 msgid "largest item of *s*" msgstr "*s* 'nin en büyük öğesi" -#: library/stdtypes.rst:990 +#: library/stdtypes.rst:991 msgid "``s.index(x[, i[, j]])``" msgstr "``s.index(x[, i[, j]])``" -#: library/stdtypes.rst:990 +#: library/stdtypes.rst:991 msgid "" "index of the first occurrence of *x* in *s* (at or after index *i* and " "before index *j*)" @@ -1577,19 +1577,19 @@ msgstr "" "*x* 'in *s* içindeki ilk görüldüğü dizini (*i* dizininde veya sonrasında ve " "*j* dizininden önce)" -#: library/stdtypes.rst:3644 +#: library/stdtypes.rst:3645 msgid "\\(8)" msgstr "\\(8)" -#: library/stdtypes.rst:994 +#: library/stdtypes.rst:995 msgid "``s.count(x)``" msgstr "``s.count(x)``" -#: library/stdtypes.rst:994 +#: library/stdtypes.rst:995 msgid "total number of occurrences of *x* in *s*" msgstr "*s* 'de *x*'in toplam görülme sayısı" -#: library/stdtypes.rst:998 +#: library/stdtypes.rst:999 msgid "" "Sequences of the same type also support comparisons. In particular, tuples " "and lists are compared lexicographically by comparing corresponding " @@ -1604,7 +1604,7 @@ msgstr "" "gerektiği anlamına gelir. (Tüm ayrıntılar için dil referansındaki :ref:" "`comparisons` bölümüne bakın.)" -#: library/stdtypes.rst:1008 +#: library/stdtypes.rst:1009 msgid "" "Forward and reversed iterators over mutable sequences access values using an " "index. That index will continue to march forward (or backward) even if the " @@ -1613,7 +1613,7 @@ msgid "" "drops below zero)." msgstr "" -#: library/stdtypes.rst:1017 +#: library/stdtypes.rst:1018 msgid "" "While the ``in`` and ``not in`` operations are used only for simple " "containment testing in the general case, some specialised sequences (such " @@ -1624,7 +1624,7 @@ msgstr "" "için kullanılırken, bazı özel diziler (örneğin: :class:`str`, :class:`bytes` " "ve :class:`bytearray`) bunları sonraki dizi testi için de kullanır:" -#: library/stdtypes.rst:1026 +#: library/stdtypes.rst:1027 msgid "" "Values of *n* less than ``0`` are treated as ``0`` (which yields an empty " "sequence of the same type as *s*). Note that items in the sequence *s* are " @@ -1636,7 +1636,7 @@ msgstr "" "birden çok kez referans gösterilir (kullanılır). Bu, çoğunlukla yeni Python " "programcılarına musallat olur; şunu düşünün::" -#: library/stdtypes.rst:1038 +#: library/stdtypes.rst:1039 msgid "" "What has happened is that ``[[]]`` is a one-element list containing an empty " "list, so all three elements of ``[[]] * 3`` are references to this single " @@ -1648,7 +1648,7 @@ msgstr "" "``lists`` öğelerinin herhangi birinin değiştirilmesi bu listeyi değiştirir. " "Bu şekilde farklı listelerin bir listesini oluşturabilirsiniz::" -#: library/stdtypes.rst:1050 +#: library/stdtypes.rst:1051 msgid "" "Further explanation is available in the FAQ entry :ref:`faq-multidimensional-" "list`." @@ -1656,7 +1656,7 @@ msgstr "" "Daha fazla açıklama SSS gönderisinde mevcuttur: :ref:`faq-multidimensional-" "list`." -#: library/stdtypes.rst:1054 +#: library/stdtypes.rst:1055 msgid "" "If *i* or *j* is negative, the index is relative to the end of sequence *s*: " "``len(s) + i`` or ``len(s) + j`` is substituted. But note that ``-0`` is " @@ -1666,7 +1666,7 @@ msgstr "" "veya ``len(s) + j`` değiştirilir. Ancak ``-0`` 'ın hala ``0`` olduğuna " "dikkat edin." -#: library/stdtypes.rst:1059 +#: library/stdtypes.rst:1060 msgid "" "The slice of *s* from *i* to *j* is defined as the sequence of items with " "index *k* such that ``i <= k < j``. If *i* or *j* is greater than " @@ -1680,7 +1680,7 @@ msgstr "" "kullanın. *j* atlanırsa veya ``None`` ise, ``len(s)`` kullanın. *i*, *j* " "'den büyük veya ona eşitse, dilim boştur." -#: library/stdtypes.rst:1066 +#: library/stdtypes.rst:1067 msgid "" "The slice of *s* from *i* to *j* with step *k* is defined as the sequence of " "items with index ``x = i + n*k`` such that ``0 <= n < (j-i)/k``. In other " @@ -1693,7 +1693,7 @@ msgid "" "``None``, it is treated like ``1``." msgstr "" -#: library/stdtypes.rst:1077 +#: library/stdtypes.rst:1078 msgid "" "Concatenating immutable sequences always results in a new object. This " "means that building up a sequence by repeated concatenation will have a " @@ -1706,7 +1706,7 @@ msgstr "" "olacağı anlamına gelir. Doğrusal bir çalışma zamanı maliyeti elde etmek " "için aşağıdaki alternatiflerden birine geçmelisiniz:" -#: library/stdtypes.rst:1082 +#: library/stdtypes.rst:1083 msgid "" "if concatenating :class:`str` objects, you can build a list and use :meth:" "`str.join` at the end or else write to an :class:`io.StringIO` instance and " @@ -1716,7 +1716,7 @@ msgstr "" "sonunda :meth:`str.join` kullanabilir veya bir :class:`io.StringIO` örneğine " "yazabilir ve tamamlandığında değerini alabilirsiniz" -#: library/stdtypes.rst:1086 +#: library/stdtypes.rst:1087 msgid "" "if concatenating :class:`bytes` objects, you can similarly use :meth:`bytes." "join` or :class:`io.BytesIO`, or you can do in-place concatenation with a :" @@ -1728,17 +1728,17 @@ msgstr "" "nesnesiyle yerinde birleştirme yapabilirsiniz. :class:`bytearray` nesneleri " "değiştirilebilirdir ve verimli bir aşırı tahsis mekanizmasına sahiptir" -#: library/stdtypes.rst:1091 +#: library/stdtypes.rst:1092 msgid "if concatenating :class:`tuple` objects, extend a :class:`list` instead" msgstr "" ":class:`tuple` nesneleri birleştiriyorsanız, bunun yerine bir :class:`list` " "öğesini genişletin" -#: library/stdtypes.rst:1093 +#: library/stdtypes.rst:1094 msgid "for other types, investigate the relevant class documentation" msgstr "diğer türler için ilgili sınıf dokümantasyonunu inceleyin" -#: library/stdtypes.rst:1097 +#: library/stdtypes.rst:1098 msgid "" "Some sequence types (such as :class:`range`) only support item sequences " "that follow specific patterns, and hence don't support sequence " @@ -1748,7 +1748,7 @@ msgstr "" "eden öğe dizilerini destekler ve bu nedenle dizi birleştirmeyi veya " "tekrarlamayı desteklemez." -#: library/stdtypes.rst:1102 +#: library/stdtypes.rst:1103 msgid "" "``index`` raises :exc:`ValueError` when *x* is not found in *s*. Not all " "implementations support passing the additional arguments *i* and *j*. These " @@ -1764,11 +1764,11 @@ msgstr "" "değerdir, yalnızca herhangi bir veri kopyalamadan ve döndürülen index " "dilimin başlangıcından ziyade dizinin başlangıcına göredir." -#: library/stdtypes.rst:1113 +#: library/stdtypes.rst:1114 msgid "Immutable Sequence Types" msgstr "Değiştirilemez Dizi Tipleri" -#: library/stdtypes.rst:1120 +#: library/stdtypes.rst:1121 msgid "" "The only operation that immutable sequence types generally implement that is " "not also implemented by mutable sequence types is support for the :func:" @@ -1778,7 +1778,7 @@ msgstr "" "değişken dizi türleri tarafından uygulanmayan tek işlem, gömülü :func:`hash` " "desteğidir." -#: library/stdtypes.rst:1124 +#: library/stdtypes.rst:1125 msgid "" "This support allows immutable sequences, such as :class:`tuple` instances, " "to be used as :class:`dict` keys and stored in :class:`set` and :class:" @@ -1788,7 +1788,7 @@ msgstr "" "`dict` anahtarları olarak kullanılmasına, :class:`set` ve :class:`frozenset` " "örneklerinde saklanmasına izin verir." -#: library/stdtypes.rst:1128 +#: library/stdtypes.rst:1129 #, fuzzy msgid "" "Attempting to hash an immutable sequence that contains unhashable values " @@ -1797,11 +1797,11 @@ msgstr "" "Hash edilemez değerler içeren değiştirilemez bir diziyi hashlemeye çalışmak :" "exc:`TypeError` ile sonuçlanır." -#: library/stdtypes.rst:1135 +#: library/stdtypes.rst:1136 msgid "Mutable Sequence Types" msgstr "Değiştirilebilir Dizi Tipleri" -#: library/stdtypes.rst:1142 +#: library/stdtypes.rst:1143 msgid "" "The operations in the following table are defined on mutable sequence types. " "The :class:`collections.abc.MutableSequence` ABC is provided to make it " @@ -1812,7 +1812,7 @@ msgstr "" "özel dizi türlerinde doğru şekilde uygulamayı kolaylaştırmak için " "sağlanmıştır." -#: library/stdtypes.rst:1146 +#: library/stdtypes.rst:1147 msgid "" "In the table *s* is an instance of a mutable sequence type, *t* is any " "iterable object and *x* is an arbitrary object that meets any type and value " @@ -1825,79 +1825,79 @@ msgstr "" "(örneğin, :class:`bytearray` yalnızca ``0 <= x <= 255`` değer kısıtlamasını " "karşılayan tam sayıları kabul eder)." -#: library/stdtypes.rst:1170 +#: library/stdtypes.rst:1171 msgid "``s[i] = x``" msgstr "``s[i] = x``" -#: library/stdtypes.rst:1170 +#: library/stdtypes.rst:1171 msgid "item *i* of *s* is replaced by *x*" msgstr "*s* 'nin *i* öğesi *x* ile değiştirilir" -#: library/stdtypes.rst:1173 +#: library/stdtypes.rst:1174 msgid "``s[i:j] = t``" msgstr "``s[i:j] = t``" -#: library/stdtypes.rst:1173 +#: library/stdtypes.rst:1174 msgid "" "slice of *s* from *i* to *j* is replaced by the contents of the iterable *t*" msgstr "" "*s* 'nin *i* ile *j* arasındaki dilimi, yinelenebilir *t* içeriğiyle " "değiştirilir" -#: library/stdtypes.rst:1177 +#: library/stdtypes.rst:1178 msgid "``del s[i:j]``" msgstr "``del s[i:j]``" -#: library/stdtypes.rst:1177 +#: library/stdtypes.rst:1178 msgid "same as ``s[i:j] = []``" msgstr "``s[i:j] = []`` ile eş değerdir" -#: library/stdtypes.rst:1179 +#: library/stdtypes.rst:1180 msgid "``s[i:j:k] = t``" msgstr "``s[i:j:k] = t``" -#: library/stdtypes.rst:1179 +#: library/stdtypes.rst:1180 msgid "the elements of ``s[i:j:k]`` are replaced by those of *t*" msgstr "``s[i:j:k]`` 'nin öğelerinin yerini *t* öğelerininkiler alır" -#: library/stdtypes.rst:1182 +#: library/stdtypes.rst:1183 msgid "``del s[i:j:k]``" msgstr "``del s[i:j:k]``" -#: library/stdtypes.rst:1182 +#: library/stdtypes.rst:1183 msgid "removes the elements of ``s[i:j:k]`` from the list" msgstr "``s[i:j:k]`` 'nin öğelerini listeden kaldırır" -#: library/stdtypes.rst:1185 +#: library/stdtypes.rst:1186 msgid "``s.append(x)``" msgstr "``s.append(x)``" -#: library/stdtypes.rst:1185 +#: library/stdtypes.rst:1186 msgid "" "appends *x* to the end of the sequence (same as ``s[len(s):len(s)] = [x]``)" msgstr "dizinin sonuna *x* ekler (``s[len(s):len(s)] = [x]`` ile eş değerdir)" -#: library/stdtypes.rst:1189 +#: library/stdtypes.rst:1190 msgid "``s.clear()``" msgstr "``s.clear()``" -#: library/stdtypes.rst:1189 +#: library/stdtypes.rst:1190 msgid "removes all items from *s* (same as ``del s[:]``)" msgstr "*s* içindeki tüm öğeleri kaldırır (``del s[:]`` ile eş değerdir)" -#: library/stdtypes.rst:1192 +#: library/stdtypes.rst:1193 msgid "``s.copy()``" msgstr "``s.copy()``" -#: library/stdtypes.rst:1192 +#: library/stdtypes.rst:1193 msgid "creates a shallow copy of *s* (same as ``s[:]``)" msgstr "*s*'nin sığ bir kopyasını oluşturur (``s[:]`` ile eş değerdir)" -#: library/stdtypes.rst:1195 +#: library/stdtypes.rst:1196 msgid "``s.extend(t)`` or ``s += t``" msgstr "``s.extend(t)`` veya ``s += t``" -#: library/stdtypes.rst:1195 +#: library/stdtypes.rst:1196 msgid "" "extends *s* with the contents of *t* (for the most part the same as " "``s[len(s):len(s)] = t``)" @@ -1905,55 +1905,55 @@ msgstr "" "*s* 'yi *t* 'nin içeriğiyle genişletir (çoğunlukla ``s[len(s):len(s)] = t`` " "ile eş değerdir)" -#: library/stdtypes.rst:1200 +#: library/stdtypes.rst:1201 msgid "``s *= n``" msgstr "``s *= n``" -#: library/stdtypes.rst:1200 +#: library/stdtypes.rst:1201 msgid "updates *s* with its contents repeated *n* times" msgstr "*n* kez tekrarlanan içeriğiyle *s* 'yi günceller" -#: library/stdtypes.rst:1203 +#: library/stdtypes.rst:1204 msgid "``s.insert(i, x)``" msgstr "``s.insert(i, x)``" -#: library/stdtypes.rst:1203 +#: library/stdtypes.rst:1204 msgid "" "inserts *x* into *s* at the index given by *i* (same as ``s[i:i] = [x]``)" msgstr "" "*i* tarafından verilen dizinde *s* 'nin içine *x* ekler (``s[i:i] = [x]`` " "ile eş değerdir)" -#: library/stdtypes.rst:1207 +#: library/stdtypes.rst:1208 msgid "``s.pop()`` or ``s.pop(i)``" msgstr "``s.pop()`` veya ``s.pop(i)``" -#: library/stdtypes.rst:1207 +#: library/stdtypes.rst:1208 msgid "retrieves the item at *i* and also removes it from *s*" msgstr "*i* noktasındaki öğeyi alır ve *s* öğesinden kaldırır" -#: library/stdtypes.rst:1210 +#: library/stdtypes.rst:1211 msgid "``s.remove(x)``" msgstr "``s.remove(x)``" -#: library/stdtypes.rst:1210 +#: library/stdtypes.rst:1211 #, fuzzy msgid "remove the first item from *s* where ``s[i]`` is equal to *x*" msgstr "``s[i]`` 'nin *x* 'e eşit olduğu *s* 'den ilk öğeyi kaldırır" -#: library/stdtypes.rst:1213 +#: library/stdtypes.rst:1214 msgid "``s.reverse()``" msgstr "``s.reverse()``" -#: library/stdtypes.rst:1213 +#: library/stdtypes.rst:1214 msgid "reverses the items of *s* in place" msgstr "*s* 'nin öğelerini yerinde tersine çevirir" -#: library/stdtypes.rst:1221 +#: library/stdtypes.rst:1222 msgid "*t* must have the same length as the slice it is replacing." msgstr "*t*, değiştirdiği dilimle aynı uzunlukta olmalıdır." -#: library/stdtypes.rst:1224 +#: library/stdtypes.rst:1225 msgid "" "The optional argument *i* defaults to ``-1``, so that by default the last " "item is removed and returned." @@ -1961,13 +1961,13 @@ msgstr "" "İsteğe bağlı *i* argümanı varsayılan olarak ``-1`` şeklindedir, böylece " "varsayılan olarak son öğe kaldırılır ve döndürülür." -#: library/stdtypes.rst:1228 +#: library/stdtypes.rst:1229 msgid ":meth:`remove` raises :exc:`ValueError` when *x* is not found in *s*." msgstr "" "*s* 'nin içinde *x* bulunmadığında :meth:`remove` işlemi :exc:`ValueError` " "hatasını verir." -#: library/stdtypes.rst:1231 +#: library/stdtypes.rst:1232 msgid "" "The :meth:`reverse` method modifies the sequence in place for economy of " "space when reversing a large sequence. To remind users that it operates by " @@ -1977,7 +1977,7 @@ msgstr "" "sağlamak için diziyi yerinde değiştirir. Kullanıcılara yan etki ile " "çalıştığını hatırlatmak için ters diziyi döndürmez." -#: library/stdtypes.rst:1236 +#: library/stdtypes.rst:1237 #, fuzzy msgid "" ":meth:`clear` and :meth:`!copy` are included for consistency with the " @@ -1992,11 +1992,11 @@ msgstr "" "`collections.abc.MutableSequence` ABC'nin bir parçası değildir, ancak çoğu " "somut değiştirilebilir dizi sınıfı bunu sağlar." -#: library/stdtypes.rst:1242 +#: library/stdtypes.rst:1243 msgid ":meth:`clear` and :meth:`!copy` methods." msgstr ":meth:`clear` ve :meth:`!copy` metotları." -#: library/stdtypes.rst:1246 +#: library/stdtypes.rst:1247 msgid "" "The value *n* is an integer, or an object implementing :meth:`~object." "__index__`. Zero and negative values of *n* clear the sequence. Items in " @@ -2008,11 +2008,11 @@ msgstr "" "öğeler kopyalanmaz; :ref:`typesseq-common` altında ``s * n`` için " "açıklandığı gibi, bunlara birden çok kez başvurulur." -#: library/stdtypes.rst:1255 +#: library/stdtypes.rst:1256 msgid "Lists" msgstr "Listeler" -#: library/stdtypes.rst:1259 +#: library/stdtypes.rst:1260 msgid "" "Lists are mutable sequences, typically used to store collections of " "homogeneous items (where the precise degree of similarity will vary by " @@ -2022,29 +2022,29 @@ msgstr "" "değişeceği) homojen öğelerin koleksiyonlarını depolamak için kullanılan " "değiştirilebilir dizilerdir." -#: library/stdtypes.rst:1265 +#: library/stdtypes.rst:1266 msgid "Lists may be constructed in several ways:" msgstr "Listeler birkaç şekilde oluşturulabilir:" -#: library/stdtypes.rst:1267 +#: library/stdtypes.rst:1268 msgid "Using a pair of square brackets to denote the empty list: ``[]``" msgstr "Boş listeyi belirtmek için bir çift köşeli parantez kullanma: ``[]``" -#: library/stdtypes.rst:1268 +#: library/stdtypes.rst:1269 msgid "" "Using square brackets, separating items with commas: ``[a]``, ``[a, b, c]``" msgstr "" "Köşeli parantez kullanarak, öğeleri virgülle ayırarak: ``[a]``, ``[a, b, c]``" -#: library/stdtypes.rst:1269 +#: library/stdtypes.rst:1270 msgid "Using a list comprehension: ``[x for x in iterable]``" msgstr "Liste kavrayışını kullanma: ``[x for x in iterable]``" -#: library/stdtypes.rst:1270 +#: library/stdtypes.rst:1271 msgid "Using the type constructor: ``list()`` or ``list(iterable)``" msgstr "Tür oluşturucuyu kullanma: ``list()`` veya ``list(iterable)``" -#: library/stdtypes.rst:1272 +#: library/stdtypes.rst:1273 msgid "" "The constructor builds a list whose items are the same and in the same order " "as *iterable*'s items. *iterable* may be either a sequence, a container " @@ -2062,7 +2062,7 @@ msgstr "" "3) )``, ``[ 1, 2, 3]``. Argüman verilmezse, yapıcı ``[]`` yeni bir boş liste " "oluşturur." -#: library/stdtypes.rst:1281 +#: library/stdtypes.rst:1282 msgid "" "Many other operations also produce lists, including the :func:`sorted` built-" "in." @@ -2070,7 +2070,7 @@ msgstr "" "Gömülü :func:`sorted` dahil olmak üzere diğer birçok işlem de listeler " "üretir." -#: library/stdtypes.rst:1284 +#: library/stdtypes.rst:1285 msgid "" "Lists implement all of the :ref:`common <typesseq-common>` and :ref:`mutable " "<typesseq-mutable>` sequence operations. Lists also provide the following " @@ -2080,7 +2080,7 @@ msgstr "" "mutable>` dizi işlemlerini uygular. Listeler ayrıca aşağıdaki ek metodu da " "sağlar:" -#: library/stdtypes.rst:1290 +#: library/stdtypes.rst:1291 msgid "" "This method sorts the list in place, using only ``<`` comparisons between " "items. Exceptions are not suppressed - if any comparison operations fail, " @@ -2092,7 +2092,7 @@ msgstr "" "işlemi başarısız olursa, tüm sıralama işlemi başarısız olur (ve liste büyük " "olasılıkla kısmen değiştirilmiş durumda kalır)." -#: library/stdtypes.rst:1295 +#: library/stdtypes.rst:1296 msgid "" ":meth:`sort` accepts two arguments that can only be passed by keyword (:ref:" "`keyword-only arguments <keyword-only_parameter>`):" @@ -2100,7 +2100,7 @@ msgstr "" ":meth:`sort` yalnızca anahtar kelime tarafından iletilebilen iki argümanı " "kabul eder (:ref:`keyword-only arguments <keyword-only_parameter>`):" -#: library/stdtypes.rst:1298 +#: library/stdtypes.rst:1299 msgid "" "*key* specifies a function of one argument that is used to extract a " "comparison key from each list element (for example, ``key=str.lower``). The " @@ -2115,7 +2115,7 @@ msgstr "" "``None``, liste öğelerinin ayrı bir anahtar değeri hesaplamadan doğrudan " "sıralandığı anlamına gelir." -#: library/stdtypes.rst:1305 +#: library/stdtypes.rst:1306 msgid "" "The :func:`functools.cmp_to_key` utility is available to convert a 2.x style " "*cmp* function to a *key* function." @@ -2123,7 +2123,7 @@ msgstr "" ":func:`functools.cmp_to_key` yardımcı programı, 2.x stili *cmp* işlevini bir " "*key* işlevine dönüştürmek için kullanılabilir." -#: library/stdtypes.rst:1308 +#: library/stdtypes.rst:1309 msgid "" "*reverse* is a boolean value. If set to ``True``, then the list elements " "are sorted as if each comparison were reversed." @@ -2131,7 +2131,7 @@ msgstr "" "*reverse* bir boolean değeridir. ``True`` olarak ayarlanırsa, liste öğeleri, " "her karşılaştırma tersine çevrilmiş gibi sıralanır." -#: library/stdtypes.rst:1311 +#: library/stdtypes.rst:1312 msgid "" "This method modifies the sequence in place for economy of space when sorting " "a large sequence. To remind users that it operates by side effect, it does " @@ -2143,7 +2143,7 @@ msgstr "" "sıralanan diziyi döndürmez (açıkça yeni bir sıralanmış liste örneği istemek " "için :func:`sorted` kullanın)." -#: library/stdtypes.rst:1316 +#: library/stdtypes.rst:1317 msgid "" "The :meth:`sort` method is guaranteed to be stable. A sort is stable if it " "guarantees not to change the relative order of elements that compare equal " @@ -2155,14 +2155,14 @@ msgstr "" "ediyorsa kararlıdır --- bu, birden çok geçişte sıralama için yararlıdır " "(örneğin, departmana göre sıralama, ardından maaş derecesine göre)." -#: library/stdtypes.rst:1321 +#: library/stdtypes.rst:1322 msgid "" "For sorting examples and a brief sorting tutorial, see :ref:`sortinghowto`." msgstr "" "Sıralama örnekleri ve kısa bir sıralama eğitimi için bkz. :ref:" "`sortinghowto`." -#: library/stdtypes.rst:1325 +#: library/stdtypes.rst:1326 msgid "" "While a list is being sorted, the effect of attempting to mutate, or even " "inspect, the list is undefined. The C implementation of Python makes the " @@ -2174,11 +2174,11 @@ msgstr "" "görünmesini sağlar ve bir sıralama sırasında listenin mutasyona uğradığını " "algılayabilirse :exc:`ValueError` hatasını verir." -#: library/stdtypes.rst:1334 +#: library/stdtypes.rst:1335 msgid "Tuples" msgstr "Demetler" -#: library/stdtypes.rst:1338 +#: library/stdtypes.rst:1339 msgid "" "Tuples are immutable sequences, typically used to store collections of " "heterogeneous data (such as the 2-tuples produced by the :func:`enumerate` " @@ -2192,27 +2192,27 @@ msgstr "" "dizisinin gerekli olduğu durumlarda da kullanılır (bir :class:`set` veya :" "class:`dict` örneğinde depolamaya izin vermek gibi)." -#: library/stdtypes.rst:1346 +#: library/stdtypes.rst:1347 msgid "Tuples may be constructed in a number of ways:" msgstr "Tuple'lar çeşitli şekillerde oluşturulabilir:" -#: library/stdtypes.rst:1348 +#: library/stdtypes.rst:1349 msgid "Using a pair of parentheses to denote the empty tuple: ``()``" msgstr "Boş demeti belirtmek için bir çift parantez kullanma: ``()``" -#: library/stdtypes.rst:1349 +#: library/stdtypes.rst:1350 msgid "Using a trailing comma for a singleton tuple: ``a,`` or ``(a,)``" msgstr "Tekli bir tuple için sonunda virgül kullanma: ``a,`` veya ``(a,)``" -#: library/stdtypes.rst:1350 +#: library/stdtypes.rst:1351 msgid "Separating items with commas: ``a, b, c`` or ``(a, b, c)``" msgstr "Öğeleri virgülle ayırma: ``a, b, c`` veya ``(a, b, c)``" -#: library/stdtypes.rst:1351 +#: library/stdtypes.rst:1352 msgid "Using the :func:`tuple` built-in: ``tuple()`` or ``tuple(iterable)``" msgstr "Gömülü :func:`tuple` kullanmak: ``tuple()`` veya ``tuple(iterable)``" -#: library/stdtypes.rst:1353 +#: library/stdtypes.rst:1354 msgid "" "The constructor builds a tuple whose items are the same and in the same " "order as *iterable*'s items. *iterable* may be either a sequence, a " @@ -2229,7 +2229,7 @@ msgstr "" "``tuple( [1, 2, 3] )``, ``(1, 2, 3)`` 'yi döndürür. Herhangi bir argüman " "verilmezse, yapıcı yeni bir boş demet oluşturur ``()``." -#: library/stdtypes.rst:1361 +#: library/stdtypes.rst:1362 msgid "" "Note that it is actually the comma which makes a tuple, not the parentheses. " "The parentheses are optional, except in the empty tuple case, or when they " @@ -2243,14 +2243,14 @@ msgstr "" "fonksiyon çağrısı iken ``f((a, b, c))``, tek argüman olarak 3'lü bir tuple " "içeren bir fonksiyon çağrısıdır." -#: library/stdtypes.rst:1367 +#: library/stdtypes.rst:1368 msgid "" "Tuples implement all of the :ref:`common <typesseq-common>` sequence " "operations." msgstr "" "Tuple'lar, tüm :ref:`common <typesseq-common>` dizi işlemlerini uygular." -#: library/stdtypes.rst:1370 +#: library/stdtypes.rst:1371 msgid "" "For heterogeneous collections of data where access by name is clearer than " "access by index, :func:`collections.namedtuple` may be a more appropriate " @@ -2260,11 +2260,11 @@ msgstr "" "koleksiyonları için, :func:`collections.namedtuple` basit bir tuple " "nesnesinden daha uygun bir seçim olabilir." -#: library/stdtypes.rst:1378 +#: library/stdtypes.rst:1379 msgid "Ranges" msgstr "Aralıklar" -#: library/stdtypes.rst:1382 +#: library/stdtypes.rst:1383 msgid "" "The :class:`range` type represents an immutable sequence of numbers and is " "commonly used for looping a specific number of times in :keyword:`for` loops." @@ -2273,7 +2273,7 @@ msgstr "" "genellikle :keyword:`for` döngülerinde belirli sayıda döngü yapmak için " "kullanılır." -#: library/stdtypes.rst:1389 +#: library/stdtypes.rst:1390 msgid "" "The arguments to the range constructor must be integers (either built-in :" "class:`int` or any object that implements the :meth:`~object.__index__` " @@ -2287,7 +2287,7 @@ msgstr "" "atlanırsa, varsayılan olarak ``0`` olur. *step* sıfırsa, :exc:`ValueError` " "hatası ortaya çıkar." -#: library/stdtypes.rst:1395 +#: library/stdtypes.rst:1396 msgid "" "For a positive *step*, the contents of a range ``r`` are determined by the " "formula ``r[i] = start + step*i`` where ``i >= 0`` and ``r[i] < stop``." @@ -2295,7 +2295,7 @@ msgstr "" "Pozitif *step* için, ``r`` aralığının içeriği, ``i >= 0`` ve ``r[i] < stop`` " "olmak üzere ``r[i] = start + step*i`` formülüyle belirlenir." -#: library/stdtypes.rst:1399 +#: library/stdtypes.rst:1400 msgid "" "For a negative *step*, the contents of the range are still determined by the " "formula ``r[i] = start + step*i``, but the constraints are ``i >= 0`` and " @@ -2304,7 +2304,7 @@ msgstr "" "Negatif bir *step* için, aralığın içeriği hala ``r[i] = start + step*i`` " "formülüyle belirlenir, ancak kısıtlamalar ``i >= 0`` ve ``r[i] > stop`` 'dir." -#: library/stdtypes.rst:1403 +#: library/stdtypes.rst:1404 msgid "" "A range object will be empty if ``r[0]`` does not meet the value constraint. " "Ranges do support negative indices, but these are interpreted as indexing " @@ -2315,7 +2315,7 @@ msgstr "" "indeksler tarafından belirlenen dizinin sonundan indeksleme olarak " "yorumlanır." -#: library/stdtypes.rst:1408 +#: library/stdtypes.rst:1409 msgid "" "Ranges containing absolute values larger than :data:`sys.maxsize` are " "permitted but some features (such as :func:`len`) may raise :exc:" @@ -2325,11 +2325,11 @@ msgstr "" "verilir, ancak bazı özellikler (:func:`len` gibi), :exc:`OverflowError` " "hatasınının ortaya çıkmasını sağlayabilir." -#: library/stdtypes.rst:1412 +#: library/stdtypes.rst:1413 msgid "Range examples::" msgstr "Aralık örnekleri::" -#: library/stdtypes.rst:1429 +#: library/stdtypes.rst:1430 msgid "" "Ranges implement all of the :ref:`common <typesseq-common>` sequence " "operations except concatenation and repetition (due to the fact that range " @@ -2341,23 +2341,23 @@ msgstr "" "izleyen dizileri temsil edebilmesi ve tekrarlama ve birleştirmenin " "genellikle bu kalıbı ihlal etmesi nedeniyle)." -#: library/stdtypes.rst:1436 +#: library/stdtypes.rst:1437 msgid "" "The value of the *start* parameter (or ``0`` if the parameter was not " "supplied)" msgstr "*start* parametresinin değeri (veya parametre sağlanmadıysa ``0``)" -#: library/stdtypes.rst:1441 +#: library/stdtypes.rst:1442 msgid "The value of the *stop* parameter" msgstr "*stop* parametresinin değeri" -#: library/stdtypes.rst:1445 +#: library/stdtypes.rst:1446 msgid "" "The value of the *step* parameter (or ``1`` if the parameter was not " "supplied)" msgstr "*step* parametresinin değeri (veya parametre sağlanmadıysa ``1``)" -#: library/stdtypes.rst:1448 +#: library/stdtypes.rst:1449 msgid "" "The advantage of the :class:`range` type over a regular :class:`list` or :" "class:`tuple` is that a :class:`range` object will always take the same " @@ -2371,7 +2371,7 @@ msgstr "" "(yalnızca ``start``, ``stop`` ve ``step`` değerlerini sakladığı için, tek " "tek öğeleri ve alt aralıkları gerektiği gibi hesaplar)." -#: library/stdtypes.rst:1454 +#: library/stdtypes.rst:1455 msgid "" "Range objects implement the :class:`collections.abc.Sequence` ABC, and " "provide features such as containment tests, element index lookup, slicing " @@ -2381,7 +2381,7 @@ msgstr "" "ve sınırlama testleri, eleman indeksi araması, dilimleme ve negatif " "indeksler için destek gibi özellikler sağlar (bkz. :ref:`typesseq`):" -#: library/stdtypes.rst:1474 +#: library/stdtypes.rst:1475 msgid "" "Testing range objects for equality with ``==`` and ``!=`` compares them as " "sequences. That is, two range objects are considered equal if they " @@ -2397,7 +2397,7 @@ msgstr "" "`~range.step` niteliklerine sahip olabileceğini unutmayın, örneğin " "``range(0) == range(2, 1, 3)`` veya ``range(0, 3, 2) == range(0, 4, 2)``.)" -#: library/stdtypes.rst:1481 +#: library/stdtypes.rst:1482 msgid "" "Implement the Sequence ABC. Support slicing and negative indices. Test :" "class:`int` objects for membership in constant time instead of iterating " @@ -2407,7 +2407,7 @@ msgstr "" "öğeleri yinelemek yerine sabit zamanda üyelik için :class:`int` nesnelerini " "test eder." -#: library/stdtypes.rst:1487 +#: library/stdtypes.rst:1488 msgid "" "Define '==' and '!=' to compare range objects based on the sequence of " "values they define (instead of comparing based on object identity)." @@ -2415,14 +2415,14 @@ msgstr "" "Aralık nesnelerini tanımladıkları değer sırasına göre karşılaştırmak için " "'==' ve '!=' tanımlayın (nesne kimliğine göre karşılaştırmak yerine)." -#: library/stdtypes.rst:1492 +#: library/stdtypes.rst:1493 msgid "" "The :attr:`~range.start`, :attr:`~range.stop` and :attr:`~range.step` " "attributes." msgstr "" ":attr:`~range.start`, :attr:`~range.stop` ve :attr:`~range.step` özellikleri." -#: library/stdtypes.rst:1498 +#: library/stdtypes.rst:1499 #, fuzzy msgid "" "The `linspace recipe <https://code.activestate.com/recipes/579000/>`_ shows " @@ -2433,11 +2433,11 @@ msgstr "" "nokta uygulamaları için uygun olan tembel bir aralığın nasıl uygulanacağını " "gösterir." -#: library/stdtypes.rst:1510 +#: library/stdtypes.rst:1511 msgid "Text Sequence Type --- :class:`str`" msgstr "Metin Sırası Türü --- :class:`str`" -#: library/stdtypes.rst:1512 +#: library/stdtypes.rst:1513 msgid "" "Textual data in Python is handled with :class:`str` objects, or :dfn:" "`strings`. Strings are immutable :ref:`sequences <typesseq>` of Unicode code " @@ -2447,21 +2447,21 @@ msgstr "" "işlenir. Dizeler, Unicode kod noktalarının değişmez :ref:`dizgeleridir " "<typesseq>`. Dize değişmezleri çeşitli şekillerde yazılır:" -#: library/stdtypes.rst:1517 +#: library/stdtypes.rst:1518 msgid "Single quotes: ``'allows embedded \"double\" quotes'``" msgstr "Tek tırnak: ``'katıştırılmış \"çift\" tırnaklara izin verir'``" -#: library/stdtypes.rst:1518 +#: library/stdtypes.rst:1519 msgid "Double quotes: ``\"allows embedded 'single' quotes\"``" msgstr "Çift tırnak: ``\"katıştırılmış 'tek' tırnaklara izin verir\"``" -#: library/stdtypes.rst:1519 +#: library/stdtypes.rst:1520 msgid "" "Triple quoted: ``'''Three single quotes'''``, ``\"\"\"Three double " "quotes\"\"\"``" msgstr "Üçlü tırnak: ``'''Üç tek tırnak'''``, ``\"\"\"Üç çift tırnak\"\"\"``" -#: library/stdtypes.rst:1521 +#: library/stdtypes.rst:1522 msgid "" "Triple quoted strings may span multiple lines - all associated whitespace " "will be included in the string literal." @@ -2469,7 +2469,7 @@ msgstr "" "Üçlü tırnak içine alınmış dizeler birden çok satıra yayılabilir - ilişkili " "tüm boşluklar dize değişmezine dahil edilecektir." -#: library/stdtypes.rst:1524 +#: library/stdtypes.rst:1525 msgid "" "String literals that are part of a single expression and have only " "whitespace between them will be implicitly converted to a single string " @@ -2479,7 +2479,7 @@ msgstr "" "değişmezleri, örtük olarak tek bir dize değişmezine dönüştürülür. Yani, " "``(\"spam\" \"yumurtalar\") == \"spam yumurtalar\"``." -#: library/stdtypes.rst:1528 +#: library/stdtypes.rst:1529 msgid "" "See :ref:`strings` for more about the various forms of string literal, " "including supported escape sequences, and the ``r`` (\"raw\") prefix that " @@ -2490,7 +2490,7 @@ msgstr "" "değişmezinin çeşitli biçimleri hakkında daha fazla bilgi için bkz. :ref:" "`strings`." -#: library/stdtypes.rst:1532 +#: library/stdtypes.rst:1533 msgid "" "Strings may also be created from other objects using the :class:`str` " "constructor." @@ -2498,7 +2498,7 @@ msgstr "" "Dizeler, :class:`str` yapıcısı kullanılarak diğer nesnelerden de " "oluşturulabilir." -#: library/stdtypes.rst:1535 +#: library/stdtypes.rst:1536 msgid "" "Since there is no separate \"character\" type, indexing a string produces " "strings of length 1. That is, for a non-empty string *s*, ``s[0] == s[0:1]``." @@ -2507,7 +2507,7 @@ msgstr "" "uzunluğunda dizeler üretir. Yani, boş olmayan bir *s* dizesi için ``s[0] == " "s[0:1]``." -#: library/stdtypes.rst:1541 +#: library/stdtypes.rst:1542 msgid "" "There is also no mutable string type, but :meth:`str.join` or :class:`io." "StringIO` can be used to efficiently construct strings from multiple " @@ -2517,7 +2517,7 @@ msgstr "" "`io.StringIO` birden çok parçadan dizeleri verimli bir şekilde oluşturmak " "için kullanılabilir." -#: library/stdtypes.rst:1545 +#: library/stdtypes.rst:1546 msgid "" "For backwards compatibility with the Python 2 series, the ``u`` prefix is " "once again permitted on string literals. It has no effect on the meaning of " @@ -2527,7 +2527,7 @@ msgstr "" "ön ekine izin verilir. Bunun dize değişmezlerinin anlamı üzerinde hiçbir " "etkisi yoktur ve ``r`` ön ekiyle birleştirilemez." -#: library/stdtypes.rst:1557 +#: library/stdtypes.rst:1558 #, fuzzy msgid "" "Return a :ref:`string <textseq>` version of *object*. If *object* is not " @@ -2538,7 +2538,7 @@ msgstr "" "boş dizeyi döndürür. Aksi takdirde, ``str()`` davranışı, aşağıdaki gibi " "*kodlama* veya *hatalar* 'ın verilmesine bağlıdır." -#: library/stdtypes.rst:1561 +#: library/stdtypes.rst:1562 #, fuzzy msgid "" "If neither *encoding* nor *errors* is given, ``str(object)`` returns :meth:" @@ -2554,7 +2554,7 @@ msgstr "" "kendisidir. *object*'in bir :meth:`~object.__str__` metodu yoksa, :func:" "`str`, :meth:`repr(object) <repr>` döndürmeye geri döner." -#: library/stdtypes.rst:1573 +#: library/stdtypes.rst:1574 msgid "" "If at least one of *encoding* or *errors* is given, *object* should be a :" "term:`bytes-like object` (e.g. :class:`bytes` or :class:`bytearray`). In " @@ -2574,7 +2574,7 @@ msgstr "" "elde edilir. Arabellek nesneleri hakkında bilgi için bkz. :ref:`binaryseq` " "ve :ref:`bufferobjects`." -#: library/stdtypes.rst:1582 +#: library/stdtypes.rst:1583 msgid "" "Passing a :class:`bytes` object to :func:`str` without the *encoding* or " "*errors* arguments falls under the first case of returning the informal " @@ -2586,7 +2586,7 @@ msgstr "" "girer (ayrıca bkz. Python için :option:`-b` komut satırı seçeneği). " "Örneğin::" -#: library/stdtypes.rst:1590 +#: library/stdtypes.rst:1591 msgid "" "For more information on the ``str`` class and its methods, see :ref:" "`textseq` and the :ref:`string-methods` section below. To output formatted " @@ -2598,11 +2598,11 @@ msgstr "" "dizelerin çıktısını almak için :ref:`f-strings` ve :ref:`formatstrings` " "bölümlerine bakın. Ayrıca, :ref:`stringservices` bölümüne de bakın." -#: library/stdtypes.rst:1602 +#: library/stdtypes.rst:1603 msgid "String Methods" msgstr "String (Dize) Metotları" -#: library/stdtypes.rst:1607 +#: library/stdtypes.rst:1608 msgid "" "Strings implement all of the :ref:`common <typesseq-common>` sequence " "operations, along with the additional methods described below." @@ -2610,7 +2610,7 @@ msgstr "" "Dizeler, aşağıda açıklanan ek yöntemlerle birlikte tüm :ref:`ortak <typesseq-" "common>` dizi işlemlerini uygular." -#: library/stdtypes.rst:1610 +#: library/stdtypes.rst:1611 #, fuzzy msgid "" "Strings also support two styles of string formatting, one providing a large " @@ -2627,7 +2627,7 @@ msgstr "" "stilini destekler, ancak genellikle işleyebileceği durumlar için daha " "hızlıdır (:ref:`old-string-formatting`)." -#: library/stdtypes.rst:1617 +#: library/stdtypes.rst:1618 msgid "" "The :ref:`textservices` section of the standard library covers a number of " "other modules that provide various text related utilities (including regular " @@ -2637,7 +2637,7 @@ msgstr "" "yardımcı programlar sağlayan bir dizi başka modülü kapsar (:mod:`re` " "modülündeki normal ifade desteği dahil)." -#: library/stdtypes.rst:1623 +#: library/stdtypes.rst:1624 msgid "" "Return a copy of the string with its first character capitalized and the " "rest lowercased." @@ -2645,7 +2645,7 @@ msgstr "" "İlk karakteri büyük ve geri kalanı küçük harf ile, dizenin bir kopyasını " "döndürür." -#: library/stdtypes.rst:1626 +#: library/stdtypes.rst:1627 #, fuzzy msgid "" "The first character is now put into titlecase rather than uppercase. This " @@ -2656,7 +2656,7 @@ msgstr "" "digraf gibi karakterlerin, sadece ilk harflerinin büyütüleceği anlamına " "gelir." -#: library/stdtypes.rst:1633 +#: library/stdtypes.rst:1634 msgid "" "Return a casefolded copy of the string. Casefolded strings may be used for " "caseless matching." @@ -2664,7 +2664,7 @@ msgstr "" "Dizenin küçük harfe katlanmış bir kopyasını döndürür. Küçük harfe katlanmış " "dizeler, büyük/küçük harfsiz eşleştirme için kullanılabilir." -#: library/stdtypes.rst:1636 +#: library/stdtypes.rst:1637 msgid "" "Casefolding is similar to lowercasing but more aggressive because it is " "intended to remove all case distinctions in a string. For example, the " @@ -2678,7 +2678,7 @@ msgstr "" "Zaten küçük harf olduğundan, :meth:`lower` ``'ß'`` için hiçbir şey yapmaz; :" "meth:`casefold` onu ``\"ss\"`` biçimine dönüştürür." -#: library/stdtypes.rst:1642 +#: library/stdtypes.rst:1643 #, fuzzy msgid "" "The casefolding algorithm is `described in section 3.13 'Default Case " @@ -2687,7 +2687,7 @@ msgid "" msgstr "" "Casefolding algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:1651 +#: library/stdtypes.rst:1652 msgid "" "Return centered in a string of length *width*. Padding is done using the " "specified *fillchar* (default is an ASCII space). The original string is " @@ -2698,7 +2698,7 @@ msgstr "" "boşluğudur). *width*, ``len(s)`` değerinden küçük veya ona eşitse orijinal " "dize döndürülür." -#: library/stdtypes.rst:1659 +#: library/stdtypes.rst:1660 msgid "" "Return the number of non-overlapping occurrences of substring *sub* in the " "range [*start*, *end*]. Optional arguments *start* and *end* are " @@ -2708,23 +2708,23 @@ msgstr "" "sayısını döndürür. İsteğe bağlı bağımsız değişkenler *start* ve *end*, dilim " "notasyonunda olduğu gibi yorumlanır." -#: library/stdtypes.rst:1663 +#: library/stdtypes.rst:1664 msgid "" "If *sub* is empty, returns the number of empty strings between characters " "which is the length of the string plus one." msgstr "" -#: library/stdtypes.rst:1669 +#: library/stdtypes.rst:1670 msgid "Return the string encoded to :class:`bytes`." msgstr "" -#: library/stdtypes.rst:2810 +#: library/stdtypes.rst:2811 msgid "" "*encoding* defaults to ``'utf-8'``; see :ref:`standard-encodings` for " "possible values." msgstr "" -#: library/stdtypes.rst:1674 +#: library/stdtypes.rst:1675 msgid "" "*errors* controls how encoding errors are handled. If ``'strict'`` (the " "default), a :exc:`UnicodeError` exception is raised. Other possible values " @@ -2739,18 +2739,18 @@ msgstr "" "register_error` ile kaydedilen diğer isimlerdir. Ayrıntılar için :ref:`error-" "handlers` bölümüne bakınız." -#: library/stdtypes.rst:1681 +#: library/stdtypes.rst:1682 msgid "" "For performance reasons, the value of *errors* is not checked for validity " "unless an encoding error actually occurs, :ref:`devmode` is enabled or a :" "ref:`debug build <debug-build>` is used." msgstr "" -#: library/stdtypes.rst:2829 +#: library/stdtypes.rst:2830 msgid "Added support for keyword arguments." msgstr "" -#: library/stdtypes.rst:2832 +#: library/stdtypes.rst:2833 msgid "" "The value of the *errors* argument is now checked in :ref:`devmode` and in :" "ref:`debug mode <debug-build>`." @@ -2758,7 +2758,7 @@ msgstr "" "*errors* şimdi :ref:`devmode` ve :ref:`hata ayıklama modunda <debug-build>` " "kontrol edilir." -#: library/stdtypes.rst:1696 +#: library/stdtypes.rst:1697 msgid "" "Return ``True`` if the string ends with the specified *suffix*, otherwise " "return ``False``. *suffix* can also be a tuple of suffixes to look for. " @@ -2770,7 +2770,7 @@ msgstr "" "bağlı *start* ile, o konumdan başlayarak test edin. İsteğe bağlı *end* ile, " "o konumda karşılaştırmayı bırakın." -#: library/stdtypes.rst:1704 +#: library/stdtypes.rst:1705 msgid "" "Return a copy of the string where all tab characters are replaced by one or " "more spaces, depending on the current column and the given tab size. Tab " @@ -2797,7 +2797,7 @@ msgstr "" "karakter değiştirilmeden kopyalanır ve mevcut sütun, karakterin " "yazdırıldığında nasıl temsil edildiğine bakılmaksızın bir artırılır." -#: library/stdtypes.rst:1725 +#: library/stdtypes.rst:1726 msgid "" "Return the lowest index in the string where substring *sub* is found within " "the slice ``s[start:end]``. Optional arguments *start* and *end* are " @@ -2807,7 +2807,7 @@ msgstr "" "dizini döndür. İsteğe bağlı argümanlar *start* ve *end*, dilim notasyonunda " "olduğu gibi yorumlanır. *sub* bulunamazsa ``-1`` döndürür." -#: library/stdtypes.rst:1731 +#: library/stdtypes.rst:1732 msgid "" "The :meth:`~str.find` method should be used only if you need to know the " "position of *sub*. To check if *sub* is a substring or not, use the :" @@ -2817,7 +2817,7 @@ msgstr "" "gerekiyorsa kullanılmalıdır. *sub* 'ın bir alt dize olup olmadığını kontrol " "etmek için :keyword:`in` operatörünü kullanın::" -#: library/stdtypes.rst:1741 +#: library/stdtypes.rst:1742 msgid "" "Perform a string formatting operation. The string on which this method is " "called can contain literal text or replacement fields delimited by braces " @@ -2833,7 +2833,7 @@ msgstr "" "değiştirme alanının, karşılık gelen argümanın dize değeriyle değiştirildiği " "dizenin bir kopyasını döndürür." -#: library/stdtypes.rst:1751 +#: library/stdtypes.rst:1752 msgid "" "See :ref:`formatstrings` for a description of the various formatting options " "that can be specified in format strings." @@ -2841,7 +2841,7 @@ msgstr "" "Biçim dizelerinde (f string) belirtilebilecek çeşitli biçimlendirme " "seçeneklerinin açıklaması için bkz. :ref:`formatstrings`." -#: library/stdtypes.rst:1755 +#: library/stdtypes.rst:1756 msgid "" "When formatting a number (:class:`int`, :class:`float`, :class:`complex`, :" "class:`decimal.Decimal` and subclasses) with the ``n`` type (ex: ``'{:n}'." @@ -2859,7 +2859,7 @@ msgstr "" "için ``LC_CTYPE`` yerel ayarını geçici olarak ``LC_NUMERIC`` yerel ayarına " "ayarlar. Bu geçici değişiklik diğer iş parçacıklarını etkiler." -#: library/stdtypes.rst:1764 +#: library/stdtypes.rst:1765 msgid "" "When formatting a number with the ``n`` type, the function sets temporarily " "the ``LC_CTYPE`` locale to the ``LC_NUMERIC`` locale in some cases." @@ -2868,7 +2868,7 @@ msgstr "" "``LC_CTYPE`` yerel ayarını geçici olarak ``LC_NUMERIC`` yerel ayarına " "ayarlar." -#: library/stdtypes.rst:1772 +#: library/stdtypes.rst:1773 msgid "" "Similar to ``str.format(**mapping)``, except that ``mapping`` is used " "directly and not copied to a :class:`dict`. This is useful if for example " @@ -2878,7 +2878,7 @@ msgstr "" "kullanılır ve bir :class:`dict` 'e kopyalanmaz. Örneğin, ``mapping`` bir " "dict alt sınıfı ise bu kullanışlıdır:" -#: library/stdtypes.rst:1788 +#: library/stdtypes.rst:1789 msgid "" "Like :meth:`~str.find`, but raise :exc:`ValueError` when the substring is " "not found." @@ -2886,7 +2886,7 @@ msgstr "" ":meth:`~str.find` gibi, ancak alt dize bulunamadığında :exc:`ValueError` " "yükseltir." -#: library/stdtypes.rst:1794 +#: library/stdtypes.rst:1795 msgid "" "Return ``True`` if all characters in the string are alphanumeric and there " "is at least one character, ``False`` otherwise. A character ``c`` is " @@ -2898,7 +2898,7 @@ msgstr "" "``True`` döndürüyorsa alfasayısaldır: ``c.isalpha()``, ``c.isdecimal()``, " "``c.isdigit()`` veya ``c.isnumeric()``." -#: library/stdtypes.rst:1802 +#: library/stdtypes.rst:1803 #, fuzzy msgid "" "Return ``True`` if all characters in the string are alphabetic and there is " @@ -2917,7 +2917,7 @@ msgstr "" "karakterlerdir. Bunun Unicode Standardında tanımlanan \"Alfabetik\" " "özelliğinden farklı olduğunu unutmayın." -#: library/stdtypes.rst:1813 +#: library/stdtypes.rst:1814 msgid "" "Return ``True`` if the string is empty or all characters in the string are " "ASCII, ``False`` otherwise. ASCII characters have code points in the range " @@ -2927,7 +2927,7 @@ msgstr "" "``False`` döndürür. ASCII karakterleri U+0000-U+007F aralığında kod " "noktalarına sahiptir." -#: library/stdtypes.rst:1822 +#: library/stdtypes.rst:1823 msgid "" "Return ``True`` if all characters in the string are decimal characters and " "there is at least one character, ``False`` otherwise. Decimal characters are " @@ -2941,7 +2941,7 @@ msgstr "" "ARAPÇA-HİNTÇE RAKAM SIFIR. Resmi olarak bir ondalık karakter Unicode Genel " "Kategorisi \"Nd\" içerisindeki bir karakterdir." -#: library/stdtypes.rst:1832 +#: library/stdtypes.rst:1833 msgid "" "Return ``True`` if all characters in the string are digits and there is at " "least one character, ``False`` otherwise. Digits include decimal characters " @@ -2957,7 +2957,7 @@ msgstr "" "rakamları kapsar. Resmi olarak rakam, Numeric_Type=Digit veya " "Numeric_Type=Decimal özellik değerine sahip bir karakterdir." -#: library/stdtypes.rst:1842 +#: library/stdtypes.rst:1843 msgid "" "Return ``True`` if the string is a valid identifier according to the " "language definition, section :ref:`identifiers`." @@ -2965,7 +2965,7 @@ msgstr "" ":ref:`identifiers` bölümüne göre dizge dil tanımına göre geçerli bir " "tanımlayıcı ise ``True`` döndürür." -#: library/stdtypes.rst:1845 +#: library/stdtypes.rst:1846 #, fuzzy msgid "" ":func:`keyword.iskeyword` can be used to test whether string ``s`` is a " @@ -2974,11 +2974,11 @@ msgstr "" ":func:`keyword.iskeyword` çağrısı yaparak ``s`` dizesinin :keyword:`def` ve :" "keyword:`class` gibi ayrılmış bir tanımlayıcı olup olmadığını test eder." -#: library/stdtypes.rst:1848 +#: library/stdtypes.rst:1849 msgid "Example: ::" msgstr "Örnek: ::" -#: library/stdtypes.rst:1861 +#: library/stdtypes.rst:1862 msgid "" "Return ``True`` if all cased characters [4]_ in the string are lowercase and " "there is at least one cased character, ``False`` otherwise." @@ -2986,7 +2986,7 @@ msgstr "" "Dizedeki tüm büyük harfli karakterler [4]_ küçük harfli ise ve en az bir " "büyük harfli karakter varsa ``True``, aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1867 +#: library/stdtypes.rst:1868 msgid "" "Return ``True`` if all characters in the string are numeric characters, and " "there is at least one character, ``False`` otherwise. Numeric characters " @@ -3002,7 +3002,7 @@ msgstr "" "karakterler Numeric_Type=Digit, Numeric_Type=Decimal veya " "Numeric_Type=Numeric özellik değerine sahip karakterlerdir." -#: library/stdtypes.rst:1877 +#: library/stdtypes.rst:1878 msgid "" "Return ``True`` if all characters in the string are printable or the string " "is empty, ``False`` otherwise. Nonprintable characters are those characters " @@ -3021,7 +3021,7 @@ msgstr "" "data:`sys.stdout` veya :data:`sys.stderr` dosyalarına yazılan dizelerin " "işlenmesiyle bir ilgisi yoktur)" -#: library/stdtypes.rst:1888 +#: library/stdtypes.rst:1889 msgid "" "Return ``True`` if there are only whitespace characters in the string and " "there is at least one character, ``False`` otherwise." @@ -3029,7 +3029,7 @@ msgstr "" "Dizede yalnızca boşluk karakterleri varsa ve en az bir karakter varsa " "``True``, aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1891 +#: library/stdtypes.rst:1892 msgid "" "A character is *whitespace* if in the Unicode character database (see :mod:" "`unicodedata`), either its general category is ``Zs`` (\"Separator, " @@ -3039,7 +3039,7 @@ msgstr "" "sınıfı ``WS``, ``B`` veya ``S``’den biri ise Unicode karakter veritabanında " "(bkz. :mod:`unicodedata`) *beyaz boşluk karakteri*’dir." -#: library/stdtypes.rst:1899 +#: library/stdtypes.rst:1900 msgid "" "Return ``True`` if the string is a titlecased string and there is at least " "one character, for example uppercase characters may only follow uncased " @@ -3051,7 +3051,7 @@ msgstr "" "karakterleri ve küçük harfli karakterler sadece büyük harfli karakterleri " "takip edebilir. Aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1906 +#: library/stdtypes.rst:1907 msgid "" "Return ``True`` if all cased characters [4]_ in the string are uppercase and " "there is at least one cased character, ``False`` otherwise." @@ -3059,7 +3059,7 @@ msgstr "" "Dizedeki tüm karakterler [4]_ büyük harfli ise ve en az bir büyük harfli " "karakter varsa ``True``, aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1924 +#: library/stdtypes.rst:1925 msgid "" "Return a string which is the concatenation of the strings in *iterable*. A :" "exc:`TypeError` will be raised if there are any non-string values in " @@ -3071,7 +3071,7 @@ msgstr "" "olmayan değerler varsa bir :exc:`TypeError` oluşacaktır. Öğeler arasındaki " "ayırıcı, bu yöntemi sağlayan dizedir." -#: library/stdtypes.rst:1932 +#: library/stdtypes.rst:1933 msgid "" "Return the string left justified in a string of length *width*. Padding is " "done using the specified *fillchar* (default is an ASCII space). The " @@ -3082,7 +3082,7 @@ msgstr "" "boşluğudur). *width*, ``len(s)`` değerinden küçük veya ona eşitse orijinal " "dize döndürülür." -#: library/stdtypes.rst:1939 +#: library/stdtypes.rst:1940 msgid "" "Return a copy of the string with all the cased characters [4]_ converted to " "lowercase." @@ -3090,7 +3090,7 @@ msgstr "" "Dizenin tüm büyük harfli karakterlerini [4]_ küçük harfe dönüştürerek bir " "kopyasını döndürür." -#: library/stdtypes.rst:1942 +#: library/stdtypes.rst:1943 #, fuzzy msgid "" "The lowercasing algorithm used is `described in section 3.13 'Default Case " @@ -3099,7 +3099,7 @@ msgid "" msgstr "" "Harf küçültme algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:1949 +#: library/stdtypes.rst:1950 msgid "" "Return a copy of the string with leading characters removed. The *chars* " "argument is a string specifying the set of characters to be removed. If " @@ -3113,7 +3113,7 @@ msgstr "" "boşlukları kaldırır. *chars* bağımsız değişkeni bir ön ek değildir; bunun " "yerine, değerlerinin tüm kombinasyonları çıkarılır::" -#: library/stdtypes.rst:1959 +#: library/stdtypes.rst:1960 msgid "" "See :meth:`str.removeprefix` for a method that will remove a single prefix " "string rather than all of a set of characters. For example::" @@ -3122,7 +3122,7 @@ msgstr "" "kaldıracak bir yöntem için :meth:`str.removeprefix` bölümüne bakın. " "Örneğin::" -#: library/stdtypes.rst:1970 +#: library/stdtypes.rst:1971 msgid "" "This static method returns a translation table usable for :meth:`str." "translate`." @@ -3130,7 +3130,7 @@ msgstr "" "Bu statik yöntem :meth:`str.translate` için kullanılabilecek bir çeviri " "tablosu döndürür." -#: library/stdtypes.rst:1972 +#: library/stdtypes.rst:1973 msgid "" "If there is only one argument, it must be a dictionary mapping Unicode " "ordinals (integers) or characters (strings of length 1) to Unicode ordinals, " @@ -3143,7 +3143,7 @@ msgstr "" "sözlük olmalıdır. Karakter anahtarları daha sonra sıradanlara " "dönüştürülecektir." -#: library/stdtypes.rst:1977 +#: library/stdtypes.rst:1978 msgid "" "If there are two arguments, they must be strings of equal length, and in the " "resulting dictionary, each character in x will be mapped to the character at " @@ -3155,7 +3155,7 @@ msgstr "" "eşlenecektir. Üçüncü bir bağımsız değişken varsa, karakterleri sonuçta " "``None`` ile eşlenecek bir dizge olmalıdır." -#: library/stdtypes.rst:1985 +#: library/stdtypes.rst:1986 msgid "" "Split the string at the first occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself, and the part " @@ -3167,7 +3167,7 @@ msgstr "" "Ayırıcı bulunamazsa, dizenin kendisini ve ardından iki boş dizeyi içeren bir " "3'lü döndürür." -#: library/stdtypes.rst:1993 +#: library/stdtypes.rst:1994 msgid "" "If the string starts with the *prefix* string, return " "``string[len(prefix):]``. Otherwise, return a copy of the original string::" @@ -3175,7 +3175,7 @@ msgstr "" "Eğer dize *prefix* dizesi ile başlıyorsa, ``dize[len(prefix):]`` döndürür. " "Aksi takdirde, orijinal dizgenin bir kopyasını döndürür::" -#: library/stdtypes.rst:2007 +#: library/stdtypes.rst:2008 msgid "" "If the string ends with the *suffix* string and that *suffix* is not empty, " "return ``string[:-len(suffix)]``. Otherwise, return a copy of the original " @@ -3185,7 +3185,7 @@ msgstr "" "``dize[:-len(suffix)]`` döndürür. Aksi takdirde, orijinal dizenin bir " "kopyasını döndürür::" -#: library/stdtypes.rst:2021 +#: library/stdtypes.rst:2022 msgid "" "Return a copy of the string with all occurrences of substring *old* replaced " "by *new*. If the optional argument *count* is given, only the first *count* " @@ -3195,7 +3195,7 @@ msgstr "" "kopyasını döndürür. İsteğe bağlı olarak *count* bağımsız değişkeni " "verilirse, yalnızca ilk *count* oluşumu değiştirilir." -#: library/stdtypes.rst:2028 +#: library/stdtypes.rst:2029 msgid "" "Return the highest index in the string where substring *sub* is found, such " "that *sub* is contained within ``s[start:end]``. Optional arguments *start* " @@ -3206,7 +3206,7 @@ msgstr "" "*end* dilim gösterimindeki gibi yorumlanır. Başarısızlık durumunda ``-1`` " "döndürür." -#: library/stdtypes.rst:2035 +#: library/stdtypes.rst:2036 msgid "" "Like :meth:`rfind` but raises :exc:`ValueError` when the substring *sub* is " "not found." @@ -3214,7 +3214,7 @@ msgstr "" ":meth:`rfind` gibi, ancak *sub* alt dizesi bulunamadığında :exc:`ValueError` " "yükseltir." -#: library/stdtypes.rst:2041 +#: library/stdtypes.rst:2042 msgid "" "Return the string right justified in a string of length *width*. Padding is " "done using the specified *fillchar* (default is an ASCII space). The " @@ -3225,7 +3225,7 @@ msgstr "" "boşluğudur). *width*, ``len(s)`` değerinden küçük veya ona eşitse orijinal " "dize döndürülür." -#: library/stdtypes.rst:2048 +#: library/stdtypes.rst:2049 msgid "" "Split the string at the last occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself, and the part " @@ -3237,7 +3237,7 @@ msgstr "" "Ayırıcı bulunamazsa, dizenin kendisini ve ardından iki boş dizeyi içeren bir " "3'lü döndürür." -#: library/stdtypes.rst:2056 +#: library/stdtypes.rst:2057 msgid "" "Return a list of the words in the string, using *sep* as the delimiter " "string. If *maxsplit* is given, at most *maxsplit* splits are done, the " @@ -3251,7 +3251,7 @@ msgstr "" "herhangi bir boşluk dizesi ayırıcıdır. Sağdan bölme dışında, :meth:`rsplit` " "aşağıda ayrıntılı olarak açıklanan :meth:`split` gibi davranır." -#: library/stdtypes.rst:2065 +#: library/stdtypes.rst:2066 msgid "" "Return a copy of the string with trailing characters removed. The *chars* " "argument is a string specifying the set of characters to be removed. If " @@ -3265,7 +3265,7 @@ msgstr "" "boşlukları kaldırır. *chars* bağımsız değişkeni bir ön ek değildir; bunun " "yerine, değerlerinin tüm kombinasyonları çıkarılır::" -#: library/stdtypes.rst:2075 +#: library/stdtypes.rst:2076 msgid "" "See :meth:`str.removesuffix` for a method that will remove a single suffix " "string rather than all of a set of characters. For example::" @@ -3274,7 +3274,7 @@ msgstr "" "kaldıracak bir yöntem için :meth:`str.removeprefix` bölümüne bakın. " "Örneğin::" -#: library/stdtypes.rst:2085 +#: library/stdtypes.rst:2086 msgid "" "Return a list of the words in the string, using *sep* as the delimiter " "string. If *maxsplit* is given, at most *maxsplit* splits are done (thus, " @@ -3288,7 +3288,7 @@ msgstr "" "Eğer *maxsplit* belirtilmemişse veya ``-1`` ise, bölme sayısında bir " "sınırlama yoktur (tüm olası bölmeler yapılır)." -#: library/stdtypes.rst:2091 +#: library/stdtypes.rst:2092 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty strings (for example, ``'1,,2'.split(',')`` returns " @@ -3302,15 +3302,15 @@ msgstr "" "(örneğin, ``'1<>2<>3'.split('<>')``, ``['1', '2', '3']`` döndürür). Boş bir " "dizeyi belirtilen bir ayırıcıyla bölmek ``['']`` döndürür." -#: library/stdtypes.rst:2113 library/stdtypes.rst:2233 -#: library/stdtypes.rst:3148 library/stdtypes.rst:3255 -#: library/stdtypes.rst:3296 library/stdtypes.rst:3338 -#: library/stdtypes.rst:3370 library/stdtypes.rst:3420 -#: library/stdtypes.rst:3489 library/stdtypes.rst:3513 +#: library/stdtypes.rst:2114 library/stdtypes.rst:2234 +#: library/stdtypes.rst:3149 library/stdtypes.rst:3256 +#: library/stdtypes.rst:3297 library/stdtypes.rst:3339 +#: library/stdtypes.rst:3371 library/stdtypes.rst:3421 +#: library/stdtypes.rst:3490 library/stdtypes.rst:3514 msgid "For example::" msgstr "Örneğin: ::" -#: library/stdtypes.rst:2106 +#: library/stdtypes.rst:2107 msgid "" "If *sep* is not specified or is ``None``, a different splitting algorithm is " "applied: runs of consecutive whitespace are regarded as a single separator, " @@ -3325,7 +3325,7 @@ msgstr "" "dizeler olmaz. Dolayısıyla, boş bir dizeyi veya sadece beyaz boşluktan " "oluşan bir dizeyi ``None`` ayırıcısıyla bölmek ``[]`` döndürür." -#: library/stdtypes.rst:2128 +#: library/stdtypes.rst:2129 msgid "" "Return a list of the lines in the string, breaking at line boundaries. Line " "breaks are not included in the resulting list unless *keepends* is given and " @@ -3335,7 +3335,7 @@ msgstr "" "Satır sonları için *keepends* belirtilmediği ve true değerinde olmadığı " "sürece, satır sonları sonuç listesine dahil edilmez." -#: library/stdtypes.rst:2132 +#: library/stdtypes.rst:2133 msgid "" "This method splits on the following line boundaries. In particular, the " "boundaries are a superset of :term:`universal newlines`." @@ -3343,107 +3343,107 @@ msgstr "" "Bu yöntem aşağıdaki satır sınırlarında bölme yapar. Spesifik olarak, " "sınırlar :term:`universal newlines` 'ın bir üst kümesidir." -#: library/stdtypes.rst:2136 +#: library/stdtypes.rst:2137 msgid "Representation" msgstr "Temsil" -#: library/stdtypes.rst:2136 +#: library/stdtypes.rst:2137 msgid "Description" msgstr "Açıklama" -#: library/stdtypes.rst:2138 +#: library/stdtypes.rst:2139 msgid "``\\n``" msgstr "``\\n``" -#: library/stdtypes.rst:2138 +#: library/stdtypes.rst:2139 msgid "Line Feed" msgstr "Satır Atlama" -#: library/stdtypes.rst:2140 +#: library/stdtypes.rst:2141 msgid "``\\r``" msgstr "``\\r``" -#: library/stdtypes.rst:2140 +#: library/stdtypes.rst:2141 msgid "Carriage Return" msgstr "Satır Başına Alma" -#: library/stdtypes.rst:2142 +#: library/stdtypes.rst:2143 msgid "``\\r\\n``" msgstr "``\\r\\n``" -#: library/stdtypes.rst:2142 +#: library/stdtypes.rst:2143 msgid "Carriage Return + Line Feed" msgstr "Satır Başına Alma + Satır Atlama" -#: library/stdtypes.rst:2144 +#: library/stdtypes.rst:2145 msgid "``\\v`` or ``\\x0b``" msgstr "``\\v`` or ``\\x0b``" -#: library/stdtypes.rst:2144 +#: library/stdtypes.rst:2145 msgid "Line Tabulation" msgstr "Satır Tablolama" -#: library/stdtypes.rst:2146 +#: library/stdtypes.rst:2147 msgid "``\\f`` or ``\\x0c``" msgstr "``\\f`` or ``\\x0c``" -#: library/stdtypes.rst:2146 +#: library/stdtypes.rst:2147 msgid "Form Feed" msgstr "Form Besleme" -#: library/stdtypes.rst:2148 +#: library/stdtypes.rst:2149 msgid "``\\x1c``" msgstr "``\\x1c``" -#: library/stdtypes.rst:2148 +#: library/stdtypes.rst:2149 msgid "File Separator" msgstr "Dosya Ayırıcı" -#: library/stdtypes.rst:2150 +#: library/stdtypes.rst:2151 msgid "``\\x1d``" msgstr "``\\x1d``" -#: library/stdtypes.rst:2150 +#: library/stdtypes.rst:2151 msgid "Group Separator" msgstr "Grup Ayırıcı" -#: library/stdtypes.rst:2152 +#: library/stdtypes.rst:2153 msgid "``\\x1e``" msgstr "``\\x1e``" -#: library/stdtypes.rst:2152 +#: library/stdtypes.rst:2153 msgid "Record Separator" msgstr "Kayıt Ayırıcı" -#: library/stdtypes.rst:2154 +#: library/stdtypes.rst:2155 msgid "``\\x85``" msgstr "``\\x85``" -#: library/stdtypes.rst:2154 +#: library/stdtypes.rst:2155 msgid "Next Line (C1 Control Code)" msgstr "Yeni Satır (C1 Denetim Kodu)" -#: library/stdtypes.rst:2156 +#: library/stdtypes.rst:2157 msgid "``\\u2028``" msgstr "``\\u2028``" -#: library/stdtypes.rst:2156 +#: library/stdtypes.rst:2157 msgid "Line Separator" msgstr "Satır Ayrıcı" -#: library/stdtypes.rst:2158 +#: library/stdtypes.rst:2159 msgid "``\\u2029``" msgstr "``\\u2029``" -#: library/stdtypes.rst:2158 +#: library/stdtypes.rst:2159 msgid "Paragraph Separator" msgstr "Paragraf Ayırıcı" -#: library/stdtypes.rst:2163 +#: library/stdtypes.rst:2164 msgid "``\\v`` and ``\\f`` added to list of line boundaries." msgstr "``\\v`` ve ``\\f`` satır sınırlarına eklenir." -#: library/stdtypes.rst:2172 +#: library/stdtypes.rst:2173 msgid "" "Unlike :meth:`~str.split` when a delimiter string *sep* is given, this " "method returns an empty list for the empty string, and a terminal line break " @@ -3453,11 +3453,11 @@ msgstr "" "farklı olarak, bu yöntem boş dize için boş bir liste döndürür ve bir " "terminal satır sonu fazladan bir satır ile sonuçlanmaz::" -#: library/stdtypes.rst:2181 +#: library/stdtypes.rst:2182 msgid "For comparison, ``split('\\n')`` gives::" msgstr "Kıyaslayacak olursak ``split(‘\\n’)`` şu değeri verir::" -#: library/stdtypes.rst:2191 +#: library/stdtypes.rst:2192 msgid "" "Return ``True`` if string starts with the *prefix*, otherwise return " "``False``. *prefix* can also be a tuple of prefixes to look for. With " @@ -3469,7 +3469,7 @@ msgstr "" "İsteğe bağlı *start* ile, o konumdan başlayan dizeyi sınar. İsteğe bağlı " "*end* ile, dizeyi o konumda karşılaştırmayı durdurur." -#: library/stdtypes.rst:2199 +#: library/stdtypes.rst:2200 msgid "" "Return a copy of the string with the leading and trailing characters " "removed. The *chars* argument is a string specifying the set of characters " @@ -3484,7 +3484,7 @@ msgstr "" "veya son ek değildir; bunun yerine, değerlerinin tüm kombinasyonları " "çıkarılır::" -#: library/stdtypes.rst:2210 +#: library/stdtypes.rst:2211 msgid "" "The outermost leading and trailing *chars* argument values are stripped from " "the string. Characters are removed from the leading end until reaching a " @@ -3496,7 +3496,7 @@ msgstr "" "karakterine ulaşılana kadar önde gelen uçtan çıkarılır. Benzer bir işlem son " "uçta da gerçekleşir. Örneğin::" -#: library/stdtypes.rst:2223 +#: library/stdtypes.rst:2224 msgid "" "Return a copy of the string with uppercase characters converted to lowercase " "and vice versa. Note that it is not necessarily true that ``s.swapcase()." @@ -3506,7 +3506,7 @@ msgstr "" "dizenin bir kopyasını döndürür. ``s.swapcase().swapcase() == s`` ifadesinin " "mutlaka doğru olması gerekmediğine dikkat edin." -#: library/stdtypes.rst:2230 +#: library/stdtypes.rst:2231 msgid "" "Return a titlecased version of the string where words start with an " "uppercase character and the remaining characters are lowercase." @@ -3514,7 +3514,7 @@ msgstr "" "Sözcüklerin büyük harfle başladığı ve kalan karakterlerin küçük harf olduğu " "dizenin başlıklandırılmış bir sürümünü döndürür." -#: library/stdtypes.rst:3457 +#: library/stdtypes.rst:3458 msgid "" "The algorithm uses a simple language-independent definition of a word as " "groups of consecutive letters. The definition works in many contexts but it " @@ -3526,13 +3526,13 @@ msgstr "" "kısaltmalar ve iyeliklerdeki kesme işaretlerinin kelime sınırları " "oluşturduğu anlamına gelir ve bu istenen sonuç olmayabilir::" -#: library/stdtypes.rst:2246 +#: library/stdtypes.rst:2247 msgid "" "The :func:`string.capwords` function does not have this problem, as it " "splits words on spaces only." msgstr "" -#: library/stdtypes.rst:2249 +#: library/stdtypes.rst:2250 #, fuzzy msgid "" "Alternatively, a workaround for apostrophes can be constructed using regular " @@ -3541,7 +3541,7 @@ msgstr "" "Alternatif olarak, kesme işaretleri için geçici bir çözüm düzenli ifadeler " "kullanılarak oluşturulabilir::" -#: library/stdtypes.rst:2264 +#: library/stdtypes.rst:2265 msgid "" "Return a copy of the string in which each character has been mapped through " "the given translation table. The table must be an object that implements " @@ -3562,19 +3562,19 @@ msgstr "" "veya karakteri kendisiyle eşlemek için bir :exc:`LookupError` istisnası " "oluşturmak." -#: library/stdtypes.rst:2273 +#: library/stdtypes.rst:2274 msgid "" "You can use :meth:`str.maketrans` to create a translation map from character-" "to-character mappings in different formats." msgstr "" -#: library/stdtypes.rst:2276 +#: library/stdtypes.rst:2277 msgid "" "See also the :mod:`codecs` module for a more flexible approach to custom " "character mappings." msgstr "" -#: library/stdtypes.rst:2282 +#: library/stdtypes.rst:2283 msgid "" "Return a copy of the string with all the cased characters [4]_ converted to " "uppercase. Note that ``s.upper().isupper()`` might be ``False`` if ``s`` " @@ -3583,7 +3583,7 @@ msgid "" "titlecase)." msgstr "" -#: library/stdtypes.rst:2288 +#: library/stdtypes.rst:2289 #, fuzzy msgid "" "The uppercasing algorithm used is `described in section 3.13 'Default Case " @@ -3592,7 +3592,7 @@ msgid "" msgstr "" "Harf büyütme algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:2295 +#: library/stdtypes.rst:2296 msgid "" "Return a copy of the string left filled with ASCII ``'0'`` digits to make a " "string of length *width*. A leading sign prefix (``'+'``/``'-'``) is handled " @@ -3600,11 +3600,11 @@ msgid "" "original string is returned if *width* is less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:2313 +#: library/stdtypes.rst:2314 msgid "``printf``-style String Formatting" msgstr "" -#: library/stdtypes.rst:2326 +#: library/stdtypes.rst:2327 msgid "" "The formatting operations described here exhibit a variety of quirks that " "lead to a number of common errors (such as failing to display tuples and " @@ -3615,7 +3615,7 @@ msgid "" "or extensibility." msgstr "" -#: library/stdtypes.rst:2334 +#: library/stdtypes.rst:2335 msgid "" "String objects have one unique built-in operation: the ``%`` operator " "(modulo). This is also known as the string *formatting* or *interpolation* " @@ -3625,7 +3625,7 @@ msgid "" "in the C language." msgstr "" -#: library/stdtypes.rst:2340 +#: library/stdtypes.rst:2341 msgid "" "If *format* requires a single argument, *values* may be a single non-tuple " "object. [5]_ Otherwise, *values* must be a tuple with exactly the number of " @@ -3633,36 +3633,36 @@ msgid "" "example, a dictionary)." msgstr "" -#: library/stdtypes.rst:3568 +#: library/stdtypes.rst:3569 msgid "" "A conversion specifier contains two or more characters and has the following " "components, which must occur in this order:" msgstr "" -#: library/stdtypes.rst:3571 +#: library/stdtypes.rst:3572 msgid "The ``'%'`` character, which marks the start of the specifier." msgstr "" -#: library/stdtypes.rst:3573 +#: library/stdtypes.rst:3574 msgid "" "Mapping key (optional), consisting of a parenthesised sequence of characters " "(for example, ``(somename)``)." msgstr "" -#: library/stdtypes.rst:3576 +#: library/stdtypes.rst:3577 msgid "" "Conversion flags (optional), which affect the result of some conversion " "types." msgstr "" -#: library/stdtypes.rst:3579 +#: library/stdtypes.rst:3580 msgid "" "Minimum field width (optional). If specified as an ``'*'`` (asterisk), the " "actual width is read from the next element of the tuple in *values*, and the " "object to convert comes after the minimum field width and optional precision." msgstr "" -#: library/stdtypes.rst:3583 +#: library/stdtypes.rst:3584 msgid "" "Precision (optional), given as a ``'.'`` (dot) followed by the precision. " "If specified as ``'*'`` (an asterisk), the actual precision is read from the " @@ -3670,15 +3670,15 @@ msgid "" "the precision." msgstr "" -#: library/stdtypes.rst:3588 +#: library/stdtypes.rst:3589 msgid "Length modifier (optional)." msgstr "" -#: library/stdtypes.rst:3590 +#: library/stdtypes.rst:3591 msgid "Conversion type." msgstr "" -#: library/stdtypes.rst:2374 +#: library/stdtypes.rst:2375 msgid "" "When the right argument is a dictionary (or other mapping type), then the " "formats in the string *must* include a parenthesised mapping key into that " @@ -3686,277 +3686,277 @@ msgid "" "selects the value to be formatted from the mapping. For example:" msgstr "" -#: library/stdtypes.rst:3601 +#: library/stdtypes.rst:3602 msgid "" "In this case no ``*`` specifiers may occur in a format (since they require a " "sequential parameter list)." msgstr "" -#: library/stdtypes.rst:3604 +#: library/stdtypes.rst:3605 msgid "The conversion flag characters are:" msgstr "" -#: library/stdtypes.rst:3613 +#: library/stdtypes.rst:3614 msgid "Flag" msgstr "" -#: library/stdtypes.rst:3615 +#: library/stdtypes.rst:3616 msgid "``'#'``" msgstr "" -#: library/stdtypes.rst:3615 +#: library/stdtypes.rst:3616 msgid "" "The value conversion will use the \"alternate form\" (where defined below)." msgstr "" -#: library/stdtypes.rst:3618 +#: library/stdtypes.rst:3619 msgid "``'0'``" msgstr "" -#: library/stdtypes.rst:3618 +#: library/stdtypes.rst:3619 msgid "The conversion will be zero padded for numeric values." msgstr "" -#: library/stdtypes.rst:3620 +#: library/stdtypes.rst:3621 msgid "``'-'``" msgstr "" -#: library/stdtypes.rst:3620 +#: library/stdtypes.rst:3621 msgid "" "The converted value is left adjusted (overrides the ``'0'`` conversion if " "both are given)." msgstr "" -#: library/stdtypes.rst:3623 +#: library/stdtypes.rst:3624 msgid "``' '``" msgstr "" -#: library/stdtypes.rst:3623 +#: library/stdtypes.rst:3624 msgid "" "(a space) A blank should be left before a positive number (or empty string) " "produced by a signed conversion." msgstr "" -#: library/stdtypes.rst:3626 +#: library/stdtypes.rst:3627 msgid "``'+'``" msgstr "" -#: library/stdtypes.rst:3626 +#: library/stdtypes.rst:3627 msgid "" "A sign character (``'+'`` or ``'-'``) will precede the conversion (overrides " "a \"space\" flag)." msgstr "" -#: library/stdtypes.rst:3630 +#: library/stdtypes.rst:3631 msgid "" "A length modifier (``h``, ``l``, or ``L``) may be present, but is ignored as " "it is not necessary for Python -- so e.g. ``%ld`` is identical to ``%d``." msgstr "" -#: library/stdtypes.rst:3633 +#: library/stdtypes.rst:3634 msgid "The conversion types are:" msgstr "" -#: library/stdtypes.rst:3636 +#: library/stdtypes.rst:3637 msgid "Conversion" msgstr "" -#: library/stdtypes.rst:3638 +#: library/stdtypes.rst:3639 msgid "``'d'``" msgstr "" -#: library/stdtypes.rst:2422 library/stdtypes.rst:3640 +#: library/stdtypes.rst:2423 library/stdtypes.rst:3641 msgid "Signed integer decimal." msgstr "" -#: library/stdtypes.rst:3640 +#: library/stdtypes.rst:3641 msgid "``'i'``" msgstr "" -#: library/stdtypes.rst:3642 +#: library/stdtypes.rst:3643 msgid "``'o'``" msgstr "" -#: library/stdtypes.rst:3642 +#: library/stdtypes.rst:3643 msgid "Signed octal value." msgstr "" -#: library/stdtypes.rst:3644 +#: library/stdtypes.rst:3645 msgid "``'u'``" msgstr "" -#: library/stdtypes.rst:3644 +#: library/stdtypes.rst:3645 msgid "Obsolete type -- it is identical to ``'d'``." msgstr "" -#: library/stdtypes.rst:3646 +#: library/stdtypes.rst:3647 msgid "``'x'``" msgstr "" -#: library/stdtypes.rst:3646 +#: library/stdtypes.rst:3647 msgid "Signed hexadecimal (lowercase)." msgstr "" -#: library/stdtypes.rst:3648 +#: library/stdtypes.rst:3649 msgid "``'X'``" msgstr "" -#: library/stdtypes.rst:3648 +#: library/stdtypes.rst:3649 msgid "Signed hexadecimal (uppercase)." msgstr "" -#: library/stdtypes.rst:3650 +#: library/stdtypes.rst:3651 msgid "``'e'``" msgstr "" -#: library/stdtypes.rst:3650 +#: library/stdtypes.rst:3651 msgid "Floating point exponential format (lowercase)." msgstr "" -#: library/stdtypes.rst:3652 +#: library/stdtypes.rst:3653 msgid "``'E'``" msgstr "" -#: library/stdtypes.rst:3652 +#: library/stdtypes.rst:3653 msgid "Floating point exponential format (uppercase)." msgstr "" -#: library/stdtypes.rst:3654 +#: library/stdtypes.rst:3655 msgid "``'f'``" msgstr "" -#: library/stdtypes.rst:2438 library/stdtypes.rst:3656 +#: library/stdtypes.rst:2439 library/stdtypes.rst:3657 msgid "Floating point decimal format." msgstr "" -#: library/stdtypes.rst:3656 +#: library/stdtypes.rst:3657 msgid "``'F'``" msgstr "" -#: library/stdtypes.rst:3658 +#: library/stdtypes.rst:3659 msgid "``'g'``" msgstr "" -#: library/stdtypes.rst:3658 +#: library/stdtypes.rst:3659 msgid "" "Floating point format. Uses lowercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." msgstr "" -#: library/stdtypes.rst:3662 +#: library/stdtypes.rst:3663 msgid "``'G'``" msgstr "" -#: library/stdtypes.rst:3662 +#: library/stdtypes.rst:3663 msgid "" "Floating point format. Uses uppercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." msgstr "" -#: library/stdtypes.rst:3666 +#: library/stdtypes.rst:3667 msgid "``'c'``" msgstr "" -#: library/stdtypes.rst:2448 +#: library/stdtypes.rst:2449 msgid "Single character (accepts integer or single character string)." msgstr "" -#: library/stdtypes.rst:3679 +#: library/stdtypes.rst:3680 msgid "``'r'``" msgstr "" -#: library/stdtypes.rst:2451 +#: library/stdtypes.rst:2452 msgid "String (converts any Python object using :func:`repr`)." msgstr "" -#: library/stdtypes.rst:3673 +#: library/stdtypes.rst:3674 msgid "``'s'``" msgstr "" -#: library/stdtypes.rst:2454 +#: library/stdtypes.rst:2455 msgid "String (converts any Python object using :func:`str`)." msgstr "" -#: library/stdtypes.rst:3676 +#: library/stdtypes.rst:3677 msgid "``'a'``" msgstr "" -#: library/stdtypes.rst:2457 +#: library/stdtypes.rst:2458 msgid "String (converts any Python object using :func:`ascii`)." msgstr "" -#: library/stdtypes.rst:3682 +#: library/stdtypes.rst:3683 msgid "``'%'``" msgstr "" -#: library/stdtypes.rst:3682 +#: library/stdtypes.rst:3683 msgid "No argument is converted, results in a ``'%'`` character in the result." msgstr "" -#: library/stdtypes.rst:3689 +#: library/stdtypes.rst:3690 msgid "" "The alternate form causes a leading octal specifier (``'0o'``) to be " "inserted before the first digit." msgstr "" -#: library/stdtypes.rst:3693 +#: library/stdtypes.rst:3694 msgid "" "The alternate form causes a leading ``'0x'`` or ``'0X'`` (depending on " "whether the ``'x'`` or ``'X'`` format was used) to be inserted before the " "first digit." msgstr "" -#: library/stdtypes.rst:3697 +#: library/stdtypes.rst:3698 msgid "" "The alternate form causes the result to always contain a decimal point, even " "if no digits follow it." msgstr "" -#: library/stdtypes.rst:3700 +#: library/stdtypes.rst:3701 msgid "" "The precision determines the number of digits after the decimal point and " "defaults to 6." msgstr "" -#: library/stdtypes.rst:3704 +#: library/stdtypes.rst:3705 msgid "" "The alternate form causes the result to always contain a decimal point, and " "trailing zeroes are not removed as they would otherwise be." msgstr "" -#: library/stdtypes.rst:3707 +#: library/stdtypes.rst:3708 msgid "" "The precision determines the number of significant digits before and after " "the decimal point and defaults to 6." msgstr "" -#: library/stdtypes.rst:3711 +#: library/stdtypes.rst:3712 msgid "If precision is ``N``, the output is truncated to ``N`` characters." msgstr "" -#: library/stdtypes.rst:3720 +#: library/stdtypes.rst:3721 msgid "See :pep:`237`." msgstr "" -#: library/stdtypes.rst:2494 +#: library/stdtypes.rst:2495 msgid "" "Since Python strings have an explicit length, ``%s`` conversions do not " "assume that ``'\\0'`` is the end of the string." msgstr "" -#: library/stdtypes.rst:2499 +#: library/stdtypes.rst:2500 msgid "" "``%f`` conversions for numbers whose absolute value is over 1e50 are no " "longer replaced by ``%g`` conversions." msgstr "" -#: library/stdtypes.rst:2510 +#: library/stdtypes.rst:2511 msgid "" "Binary Sequence Types --- :class:`bytes`, :class:`bytearray`, :class:" "`memoryview`" msgstr "" -#: library/stdtypes.rst:2518 +#: library/stdtypes.rst:2519 msgid "" "The core built-in types for manipulating binary data are :class:`bytes` and :" "class:`bytearray`. They are supported by :class:`memoryview` which uses the :" @@ -3964,17 +3964,17 @@ msgid "" "objects without needing to make a copy." msgstr "" -#: library/stdtypes.rst:2523 +#: library/stdtypes.rst:2524 msgid "" "The :mod:`array` module supports efficient storage of basic data types like " "32-bit integers and IEEE754 double-precision floating values." msgstr "" -#: library/stdtypes.rst:2529 +#: library/stdtypes.rst:2530 msgid "Bytes Objects" msgstr "" -#: library/stdtypes.rst:2533 +#: library/stdtypes.rst:2534 msgid "" "Bytes objects are immutable sequences of single bytes. Since many major " "binary protocols are based on the ASCII text encoding, bytes objects offer " @@ -3982,41 +3982,41 @@ msgid "" "and are closely related to string objects in a variety of other ways." msgstr "" -#: library/stdtypes.rst:2540 +#: library/stdtypes.rst:2541 msgid "" "Firstly, the syntax for bytes literals is largely the same as that for " "string literals, except that a ``b`` prefix is added:" msgstr "" -#: library/stdtypes.rst:2543 +#: library/stdtypes.rst:2544 msgid "Single quotes: ``b'still allows embedded \"double\" quotes'``" msgstr "" -#: library/stdtypes.rst:2544 +#: library/stdtypes.rst:2545 #, fuzzy msgid "Double quotes: ``b\"still allows embedded 'single' quotes\"``" msgstr "Çift tırnak: ``b\"katıştırılmış 'tek' tırnaklara izin verir\"``" -#: library/stdtypes.rst:2545 +#: library/stdtypes.rst:2546 msgid "" "Triple quoted: ``b'''3 single quotes'''``, ``b\"\"\"3 double quotes\"\"\"``" msgstr "" -#: library/stdtypes.rst:2547 +#: library/stdtypes.rst:2548 msgid "" "Only ASCII characters are permitted in bytes literals (regardless of the " "declared source code encoding). Any binary values over 127 must be entered " "into bytes literals using the appropriate escape sequence." msgstr "" -#: library/stdtypes.rst:2551 +#: library/stdtypes.rst:2552 msgid "" "As with string literals, bytes literals may also use a ``r`` prefix to " "disable processing of escape sequences. See :ref:`strings` for more about " "the various forms of bytes literal, including supported escape sequences." msgstr "" -#: library/stdtypes.rst:2555 +#: library/stdtypes.rst:2556 msgid "" "While bytes literals and representations are based on ASCII text, bytes " "objects actually behave like immutable sequences of integers, with each " @@ -4029,29 +4029,29 @@ msgid "" "compatible will usually lead to data corruption)." msgstr "" -#: library/stdtypes.rst:2565 +#: library/stdtypes.rst:2566 msgid "" "In addition to the literal forms, bytes objects can be created in a number " "of other ways:" msgstr "" -#: library/stdtypes.rst:2568 +#: library/stdtypes.rst:2569 msgid "A zero-filled bytes object of a specified length: ``bytes(10)``" msgstr "" -#: library/stdtypes.rst:2569 +#: library/stdtypes.rst:2570 msgid "From an iterable of integers: ``bytes(range(20))``" msgstr "" -#: library/stdtypes.rst:2570 +#: library/stdtypes.rst:2571 msgid "Copying existing binary data via the buffer protocol: ``bytes(obj)``" msgstr "" -#: library/stdtypes.rst:2572 +#: library/stdtypes.rst:2573 msgid "Also see the :ref:`bytes <func-bytes>` built-in." msgstr "" -#: library/stdtypes.rst:2574 +#: library/stdtypes.rst:2575 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -4059,32 +4059,32 @@ msgid "" "that format:" msgstr "" -#: library/stdtypes.rst:2580 +#: library/stdtypes.rst:2581 msgid "" "This :class:`bytes` class method returns a bytes object, decoding the given " "string object. The string must contain two hexadecimal digits per byte, " "with ASCII whitespace being ignored." msgstr "" -#: library/stdtypes.rst:2587 +#: library/stdtypes.rst:2588 msgid "" ":meth:`bytes.fromhex` now skips all ASCII whitespace in the string, not just " "spaces." msgstr "" -#: library/stdtypes.rst:2591 +#: library/stdtypes.rst:2592 msgid "" "A reverse conversion function exists to transform a bytes object into its " "hexadecimal representation." msgstr "" -#: library/stdtypes.rst:2681 +#: library/stdtypes.rst:2682 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the instance." msgstr "" -#: library/stdtypes.rst:2602 +#: library/stdtypes.rst:2603 msgid "" "If you want to make the hex string easier to read, you can specify a single " "character separator *sep* parameter to include in the output. By default, " @@ -4093,13 +4093,13 @@ msgid "" "the separator position from the right, negative values from the left." msgstr "" -#: library/stdtypes.rst:2619 +#: library/stdtypes.rst:2620 msgid "" ":meth:`bytes.hex` now supports optional *sep* and *bytes_per_sep* parameters " "to insert separators between bytes in the hex output." msgstr "" -#: library/stdtypes.rst:2623 +#: library/stdtypes.rst:2624 msgid "" "Since bytes objects are sequences of integers (akin to a tuple), for a bytes " "object *b*, ``b[0]`` will be an integer, while ``b[0:1]`` will be a bytes " @@ -4107,58 +4107,58 @@ msgid "" "and slicing will produce a string of length 1)" msgstr "" -#: library/stdtypes.rst:2628 +#: library/stdtypes.rst:2629 msgid "" "The representation of bytes objects uses the literal format (``b'...'``) " "since it is often more useful than e.g. ``bytes([46, 46, 46])``. You can " "always convert a bytes object into a list of integers using ``list(b)``." msgstr "" -#: library/stdtypes.rst:2636 +#: library/stdtypes.rst:2637 msgid "Bytearray Objects" msgstr "" -#: library/stdtypes.rst:2640 +#: library/stdtypes.rst:2641 msgid "" ":class:`bytearray` objects are a mutable counterpart to :class:`bytes` " "objects." msgstr "" -#: library/stdtypes.rst:2645 +#: library/stdtypes.rst:2646 msgid "" "There is no dedicated literal syntax for bytearray objects, instead they are " "always created by calling the constructor:" msgstr "" -#: library/stdtypes.rst:2648 +#: library/stdtypes.rst:2649 msgid "Creating an empty instance: ``bytearray()``" msgstr "" -#: library/stdtypes.rst:2649 +#: library/stdtypes.rst:2650 msgid "Creating a zero-filled instance with a given length: ``bytearray(10)``" msgstr "" -#: library/stdtypes.rst:2650 +#: library/stdtypes.rst:2651 msgid "From an iterable of integers: ``bytearray(range(20))``" msgstr "" -#: library/stdtypes.rst:2651 +#: library/stdtypes.rst:2652 msgid "" "Copying existing binary data via the buffer protocol: ``bytearray(b'Hi!')``" msgstr "" -#: library/stdtypes.rst:2653 +#: library/stdtypes.rst:2654 msgid "" "As bytearray objects are mutable, they support the :ref:`mutable <typesseq-" "mutable>` sequence operations in addition to the common bytes and bytearray " "operations described in :ref:`bytes-methods`." msgstr "" -#: library/stdtypes.rst:2657 +#: library/stdtypes.rst:2658 msgid "Also see the :ref:`bytearray <func-bytearray>` built-in." msgstr "" -#: library/stdtypes.rst:2659 +#: library/stdtypes.rst:2660 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -4166,33 +4166,33 @@ msgid "" "in that format:" msgstr "" -#: library/stdtypes.rst:2665 +#: library/stdtypes.rst:2666 msgid "" "This :class:`bytearray` class method returns bytearray object, decoding the " "given string object. The string must contain two hexadecimal digits per " "byte, with ASCII whitespace being ignored." msgstr "" -#: library/stdtypes.rst:2672 +#: library/stdtypes.rst:2673 msgid "" ":meth:`bytearray.fromhex` now skips all ASCII whitespace in the string, not " "just spaces." msgstr "" -#: library/stdtypes.rst:2676 +#: library/stdtypes.rst:2677 msgid "" "A reverse conversion function exists to transform a bytearray object into " "its hexadecimal representation." msgstr "" -#: library/stdtypes.rst:2689 +#: library/stdtypes.rst:2690 msgid "" "Similar to :meth:`bytes.hex`, :meth:`bytearray.hex` now supports optional " "*sep* and *bytes_per_sep* parameters to insert separators between bytes in " "the hex output." msgstr "" -#: library/stdtypes.rst:2694 +#: library/stdtypes.rst:2695 msgid "" "Since bytearray objects are sequences of integers (akin to a list), for a " "bytearray object *b*, ``b[0]`` will be an integer, while ``b[0:1]`` will be " @@ -4200,7 +4200,7 @@ msgid "" "both indexing and slicing will produce a string of length 1)" msgstr "" -#: library/stdtypes.rst:2699 +#: library/stdtypes.rst:2700 msgid "" "The representation of bytearray objects uses the bytes literal format " "(``bytearray(b'...')``) since it is often more useful than e.g. " @@ -4208,11 +4208,11 @@ msgid "" "a list of integers using ``list(b)``." msgstr "" -#: library/stdtypes.rst:2708 +#: library/stdtypes.rst:2709 msgid "Bytes and Bytearray Operations" msgstr "" -#: library/stdtypes.rst:2713 +#: library/stdtypes.rst:2714 msgid "" "Both bytes and bytearray objects support the :ref:`common <typesseq-common>` " "sequence operations. They interoperate not just with operands of the same " @@ -4221,98 +4221,98 @@ msgid "" "return type of the result may depend on the order of operands." msgstr "" -#: library/stdtypes.rst:2721 +#: library/stdtypes.rst:2722 msgid "" "The methods on bytes and bytearray objects don't accept strings as their " "arguments, just as the methods on strings don't accept bytes as their " "arguments. For example, you have to write::" msgstr "" -#: library/stdtypes.rst:2728 +#: library/stdtypes.rst:2729 msgid "and::" msgstr "" -#: library/stdtypes.rst:2733 +#: library/stdtypes.rst:2734 msgid "" "Some bytes and bytearray operations assume the use of ASCII compatible " "binary formats, and hence should be avoided when working with arbitrary " "binary data. These restrictions are covered below." msgstr "" -#: library/stdtypes.rst:2738 +#: library/stdtypes.rst:2739 msgid "" "Using these ASCII based operations to manipulate binary data that is not " "stored in an ASCII based format may lead to data corruption." msgstr "" -#: library/stdtypes.rst:2741 +#: library/stdtypes.rst:2742 msgid "" "The following methods on bytes and bytearray objects can be used with " "arbitrary binary data." msgstr "" -#: library/stdtypes.rst:2747 +#: library/stdtypes.rst:2748 msgid "" "Return the number of non-overlapping occurrences of subsequence *sub* in the " "range [*start*, *end*]. Optional arguments *start* and *end* are " "interpreted as in slice notation." msgstr "" -#: library/stdtypes.rst:2856 library/stdtypes.rst:2944 -#: library/stdtypes.rst:2957 +#: library/stdtypes.rst:2857 library/stdtypes.rst:2945 +#: library/stdtypes.rst:2958 msgid "" "The subsequence to search for may be any :term:`bytes-like object` or an " "integer in the range 0 to 255." msgstr "" -#: library/stdtypes.rst:2754 +#: library/stdtypes.rst:2755 msgid "" "If *sub* is empty, returns the number of empty slices between characters " "which is the length of the bytes object plus one." msgstr "" -#: library/stdtypes.rst:2868 library/stdtypes.rst:2947 -#: library/stdtypes.rst:2960 +#: library/stdtypes.rst:2869 library/stdtypes.rst:2948 +#: library/stdtypes.rst:2961 msgid "Also accept an integer in the range 0 to 255 as the subsequence." msgstr "" -#: library/stdtypes.rst:2764 +#: library/stdtypes.rst:2765 msgid "" "If the binary data starts with the *prefix* string, return " "``bytes[len(prefix):]``. Otherwise, return a copy of the original binary " "data::" msgstr "" -#: library/stdtypes.rst:2773 +#: library/stdtypes.rst:2774 msgid "The *prefix* may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2799 library/stdtypes.rst:3025 -#: library/stdtypes.rst:3070 library/stdtypes.rst:3126 -#: library/stdtypes.rst:3214 library/stdtypes.rst:3381 -#: library/stdtypes.rst:3479 library/stdtypes.rst:3522 -#: library/stdtypes.rst:3724 +#: library/stdtypes.rst:2800 library/stdtypes.rst:3026 +#: library/stdtypes.rst:3071 library/stdtypes.rst:3127 +#: library/stdtypes.rst:3215 library/stdtypes.rst:3382 +#: library/stdtypes.rst:3480 library/stdtypes.rst:3523 +#: library/stdtypes.rst:3725 msgid "" "The bytearray version of this method does *not* operate in place - it always " "produces a new object, even if no changes were made." msgstr "" -#: library/stdtypes.rst:2786 +#: library/stdtypes.rst:2787 msgid "" "If the binary data ends with the *suffix* string and that *suffix* is not " "empty, return ``bytes[:-len(suffix)]``. Otherwise, return a copy of the " "original binary data::" msgstr "" -#: library/stdtypes.rst:2795 +#: library/stdtypes.rst:2796 msgid "The *suffix* may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2808 +#: library/stdtypes.rst:2809 msgid "Return the bytes decoded to a :class:`str`." msgstr "" -#: library/stdtypes.rst:2813 +#: library/stdtypes.rst:2814 msgid "" "*errors* controls how decoding errors are handled. If ``'strict'`` (the " "default), a :exc:`UnicodeError` exception is raised. Other possible values " @@ -4320,21 +4320,21 @@ msgid "" "`codecs.register_error`. See :ref:`error-handlers` for details." msgstr "" -#: library/stdtypes.rst:2819 +#: library/stdtypes.rst:2820 msgid "" "For performance reasons, the value of *errors* is not checked for validity " "unless a decoding error actually occurs, :ref:`devmode` is enabled or a :ref:" "`debug build <debug-build>` is used." msgstr "" -#: library/stdtypes.rst:2825 +#: library/stdtypes.rst:2826 msgid "" "Passing the *encoding* argument to :class:`str` allows decoding any :term:" "`bytes-like object` directly, without needing to make a temporary :class:`!" "bytes` or :class:`!bytearray` object." msgstr "" -#: library/stdtypes.rst:2840 +#: library/stdtypes.rst:2841 msgid "" "Return ``True`` if the binary data ends with the specified *suffix*, " "otherwise return ``False``. *suffix* can also be a tuple of suffixes to " @@ -4342,11 +4342,11 @@ msgid "" "optional *end*, stop comparing at that position." msgstr "" -#: library/stdtypes.rst:2845 +#: library/stdtypes.rst:2846 msgid "The suffix(es) to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2851 +#: library/stdtypes.rst:2852 msgid "" "Return the lowest index in the data where the subsequence *sub* is found, " "such that *sub* is contained in the slice ``s[start:end]``. Optional " @@ -4354,20 +4354,20 @@ msgid "" "``-1`` if *sub* is not found." msgstr "" -#: library/stdtypes.rst:2861 +#: library/stdtypes.rst:2862 msgid "" "The :meth:`~bytes.find` method should be used only if you need to know the " "position of *sub*. To check if *sub* is a substring or not, use the :" "keyword:`in` operator::" msgstr "" -#: library/stdtypes.rst:2875 +#: library/stdtypes.rst:2876 msgid "" "Like :meth:`~bytes.find`, but raise :exc:`ValueError` when the subsequence " "is not found." msgstr "" -#: library/stdtypes.rst:2888 +#: library/stdtypes.rst:2889 msgid "" "Return a bytes or bytearray object which is the concatenation of the binary " "data sequences in *iterable*. A :exc:`TypeError` will be raised if there " @@ -4377,7 +4377,7 @@ msgid "" "method." msgstr "" -#: library/stdtypes.rst:2899 +#: library/stdtypes.rst:2900 msgid "" "This static method returns a translation table usable for :meth:`bytes." "translate` that will map each character in *from* into the character at the " @@ -4385,7 +4385,7 @@ msgid "" "objects <bytes-like object>` and have the same length." msgstr "" -#: library/stdtypes.rst:2910 +#: library/stdtypes.rst:2911 msgid "" "Split the sequence at the first occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself or its " @@ -4394,24 +4394,24 @@ msgid "" "by two empty bytes or bytearray objects." msgstr "" -#: library/stdtypes.rst:2974 +#: library/stdtypes.rst:2975 msgid "The separator to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2923 +#: library/stdtypes.rst:2924 msgid "" "Return a copy of the sequence with all occurrences of subsequence *old* " "replaced by *new*. If the optional argument *count* is given, only the " "first *count* occurrences are replaced." msgstr "" -#: library/stdtypes.rst:2927 +#: library/stdtypes.rst:2928 msgid "" "The subsequence to search for and its replacement may be any :term:`bytes-" "like object`." msgstr "" -#: library/stdtypes.rst:2939 +#: library/stdtypes.rst:2940 msgid "" "Return the highest index in the sequence where the subsequence *sub* is " "found, such that *sub* is contained within ``s[start:end]``. Optional " @@ -4419,13 +4419,13 @@ msgid "" "``-1`` on failure." msgstr "" -#: library/stdtypes.rst:2954 +#: library/stdtypes.rst:2955 msgid "" "Like :meth:`~bytes.rfind` but raises :exc:`ValueError` when the subsequence " "*sub* is not found." msgstr "" -#: library/stdtypes.rst:2967 +#: library/stdtypes.rst:2968 msgid "" "Split the sequence at the last occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself or its " @@ -4434,7 +4434,7 @@ msgid "" "followed by a copy of the original sequence." msgstr "" -#: library/stdtypes.rst:2980 +#: library/stdtypes.rst:2981 msgid "" "Return ``True`` if the binary data starts with the specified *prefix*, " "otherwise return ``False``. *prefix* can also be a tuple of prefixes to " @@ -4442,11 +4442,11 @@ msgid "" "optional *end*, stop comparing at that position." msgstr "" -#: library/stdtypes.rst:2985 +#: library/stdtypes.rst:2986 msgid "The prefix(es) to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2991 +#: library/stdtypes.rst:2992 msgid "" "Return a copy of the bytes or bytearray object where all bytes occurring in " "the optional argument *delete* are removed, and the remaining bytes have " @@ -4454,22 +4454,22 @@ msgid "" "object of length 256." msgstr "" -#: library/stdtypes.rst:2996 +#: library/stdtypes.rst:2997 msgid "" "You can use the :func:`bytes.maketrans` method to create a translation table." msgstr "" -#: library/stdtypes.rst:2999 +#: library/stdtypes.rst:3000 msgid "" "Set the *table* argument to ``None`` for translations that only delete " "characters::" msgstr "" -#: library/stdtypes.rst:3005 +#: library/stdtypes.rst:3006 msgid "*delete* is now supported as a keyword argument." msgstr "" -#: library/stdtypes.rst:3009 +#: library/stdtypes.rst:3010 msgid "" "The following methods on bytes and bytearray objects have default behaviours " "that assume the use of ASCII compatible binary formats, but can still be " @@ -4478,7 +4478,7 @@ msgid "" "instead produce new objects." msgstr "" -#: library/stdtypes.rst:3018 +#: library/stdtypes.rst:3019 msgid "" "Return a copy of the object centered in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4486,7 +4486,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:3032 +#: library/stdtypes.rst:3033 msgid "" "Return a copy of the object left justified in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4494,7 +4494,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:3046 +#: library/stdtypes.rst:3047 msgid "" "Return a copy of the sequence with specified leading bytes removed. The " "*chars* argument is a binary sequence specifying the set of byte values to " @@ -4504,14 +4504,14 @@ msgid "" "all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3058 +#: library/stdtypes.rst:3059 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`. See :meth:`~bytes.removeprefix` for a method that will remove a " "single prefix string rather than all of a set of characters. For example::" msgstr "" -#: library/stdtypes.rst:3077 +#: library/stdtypes.rst:3078 msgid "" "Return a copy of the object right justified in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -4519,7 +4519,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:3091 +#: library/stdtypes.rst:3092 msgid "" "Split the binary sequence into subsequences of the same type, using *sep* as " "the delimiter string. If *maxsplit* is given, at most *maxsplit* splits are " @@ -4529,7 +4529,7 @@ msgid "" "described in detail below." msgstr "" -#: library/stdtypes.rst:3102 +#: library/stdtypes.rst:3103 msgid "" "Return a copy of the sequence with specified trailing bytes removed. The " "*chars* argument is a binary sequence specifying the set of byte values to " @@ -4539,14 +4539,14 @@ msgid "" "all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3114 +#: library/stdtypes.rst:3115 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`. See :meth:`~bytes.removesuffix` for a method that will remove a " "single suffix string rather than all of a set of characters. For example::" msgstr "" -#: library/stdtypes.rst:3133 +#: library/stdtypes.rst:3134 msgid "" "Split the binary sequence into subsequences of the same type, using *sep* as " "the delimiter string. If *maxsplit* is given and non-negative, at most " @@ -4555,7 +4555,7 @@ msgid "" "limit on the number of splits (all possible splits are made)." msgstr "" -#: library/stdtypes.rst:3139 +#: library/stdtypes.rst:3140 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty subsequences (for example, ``b'1,,2'.split(b',')`` " @@ -4566,7 +4566,7 @@ msgid "" "object being split. The *sep* argument may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:3157 +#: library/stdtypes.rst:3158 msgid "" "If *sep* is not specified or is ``None``, a different splitting algorithm is " "applied: runs of consecutive ASCII whitespace are regarded as a single " @@ -4576,7 +4576,7 @@ msgid "" "without a specified separator returns ``[]``." msgstr "" -#: library/stdtypes.rst:3178 +#: library/stdtypes.rst:3179 msgid "" "Return a copy of the sequence with specified leading and trailing bytes " "removed. The *chars* argument is a binary sequence specifying the set of " @@ -4586,13 +4586,13 @@ msgid "" "a prefix or suffix; rather, all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3191 +#: library/stdtypes.rst:3192 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`." msgstr "" -#: library/stdtypes.rst:3200 +#: library/stdtypes.rst:3201 msgid "" "The following methods on bytes and bytearray objects assume the use of ASCII " "compatible binary formats and should not be applied to arbitrary binary " @@ -4600,14 +4600,14 @@ msgid "" "operate in place, and instead produce new objects." msgstr "" -#: library/stdtypes.rst:3208 +#: library/stdtypes.rst:3209 msgid "" "Return a copy of the sequence with each byte interpreted as an ASCII " "character, and the first byte capitalized and the rest lowercased. Non-ASCII " "byte values are passed through unchanged." msgstr "" -#: library/stdtypes.rst:3221 +#: library/stdtypes.rst:3222 msgid "" "Return a copy of the sequence where all ASCII tab characters are replaced by " "one or more ASCII spaces, depending on the current column and the given tab " @@ -4623,7 +4623,7 @@ msgid "" "by one regardless of how the byte value is represented when printed::" msgstr "" -#: library/stdtypes.rst:3249 +#: library/stdtypes.rst:3250 msgid "" "Return ``True`` if all bytes in the sequence are alphabetical ASCII " "characters or ASCII decimal digits and the sequence is not empty, ``False`` " @@ -4632,7 +4632,7 @@ msgid "" "digits are those byte values in the sequence ``b'0123456789'``." msgstr "" -#: library/stdtypes.rst:3266 +#: library/stdtypes.rst:3267 msgid "" "Return ``True`` if all bytes in the sequence are alphabetic ASCII characters " "and the sequence is not empty, ``False`` otherwise. Alphabetic ASCII " @@ -4640,34 +4640,34 @@ msgid "" "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'``." msgstr "" -#: library/stdtypes.rst:3282 +#: library/stdtypes.rst:3283 msgid "" "Return ``True`` if the sequence is empty or all bytes in the sequence are " "ASCII, ``False`` otherwise. ASCII bytes are in the range 0-0x7F." msgstr "" -#: library/stdtypes.rst:3292 +#: library/stdtypes.rst:3293 msgid "" "Return ``True`` if all bytes in the sequence are ASCII decimal digits and " "the sequence is not empty, ``False`` otherwise. ASCII decimal digits are " "those byte values in the sequence ``b'0123456789'``." msgstr "" -#: library/stdtypes.rst:3307 +#: library/stdtypes.rst:3308 msgid "" "Return ``True`` if there is at least one lowercase ASCII character in the " "sequence and no uppercase ASCII characters, ``False`` otherwise." msgstr "" -#: library/stdtypes.rst:3359 library/stdtypes.rst:3425 -#: library/stdtypes.rst:3494 +#: library/stdtypes.rst:3360 library/stdtypes.rst:3426 +#: library/stdtypes.rst:3495 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " "values in the sequence ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``." msgstr "" -#: library/stdtypes.rst:3325 +#: library/stdtypes.rst:3326 msgid "" "Return ``True`` if all bytes in the sequence are ASCII whitespace and the " "sequence is not empty, ``False`` otherwise. ASCII whitespace characters are " @@ -4675,27 +4675,27 @@ msgid "" "newline, carriage return, vertical tab, form feed)." msgstr "" -#: library/stdtypes.rst:3334 +#: library/stdtypes.rst:3335 msgid "" "Return ``True`` if the sequence is ASCII titlecase and the sequence is not " "empty, ``False`` otherwise. See :meth:`bytes.title` for more details on the " "definition of \"titlecase\"." msgstr "" -#: library/stdtypes.rst:3349 +#: library/stdtypes.rst:3350 msgid "" "Return ``True`` if there is at least one uppercase alphabetic ASCII " "character in the sequence and no lowercase ASCII characters, ``False`` " "otherwise." msgstr "" -#: library/stdtypes.rst:3367 +#: library/stdtypes.rst:3368 msgid "" "Return a copy of the sequence with all the uppercase ASCII characters " "converted to their corresponding lowercase counterpart." msgstr "" -#: library/stdtypes.rst:3392 +#: library/stdtypes.rst:3393 msgid "" "Return a list of the lines in the binary sequence, breaking at ASCII line " "boundaries. This method uses the :term:`universal newlines` approach to " @@ -4703,20 +4703,20 @@ msgid "" "*keepends* is given and true." msgstr "" -#: library/stdtypes.rst:3404 +#: library/stdtypes.rst:3405 msgid "" "Unlike :meth:`~bytes.split` when a delimiter string *sep* is given, this " "method returns an empty list for the empty string, and a terminal line break " "does not result in an extra line::" msgstr "" -#: library/stdtypes.rst:3417 +#: library/stdtypes.rst:3418 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart and vice-versa." msgstr "" -#: library/stdtypes.rst:3429 +#: library/stdtypes.rst:3430 msgid "" "Unlike :func:`str.swapcase()`, it is always the case that ``bin.swapcase()." "swapcase() == bin`` for the binary versions. Case conversions are " @@ -4724,14 +4724,14 @@ msgid "" "Unicode code points." msgstr "" -#: library/stdtypes.rst:3443 +#: library/stdtypes.rst:3444 msgid "" "Return a titlecased version of the binary sequence where words start with an " "uppercase ASCII character and the remaining characters are lowercase. " "Uncased byte values are left unmodified." msgstr "" -#: library/stdtypes.rst:3452 +#: library/stdtypes.rst:3453 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " @@ -4739,20 +4739,20 @@ msgid "" "values are uncased." msgstr "" -#: library/stdtypes.rst:3465 +#: library/stdtypes.rst:3466 msgid "" "A workaround for apostrophes can be constructed using regular expressions::" msgstr "" "Kesme işaretleri için geçici bir çözüm düzenli ifadeler kullanılarak " "oluşturulabilir::" -#: library/stdtypes.rst:3486 +#: library/stdtypes.rst:3487 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart." msgstr "" -#: library/stdtypes.rst:3507 +#: library/stdtypes.rst:3508 msgid "" "Return a copy of the sequence left filled with ASCII ``b'0'`` digits to make " "a sequence of length *width*. A leading sign prefix (``b'+'``/ ``b'-'``) is " @@ -4761,11 +4761,11 @@ msgid "" "*width* is less than or equal to ``len(seq)``." msgstr "" -#: library/stdtypes.rst:3529 +#: library/stdtypes.rst:3530 msgid "``printf``-style Bytes Formatting" msgstr "" -#: library/stdtypes.rst:3546 +#: library/stdtypes.rst:3547 msgid "" "The formatting operations described here exhibit a variety of quirks that " "lead to a number of common errors (such as failing to display tuples and " @@ -4773,7 +4773,7 @@ msgid "" "dictionary, wrap it in a tuple." msgstr "" -#: library/stdtypes.rst:3551 +#: library/stdtypes.rst:3552 msgid "" "Bytes objects (``bytes``/``bytearray``) have one unique built-in operation: " "the ``%`` operator (modulo). This is also known as the bytes *formatting* or " @@ -4783,7 +4783,7 @@ msgid "" "func:`sprintf` in the C language." msgstr "" -#: library/stdtypes.rst:3558 +#: library/stdtypes.rst:3559 msgid "" "If *format* requires a single argument, *values* may be a single non-tuple " "object. [5]_ Otherwise, *values* must be a tuple with exactly the number of " @@ -4791,7 +4791,7 @@ msgid "" "example, a dictionary)." msgstr "" -#: library/stdtypes.rst:3592 +#: library/stdtypes.rst:3593 msgid "" "When the right argument is a dictionary (or other mapping type), then the " "formats in the bytes object *must* include a parenthesised mapping key into " @@ -4799,73 +4799,73 @@ msgid "" "mapping key selects the value to be formatted from the mapping. For example:" msgstr "" -#: library/stdtypes.rst:3666 +#: library/stdtypes.rst:3667 msgid "Single byte (accepts integer or single byte objects)." msgstr "" -#: library/stdtypes.rst:3669 +#: library/stdtypes.rst:3670 msgid "``'b'``" msgstr "" -#: library/stdtypes.rst:3669 +#: library/stdtypes.rst:3670 msgid "" "Bytes (any object that follows the :ref:`buffer protocol <bufferobjects>` or " "has :meth:`__bytes__`)." msgstr "" -#: library/stdtypes.rst:3673 +#: library/stdtypes.rst:3674 msgid "" "``'s'`` is an alias for ``'b'`` and should only be used for Python2/3 code " "bases." msgstr "" -#: library/stdtypes.rst:3676 +#: library/stdtypes.rst:3677 msgid "" "Bytes (converts any Python object using ``repr(obj).encode('ascii', " "'backslashreplace')``)." msgstr "" -#: library/stdtypes.rst:3679 +#: library/stdtypes.rst:3680 msgid "" "``'r'`` is an alias for ``'a'`` and should only be used for Python2/3 code " "bases." msgstr "" -#: library/stdtypes.rst:3679 +#: library/stdtypes.rst:3680 msgid "\\(7)" msgstr "" -#: library/stdtypes.rst:3714 +#: library/stdtypes.rst:3715 msgid "``b'%s'`` is deprecated, but will not be removed during the 3.x series." msgstr "" -#: library/stdtypes.rst:3717 +#: library/stdtypes.rst:3718 msgid "``b'%r'`` is deprecated, but will not be removed during the 3.x series." msgstr "" -#: library/stdtypes.rst:3729 +#: library/stdtypes.rst:3730 msgid ":pep:`461` - Adding % formatting to bytes and bytearray" msgstr "" -#: library/stdtypes.rst:3736 +#: library/stdtypes.rst:3737 msgid "Memory Views" msgstr "" -#: library/stdtypes.rst:3738 +#: library/stdtypes.rst:3739 msgid "" ":class:`memoryview` objects allow Python code to access the internal data of " "an object that supports the :ref:`buffer protocol <bufferobjects>` without " "copying." msgstr "" -#: library/stdtypes.rst:3744 +#: library/stdtypes.rst:3745 msgid "" "Create a :class:`memoryview` that references *object*. *object* must " "support the buffer protocol. Built-in objects that support the buffer " "protocol include :class:`bytes` and :class:`bytearray`." msgstr "" -#: library/stdtypes.rst:3748 +#: library/stdtypes.rst:3749 msgid "" "A :class:`memoryview` has the notion of an *element*, which is the atomic " "memory unit handled by the originating *object*. For many simple types such " @@ -4873,32 +4873,32 @@ msgid "" "other types such as :class:`array.array` may have bigger elements." msgstr "" -#: library/stdtypes.rst:3753 +#: library/stdtypes.rst:3754 msgid "" "``len(view)`` is equal to the length of :class:`~memoryview.tolist`, which " "is the nested list representation of the view. If ``view.ndim = 1``, this is " "equal to the number of elements in the view." msgstr "" -#: library/stdtypes.rst:3757 +#: library/stdtypes.rst:3758 msgid "" "If ``view.ndim == 0``, ``len(view)`` now raises :exc:`TypeError` instead of " "returning 1." msgstr "" -#: library/stdtypes.rst:3760 +#: library/stdtypes.rst:3761 msgid "" "The :class:`~memoryview.itemsize` attribute will give you the number of " "bytes in a single element." msgstr "" -#: library/stdtypes.rst:3763 +#: library/stdtypes.rst:3764 msgid "" "A :class:`memoryview` supports slicing and indexing to expose its data. One-" "dimensional slicing will result in a subview::" msgstr "" -#: library/stdtypes.rst:3776 +#: library/stdtypes.rst:3777 msgid "" "If :class:`~memoryview.format` is one of the native format specifiers from " "the :mod:`struct` module, indexing with an integer or a tuple of integers is " @@ -4909,82 +4909,82 @@ msgid "" "memoryviews can be indexed with the empty tuple." msgstr "" -#: library/stdtypes.rst:3785 +#: library/stdtypes.rst:3786 msgid "Here is an example with a non-byte format::" msgstr "" -#: library/stdtypes.rst:3797 +#: library/stdtypes.rst:3798 msgid "" "If the underlying object is writable, the memoryview supports one-" "dimensional slice assignment. Resizing is not allowed::" msgstr "" -#: library/stdtypes.rst:3818 +#: library/stdtypes.rst:3819 msgid "" "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:3830 +#: library/stdtypes.rst:3831 msgid "" "One-dimensional memoryviews can now be sliced. One-dimensional memoryviews " "with formats 'B', 'b' or 'c' are now :term:`hashable`." msgstr "" -#: library/stdtypes.rst:3834 +#: library/stdtypes.rst:3835 msgid "" "memoryview is now registered automatically with :class:`collections.abc." "Sequence`" msgstr "" -#: library/stdtypes.rst:3838 +#: library/stdtypes.rst:3839 msgid "memoryviews can now be indexed with tuple of integers." msgstr "" -#: library/stdtypes.rst:3841 +#: library/stdtypes.rst:3842 msgid ":class:`memoryview` has several methods:" msgstr "" -#: library/stdtypes.rst:3845 +#: library/stdtypes.rst:3846 msgid "" "A memoryview and a :pep:`3118` exporter are equal if their shapes are " "equivalent and if all corresponding values are equal when the operands' " "respective format codes are interpreted using :mod:`struct` syntax." msgstr "" -#: library/stdtypes.rst:3849 +#: library/stdtypes.rst:3850 msgid "" "For the subset of :mod:`struct` format strings currently supported by :meth:" "`tolist`, ``v`` and ``w`` are equal if ``v.tolist() == w.tolist()``::" msgstr "" -#: library/stdtypes.rst:3868 +#: library/stdtypes.rst:3869 msgid "" "If either format string is not supported by the :mod:`struct` module, then " "the objects will always compare as unequal (even if the format strings and " "buffer contents are identical)::" msgstr "" -#: library/stdtypes.rst:3884 +#: library/stdtypes.rst:3885 msgid "" "Note that, as with floating point numbers, ``v is w`` does *not* imply ``v " "== w`` for memoryview objects." msgstr "" -#: library/stdtypes.rst:3887 +#: library/stdtypes.rst:3888 msgid "" "Previous versions compared the raw memory disregarding the item format and " "the logical array structure." msgstr "" -#: library/stdtypes.rst:3893 +#: library/stdtypes.rst:3894 msgid "" "Return the data in the buffer as a bytestring. This is equivalent to " "calling the :class:`bytes` constructor on the memoryview. ::" msgstr "" -#: library/stdtypes.rst:3902 +#: library/stdtypes.rst:3903 msgid "" "For non-contiguous arrays the result is equal to the flattened list " "representation with all elements converted to bytes. :meth:`tobytes` " @@ -4992,7 +4992,7 @@ msgid "" "module syntax." msgstr "" -#: library/stdtypes.rst:3907 +#: library/stdtypes.rst:3908 msgid "" "*order* can be {'C', 'F', 'A'}. When *order* is 'C' or 'F', the data of the " "original array is converted to C or Fortran order. For contiguous views, 'A' " @@ -5001,36 +5001,36 @@ msgid "" "to C first. *order=None* is the same as *order='C'*." msgstr "" -#: library/stdtypes.rst:3916 +#: library/stdtypes.rst:3917 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the buffer. ::" msgstr "" -#: library/stdtypes.rst:3925 +#: library/stdtypes.rst:3926 msgid "" "Similar to :meth:`bytes.hex`, :meth:`memoryview.hex` now supports optional " "*sep* and *bytes_per_sep* parameters to insert separators between bytes in " "the hex output." msgstr "" -#: library/stdtypes.rst:3932 +#: library/stdtypes.rst:3933 msgid "Return the data in the buffer as a list of elements. ::" msgstr "" -#: library/stdtypes.rst:3942 +#: library/stdtypes.rst:3943 msgid "" ":meth:`tolist` now supports all single character native formats in :mod:" "`struct` module syntax as well as multi-dimensional representations." msgstr "" -#: library/stdtypes.rst:3949 +#: library/stdtypes.rst:3950 msgid "" "Return a readonly version of the memoryview object. The original memoryview " "object is unchanged. ::" msgstr "" -#: library/stdtypes.rst:3968 +#: library/stdtypes.rst:3969 msgid "" "Release the underlying buffer exposed by the memoryview object. Many " "objects take special actions when a view is held on them (for example, a :" @@ -5039,20 +5039,20 @@ msgid "" "resources) as soon as possible." msgstr "" -#: library/stdtypes.rst:3974 +#: library/stdtypes.rst:3975 msgid "" "After this method has been called, any further operation on the view raises " "a :class:`ValueError` (except :meth:`release()` itself which can be called " "multiple times)::" msgstr "" -#: library/stdtypes.rst:3985 +#: library/stdtypes.rst:3986 msgid "" "The context management protocol can be used for a similar effect, using the " "``with`` statement::" msgstr "" -#: library/stdtypes.rst:4001 +#: library/stdtypes.rst:4002 msgid "" "Cast a memoryview to a new format or shape. *shape* defaults to " "``[byte_length//new_itemsize]``, which means that the result view will be " @@ -5061,7 +5061,7 @@ msgid "" "contiguous -> 1D." msgstr "" -#: library/stdtypes.rst:4007 +#: library/stdtypes.rst:4008 msgid "" "The destination format is restricted to a single element native format in :" "mod:`struct` syntax. One of the formats must be a byte format ('B', 'b' or " @@ -5069,50 +5069,50 @@ msgid "" "Note that all byte lengths may depend on the operating system." msgstr "" -#: library/stdtypes.rst:4013 +#: library/stdtypes.rst:4014 msgid "Cast 1D/long to 1D/unsigned bytes::" msgstr "" -#: library/stdtypes.rst:4036 +#: library/stdtypes.rst:4037 msgid "Cast 1D/unsigned bytes to 1D/char::" msgstr "" -#: library/stdtypes.rst:4049 +#: library/stdtypes.rst:4050 msgid "Cast 1D/bytes to 3D/ints to 1D/signed char::" msgstr "" -#: library/stdtypes.rst:4075 +#: library/stdtypes.rst:4076 msgid "Cast 1D/unsigned long to 2D/unsigned long::" msgstr "" -#: library/stdtypes.rst:4089 +#: library/stdtypes.rst:4090 msgid "The source format is no longer restricted when casting to a byte view." msgstr "" -#: library/stdtypes.rst:4092 +#: library/stdtypes.rst:4093 msgid "There are also several readonly attributes available:" msgstr "" -#: library/stdtypes.rst:4096 +#: library/stdtypes.rst:4097 msgid "The underlying object of the memoryview::" msgstr "" -#: library/stdtypes.rst:4107 +#: library/stdtypes.rst:4108 msgid "" "``nbytes == product(shape) * itemsize == len(m.tobytes())``. This is the " "amount of space in bytes that the array would use in a contiguous " "representation. It is not necessarily equal to ``len(m)``::" msgstr "" -#: library/stdtypes.rst:4126 +#: library/stdtypes.rst:4127 msgid "Multi-dimensional arrays::" msgstr "" -#: library/stdtypes.rst:4143 +#: library/stdtypes.rst:4144 msgid "A bool indicating whether the memory is read only." msgstr "" -#: library/stdtypes.rst:4147 +#: library/stdtypes.rst:4148 msgid "" "A string containing the format (in :mod:`struct` module style) for each " "element in the view. A memoryview can be created from exporters with " @@ -5120,59 +5120,59 @@ msgid "" "restricted to native single element formats." msgstr "" -#: library/stdtypes.rst:4152 +#: library/stdtypes.rst:4153 msgid "" "format ``'B'`` is now handled according to the struct module syntax. This " "means that ``memoryview(b'abc')[0] == b'abc'[0] == 97``." msgstr "" -#: library/stdtypes.rst:4158 +#: library/stdtypes.rst:4159 msgid "The size in bytes of each element of the memoryview::" msgstr "" -#: library/stdtypes.rst:4171 +#: library/stdtypes.rst:4172 msgid "" "An integer indicating how many dimensions of a multi-dimensional array the " "memory represents." msgstr "" -#: library/stdtypes.rst:4176 +#: library/stdtypes.rst:4177 msgid "" "A tuple of integers the length of :attr:`ndim` giving the shape of the " "memory as an N-dimensional array." msgstr "" -#: library/stdtypes.rst:4187 +#: library/stdtypes.rst:4188 msgid "An empty tuple instead of ``None`` when ndim = 0." msgstr "" -#: library/stdtypes.rst:4184 +#: library/stdtypes.rst:4185 msgid "" "A tuple of integers the length of :attr:`ndim` giving the size in bytes to " "access each element for each dimension of the array." msgstr "" -#: library/stdtypes.rst:4192 +#: library/stdtypes.rst:4193 msgid "Used internally for PIL-style arrays. The value is informational only." msgstr "" -#: library/stdtypes.rst:4196 +#: library/stdtypes.rst:4197 msgid "A bool indicating whether the memory is C-:term:`contiguous`." msgstr "Belleğin C-:term:`contiguous` olup olmadığını gösteren bir bool." -#: library/stdtypes.rst:4202 +#: library/stdtypes.rst:4203 msgid "A bool indicating whether the memory is Fortran :term:`contiguous`." msgstr "Belleğin Fortran :term:`contiguous` olup olmadığını gösteren bir bool." -#: library/stdtypes.rst:4208 +#: library/stdtypes.rst:4209 msgid "A bool indicating whether the memory is :term:`contiguous`." msgstr "Belleğin :term:`contiguous` olup olmadığını gösteren bir bool." -#: library/stdtypes.rst:4216 +#: library/stdtypes.rst:4217 msgid "Set Types --- :class:`set`, :class:`frozenset`" msgstr "Set Türleri --- :class:`set`, :class:`frozenset`" -#: library/stdtypes.rst:4220 +#: library/stdtypes.rst:4221 msgid "" "A :dfn:`set` object is an unordered collection of distinct :term:`hashable` " "objects. Common uses include membership testing, removing duplicates from a " @@ -5188,7 +5188,7 @@ msgstr "" "için yerleşik :class:`dict`, :class:`list` ve :class:`tuple` sınıflarına ve :" "mod:`collections` modülüne bakın)" -#: library/stdtypes.rst:4227 +#: library/stdtypes.rst:4228 msgid "" "Like other collections, sets support ``x in set``, ``len(set)``, and ``for x " "in set``. Being an unordered collection, sets do not record element " @@ -5200,7 +5200,7 @@ msgstr "" "eleman konumunu veya ekleme sırasını kaydetmez. Buna göre, kümeler " "dizinleme, dilimleme veya sıra benzeri davranışları desteklemez." -#: library/stdtypes.rst:4232 +#: library/stdtypes.rst:4233 msgid "" "There are currently two built-in set types, :class:`set` and :class:" "`frozenset`. The :class:`set` type is mutable --- the contents can be " @@ -5219,7 +5219,7 @@ msgstr "" "term:`hashable` --- içeriği oluşturulduktan sonra değiştirilemez; bu nedenle " "bir sözlük anahtarı veya başka bir kümenin öğesi olarak kullanılabilir." -#: library/stdtypes.rst:4240 +#: library/stdtypes.rst:4241 msgid "" "Non-empty sets (not frozensets) can be created by placing a comma-separated " "list of elements within braces, for example: ``{'jack', 'sjoerd'}``, in " @@ -5229,11 +5229,11 @@ msgstr "" "parantez içine virgülle ayrılmış bir öğe listesi yerleştirilerek " "oluşturulabilir, örneğin: ``{'jack', 'sjoerd'}``." -#: library/stdtypes.rst:4244 +#: library/stdtypes.rst:4245 msgid "The constructors for both classes work the same:" msgstr "Her iki sınıfın kurucuları aynı şekilde çalışır:" -#: library/stdtypes.rst:4249 +#: library/stdtypes.rst:4250 msgid "" "Return a new set or frozenset object whose elements are taken from " "*iterable*. The elements of a set must be :term:`hashable`. To represent " @@ -5245,24 +5245,24 @@ msgstr "" "kümelerini temsil etmek için, iç kümeler :class:`frozenset` nesneleri " "olmalıdır. Eğer *iterable* belirtilmemişse, yeni bir boş küme döndürülür." -#: library/stdtypes.rst:4255 +#: library/stdtypes.rst:4256 msgid "Sets can be created by several means:" msgstr "Setler çeşitli yollarla oluşturulabilir:" -#: library/stdtypes.rst:4257 +#: library/stdtypes.rst:4258 msgid "" "Use a comma-separated list of elements within braces: ``{'jack', 'sjoerd'}``" msgstr "" "Parantez içinde virgülle ayrılmış bir öğe listesi kullanın: ``{'jack', " "'sjoerd'}``" -#: library/stdtypes.rst:4258 +#: library/stdtypes.rst:4259 msgid "" "Use a set comprehension: ``{c for c in 'abracadabra' if c not in 'abc'}``" msgstr "" "Bir küme kavrayışı kullanın: ``{c for c in 'abracadabra' if c not in 'abc'}``" -#: library/stdtypes.rst:4259 +#: library/stdtypes.rst:4260 msgid "" "Use the type constructor: ``set()``, ``set('foobar')``, ``set(['a', 'b', " "'foo'])``" @@ -5270,26 +5270,26 @@ msgstr "" "Tür kurucusunu kullanın: ``set()``, ``set('foobar')``, ``set(['a', 'b', " "'foo'])``" -#: library/stdtypes.rst:4261 +#: library/stdtypes.rst:4262 msgid "" "Instances of :class:`set` and :class:`frozenset` provide the following " "operations:" msgstr "" ":class:`set` ve :class:`frozenset` örnekleri aşağıdaki işlemleri sağlar:" -#: library/stdtypes.rst:4266 +#: library/stdtypes.rst:4267 msgid "Return the number of elements in set *s* (cardinality of *s*)." msgstr "*s* kümesindeki eleman sayısını döndürür (*s*'nin kardinalitesi)." -#: library/stdtypes.rst:4270 +#: library/stdtypes.rst:4271 msgid "Test *x* for membership in *s*." msgstr "*x*'i *s* üyeliği için test edin." -#: library/stdtypes.rst:4274 +#: library/stdtypes.rst:4275 msgid "Test *x* for non-membership in *s*." msgstr "*x*'in *s*'ye üye olup olmadığını test edin." -#: library/stdtypes.rst:4278 +#: library/stdtypes.rst:4279 msgid "" "Return ``True`` if the set has no elements in common with *other*. Sets are " "disjoint if and only if their intersection is the empty set." @@ -5297,11 +5297,11 @@ msgstr "" "Kümenin *other* kümelerle ortak hiçbir elemanı yoksa ``True`` döndürür. " "Kümeler, ancak ve ancak kesişimleri boş küme ise ayrıktır." -#: library/stdtypes.rst:4284 +#: library/stdtypes.rst:4285 msgid "Test whether every element in the set is in *other*." msgstr "Kümedeki her elemanın *other* içinde olup olmadığını test edin." -#: library/stdtypes.rst:4288 +#: library/stdtypes.rst:4289 msgid "" "Test whether the set is a proper subset of *other*, that is, ``set <= other " "and set != other``." @@ -5309,11 +5309,11 @@ msgstr "" "Kümenin *other* kümenin uygun bir alt kümesi olup olmadığını, yani ``set <= " "other and set != other`` olup olmadığını test eder." -#: library/stdtypes.rst:4294 +#: library/stdtypes.rst:4295 msgid "Test whether every element in *other* is in the set." msgstr "Kümedeki her elemanın *other* içinde olup olmadığını test edin." -#: library/stdtypes.rst:4298 +#: library/stdtypes.rst:4299 msgid "" "Test whether the set is a proper superset of *other*, that is, ``set >= " "other and set != other``." @@ -5321,33 +5321,33 @@ msgstr "" "Kümenin *other* kümenin uygun bir üst kümesi olup olmadığını, yani ``set >= " "other and set != other`` olup olmadığını test edin." -#: library/stdtypes.rst:4304 +#: library/stdtypes.rst:4305 msgid "Return a new set with elements from the set and all others." msgstr "" "Kümedeki ve diğer tüm kümelerdeki elemanları içeren yeni bir küme döndürür." -#: library/stdtypes.rst:4309 +#: library/stdtypes.rst:4310 msgid "Return a new set with elements common to the set and all others." msgstr "" "Küme ve diğer tüm kümeler için ortak öğeler içeren yeni bir küme döndürür." -#: library/stdtypes.rst:4314 +#: library/stdtypes.rst:4315 msgid "Return a new set with elements in the set that are not in the others." msgstr "" "Küme içinde diğerlerinde olmayan elemanlar içeren yeni bir küme döndürür." -#: library/stdtypes.rst:4319 +#: library/stdtypes.rst:4320 msgid "" "Return a new set with elements in either the set or *other* but not both." msgstr "" "Elemanları ya kümede ya da *diğer* kümede olan ancak her ikisinde de olmayan " "yeni bir küme döndürür." -#: library/stdtypes.rst:4323 +#: library/stdtypes.rst:4324 msgid "Return a shallow copy of the set." msgstr "Kümenin yüzeysel bir kopyasını döndürür." -#: library/stdtypes.rst:4326 +#: library/stdtypes.rst:4327 msgid "" "Note, the non-operator versions of :meth:`union`, :meth:`intersection`, :" "meth:`difference`, :meth:`symmetric_difference`, :meth:`issubset`, and :meth:" @@ -5365,7 +5365,7 @@ msgstr "" "\n" "Translated with www.DeepL.com/Translator (free version)" -#: library/stdtypes.rst:4333 +#: library/stdtypes.rst:4334 msgid "" "Both :class:`set` and :class:`frozenset` support set to set comparisons. Two " "sets are equal if and only if every element of each set is contained in the " @@ -5384,7 +5384,7 @@ msgstr "" "\n" "Translated with www.DeepL.com/Translator (free version)" -#: library/stdtypes.rst:4340 +#: library/stdtypes.rst:4341 msgid "" "Instances of :class:`set` are compared to instances of :class:`frozenset` " "based on their members. For example, ``set('abc') == frozenset('abc')`` " @@ -5394,7 +5394,7 @@ msgstr "" "karşılaştırılır. Örneğin, ``set('abc') == frozenset('abc')`` ``True`` " "döndürür ve ``set('abc') in set([frozenset('abc')])`` de öyle." -#: library/stdtypes.rst:4344 +#: library/stdtypes.rst:4345 msgid "" "The subset and equality comparisons do not generalize to a total ordering " "function. For example, any two nonempty disjoint sets are not equal and are " @@ -5406,7 +5406,7 @@ msgstr "" "değildir ve birbirinin alt kümesi değildir, bu nedenle aşağıdakilerin *all* " "``Yanlış`` döndürür: ``a<b``, ``a==b`` veya ``a>b``." -#: library/stdtypes.rst:4349 +#: library/stdtypes.rst:4350 msgid "" "Since sets only define partial ordering (subset relationships), the output " "of the :meth:`list.sort` method is undefined for lists of sets." @@ -5414,11 +5414,11 @@ msgstr "" "Kümeler yalnızca kısmi sıralama (alt küme ilişkileri) tanımladığından, :meth:" "`list.sort` yönteminin çıktısı küme listeleri için tanımsızdır." -#: library/stdtypes.rst:4352 +#: library/stdtypes.rst:4353 msgid "Set elements, like dictionary keys, must be :term:`hashable`." msgstr "Sözlük anahtarları gibi küme öğeleri de :term:`hashable` olmalıdır." -#: library/stdtypes.rst:4354 +#: library/stdtypes.rst:4355 msgid "" "Binary operations that mix :class:`set` instances with :class:`frozenset` " "return the type of the first operand. For example: ``frozenset('ab') | " @@ -5428,7 +5428,7 @@ msgstr "" "ilk işlenenin türünü döndürür. Örneğin: ``frozenset('ab') | set('bc')`` " "bir :class:`frozenset` örneği döndürür." -#: library/stdtypes.rst:4358 +#: library/stdtypes.rst:4359 msgid "" "The following table lists operations available for :class:`set` that do not " "apply to immutable instances of :class:`frozenset`:" @@ -5436,31 +5436,31 @@ msgstr "" "Aşağıdaki tabloda :class:`set` için kullanılabilen ve :class:`frozenset` 'in " "değişmez örneklerine uygulanmayan işlemler listelenmektedir:" -#: library/stdtypes.rst:4364 +#: library/stdtypes.rst:4365 msgid "Update the set, adding elements from all others." msgstr "Diğer tüm öğeleri ekleyerek seti güncelleyin." -#: library/stdtypes.rst:4369 +#: library/stdtypes.rst:4370 msgid "Update the set, keeping only elements found in it and all others." msgstr "" "Yalnızca içinde bulunan öğeleri ve diğerlerini koruyarak seti güncelleyin." -#: library/stdtypes.rst:4374 +#: library/stdtypes.rst:4375 msgid "Update the set, removing elements found in others." msgstr "Diğerlerinde bulunan öğeleri kaldırarak kümeyi güncelleyin." -#: library/stdtypes.rst:4379 +#: library/stdtypes.rst:4380 msgid "" "Update the set, keeping only elements found in either set, but not in both." msgstr "" "Kümeyi güncelleyin, yalnızca her iki kümede de bulunan öğeleri saklayın, " "ancak her ikisinde de bulunmayın." -#: library/stdtypes.rst:4383 +#: library/stdtypes.rst:4384 msgid "Add element *elem* to the set." msgstr "Kümeye *elem* öğesini ekleyin." -#: library/stdtypes.rst:4387 +#: library/stdtypes.rst:4388 msgid "" "Remove element *elem* from the set. Raises :exc:`KeyError` if *elem* is not " "contained in the set." @@ -5468,11 +5468,11 @@ msgstr "" "Kümeden *elem* elemanını kaldırır. Eğer *elem* kümede bulunmuyorsa :exc:" "`KeyError` değerini yükseltir." -#: library/stdtypes.rst:4392 +#: library/stdtypes.rst:4393 msgid "Remove element *elem* from the set if it is present." msgstr "Eğer varsa *elem* öğesini kümeden kaldırır." -#: library/stdtypes.rst:4396 +#: library/stdtypes.rst:4397 msgid "" "Remove and return an arbitrary element from the set. Raises :exc:`KeyError` " "if the set is empty." @@ -5480,11 +5480,11 @@ msgstr "" "Kümeden rastgele bir elemanı kaldırır ve döndürür. Küme boşsa :exc:" "`KeyError` değerini yükseltir." -#: library/stdtypes.rst:4401 +#: library/stdtypes.rst:4402 msgid "Remove all elements from the set." msgstr "Kümeden tüm öğeleri kaldırın." -#: library/stdtypes.rst:4404 +#: library/stdtypes.rst:4405 msgid "" "Note, the non-operator versions of the :meth:`update`, :meth:" "`intersection_update`, :meth:`difference_update`, and :meth:" @@ -5495,7 +5495,7 @@ msgstr "" "ve :meth:`symmetric_difference_update` metotlarının operatör olmayan " "versiyonları herhangi bir iterable'ı argüman olarak kabul edecektir." -#: library/stdtypes.rst:4409 +#: library/stdtypes.rst:4410 msgid "" "Note, the *elem* argument to the :meth:`__contains__`, :meth:`remove`, and :" "meth:`discard` methods may be a set. To support searching for an equivalent " @@ -5505,11 +5505,11 @@ msgstr "" "*elem* argümanı bir küme olabilir. Eş değer bir frozenset aramayı " "desteklemek için, *elem*'den geçici bir tane oluşturulur." -#: library/stdtypes.rst:4417 +#: library/stdtypes.rst:4418 msgid "Mapping Types --- :class:`dict`" msgstr "Mapping Types --- :class:`dict`" -#: library/stdtypes.rst:4427 +#: library/stdtypes.rst:4428 msgid "" "A :term:`mapping` object maps :term:`hashable` values to arbitrary objects. " "Mappings are mutable objects. There is currently only one standard mapping " @@ -5523,7 +5523,7 @@ msgstr "" "class:`list`, :class:`set` ve :class:`tuple` sınıflarına ve :mod:" "`collections` modülüne bakın)." -#: library/stdtypes.rst:4433 +#: library/stdtypes.rst:4434 msgid "" "A dictionary's keys are *almost* arbitrary values. Values that are not :" "term:`hashable`, that is, values containing lists, dictionaries or other " @@ -5538,7 +5538,7 @@ msgstr "" "``True`` gibi) aynı sözlük girdisini indekslemek için birbirinin yerine " "kullanılabilir." -#: library/stdtypes.rst:4444 +#: library/stdtypes.rst:4445 msgid "" "Return a new dictionary initialized from an optional positional argument and " "a possibly empty set of keyword arguments." @@ -5546,27 +5546,27 @@ msgstr "" "İsteğe bağlı bir konumsal bağımsız değişken ve muhtemelen boş bir anahtar " "sözcük bağımsız değişken kümesinden başlatılan yeni bir sözlük döndürür." -#: library/stdtypes.rst:4447 +#: library/stdtypes.rst:4448 msgid "Dictionaries can be created by several means:" msgstr "Sözlükler çeşitli yollarla oluşturulabilir:" -#: library/stdtypes.rst:4449 +#: library/stdtypes.rst:4450 msgid "" "Use a comma-separated list of ``key: value`` pairs within braces: ``{'jack': " "4098, 'sjoerd': 4127}`` or ``{4098: 'jack', 4127: 'sjoerd'}``" msgstr "" -#: library/stdtypes.rst:4451 +#: library/stdtypes.rst:4452 msgid "Use a dict comprehension: ``{}``, ``{x: x ** 2 for x in range(10)}``" msgstr "" -#: library/stdtypes.rst:4452 +#: library/stdtypes.rst:4453 msgid "" "Use the type constructor: ``dict()``, ``dict([('foo', 100), ('bar', " "200)])``, ``dict(foo=100, bar=200)``" msgstr "" -#: library/stdtypes.rst:4455 +#: library/stdtypes.rst:4456 msgid "" "If no positional argument is given, an empty dictionary is created. If a " "positional argument is given and it is a mapping object, a dictionary is " @@ -5578,7 +5578,7 @@ msgid "" "value for that key becomes the corresponding value in the new dictionary." msgstr "" -#: library/stdtypes.rst:4465 +#: library/stdtypes.rst:4466 msgid "" "If keyword arguments are given, the keyword arguments and their values are " "added to the dictionary created from the positional argument. If a key " @@ -5586,39 +5586,39 @@ msgid "" "the value from the positional argument." msgstr "" -#: library/stdtypes.rst:4470 +#: library/stdtypes.rst:4471 msgid "" "To illustrate, the following examples all return a dictionary equal to " "``{\"one\": 1, \"two\": 2, \"three\": 3}``::" msgstr "" -#: library/stdtypes.rst:4482 +#: library/stdtypes.rst:4483 msgid "" "Providing keyword arguments as in the first example only works for keys that " "are valid Python identifiers. Otherwise, any valid keys can be used." msgstr "" -#: library/stdtypes.rst:4486 +#: library/stdtypes.rst:4487 msgid "" "These are the operations that dictionaries support (and therefore, custom " "mapping types should support too):" msgstr "" -#: library/stdtypes.rst:4491 +#: library/stdtypes.rst:4492 msgid "Return a list of all the keys used in the dictionary *d*." msgstr "" -#: library/stdtypes.rst:4495 +#: library/stdtypes.rst:4496 msgid "Return the number of items in the dictionary *d*." msgstr "" -#: library/stdtypes.rst:4499 +#: library/stdtypes.rst:4500 msgid "" "Return the item of *d* with key *key*. Raises a :exc:`KeyError` if *key* is " "not in the map." msgstr "" -#: library/stdtypes.rst:4504 +#: library/stdtypes.rst:4505 msgid "" "If a subclass of dict defines a method :meth:`__missing__` and *key* is not " "present, the ``d[key]`` operation calls that method with the key *key* as " @@ -5629,51 +5629,51 @@ msgid "" "an instance variable::" msgstr "" -#: library/stdtypes.rst:4523 +#: library/stdtypes.rst:4524 msgid "" "The example above shows part of the implementation of :class:`collections." "Counter`. A different ``__missing__`` method is used by :class:`collections." "defaultdict`." msgstr "" -#: library/stdtypes.rst:4529 +#: library/stdtypes.rst:4530 msgid "Set ``d[key]`` to *value*." msgstr "" -#: library/stdtypes.rst:4533 +#: library/stdtypes.rst:4534 msgid "" "Remove ``d[key]`` from *d*. Raises a :exc:`KeyError` if *key* is not in the " "map." msgstr "" -#: library/stdtypes.rst:4538 +#: library/stdtypes.rst:4539 msgid "Return ``True`` if *d* has a key *key*, else ``False``." msgstr "" -#: library/stdtypes.rst:4542 +#: library/stdtypes.rst:4543 msgid "Equivalent to ``not key in d``." msgstr "" -#: library/stdtypes.rst:4546 +#: library/stdtypes.rst:4547 msgid "" "Return an iterator over the keys of the dictionary. This is a shortcut for " "``iter(d.keys())``." msgstr "" -#: library/stdtypes.rst:4551 +#: library/stdtypes.rst:4552 msgid "Remove all items from the dictionary." msgstr "" -#: library/stdtypes.rst:4555 +#: library/stdtypes.rst:4556 msgid "Return a shallow copy of the dictionary." msgstr "" -#: library/stdtypes.rst:4559 +#: library/stdtypes.rst:4560 msgid "" "Create a new dictionary with keys from *iterable* and values set to *value*." msgstr "" -#: library/stdtypes.rst:4561 +#: library/stdtypes.rst:4562 msgid "" ":meth:`fromkeys` is a class method that returns a new dictionary. *value* " "defaults to ``None``. All of the values refer to just a single instance, so " @@ -5682,70 +5682,70 @@ msgid "" "<dict>` instead." msgstr "" -#: library/stdtypes.rst:4569 +#: library/stdtypes.rst:4570 msgid "" "Return the value for *key* if *key* is in the dictionary, else *default*. If " "*default* is not given, it defaults to ``None``, so that this method never " "raises a :exc:`KeyError`." msgstr "" -#: library/stdtypes.rst:4575 +#: library/stdtypes.rst:4576 msgid "" "Return a new view of the dictionary's items (``(key, value)`` pairs). See " "the :ref:`documentation of view objects <dict-views>`." msgstr "" -#: library/stdtypes.rst:4580 +#: library/stdtypes.rst:4581 msgid "" "Return a new view of the dictionary's keys. See the :ref:`documentation of " "view objects <dict-views>`." msgstr "" -#: library/stdtypes.rst:4585 +#: library/stdtypes.rst:4586 msgid "" "If *key* is in the dictionary, remove it and return its value, else return " "*default*. If *default* is not given and *key* is not in the dictionary, a :" "exc:`KeyError` is raised." msgstr "" -#: library/stdtypes.rst:4591 +#: library/stdtypes.rst:4592 msgid "" "Remove and return a ``(key, value)`` pair from the dictionary. Pairs are " "returned in :abbr:`LIFO (last-in, first-out)` order." msgstr "" -#: library/stdtypes.rst:4594 +#: library/stdtypes.rst:4595 msgid "" ":meth:`popitem` is useful to destructively iterate over a dictionary, as " "often used in set algorithms. If the dictionary is empty, calling :meth:" "`popitem` raises a :exc:`KeyError`." msgstr "" -#: library/stdtypes.rst:4598 +#: library/stdtypes.rst:4599 msgid "" "LIFO order is now guaranteed. In prior versions, :meth:`popitem` would " "return an arbitrary key/value pair." msgstr "" -#: library/stdtypes.rst:4604 +#: library/stdtypes.rst:4605 msgid "" "Return a reverse iterator over the keys of the dictionary. This is a " "shortcut for ``reversed(d.keys())``." msgstr "" -#: library/stdtypes.rst:4611 +#: library/stdtypes.rst:4612 msgid "" "If *key* is in the dictionary, return its value. If not, insert *key* with " "a value of *default* and return *default*. *default* defaults to ``None``." msgstr "" -#: library/stdtypes.rst:4617 +#: library/stdtypes.rst:4618 msgid "" "Update the dictionary with the key/value pairs from *other*, overwriting " "existing keys. Return ``None``." msgstr "" -#: library/stdtypes.rst:4620 +#: library/stdtypes.rst:4621 msgid "" ":meth:`update` accepts either another dictionary object or an iterable of " "key/value pairs (as tuples or other iterables of length two). If keyword " @@ -5753,71 +5753,71 @@ msgid "" "pairs: ``d.update(red=1, blue=2)``." msgstr "" -#: library/stdtypes.rst:4627 +#: library/stdtypes.rst:4628 msgid "" "Return a new view of the dictionary's values. See the :ref:`documentation " "of view objects <dict-views>`." msgstr "" -#: library/stdtypes.rst:4630 +#: library/stdtypes.rst:4631 msgid "" "An equality comparison between one ``dict.values()`` view and another will " "always return ``False``. This also applies when comparing ``dict.values()`` " "to itself::" msgstr "" -#: library/stdtypes.rst:4640 +#: library/stdtypes.rst:4641 msgid "" "Create a new dictionary with the merged keys and values of *d* and *other*, " "which must both be dictionaries. The values of *other* take priority when " "*d* and *other* share keys." msgstr "" -#: library/stdtypes.rst:4648 +#: library/stdtypes.rst:4649 msgid "" "Update the dictionary *d* with keys and values from *other*, which may be " "either a :term:`mapping` or an :term:`iterable` of key/value pairs. The " "values of *other* take priority when *d* and *other* share keys." msgstr "" -#: library/stdtypes.rst:4654 +#: library/stdtypes.rst:4655 msgid "" "Dictionaries compare equal if and only if they have the same ``(key, " "value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', " "'>') raise :exc:`TypeError`." msgstr "" -#: library/stdtypes.rst:4658 +#: library/stdtypes.rst:4659 msgid "" "Dictionaries preserve insertion order. Note that updating a key does not " "affect the order. Keys added after deletion are inserted at the end. ::" msgstr "" -#: library/stdtypes.rst:4676 +#: library/stdtypes.rst:4677 msgid "" "Dictionary order is guaranteed to be insertion order. This behavior was an " "implementation detail of CPython from 3.6." msgstr "" -#: library/stdtypes.rst:4680 +#: library/stdtypes.rst:4681 msgid "Dictionaries and dictionary views are reversible. ::" msgstr "" -#: library/stdtypes.rst:4692 +#: library/stdtypes.rst:4693 msgid "Dictionaries are now reversible." msgstr "" -#: library/stdtypes.rst:4697 +#: library/stdtypes.rst:4698 msgid "" ":class:`types.MappingProxyType` can be used to create a read-only view of a :" "class:`dict`." msgstr "" -#: library/stdtypes.rst:4704 +#: library/stdtypes.rst:4705 msgid "Dictionary view objects" msgstr "" -#: library/stdtypes.rst:4706 +#: library/stdtypes.rst:4707 msgid "" "The objects returned by :meth:`dict.keys`, :meth:`dict.values` and :meth:" "`dict.items` are *view objects*. They provide a dynamic view on the " @@ -5825,23 +5825,23 @@ msgid "" "reflects these changes." msgstr "" -#: library/stdtypes.rst:4711 +#: library/stdtypes.rst:4712 msgid "" "Dictionary views can be iterated over to yield their respective data, and " "support membership tests:" msgstr "" -#: library/stdtypes.rst:4716 +#: library/stdtypes.rst:4717 msgid "Return the number of entries in the dictionary." msgstr "" -#: library/stdtypes.rst:4720 +#: library/stdtypes.rst:4721 msgid "" "Return an iterator over the keys, values or items (represented as tuples of " "``(key, value)``) in the dictionary." msgstr "" -#: library/stdtypes.rst:4723 +#: library/stdtypes.rst:4724 msgid "" "Keys and values are iterated over in insertion order. This allows the " "creation of ``(value, key)`` pairs using :func:`zip`: ``pairs = zip(d." @@ -5849,39 +5849,39 @@ msgid "" "[(v, k) for (k, v) in d.items()]``." msgstr "" -#: library/stdtypes.rst:4728 +#: library/stdtypes.rst:4729 msgid "" "Iterating views while adding or deleting entries in the dictionary may raise " "a :exc:`RuntimeError` or fail to iterate over all entries." msgstr "" -#: library/stdtypes.rst:4731 +#: library/stdtypes.rst:4732 msgid "Dictionary order is guaranteed to be insertion order." msgstr "" -#: library/stdtypes.rst:4736 +#: library/stdtypes.rst:4737 msgid "" "Return ``True`` if *x* is in the underlying dictionary's keys, values or " "items (in the latter case, *x* should be a ``(key, value)`` tuple)." msgstr "" -#: library/stdtypes.rst:4741 +#: library/stdtypes.rst:4742 msgid "" "Return a reverse iterator over the keys, values or items of the dictionary. " "The view will be iterated in reverse order of the insertion." msgstr "" -#: library/stdtypes.rst:4744 +#: library/stdtypes.rst:4745 msgid "Dictionary views are now reversible." msgstr "" -#: library/stdtypes.rst:4749 +#: library/stdtypes.rst:4750 msgid "" "Return a :class:`types.MappingProxyType` that wraps the original dictionary " "to which the view refers." msgstr "" -#: library/stdtypes.rst:4754 +#: library/stdtypes.rst:4755 msgid "" "Keys views are set-like since their entries are unique and :term:" "`hashable`. If all values are hashable, so that ``(key, value)`` pairs are " @@ -5894,15 +5894,15 @@ msgid "" "input." msgstr "" -#: library/stdtypes.rst:4763 +#: library/stdtypes.rst:4764 msgid "An example of dictionary view usage::" msgstr "" -#: library/stdtypes.rst:4807 +#: library/stdtypes.rst:4808 msgid "Context Manager Types" msgstr "Bağlam Yöneticisi Türleri" -#: library/stdtypes.rst:4814 +#: library/stdtypes.rst:4815 msgid "" "Python's :keyword:`with` statement supports the concept of a runtime context " "defined by a context manager. This is implemented using a pair of methods " @@ -5910,7 +5910,7 @@ msgid "" "before the statement body is executed and exited when the statement ends:" msgstr "" -#: library/stdtypes.rst:4822 +#: library/stdtypes.rst:4823 msgid "" "Enter the runtime context and return either this object or another object " "related to the runtime context. The value returned by this method is bound " @@ -5918,14 +5918,14 @@ msgid "" "using this context manager." msgstr "" -#: library/stdtypes.rst:4827 +#: library/stdtypes.rst:4828 msgid "" "An example of a context manager that returns itself is a :term:`file " "object`. File objects return themselves from __enter__() to allow :func:" "`open` to be used as the context expression in a :keyword:`with` statement." msgstr "" -#: library/stdtypes.rst:4831 +#: library/stdtypes.rst:4832 msgid "" "An example of a context manager that returns a related object is the one " "returned by :func:`decimal.localcontext`. These managers set the active " @@ -5935,7 +5935,7 @@ msgid "" "the :keyword:`!with` statement." msgstr "" -#: library/stdtypes.rst:4841 +#: library/stdtypes.rst:4842 msgid "" "Exit the runtime context and return a Boolean flag indicating if any " "exception that occurred should be suppressed. If an exception occurred while " @@ -5944,7 +5944,7 @@ msgid "" "arguments are ``None``." msgstr "" -#: library/stdtypes.rst:4846 +#: library/stdtypes.rst:4847 msgid "" "Returning a true value from this method will cause the :keyword:`with` " "statement to suppress the exception and continue execution with the " @@ -5955,7 +5955,7 @@ msgid "" "statement." msgstr "" -#: library/stdtypes.rst:4853 +#: library/stdtypes.rst:4854 msgid "" "The exception passed in should never be reraised explicitly - instead, this " "method should return a false value to indicate that the method completed " @@ -5964,7 +5964,7 @@ msgid "" "method has actually failed." msgstr "" -#: library/stdtypes.rst:4859 +#: library/stdtypes.rst:4860 msgid "" "Python defines several context managers to support easy thread " "synchronisation, prompt closure of files or other objects, and simpler " @@ -5973,7 +5973,7 @@ msgid "" "management protocol. See the :mod:`contextlib` module for some examples." msgstr "" -#: library/stdtypes.rst:4865 +#: library/stdtypes.rst:4866 msgid "" "Python's :term:`generator`\\s and the :class:`contextlib.contextmanager` " "decorator provide a convenient way to implement these protocols. If a " @@ -5983,7 +5983,7 @@ msgid "" "rather than the iterator produced by an undecorated generator function." msgstr "" -#: library/stdtypes.rst:4872 +#: library/stdtypes.rst:4873 msgid "" "Note that there is no specific slot for any of these methods in the type " "structure for Python objects in the Python/C API. Extension types wanting to " @@ -5992,23 +5992,23 @@ msgid "" "a single class dictionary lookup is negligible." msgstr "" -#: library/stdtypes.rst:4880 +#: library/stdtypes.rst:4881 msgid "" "Type Annotation Types --- :ref:`Generic Alias <types-genericalias>`, :ref:" "`Union <types-union>`" msgstr "" -#: library/stdtypes.rst:4885 +#: library/stdtypes.rst:4886 msgid "" "The core built-in types for :term:`type annotations <annotation>` are :ref:" "`Generic Alias <types-genericalias>` and :ref:`Union <types-union>`." msgstr "" -#: library/stdtypes.rst:4892 +#: library/stdtypes.rst:4893 msgid "Generic Alias Type" msgstr "Genel Takma Ad Türü" -#: library/stdtypes.rst:4898 +#: library/stdtypes.rst:4899 msgid "" "``GenericAlias`` objects are generally created by :ref:`subscripting " "<subscriptions>` a class. They are most often used with :ref:`container " @@ -6018,13 +6018,13 @@ msgid "" "are intended primarily for use with :term:`type annotations <annotation>`." msgstr "" -#: library/stdtypes.rst:4908 +#: library/stdtypes.rst:4909 msgid "" "It is generally only possible to subscript a class if the class implements " "the special method :meth:`~object.__class_getitem__`." msgstr "" -#: library/stdtypes.rst:4911 +#: library/stdtypes.rst:4912 msgid "" "A ``GenericAlias`` object acts as a proxy for a :term:`generic type`, " "implementing *parameterized generics*." @@ -6032,7 +6032,7 @@ msgstr "" "Bir ``GenericAlias`` nesnesi, :term:`generic type` için bir vekil olarak " "hareket eder ve *parameterized generics* uygular." -#: library/stdtypes.rst:4914 +#: library/stdtypes.rst:4915 msgid "" "For a container class, the argument(s) supplied to a :ref:`subscription " "<subscriptions>` of the class may indicate the type(s) of the elements an " @@ -6041,7 +6041,7 @@ msgid "" "`bytes`." msgstr "" -#: library/stdtypes.rst:4920 +#: library/stdtypes.rst:4921 msgid "" "For a class which defines :meth:`~object.__class_getitem__` but is not a " "container, the argument(s) supplied to a subscription of the class will " @@ -6050,7 +6050,7 @@ msgid "" "the :class:`str` data type and the :class:`bytes` data type:" msgstr "" -#: library/stdtypes.rst:4926 +#: library/stdtypes.rst:4927 msgid "" "If ``x = re.search('foo', 'foo')``, ``x`` will be a :ref:`re.Match <match-" "objects>` object where the return values of ``x.group(0)`` and ``x[0]`` will " @@ -6058,7 +6058,7 @@ msgid "" "annotations with the ``GenericAlias`` ``re.Match[str]``." msgstr "" -#: library/stdtypes.rst:4932 +#: library/stdtypes.rst:4933 msgid "" "If ``y = re.search(b'bar', b'bar')``, (note the ``b`` for :class:`bytes`), " "``y`` will also be an instance of ``re.Match``, but the return values of ``y." @@ -6067,7 +6067,7 @@ msgid "" "objects>` objects with ``re.Match[bytes]``." msgstr "" -#: library/stdtypes.rst:4938 +#: library/stdtypes.rst:4939 msgid "" "``GenericAlias`` objects are instances of the class :class:`types." "GenericAlias`, which can also be used to create ``GenericAlias`` objects " @@ -6076,7 +6076,7 @@ msgstr "" "``GenericAlias`` nesneleri, doğrudan ``GenericAlias`` nesneleri oluşturmak " "için de kullanılabilen :class:`types.GenericAlias` sınıfının örnekleridir." -#: library/stdtypes.rst:4944 +#: library/stdtypes.rst:4945 msgid "" "Creates a ``GenericAlias`` representing a type ``T`` parameterized by types " "*X*, *Y*, and more depending on the ``T`` used. For example, a function " @@ -6087,7 +6087,7 @@ msgstr "" "Örneğin, :class:`float` elemanları içeren bir :class:`list` bekleyen bir " "fonksiyon::" -#: library/stdtypes.rst:4952 +#: library/stdtypes.rst:4953 msgid "" "Another example for :term:`mapping` objects, using a :class:`dict`, which is " "a generic type expecting two type parameters representing the key type and " @@ -6099,7 +6099,7 @@ msgstr "" "başka bir örnek. Bu örnekte, fonksiyon :class:`str` türünde anahtarları ve :" "class:`int` türünde değerleri olan bir ``dict`` bekler::" -#: library/stdtypes.rst:4960 +#: library/stdtypes.rst:4961 msgid "" "The builtin functions :func:`isinstance` and :func:`issubclass` do not " "accept ``GenericAlias`` types for their second argument::" @@ -6107,7 +6107,7 @@ msgstr "" "Yerleşik :func:`isinstance` ve :func:`issubclass` işlevleri ikinci " "argümanları için ``GenericAlias`` türlerini kabul etmez::" -#: library/stdtypes.rst:4968 +#: library/stdtypes.rst:4969 msgid "" "The Python runtime does not enforce :term:`type annotations <annotation>`. " "This extends to generic types and their type parameters. When creating a " @@ -6121,7 +6121,7 @@ msgstr "" "elemanlar türlerine göre kontrol edilmez. Örneğin, aşağıdaki kod tavsiye " "edilmez, ancak hatasız çalışacaktır::" -#: library/stdtypes.rst:4978 +#: library/stdtypes.rst:4979 msgid "" "Furthermore, parameterized generics erase type parameters during object " "creation::" @@ -6129,7 +6129,7 @@ msgstr "" "Ayrıca, parametrelendirilmiş jenerikler nesne oluşturma sırasında tip " "parametrelerini siler::" -#: library/stdtypes.rst:4989 +#: library/stdtypes.rst:4990 msgid "" "Calling :func:`repr` or :func:`str` on a generic shows the parameterized " "type::" @@ -6137,7 +6137,7 @@ msgstr "" "Bir jenerik üzerinde :func:`repr` veya :func:`str` çağrısı " "parametrelendirilmiş türü gösterir::" -#: library/stdtypes.rst:4997 +#: library/stdtypes.rst:4998 msgid "" "The :meth:`~object.__getitem__` method of generic containers will raise an " "exception to disallow mistakes like ``dict[str][str]``::" @@ -6145,7 +6145,7 @@ msgstr "" "Genel kapsayıcıların :meth:`~object.__getitem__` metodu, ``dict[str][str]`` " "gibi hatalara izin vermemek için bir istisna oluşturacaktır::" -#: library/stdtypes.rst:5005 +#: library/stdtypes.rst:5006 msgid "" "However, such expressions are valid when :ref:`type variables <generics>` " "are used. The index must have as many elements as there are type variable " @@ -6155,11 +6155,11 @@ msgstr "" "geçerlidir. Dizin, ``GenericAlias`` nesnesinin :attr:`~genericalias." "__args__` öğesindeki tür değişkeni öğeleri kadar öğeye sahip olmalıdır::" -#: library/stdtypes.rst:5016 +#: library/stdtypes.rst:5017 msgid "Standard Generic Classes" msgstr "Standart Jenerik Sınıflar" -#: library/stdtypes.rst:5018 +#: library/stdtypes.rst:5019 msgid "" "The following standard library classes support parameterized generics. This " "list is non-exhaustive." @@ -6167,235 +6167,235 @@ msgstr "" "Bu standart kütüphane sınıfları parametrelendirilmiş jenerikleri destekler. " "Bu liste kapsamlı değildir." -#: library/stdtypes.rst:5021 +#: library/stdtypes.rst:5022 msgid ":class:`tuple`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:5022 +#: library/stdtypes.rst:5023 msgid ":class:`list`" msgstr ":class:`list`" -#: library/stdtypes.rst:5023 +#: library/stdtypes.rst:5024 msgid ":class:`dict`" msgstr ":class:`dict`" -#: library/stdtypes.rst:5024 +#: library/stdtypes.rst:5025 msgid ":class:`set`" msgstr ":class:`set`" -#: library/stdtypes.rst:5025 +#: library/stdtypes.rst:5026 msgid ":class:`frozenset`" msgstr ":class:`frozenset`" -#: library/stdtypes.rst:5026 +#: library/stdtypes.rst:5027 msgid ":class:`type`" msgstr ":class:`type`" -#: library/stdtypes.rst:5027 +#: library/stdtypes.rst:5028 msgid ":class:`collections.deque`" msgstr ":class:`collections.deque`" -#: library/stdtypes.rst:5028 +#: library/stdtypes.rst:5029 msgid ":class:`collections.defaultdict`" msgstr ":class:`collections.defaultdict`" -#: library/stdtypes.rst:5029 +#: library/stdtypes.rst:5030 msgid ":class:`collections.OrderedDict`" msgstr ":class:`collections.OrderedDict`" -#: library/stdtypes.rst:5030 +#: library/stdtypes.rst:5031 msgid ":class:`collections.Counter`" msgstr ":class:`collections.Counter`" -#: library/stdtypes.rst:5031 +#: library/stdtypes.rst:5032 msgid ":class:`collections.ChainMap`" msgstr ":class:`collections.ChainMap`" -#: library/stdtypes.rst:5032 +#: library/stdtypes.rst:5033 msgid ":class:`collections.abc.Awaitable`" msgstr ":class:`collections.abc.Awaitable`" -#: library/stdtypes.rst:5033 +#: library/stdtypes.rst:5034 msgid ":class:`collections.abc.Coroutine`" msgstr ":class:`collections.abc.Coroutine`" -#: library/stdtypes.rst:5034 +#: library/stdtypes.rst:5035 msgid ":class:`collections.abc.AsyncIterable`" msgstr ":class:`collections.abc.AsyncIterable`" -#: library/stdtypes.rst:5035 +#: library/stdtypes.rst:5036 msgid ":class:`collections.abc.AsyncIterator`" msgstr ":class:`collections.abc.AsyncIterator`" -#: library/stdtypes.rst:5036 +#: library/stdtypes.rst:5037 msgid ":class:`collections.abc.AsyncGenerator`" msgstr ":class:`collections.abc.AsyncGenerator`" -#: library/stdtypes.rst:5037 +#: library/stdtypes.rst:5038 msgid ":class:`collections.abc.Iterable`" msgstr ":class:`collections.abc.Iterable`" -#: library/stdtypes.rst:5038 +#: library/stdtypes.rst:5039 msgid ":class:`collections.abc.Iterator`" msgstr ":class:`collections.abc.Iterator`" -#: library/stdtypes.rst:5039 +#: library/stdtypes.rst:5040 msgid ":class:`collections.abc.Generator`" msgstr ":class:`collections.abc.Generator`" -#: library/stdtypes.rst:5040 +#: library/stdtypes.rst:5041 msgid ":class:`collections.abc.Reversible`" msgstr ":class:`collections.abc.Reversible`" -#: library/stdtypes.rst:5041 +#: library/stdtypes.rst:5042 msgid ":class:`collections.abc.Container`" msgstr ":class:`collections.abc.Container`" -#: library/stdtypes.rst:5042 +#: library/stdtypes.rst:5043 msgid ":class:`collections.abc.Collection`" msgstr ":class:`collections.abc.Collection`" -#: library/stdtypes.rst:5043 +#: library/stdtypes.rst:5044 msgid ":class:`collections.abc.Callable`" msgstr ":class:`collections.abc.Callable`" -#: library/stdtypes.rst:5044 +#: library/stdtypes.rst:5045 msgid ":class:`collections.abc.Set`" msgstr ":class:`collections.abc.Set`" -#: library/stdtypes.rst:5045 +#: library/stdtypes.rst:5046 msgid ":class:`collections.abc.MutableSet`" msgstr ":class:`collections.abc.MutableSet`" -#: library/stdtypes.rst:5046 +#: library/stdtypes.rst:5047 msgid ":class:`collections.abc.Mapping`" msgstr ":class:`collections.abc.Mapping`" -#: library/stdtypes.rst:5047 +#: library/stdtypes.rst:5048 msgid ":class:`collections.abc.MutableMapping`" msgstr ":class:`collections.abc.MutableMapping`" -#: library/stdtypes.rst:5048 +#: library/stdtypes.rst:5049 msgid ":class:`collections.abc.Sequence`" msgstr ":class:`collections.abc.Sequence`" -#: library/stdtypes.rst:5049 +#: library/stdtypes.rst:5050 msgid ":class:`collections.abc.MutableSequence`" msgstr ":class:`collections.abc.MutableSequence`" -#: library/stdtypes.rst:5050 +#: library/stdtypes.rst:5051 msgid ":class:`collections.abc.ByteString`" msgstr ":class:`collections.abc.ByteString`" -#: library/stdtypes.rst:5051 +#: library/stdtypes.rst:5052 msgid ":class:`collections.abc.MappingView`" msgstr ":class:`collections.abc.MappingView`" -#: library/stdtypes.rst:5052 +#: library/stdtypes.rst:5053 msgid ":class:`collections.abc.KeysView`" msgstr ":class:`collections.abc.KeysView`" -#: library/stdtypes.rst:5053 +#: library/stdtypes.rst:5054 msgid ":class:`collections.abc.ItemsView`" msgstr ":class:`collections.abc.ItemsView`" -#: library/stdtypes.rst:5054 +#: library/stdtypes.rst:5055 msgid ":class:`collections.abc.ValuesView`" msgstr ":class:`collections.abc.ValuesView`" -#: library/stdtypes.rst:5055 +#: library/stdtypes.rst:5056 msgid ":class:`contextlib.AbstractContextManager`" msgstr ":class:`contextlib.AbstractContextManager`" -#: library/stdtypes.rst:5056 +#: library/stdtypes.rst:5057 msgid ":class:`contextlib.AbstractAsyncContextManager`" msgstr ":class:`contextlib.AbstractAsyncContextManager`" -#: library/stdtypes.rst:5057 +#: library/stdtypes.rst:5058 msgid ":class:`dataclasses.Field`" msgstr ":class:`dataclasses.Field`" -#: library/stdtypes.rst:5058 +#: library/stdtypes.rst:5059 msgid ":class:`functools.cached_property`" msgstr ":class:`functools.cached_property`" -#: library/stdtypes.rst:5059 +#: library/stdtypes.rst:5060 msgid ":class:`functools.partialmethod`" msgstr "" -#: library/stdtypes.rst:5060 +#: library/stdtypes.rst:5061 msgid ":class:`os.PathLike`" msgstr ":class:`os.PathLike`" -#: library/stdtypes.rst:5061 +#: library/stdtypes.rst:5062 msgid ":class:`queue.LifoQueue`" msgstr ":class:`queue.LifoQueue`" -#: library/stdtypes.rst:5062 +#: library/stdtypes.rst:5063 msgid ":class:`queue.Queue`" msgstr ":class:`queue.Queue`" -#: library/stdtypes.rst:5063 +#: library/stdtypes.rst:5064 msgid ":class:`queue.PriorityQueue`" msgstr ":class:`queue.PriorityQueue`" -#: library/stdtypes.rst:5064 +#: library/stdtypes.rst:5065 msgid ":class:`queue.SimpleQueue`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:5065 +#: library/stdtypes.rst:5066 msgid ":ref:`re.Pattern <re-objects>`" msgstr ":ref:`re.Pattern <re-objects>`" -#: library/stdtypes.rst:5066 +#: library/stdtypes.rst:5067 msgid ":ref:`re.Match <match-objects>`" msgstr ":ref:`re.Match <match-objects>`" -#: library/stdtypes.rst:5067 +#: library/stdtypes.rst:5068 msgid ":class:`shelve.BsdDbShelf`" msgstr ":class:`shelve.BsdDbShelf`" -#: library/stdtypes.rst:5068 +#: library/stdtypes.rst:5069 msgid ":class:`shelve.DbfilenameShelf`" msgstr ":class:`shelve.DbfilenameShelf`" -#: library/stdtypes.rst:5069 +#: library/stdtypes.rst:5070 msgid ":class:`shelve.Shelf`" msgstr ":class:`shelve.Shelf`" -#: library/stdtypes.rst:5070 +#: library/stdtypes.rst:5071 msgid ":class:`types.MappingProxyType`" msgstr ":class:`types.MappingProxyType`" -#: library/stdtypes.rst:5071 +#: library/stdtypes.rst:5072 msgid ":class:`weakref.WeakKeyDictionary`" msgstr "" -#: library/stdtypes.rst:5072 +#: library/stdtypes.rst:5073 msgid ":class:`weakref.WeakMethod`" msgstr "" -#: library/stdtypes.rst:5073 +#: library/stdtypes.rst:5074 msgid ":class:`weakref.WeakSet`" msgstr ":class:`weakref.WeakSet`" -#: library/stdtypes.rst:5074 +#: library/stdtypes.rst:5075 msgid ":class:`weakref.WeakValueDictionary`" msgstr "" -#: library/stdtypes.rst:5079 +#: library/stdtypes.rst:5080 msgid "Special Attributes of ``GenericAlias`` objects" msgstr "``GenericAlias`` objesinin Özel Öznitelikleri" -#: library/stdtypes.rst:5081 +#: library/stdtypes.rst:5082 msgid "All parameterized generics implement special read-only attributes." msgstr "Tüm parametreli jenerikler özel salt okunur öznitelikler uygular." -#: library/stdtypes.rst:5085 +#: library/stdtypes.rst:5086 msgid "This attribute points at the non-parameterized generic class::" msgstr "Bu öznitelik, parametrelendirilmemiş genel sınıfa işaret eder::" -#: library/stdtypes.rst:5093 +#: library/stdtypes.rst:5094 msgid "" "This attribute is a :class:`tuple` (possibly of length 1) of generic types " "passed to the original :meth:`~object.__class_getitem__` of the generic " @@ -6405,7 +6405,7 @@ msgstr "" "öğesine iletilen jenerik tiplerinden bir :class:`tuple` 'dır (muhtemelen 1 " "uzunluğunda)::" -#: library/stdtypes.rst:5103 +#: library/stdtypes.rst:5104 msgid "" "This attribute is a lazily computed tuple (possibly empty) of unique type " "variables found in ``__args__``::" @@ -6413,7 +6413,7 @@ msgstr "" "Bu öznitelik, ''__args__'' içinde bulunan benzersiz tür değişkenlerin tembel " "bir şekilde hesaplanmış bir demetidir (muhtemelen boş):" -#: library/stdtypes.rst:5114 +#: library/stdtypes.rst:5115 msgid "" "A ``GenericAlias`` object with :class:`typing.ParamSpec` parameters may not " "have correct ``__parameters__`` after substitution because :class:`typing." @@ -6423,49 +6423,49 @@ msgstr "" "değiştirildikten sonra doğru ``__parameters__`` olmayabilir çünkü :class:" "`typing.ParamSpec` öncelikle statik tip kontrolü için tasarlanmıştır." -#: library/stdtypes.rst:5121 +#: library/stdtypes.rst:5122 msgid "" "A boolean that is true if the alias has been unpacked using the ``*`` " "operator (see :data:`~typing.TypeVarTuple`)." msgstr "" -#: library/stdtypes.rst:5130 +#: library/stdtypes.rst:5131 msgid ":pep:`484` - Type Hints" msgstr "" -#: library/stdtypes.rst:5130 +#: library/stdtypes.rst:5131 msgid "Introducing Python's framework for type annotations." msgstr "" -#: library/stdtypes.rst:5135 +#: library/stdtypes.rst:5136 msgid ":pep:`585` - Type Hinting Generics In Standard Collections" msgstr "" ":pep:`585` - Standart Koleksiyonlarda Tip İma Etme (Type Hinting) Jenerikleri" -#: library/stdtypes.rst:5133 +#: library/stdtypes.rst:5134 msgid "" "Introducing the ability to natively parameterize standard-library classes, " "provided they implement the special class method :meth:`~object." "__class_getitem__`." msgstr "" -#: library/stdtypes.rst:5138 +#: library/stdtypes.rst:5139 msgid "" ":ref:`Generics`, :ref:`user-defined generics <user-defined-generics>` and :" "class:`typing.Generic`" msgstr "" -#: library/stdtypes.rst:5138 +#: library/stdtypes.rst:5139 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." msgstr "" -#: library/stdtypes.rst:5147 +#: library/stdtypes.rst:5148 msgid "Union Type" msgstr "Sendika Türü" -#: library/stdtypes.rst:5153 +#: library/stdtypes.rst:5154 msgid "" "A union object holds the value of the ``|`` (bitwise or) operation on " "multiple :ref:`type objects <bltin-type-objects>`. These types are intended " @@ -6479,7 +6479,7 @@ msgstr "" "Birleşim türü ifadesi, aşağıdakilere kıyasla daha temiz tür ipucu sözdizimi " "sağlar :data:`typing.Union`." -#: library/stdtypes.rst:5160 +#: library/stdtypes.rst:5161 msgid "" "Defines a union object which holds types *X*, *Y*, and so forth. ``X | Y`` " "means either X or Y. It is equivalent to ``typing.Union[X, Y]``. For " @@ -6490,7 +6490,7 @@ msgstr "" "anlamına gelir. Bu, ``typing.Union[X, Y]`` ile eş değerdir. Örneğin, " "aşağıdaki işlev :class:`int` veya :class:`float`::" -#: library/stdtypes.rst:5170 +#: library/stdtypes.rst:5171 msgid "" "The ``|`` operand cannot be used at runtime to define unions where one or " "more members is a forward reference. For example, ``int | \"Foo\"``, where " @@ -6499,34 +6499,34 @@ msgid "" "a string, e.g. ``\"int | Foo\"``." msgstr "" -#: library/stdtypes.rst:5178 +#: library/stdtypes.rst:5179 msgid "" "Union objects can be tested for equality with other union objects. Details:" msgstr "" "Birlik nesneleri, diğer birlik nesneleriyle eşitlik açısından test " "edilebilir. Detaylar:" -#: library/stdtypes.rst:5180 +#: library/stdtypes.rst:5181 msgid "Unions of unions are flattened::" msgstr "Birliklerin birlikleri düzleştirimiştir::" -#: library/stdtypes.rst:5184 +#: library/stdtypes.rst:5185 msgid "Redundant types are removed::" msgstr "Gereksiz türler kaldırılır::" -#: library/stdtypes.rst:5188 +#: library/stdtypes.rst:5189 msgid "When comparing unions, the order is ignored::" msgstr "Birlikleri karşılaştırırken, sipariş göz ardı edilir::" -#: library/stdtypes.rst:5192 +#: library/stdtypes.rst:5193 msgid "It is compatible with :data:`typing.Union`::" msgstr ":data:`typing.Union`:: ile uyumludur:" -#: library/stdtypes.rst:5196 +#: library/stdtypes.rst:5197 msgid "Optional types can be spelled as a union with ``None``::" msgstr "İsteğe bağlı türler ``None``:: ile bir birlik olarak yazılabilir:" -#: library/stdtypes.rst:5203 +#: library/stdtypes.rst:5204 msgid "" "Calls to :func:`isinstance` and :func:`issubclass` are also supported with a " "union object::" @@ -6534,14 +6534,14 @@ msgstr "" ":func:`isinstance` ve :func:`issubclass` çağrıları da bir birlik nesnesiyle " "desteklenir::" -#: library/stdtypes.rst:5209 +#: library/stdtypes.rst:5210 #, fuzzy msgid "" "However, :ref:`parameterized generics <types-genericalias>` in union objects " "cannot be checked::" msgstr "Ancak, :ref:`types-genericalias` içeren union nesneleri kullanılamaz::" -#: library/stdtypes.rst:5219 +#: library/stdtypes.rst:5220 msgid "" "The user-exposed type for the union object can be accessed from :data:`types." "UnionType` and used for :func:`isinstance` checks. An object cannot be " @@ -6551,7 +6551,7 @@ msgstr "" "erişilebilir ve :func:`isinstance` kontrolleri için kullanılabilir. Bir " "nesne şu türden örneklenemez::" -#: library/stdtypes.rst:5232 +#: library/stdtypes.rst:5233 msgid "" "The :meth:`__or__` method for type objects was added to support the syntax " "``X | Y``. If a metaclass implements :meth:`__or__`, the Union may override " @@ -6561,15 +6561,15 @@ msgstr "" "için eklendi. Eğer bir metaclass :meth:`__or__` metodunu uygularsa, Union " "bunu geçersiz kılabilir::" -#: library/stdtypes.rst:5250 +#: library/stdtypes.rst:5251 msgid ":pep:`604` -- PEP proposing the ``X | Y`` syntax and the Union type." msgstr ":pep:`604` -- ``X | Y`` sözdizimini ve Birlik türünü öneren PEP." -#: library/stdtypes.rst:5258 +#: library/stdtypes.rst:5259 msgid "Other Built-in Types" msgstr "Diğer Yerleşik Tipler" -#: library/stdtypes.rst:5260 +#: library/stdtypes.rst:5261 msgid "" "The interpreter supports several other kinds of objects. Most of these " "support only one or two operations." @@ -6577,11 +6577,11 @@ msgstr "" "Yorumlayıcı başka nesne türlerini de destekler. Bunların çoğu yalnızca bir " "veya iki işlemi destekler." -#: library/stdtypes.rst:5267 +#: library/stdtypes.rst:5268 msgid "Modules" msgstr "Modüller" -#: library/stdtypes.rst:5269 +#: library/stdtypes.rst:5270 msgid "" "The only special operation on a module is attribute access: ``m.name``, " "where *m* is a module and *name* accesses a name defined in *m*'s symbol " @@ -6599,7 +6599,7 @@ msgstr "" "bunun yerine bir yerlerde *foo* adında bir modül için (harici) bir " "*tanımlama* gerektirir)" -#: library/stdtypes.rst:5276 +#: library/stdtypes.rst:5277 msgid "" "A special attribute of every module is :attr:`~object.__dict__`. This is the " "dictionary containing the module's symbol table. Modifying this dictionary " @@ -6617,7 +6617,7 @@ msgstr "" "`` yazamazsınız). :attr:`~object.__dict__` öğesinin doğrudan değiştirilmesi " "önerilmez." -#: library/stdtypes.rst:5284 +#: library/stdtypes.rst:5285 msgid "" "Modules built into the interpreter are written like this: ``<module " "'sys' (built-in)>``. If loaded from a file, they are written as ``<module " @@ -6627,19 +6627,19 @@ msgstr "" "'sys' (built-in)>``. Eğer bir dosyadan yüklenmişlerse, ``<module 'os' from " "'/usr/local/lib/pythonX.Y/os.pyc'>`` şeklinde yazılırlar." -#: library/stdtypes.rst:5292 +#: library/stdtypes.rst:5293 msgid "Classes and Class Instances" msgstr "Sınıflar ve Sınıf Örnekleri" -#: library/stdtypes.rst:5294 +#: library/stdtypes.rst:5295 msgid "See :ref:`objects` and :ref:`class` for these." msgstr "Bunlar için :ref:`class` ve :ref:`objects` bakın." -#: library/stdtypes.rst:5300 +#: library/stdtypes.rst:5301 msgid "Functions" msgstr "Fonksiyonlar" -#: library/stdtypes.rst:5302 +#: library/stdtypes.rst:5303 msgid "" "Function objects are created by function definitions. The only operation on " "a function object is to call it: ``func(argument-list)``." @@ -6648,7 +6648,7 @@ msgstr "" "fonksiyon nesnesi üzerindeki tek işlem onu çağırmaktır: ``func(argument-" "list)``." -#: library/stdtypes.rst:5305 +#: library/stdtypes.rst:5306 msgid "" "There are really two flavors of function objects: built-in functions and " "user-defined functions. Both support the same operation (to call the " @@ -6660,15 +6660,15 @@ msgstr "" "çağırmak için), ancak uygulama farklıdır, dolayısıyla farklı nesne türleri " "vardır." -#: library/stdtypes.rst:5309 +#: library/stdtypes.rst:5310 msgid "See :ref:`function` for more information." msgstr "Daha fazla bilgi için :ref:`function` bölümüne bakınız." -#: library/stdtypes.rst:5315 +#: library/stdtypes.rst:5316 msgid "Methods" msgstr "Yöntemler" -#: library/stdtypes.rst:5319 +#: library/stdtypes.rst:5320 msgid "" "Methods are functions that are called using the attribute notation. There " "are two flavors: built-in methods (such as :meth:`append` on lists) and " @@ -6680,7 +6680,7 @@ msgstr "" "yöntemleri. Yerleşik yöntemler, onları destekleyen türlerle birlikte " "tanımlanır." -#: library/stdtypes.rst:5324 +#: library/stdtypes.rst:5325 msgid "" "If you access a method (a function defined in a class namespace) through an " "instance, you get a special object: a :dfn:`bound method` (also called :dfn:" @@ -6700,7 +6700,7 @@ msgstr "" "``m(arg-1, arg-2, ..., arg-n)`` çağrısı tamamen ``m.__func__(m.__self__, " "arg-1, arg-2, ..., arg-n)`` çağrısına eş değerdir." -#: library/stdtypes.rst:5333 +#: library/stdtypes.rst:5334 msgid "" "Like function objects, bound method objects support getting arbitrary " "attributes. However, since method attributes are actually stored on the " @@ -6717,15 +6717,15 @@ msgstr "" "ayarlamak için, bunu temel işlev nesnesi üzerinde açıkça ayarlamanız " "gerekir::" -#: library/stdtypes.rst:5384 +#: library/stdtypes.rst:5385 msgid "See :ref:`types` for more information." msgstr "Daha fazla bilgi için :ref:`types` sayfasına bakın." -#: library/stdtypes.rst:5361 +#: library/stdtypes.rst:5362 msgid "Code Objects" msgstr "Kod Nesneleri" -#: library/stdtypes.rst:5367 +#: library/stdtypes.rst:5368 msgid "" "Code objects are used by the implementation to represent \"pseudo-compiled\" " "executable Python code such as a function body. They differ from function " @@ -6741,7 +6741,7 @@ msgstr "" "tarafından döndürülür ve :attr:`__code__` niteliği aracılığıyla işlev " "nesnelerinden çıkarılabilir. Ayrıca :mod:`code` modülüne de bakınız." -#: library/stdtypes.rst:5374 +#: library/stdtypes.rst:5375 msgid "" "Accessing ``__code__`` raises an :ref:`auditing event <auditing>` ``object." "__getattr__`` with arguments ``obj`` and ``\"__code__\"``." @@ -6749,7 +6749,7 @@ msgstr "" "``__code__`` 'e erişmek,``obj`` ve ``\"__code__\"`` argümanlarıyla :ref:" "`denetim etkinliği <auditing>` ``object.__getattr__`` oluşturur." -#: library/stdtypes.rst:5381 +#: library/stdtypes.rst:5382 msgid "" "A code object can be executed or evaluated by passing it (instead of a " "source string) to the :func:`exec` or :func:`eval` built-in functions." @@ -6757,11 +6757,11 @@ msgstr "" "Bir kod nesnesi (kaynak dize yerine) :func:`exec` veya :func:`eval` yerleşik " "işlevlerine geçirilerek yürütülebilir veya değerlendirilebilir." -#: library/stdtypes.rst:5390 +#: library/stdtypes.rst:5391 msgid "Type Objects" msgstr "Type Objects" -#: library/stdtypes.rst:5396 +#: library/stdtypes.rst:5397 msgid "" "Type objects represent the various object types. An object's type is " "accessed by the built-in function :func:`type`. There are no special " @@ -6773,15 +6773,15 @@ msgstr "" "işlem yoktur. Standart modül :mod:`types` tüm standart yerleşik türler için " "isimleri tanımlar." -#: library/stdtypes.rst:5401 +#: library/stdtypes.rst:5402 msgid "Types are written like this: ``<class 'int'>``." msgstr "Türler şu şekilde yazılır: ``<class 'int'>``." -#: library/stdtypes.rst:5407 +#: library/stdtypes.rst:5408 msgid "The Null Object" msgstr "Null Nesne" -#: library/stdtypes.rst:5409 +#: library/stdtypes.rst:5410 msgid "" "This object is returned by functions that don't explicitly return a value. " "It supports no special operations. There is exactly one null object, named " @@ -6791,15 +6791,15 @@ msgstr "" "operasyonları desteklemez. Tam olarak ``None`` (yerleşik bir ad) adlı bir " "null nesne vardır. ``type(None)()`` aynı singleton'u üretir." -#: library/stdtypes.rst:5413 +#: library/stdtypes.rst:5414 msgid "It is written as ``None``." msgstr "''Yok'' olarak yazılmıştır." -#: library/stdtypes.rst:5420 +#: library/stdtypes.rst:5421 msgid "The Ellipsis Object" msgstr "Üç Nokta Nesnesi" -#: library/stdtypes.rst:5422 +#: library/stdtypes.rst:5423 msgid "" "This object is commonly used by slicing (see :ref:`slicings`). It supports " "no special operations. There is exactly one ellipsis object, named :const:" @@ -6811,15 +6811,15 @@ msgstr "" "ad) adında bir elips nesnesi vardır. ``type(Ellipsis)()``, :const:" "`Ellipsis` singletonunu üretir." -#: library/stdtypes.rst:5427 +#: library/stdtypes.rst:5428 msgid "It is written as ``Ellipsis`` or ``...``." msgstr "``Ellipsis`` veya ``...`` olarak yazılmıştır." -#: library/stdtypes.rst:5433 +#: library/stdtypes.rst:5434 msgid "The NotImplemented Object" msgstr "NotImplemented Nesnesi" -#: library/stdtypes.rst:5435 +#: library/stdtypes.rst:5436 msgid "" "This object is returned from comparisons and binary operations when they are " "asked to operate on types they don't support. See :ref:`comparisons` for " @@ -6831,15 +6831,15 @@ msgstr "" "ref:`comparisons` sayfasına bakın. Tam olarak bir ``NotImplemented`` " "nesnesi vardır. ``type(NotImplemented)()``, singleton örneğini üretir." -#: library/stdtypes.rst:5440 +#: library/stdtypes.rst:5441 msgid "It is written as ``NotImplemented``." msgstr "''NotImplemented'' olarak yazılmıştır." -#: library/stdtypes.rst:5446 +#: library/stdtypes.rst:5447 msgid "Internal Objects" msgstr "İç Nesneler" -#: library/stdtypes.rst:5448 +#: library/stdtypes.rst:5449 msgid "" "See :ref:`types` for this information. It describes stack frame objects, " "traceback objects, and slice objects." @@ -6847,11 +6847,11 @@ msgstr "" "Bu bilgi için :ref:`types` sayfasına bakın. Yığın çerçeve nesnelerini, geri " "izleme nesnelerini ve dilim nesnelerini açıklar." -#: library/stdtypes.rst:5455 +#: library/stdtypes.rst:5456 msgid "Special Attributes" msgstr "Özel Özellikler" -#: library/stdtypes.rst:5457 +#: library/stdtypes.rst:5458 msgid "" "The implementation adds a few special read-only attributes to several object " "types, where they are relevant. Some of these are not reported by the :func:" @@ -6861,7 +6861,7 @@ msgstr "" "öznitelik ekler. Bunlardan bazıları :func:`dir` yerleşik işlevi tarafından " "bildirilmez." -#: library/stdtypes.rst:5464 +#: library/stdtypes.rst:5465 msgid "" "A dictionary or other mapping object used to store an object's (writable) " "attributes." @@ -6869,20 +6869,20 @@ msgstr "" "Bir nesnenin (yazılabilir) özniteliklerini depolamak için kullanılan sözlük " "veya başka bir eşleme nesnesi." -#: library/stdtypes.rst:5470 +#: library/stdtypes.rst:5471 msgid "The class to which a class instance belongs." msgstr "Bir sınıf örneğinin ait olduğu sınıf." -#: library/stdtypes.rst:5475 +#: library/stdtypes.rst:5476 msgid "The tuple of base classes of a class object." msgstr "Bir sınıf elemanının temel sınıflarının kümesi." -#: library/stdtypes.rst:5480 +#: library/stdtypes.rst:5481 msgid "" "The name of the class, function, method, descriptor, or generator instance." msgstr "Sınıf, fonksiyon, yöntem, tanımlayıcı veya üretici örneğinin adı." -#: library/stdtypes.rst:5486 +#: library/stdtypes.rst:5487 msgid "" "The :term:`qualified name` of the class, function, method, descriptor, or " "generator instance." @@ -6890,13 +6890,13 @@ msgstr "" "Sınıf, fonksiyon, yöntem, tanımlayıcı veya üretici örneğinin :term:" "`qualified name`." -#: library/stdtypes.rst:5494 +#: library/stdtypes.rst:5495 msgid "" "The :ref:`type parameters <type-params>` of generic classes, functions, and :" "ref:`type aliases <type-aliases>`." msgstr "" -#: library/stdtypes.rst:5502 +#: library/stdtypes.rst:5503 msgid "" "This attribute is a tuple of classes that are considered when looking for " "base classes during method resolution." @@ -6904,7 +6904,7 @@ msgstr "" "Bu öznitelik, yöntem çözümlemesi sırasında temel sınıfları ararken dikkate " "alınan bir sınıf kümesidir." -#: library/stdtypes.rst:5508 +#: library/stdtypes.rst:5509 msgid "" "This method can be overridden by a metaclass to customize the method " "resolution order for its instances. It is called at class instantiation, " @@ -6914,7 +6914,7 @@ msgstr "" "meta sınıf tarafından geçersiz kılınabilir. Sınıf örneğinde çağrılır ve " "sonucu :attr:`~class.__mro__` içinde depolanır." -#: library/stdtypes.rst:5515 +#: library/stdtypes.rst:5516 msgid "" "Each class keeps a list of weak references to its immediate subclasses. " "This method returns a list of all those references still alive. The list is " @@ -6924,11 +6924,11 @@ msgstr "" "tutar. Bu yöntem, hala var olan tüm bu başvuruların bir listesini " "döndürür. Liste tanım sırasına göredir. Örnek::" -#: library/stdtypes.rst:5526 +#: library/stdtypes.rst:5527 msgid "Integer string conversion length limitation" msgstr "" -#: library/stdtypes.rst:5528 +#: library/stdtypes.rst:5529 msgid "" "CPython has a global limit for converting between :class:`int` and :class:" "`str` to mitigate denial of service attacks. This limit *only* applies to " @@ -6936,7 +6936,7 @@ msgid "" "binary conversions are unlimited. The limit can be configured." msgstr "" -#: library/stdtypes.rst:5533 +#: library/stdtypes.rst:5534 msgid "" "The :class:`int` type in CPython is an arbitrary length number stored in " "binary form (commonly known as a \"bignum\"). There exists no algorithm that " @@ -6946,25 +6946,25 @@ msgid "" "value such as ``int('1' * 500_000)`` can take over a second on a fast CPU." msgstr "" -#: library/stdtypes.rst:5540 +#: library/stdtypes.rst:5541 msgid "" "Limiting conversion size offers a practical way to avoid `CVE-2020-10735 " "<https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735>`_." msgstr "" -#: library/stdtypes.rst:5543 +#: library/stdtypes.rst:5544 msgid "" "The limit is applied to the number of digit characters in the input or " "output string when a non-linear conversion algorithm would be involved. " "Underscores and the sign are not counted towards the limit." msgstr "" -#: library/stdtypes.rst:5547 +#: library/stdtypes.rst:5548 msgid "" "When an operation would exceed the limit, a :exc:`ValueError` is raised:" msgstr "" -#: library/stdtypes.rst:5569 +#: library/stdtypes.rst:5570 msgid "" "The default limit is 4300 digits as provided in :data:`sys.int_info." "default_max_str_digits <sys.int_info>`. The lowest limit that can be " @@ -6972,95 +6972,95 @@ msgid "" "str_digits_check_threshold <sys.int_info>`." msgstr "" -#: library/stdtypes.rst:5574 +#: library/stdtypes.rst:5575 msgid "Verification:" msgstr "Doğrulama" -#: library/stdtypes.rst:5589 +#: library/stdtypes.rst:5590 msgid "Affected APIs" msgstr "" -#: library/stdtypes.rst:5591 +#: library/stdtypes.rst:5592 msgid "" "The limitation only applies to potentially slow conversions between :class:" "`int` and :class:`str` or :class:`bytes`:" msgstr "" -#: library/stdtypes.rst:5594 +#: library/stdtypes.rst:5595 msgid "``int(string)`` with default base 10." msgstr "" -#: library/stdtypes.rst:5595 +#: library/stdtypes.rst:5596 msgid "``int(string, base)`` for all bases that are not a power of 2." msgstr "" -#: library/stdtypes.rst:5596 +#: library/stdtypes.rst:5597 msgid "``str(integer)``." msgstr "" -#: library/stdtypes.rst:5597 +#: library/stdtypes.rst:5598 msgid "``repr(integer)``." msgstr "" -#: library/stdtypes.rst:5598 +#: library/stdtypes.rst:5599 msgid "" "any other string conversion to base 10, for example ``f\"{integer}\"``, " "``\"{}\".format(integer)``, or ``b\"%d\" % integer``." msgstr "" -#: library/stdtypes.rst:5601 +#: library/stdtypes.rst:5602 msgid "The limitations do not apply to functions with a linear algorithm:" msgstr "" -#: library/stdtypes.rst:5603 +#: library/stdtypes.rst:5604 msgid "``int(string, base)`` with base 2, 4, 8, 16, or 32." msgstr "" -#: library/stdtypes.rst:5604 +#: library/stdtypes.rst:5605 msgid ":func:`int.from_bytes` and :func:`int.to_bytes`." msgstr "" -#: library/stdtypes.rst:5605 +#: library/stdtypes.rst:5606 msgid ":func:`hex`, :func:`oct`, :func:`bin`." msgstr "" -#: library/stdtypes.rst:5606 +#: library/stdtypes.rst:5607 msgid ":ref:`formatspec` for hex, octal, and binary numbers." msgstr "" -#: library/stdtypes.rst:5607 +#: library/stdtypes.rst:5608 #, fuzzy msgid ":class:`str` to :class:`float`." msgstr ":class:`str` 'den :class:`float` 'a." -#: library/stdtypes.rst:5608 +#: library/stdtypes.rst:5609 msgid ":class:`str` to :class:`decimal.Decimal`." msgstr "" -#: library/stdtypes.rst:5611 +#: library/stdtypes.rst:5612 msgid "Configuring the limit" msgstr "" -#: library/stdtypes.rst:5613 +#: library/stdtypes.rst:5614 msgid "" "Before Python starts up you can use an environment variable or an " "interpreter command line flag to configure the limit:" msgstr "" -#: library/stdtypes.rst:5616 +#: library/stdtypes.rst:5617 msgid "" ":envvar:`PYTHONINTMAXSTRDIGITS`, e.g. ``PYTHONINTMAXSTRDIGITS=640 python3`` " "to set the limit to 640 or ``PYTHONINTMAXSTRDIGITS=0 python3`` to disable " "the limitation." msgstr "" -#: library/stdtypes.rst:5619 +#: library/stdtypes.rst:5620 msgid "" ":option:`-X int_max_str_digits <-X>`, e.g. ``python3 -X " "int_max_str_digits=640``" msgstr "" -#: library/stdtypes.rst:5621 +#: library/stdtypes.rst:5622 msgid "" ":data:`sys.flags.int_max_str_digits` contains the value of :envvar:" "`PYTHONINTMAXSTRDIGITS` or :option:`-X int_max_str_digits <-X>`. If both the " @@ -7069,38 +7069,38 @@ msgid "" "int_info.default_max_str_digits` was used during initialization." msgstr "" -#: library/stdtypes.rst:5627 +#: library/stdtypes.rst:5628 msgid "" "From code, you can inspect the current limit and set a new one using these :" "mod:`sys` APIs:" msgstr "" -#: library/stdtypes.rst:5630 +#: library/stdtypes.rst:5631 msgid "" ":func:`sys.get_int_max_str_digits` and :func:`sys.set_int_max_str_digits` " "are a getter and setter for the interpreter-wide limit. Subinterpreters have " "their own limit." msgstr "" -#: library/stdtypes.rst:5634 +#: library/stdtypes.rst:5635 msgid "" "Information about the default and minimum can be found in :data:`sys." "int_info`:" msgstr "" -#: library/stdtypes.rst:5636 +#: library/stdtypes.rst:5637 msgid "" ":data:`sys.int_info.default_max_str_digits <sys.int_info>` is the compiled-" "in default limit." msgstr "" -#: library/stdtypes.rst:5638 +#: library/stdtypes.rst:5639 msgid "" ":data:`sys.int_info.str_digits_check_threshold <sys.int_info>` is the lowest " "accepted value for the limit (other than 0 which disables it)." msgstr "" -#: library/stdtypes.rst:5645 +#: library/stdtypes.rst:5646 msgid "" "Setting a low limit *can* lead to problems. While rare, code exists that " "contains integer constants in decimal in their source that exceed the " @@ -7112,7 +7112,7 @@ msgid "" "constants is to convert them to ``0x`` hexadecimal form as it has no limit." msgstr "" -#: library/stdtypes.rst:5654 +#: library/stdtypes.rst:5655 msgid "" "Test your application thoroughly if you use a low limit. Ensure your tests " "run with the limit set early via the environment or flag so that it applies " @@ -7120,11 +7120,11 @@ msgid "" "to precompile ``.py`` sources to ``.pyc`` files." msgstr "" -#: library/stdtypes.rst:5660 +#: library/stdtypes.rst:5661 msgid "Recommended configuration" msgstr "" -#: library/stdtypes.rst:5662 +#: library/stdtypes.rst:5663 msgid "" "The default :data:`sys.int_info.default_max_str_digits` is expected to be " "reasonable for most applications. If your application requires a different " @@ -7132,19 +7132,19 @@ msgid "" "as these APIs were added in security patch releases in versions before 3.12." msgstr "" -#: library/stdtypes.rst:5667 +#: library/stdtypes.rst:5668 msgid "Example::" msgstr "Örnek::" -#: library/stdtypes.rst:5679 +#: library/stdtypes.rst:5680 msgid "If you need to disable it entirely, set it to ``0``." msgstr "" -#: library/stdtypes.rst:5683 +#: library/stdtypes.rst:5684 msgid "Footnotes" msgstr "Dipnotlar" -#: library/stdtypes.rst:5684 +#: library/stdtypes.rst:5685 msgid "" "Additional information on these special methods may be found in the Python " "Reference Manual (:ref:`customization`)." @@ -7152,7 +7152,7 @@ msgstr "" "Bu özel yöntemler hakkında daha fazla bilgi Python Referans El Kitabında (:" "ref:`customization`) bulunabilir." -#: library/stdtypes.rst:5687 +#: library/stdtypes.rst:5688 msgid "" "As a consequence, the list ``[1, 2]`` is considered equal to ``[1.0, 2.0]``, " "and similarly for tuples." @@ -7160,12 +7160,12 @@ msgstr "" "Sonuç olarak, ``[1, 2]`` listesi ``[1.0, 2.0]`` ve benzer şekilde demetler " "için eşit kabul edilir." -#: library/stdtypes.rst:5690 +#: library/stdtypes.rst:5691 msgid "They must have since the parser can't tell the type of the operands." msgstr "" "Ayrıştırıcı, işlenenlerin türünü söyleyemediğinden sahip olmaları gerekir." -#: library/stdtypes.rst:5692 +#: library/stdtypes.rst:5693 msgid "" "Cased characters are those with general category property being one of " "\"Lu\" (Letter, uppercase), \"Ll\" (Letter, lowercase), or \"Lt\" (Letter, " @@ -7175,7 +7175,7 @@ msgstr "" "\"Ll\" (Harf, küçük harf) veya \"Lt\" (Harf, başlık) karakterlerinden biri " "olan karakterlerdir." -#: library/stdtypes.rst:5695 +#: library/stdtypes.rst:5696 msgid "" "To format only a tuple you should therefore provide a singleton tuple whose " "only element is the tuple to be formatted." @@ -7188,12 +7188,12 @@ msgstr "" msgid "built-in" msgstr "Gömülü Türler" -#: library/stdtypes.rst:315 library/stdtypes.rst:948 library/stdtypes.rst:1137 -#: library/stdtypes.rst:4419 library/stdtypes.rst:5392 +#: library/stdtypes.rst:315 library/stdtypes.rst:949 library/stdtypes.rst:1138 +#: library/stdtypes.rst:4420 library/stdtypes.rst:5393 msgid "types" msgstr "" -#: library/stdtypes.rst:1152 library/stdtypes.rst:4419 +#: library/stdtypes.rst:1153 library/stdtypes.rst:4420 msgid "statement" msgstr "" @@ -7213,7 +7213,7 @@ msgstr "" msgid "value" msgstr "" -#: library/stdtypes.rst:80 library/stdtypes.rst:815 +#: library/stdtypes.rst:80 library/stdtypes.rst:816 #, fuzzy msgid "Boolean" msgstr "Boolean Değerleri" @@ -7240,7 +7240,7 @@ msgid "False (Built-in object)" msgstr "" #: library/stdtypes.rst:97 library/stdtypes.rst:194 library/stdtypes.rst:392 -#: library/stdtypes.rst:948 +#: library/stdtypes.rst:949 #, fuzzy msgid "operator" msgstr "İşlem" @@ -7253,11 +7253,11 @@ msgstr "" msgid "and" msgstr "" -#: library/stdtypes.rst:815 +#: library/stdtypes.rst:816 msgid "False" msgstr "" -#: library/stdtypes.rst:815 +#: library/stdtypes.rst:816 msgid "True" msgstr "" @@ -7313,11 +7313,11 @@ msgstr "" msgid "is not" msgstr "``is not``" -#: library/stdtypes.rst:207 library/stdtypes.rst:1115 library/stdtypes.rst:1257 -#: library/stdtypes.rst:1380 library/stdtypes.rst:1538 -#: library/stdtypes.rst:2531 library/stdtypes.rst:4218 -#: library/stdtypes.rst:4894 library/stdtypes.rst:5317 -#: library/stdtypes.rst:5356 +#: library/stdtypes.rst:207 library/stdtypes.rst:1116 library/stdtypes.rst:1258 +#: library/stdtypes.rst:1381 library/stdtypes.rst:1539 +#: library/stdtypes.rst:2532 library/stdtypes.rst:4219 +#: library/stdtypes.rst:4895 library/stdtypes.rst:5318 +#: library/stdtypes.rst:5357 #, fuzzy msgid "object" msgstr "Kod Nesneleri" @@ -7360,11 +7360,11 @@ msgstr "" msgid "__ge__() (instance method)" msgstr "" -#: library/stdtypes.rst:948 +#: library/stdtypes.rst:949 msgid "in" msgstr "" -#: library/stdtypes.rst:948 +#: library/stdtypes.rst:949 #, fuzzy msgid "not in" msgstr "``x not in s``" @@ -7410,8 +7410,8 @@ msgstr "" msgid "arithmetic" msgstr "" -#: library/stdtypes.rst:948 library/stdtypes.rst:4419 library/stdtypes.rst:5377 -#: library/stdtypes.rst:5392 +#: library/stdtypes.rst:949 library/stdtypes.rst:4420 library/stdtypes.rst:5378 +#: library/stdtypes.rst:5393 msgid "built-in function" msgstr "" @@ -7428,7 +7428,7 @@ msgstr "" msgid "complex" msgstr ":func:`complex`" -#: library/stdtypes.rst:2388 library/stdtypes.rst:3606 +#: library/stdtypes.rst:2389 library/stdtypes.rst:3607 msgid "+ (plus)" msgstr "" @@ -7442,11 +7442,11 @@ msgstr "Grup Ayırıcı" msgid "binary operator" msgstr "Satır Ayrıcı" -#: library/stdtypes.rst:2388 library/stdtypes.rst:3606 +#: library/stdtypes.rst:2389 library/stdtypes.rst:3607 msgid "- (minus)" msgstr "" -#: library/stdtypes.rst:2345 library/stdtypes.rst:3563 +#: library/stdtypes.rst:2346 library/stdtypes.rst:3564 msgid "* (asterisk)" msgstr "" @@ -7458,7 +7458,7 @@ msgstr "" msgid "//" msgstr "" -#: library/stdtypes.rst:2315 library/stdtypes.rst:3531 +#: library/stdtypes.rst:2316 library/stdtypes.rst:3532 msgid "% (percent)" msgstr "" @@ -7466,7 +7466,7 @@ msgstr "" msgid "**" msgstr "" -#: library/stdtypes.rst:392 library/stdtypes.rst:1152 library/stdtypes.rst:4419 +#: library/stdtypes.rst:392 library/stdtypes.rst:1153 library/stdtypes.rst:4420 #, fuzzy msgid "operations on" msgstr "İşlem" @@ -7476,7 +7476,7 @@ msgstr "İşlem" msgid "conjugate() (complex number method)" msgstr "*c* karmaşık sayısının eşleniği" -#: library/stdtypes.rst:1604 library/stdtypes.rst:5392 +#: library/stdtypes.rst:1605 library/stdtypes.rst:5393 #, fuzzy msgid "module" msgstr "Modüller" @@ -7537,402 +7537,402 @@ msgstr "" msgid "~ (tilde)" msgstr "" -#: library/stdtypes.rst:815 +#: library/stdtypes.rst:816 msgid "values" msgstr "" -#: library/stdtypes.rst:845 +#: library/stdtypes.rst:846 msgid "iterator protocol" msgstr "" -#: library/stdtypes.rst:4809 +#: library/stdtypes.rst:4810 msgid "protocol" msgstr "" -#: library/stdtypes.rst:845 +#: library/stdtypes.rst:846 #, fuzzy msgid "iterator" msgstr "Yineleyici Türleri" -#: library/stdtypes.rst:932 library/stdtypes.rst:1115 library/stdtypes.rst:1152 +#: library/stdtypes.rst:933 library/stdtypes.rst:1116 library/stdtypes.rst:1153 msgid "sequence" msgstr "" -#: library/stdtypes.rst:845 +#: library/stdtypes.rst:846 #, fuzzy msgid "iteration" msgstr "İşlem" -#: library/stdtypes.rst:845 +#: library/stdtypes.rst:846 msgid "container" msgstr "" -#: library/stdtypes.rst:845 +#: library/stdtypes.rst:846 #, fuzzy msgid "iteration over" msgstr "İşlem" -#: library/stdtypes.rst:4419 +#: library/stdtypes.rst:4420 msgid "len" msgstr "" -#: library/stdtypes.rst:948 +#: library/stdtypes.rst:949 msgid "min" msgstr "" -#: library/stdtypes.rst:948 +#: library/stdtypes.rst:949 msgid "max" msgstr "" -#: library/stdtypes.rst:948 +#: library/stdtypes.rst:949 msgid "concatenation" msgstr "" -#: library/stdtypes.rst:948 +#: library/stdtypes.rst:949 #, fuzzy msgid "operation" msgstr "İşlem" -#: library/stdtypes.rst:948 +#: library/stdtypes.rst:949 #, fuzzy msgid "repetition" msgstr "Temsil" -#: library/stdtypes.rst:1152 +#: library/stdtypes.rst:1153 #, fuzzy msgid "subscript" msgstr "Açıklama" -#: library/stdtypes.rst:1152 +#: library/stdtypes.rst:1153 msgid "slice" msgstr "" -#: library/stdtypes.rst:948 +#: library/stdtypes.rst:949 msgid "count() (sequence method)" msgstr "" -#: library/stdtypes.rst:948 +#: library/stdtypes.rst:949 msgid "index() (sequence method)" msgstr "" -#: library/stdtypes.rst:1004 +#: library/stdtypes.rst:1005 msgid "loop" msgstr "" -#: library/stdtypes.rst:1004 +#: library/stdtypes.rst:1005 #, fuzzy msgid "over mutable sequence" msgstr "Değiştirilemez Dizi Tipleri" -#: library/stdtypes.rst:1004 +#: library/stdtypes.rst:1005 #, fuzzy msgid "mutable sequence" msgstr "Değiştirilemez Dizi Tipleri" -#: library/stdtypes.rst:1004 +#: library/stdtypes.rst:1005 msgid "loop over" msgstr "" -#: library/stdtypes.rst:1115 +#: library/stdtypes.rst:1116 msgid "immutable" msgstr "" -#: library/stdtypes.rst:1336 +#: library/stdtypes.rst:1337 #, fuzzy msgid "tuple" msgstr "Demetler" -#: library/stdtypes.rst:1115 +#: library/stdtypes.rst:1116 msgid "hash" msgstr "" -#: library/stdtypes.rst:1137 +#: library/stdtypes.rst:1138 msgid "mutable" msgstr "" -#: library/stdtypes.rst:1152 library/stdtypes.rst:1257 +#: library/stdtypes.rst:1153 library/stdtypes.rst:1258 msgid "list" msgstr "" -#: library/stdtypes.rst:2512 library/stdtypes.rst:2710 -#: library/stdtypes.rst:3531 +#: library/stdtypes.rst:2513 library/stdtypes.rst:2711 +#: library/stdtypes.rst:3532 msgid "bytearray" msgstr "" -#: library/stdtypes.rst:4419 library/stdtypes.rst:5392 +#: library/stdtypes.rst:4420 library/stdtypes.rst:5393 msgid "type" msgstr "" -#: library/stdtypes.rst:1152 +#: library/stdtypes.rst:1153 msgid "assignment" msgstr "" -#: library/stdtypes.rst:4419 +#: library/stdtypes.rst:4420 msgid "del" msgstr "" -#: library/stdtypes.rst:1152 +#: library/stdtypes.rst:1153 msgid "append() (sequence method)" msgstr "" -#: library/stdtypes.rst:1152 +#: library/stdtypes.rst:1153 msgid "clear() (sequence method)" msgstr "" -#: library/stdtypes.rst:1152 +#: library/stdtypes.rst:1153 msgid "copy() (sequence method)" msgstr "" -#: library/stdtypes.rst:1152 +#: library/stdtypes.rst:1153 msgid "extend() (sequence method)" msgstr "" -#: library/stdtypes.rst:1152 +#: library/stdtypes.rst:1153 msgid "insert() (sequence method)" msgstr "" -#: library/stdtypes.rst:1152 +#: library/stdtypes.rst:1153 msgid "pop() (sequence method)" msgstr "" -#: library/stdtypes.rst:1152 +#: library/stdtypes.rst:1153 msgid "remove() (sequence method)" msgstr "" -#: library/stdtypes.rst:1152 +#: library/stdtypes.rst:1153 msgid "reverse() (sequence method)" msgstr "" -#: library/stdtypes.rst:1380 +#: library/stdtypes.rst:1381 #, fuzzy msgid "range" msgstr "Aralıklar" -#: library/stdtypes.rst:1551 library/stdtypes.rst:2315 +#: library/stdtypes.rst:1552 library/stdtypes.rst:2316 msgid "string" msgstr "" -#: library/stdtypes.rst:1502 +#: library/stdtypes.rst:1503 #, fuzzy msgid "text sequence type" msgstr "Değiştirilebilir Dizi Tipleri" -#: library/stdtypes.rst:1551 library/stdtypes.rst:1569 +#: library/stdtypes.rst:1552 library/stdtypes.rst:1570 #, fuzzy msgid "str (built-in class)" msgstr "Diğer Yerleşik Tipler" -#: library/stdtypes.rst:1502 +#: library/stdtypes.rst:1503 msgid "(see also string)" msgstr "" -#: library/stdtypes.rst:1538 +#: library/stdtypes.rst:1539 msgid "io.StringIO" msgstr "" -#: library/stdtypes.rst:2504 +#: library/stdtypes.rst:2505 msgid "buffer protocol" msgstr "" -#: library/stdtypes.rst:2512 library/stdtypes.rst:2710 -#: library/stdtypes.rst:3531 +#: library/stdtypes.rst:2513 library/stdtypes.rst:2711 +#: library/stdtypes.rst:3532 msgid "bytes" msgstr "" -#: library/stdtypes.rst:2710 +#: library/stdtypes.rst:2711 #, fuzzy msgid "methods" msgstr "Yöntemler" -#: library/stdtypes.rst:1604 +#: library/stdtypes.rst:1605 msgid "re" msgstr "" -#: library/stdtypes.rst:3385 +#: library/stdtypes.rst:3386 msgid "universal newlines" msgstr "" -#: library/stdtypes.rst:2123 +#: library/stdtypes.rst:2124 msgid "str.splitlines method" msgstr "" -#: library/stdtypes.rst:2315 +#: library/stdtypes.rst:2316 msgid "formatting, string (%)" msgstr "" -#: library/stdtypes.rst:2315 +#: library/stdtypes.rst:2316 msgid "interpolation, string (%)" msgstr "" -#: library/stdtypes.rst:2315 +#: library/stdtypes.rst:2316 msgid "formatting, printf" msgstr "" -#: library/stdtypes.rst:2315 +#: library/stdtypes.rst:2316 msgid "interpolation, printf" msgstr "" -#: library/stdtypes.rst:3531 +#: library/stdtypes.rst:3532 msgid "printf-style formatting" msgstr "" -#: library/stdtypes.rst:3531 +#: library/stdtypes.rst:3532 msgid "sprintf-style formatting" msgstr "" -#: library/stdtypes.rst:3563 +#: library/stdtypes.rst:3564 msgid "() (parentheses)" msgstr "" -#: library/stdtypes.rst:2388 library/stdtypes.rst:3606 +#: library/stdtypes.rst:2389 library/stdtypes.rst:3607 msgid "in printf-style formatting" msgstr "" -#: library/stdtypes.rst:3563 +#: library/stdtypes.rst:3564 msgid ". (dot)" msgstr "" -#: library/stdtypes.rst:3606 +#: library/stdtypes.rst:3607 msgid "# (hash)" msgstr "" -#: library/stdtypes.rst:3606 +#: library/stdtypes.rst:3607 msgid "space" msgstr "" -#: library/stdtypes.rst:2504 +#: library/stdtypes.rst:2505 #, fuzzy msgid "binary sequence types" msgstr "Değiştirilebilir Dizi Tipleri" -#: library/stdtypes.rst:2512 +#: library/stdtypes.rst:2513 msgid "memoryview" msgstr "" -#: library/stdtypes.rst:2512 +#: library/stdtypes.rst:2513 msgid "array" msgstr "" -#: library/stdtypes.rst:3385 +#: library/stdtypes.rst:3386 msgid "bytes.splitlines method" msgstr "" -#: library/stdtypes.rst:3385 +#: library/stdtypes.rst:3386 msgid "bytearray.splitlines method" msgstr "" -#: library/stdtypes.rst:3531 +#: library/stdtypes.rst:3532 msgid "formatting" msgstr "" -#: library/stdtypes.rst:3531 +#: library/stdtypes.rst:3532 msgid "bytes (%)" msgstr "" -#: library/stdtypes.rst:3531 +#: library/stdtypes.rst:3532 msgid "bytearray (%)" msgstr "" -#: library/stdtypes.rst:3531 +#: library/stdtypes.rst:3532 #, fuzzy msgid "interpolation" msgstr "Satır Tablolama" -#: library/stdtypes.rst:4218 +#: library/stdtypes.rst:4219 msgid "set" msgstr "" -#: library/stdtypes.rst:4419 +#: library/stdtypes.rst:4420 msgid "mapping" msgstr "" -#: library/stdtypes.rst:4419 +#: library/stdtypes.rst:4420 msgid "dictionary" msgstr "" -#: library/stdtypes.rst:4502 +#: library/stdtypes.rst:4503 msgid "__missing__()" msgstr "" -#: library/stdtypes.rst:4809 +#: library/stdtypes.rst:4810 #, fuzzy msgid "context manager" msgstr "Bağlam Yöneticisi Türleri" -#: library/stdtypes.rst:4809 +#: library/stdtypes.rst:4810 msgid "context management protocol" msgstr "" -#: library/stdtypes.rst:4809 +#: library/stdtypes.rst:4810 #, fuzzy msgid "context management" msgstr "Bağlam Yöneticisi Türleri" -#: library/stdtypes.rst:4882 +#: library/stdtypes.rst:4883 msgid "annotation" msgstr "" -#: library/stdtypes.rst:4882 +#: library/stdtypes.rst:4883 msgid "type annotation; type hint" msgstr "" -#: library/stdtypes.rst:4894 +#: library/stdtypes.rst:4895 #, fuzzy msgid "GenericAlias" msgstr "Genel Takma Ad Türü" -#: library/stdtypes.rst:4894 +#: library/stdtypes.rst:4895 msgid "Generic" msgstr "" -#: library/stdtypes.rst:4894 +#: library/stdtypes.rst:4895 msgid "Alias" msgstr "" -#: library/stdtypes.rst:5149 +#: library/stdtypes.rst:5150 #, fuzzy msgid "Union" msgstr "Sendika Türü" -#: library/stdtypes.rst:5149 +#: library/stdtypes.rst:5150 msgid "union" msgstr "" -#: library/stdtypes.rst:5317 +#: library/stdtypes.rst:5318 #, fuzzy msgid "method" msgstr "Yöntemler" -#: library/stdtypes.rst:5356 +#: library/stdtypes.rst:5357 msgid "code" msgstr "" -#: library/stdtypes.rst:5356 +#: library/stdtypes.rst:5357 #, fuzzy msgid "code object" msgstr "Kod Nesneleri" -#: library/stdtypes.rst:5363 +#: library/stdtypes.rst:5364 msgid "compile" msgstr "" -#: library/stdtypes.rst:5363 +#: library/stdtypes.rst:5364 msgid "__code__ (function object attribute)" msgstr "" -#: library/stdtypes.rst:5377 +#: library/stdtypes.rst:5378 msgid "exec" msgstr "" -#: library/stdtypes.rst:5377 +#: library/stdtypes.rst:5378 msgid "eval" msgstr "" -#: library/stdtypes.rst:5416 +#: library/stdtypes.rst:5417 msgid "..." msgstr "" -#: library/stdtypes.rst:5416 +#: library/stdtypes.rst:5417 msgid "ellipsis literal" msgstr "" diff --git a/library/sys.monitoring.po b/library/sys.monitoring.po index 4c3b3ab69..e5db90e8d 100644 --- a/library/sys.monitoring.po +++ b/library/sys.monitoring.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -301,7 +301,7 @@ msgstr "" #: library/sys.monitoring.rst:150 msgid "" -"The ``C_RETURN`` and ``C_RAISE`` events are are controlled by the ``CALL`` " +"The ``C_RETURN`` and ``C_RAISE`` events are controlled by the ``CALL`` " "event. ``C_RETURN`` and ``C_RAISE`` events will only be seen if the " "corresponding ``CALL`` event is being monitored." msgstr "" diff --git a/library/sysconfig.po b/library/sysconfig.po index 7608e654c..6b60dbf3e 100644 --- a/library/sysconfig.po +++ b/library/sysconfig.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -32,224 +32,464 @@ msgid "" "variables relevant for the current platform." msgstr "" -#: library/sysconfig.rst:24 +#: library/sysconfig.rst:25 msgid "Configuration variables" msgstr "" -#: library/sysconfig.rst:26 +#: library/sysconfig.rst:27 msgid "" "A Python distribution contains a :file:`Makefile` and a :file:`pyconfig.h` " "header file that are necessary to build both the Python binary itself and " "third-party C extensions compiled using ``setuptools``." msgstr "" -#: library/sysconfig.rst:30 +#: library/sysconfig.rst:31 msgid "" ":mod:`sysconfig` puts all variables found in these files in a dictionary " "that can be accessed using :func:`get_config_vars` or :func:`get_config_var`." msgstr "" -#: library/sysconfig.rst:33 +#: library/sysconfig.rst:34 msgid "Notice that on Windows, it's a much smaller set." msgstr "" -#: library/sysconfig.rst:37 +#: library/sysconfig.rst:38 msgid "" "With no arguments, return a dictionary of all configuration variables " "relevant for the current platform." msgstr "" -#: library/sysconfig.rst:40 +#: library/sysconfig.rst:41 msgid "" "With arguments, return a list of values that result from looking up each " "argument in the configuration variable dictionary." msgstr "" -#: library/sysconfig.rst:43 +#: library/sysconfig.rst:44 msgid "For each argument, if the value is not found, return ``None``." msgstr "" -#: library/sysconfig.rst:48 +#: library/sysconfig.rst:49 msgid "" "Return the value of a single variable *name*. Equivalent to " "``get_config_vars().get(name)``." msgstr "" -#: library/sysconfig.rst:51 +#: library/sysconfig.rst:52 msgid "If *name* is not found, return ``None``." msgstr "" -#: library/sysconfig.rst:53 +#: library/sysconfig.rst:54 msgid "Example of usage::" msgstr "" -#: library/sysconfig.rst:66 +#: library/sysconfig.rst:68 msgid "Installation paths" msgstr "" -#: library/sysconfig.rst:68 +#: library/sysconfig.rst:70 msgid "" "Python uses an installation scheme that differs depending on the platform " "and on the installation options. These schemes are stored in :mod:" "`sysconfig` under unique identifiers based on the value returned by :const:" -"`os.name`." -msgstr "" - -#: library/sysconfig.rst:72 -msgid "" -"Every new component that is installed using :mod:`!distutils` or a Distutils-" -"based system will follow the same scheme to copy its file in the right " -"places." +"`os.name`. The schemes are used by package installers to determine where to " +"copy files to." msgstr "" -#: library/sysconfig.rst:76 +#: library/sysconfig.rst:75 msgid "Python currently supports nine schemes:" msgstr "" -#: library/sysconfig.rst:78 +#: library/sysconfig.rst:77 msgid "" "*posix_prefix*: scheme for POSIX platforms like Linux or macOS. This is the " "default scheme used when Python or a component is installed." msgstr "" -#: library/sysconfig.rst:80 +#: library/sysconfig.rst:79 msgid "" -"*posix_home*: scheme for POSIX platforms used when a *home* option is used " -"upon installation. This scheme is used when a component is installed " -"through Distutils with a specific home prefix." +"*posix_home*: scheme for POSIX platforms, when the *home* option is used. " +"This scheme defines paths located under a specific home prefix." msgstr "" -#: library/sysconfig.rst:83 +#: library/sysconfig.rst:81 msgid "" -"*posix_user*: scheme for POSIX platforms used when a component is installed " -"through Distutils and the *user* option is used. This scheme defines paths " -"located under the user home directory." +"*posix_user*: scheme for POSIX platforms, when the *user* option is used. " +"This scheme defines paths located under the user's home directory (:const:" +"`site.USER_BASE`)." msgstr "" -#: library/sysconfig.rst:86 +#: library/sysconfig.rst:84 msgid "" "*posix_venv*: scheme for :mod:`Python virtual environments <venv>` on POSIX " "platforms; by default it is the same as *posix_prefix*." msgstr "" -#: library/sysconfig.rst:88 -msgid "*nt*: scheme for NT platforms like Windows." +#: library/sysconfig.rst:86 +msgid "" +"*nt*: scheme for Windows. This is the default scheme used when Python or a " +"component is installed." msgstr "" -#: library/sysconfig.rst:89 -msgid "*nt_user*: scheme for NT platforms, when the *user* option is used." +#: library/sysconfig.rst:88 +msgid "*nt_user*: scheme for Windows, when the *user* option is used." msgstr "" -#: library/sysconfig.rst:90 +#: library/sysconfig.rst:89 msgid "" -"*nt_venv*: scheme for :mod:`Python virtual environments <venv>` on NT " -"platforms; by default it is the same as *nt*." +"*nt_venv*: scheme for :mod:`Python virtual environments <venv>` on Windows; " +"by default it is the same as *nt*." msgstr "" -#: library/sysconfig.rst:92 +#: library/sysconfig.rst:91 msgid "" "*venv*: a scheme with values from either *posix_venv* or *nt_venv* depending " "on the platform Python runs on." msgstr "" -#: library/sysconfig.rst:94 +#: library/sysconfig.rst:93 msgid "*osx_framework_user*: scheme for macOS, when the *user* option is used." msgstr "" -#: library/sysconfig.rst:96 +#: library/sysconfig.rst:95 msgid "" "Each scheme is itself composed of a series of paths and each path has a " "unique identifier. Python currently uses eight paths:" msgstr "" -#: library/sysconfig.rst:99 +#: library/sysconfig.rst:98 msgid "" "*stdlib*: directory containing the standard Python library files that are " "not platform-specific." msgstr "" -#: library/sysconfig.rst:101 +#: library/sysconfig.rst:100 msgid "" "*platstdlib*: directory containing the standard Python library files that " "are platform-specific." msgstr "" -#: library/sysconfig.rst:103 +#: library/sysconfig.rst:102 msgid "*platlib*: directory for site-specific, platform-specific files." msgstr "" -#: library/sysconfig.rst:104 -msgid "*purelib*: directory for site-specific, non-platform-specific files." +#: library/sysconfig.rst:103 +msgid "" +"*purelib*: directory for site-specific, non-platform-specific files ('pure' " +"Python)." msgstr "" -#: library/sysconfig.rst:105 +#: library/sysconfig.rst:104 msgid "" "*include*: directory for non-platform-specific header files for the Python C-" "API." msgstr "" -#: library/sysconfig.rst:107 +#: library/sysconfig.rst:106 msgid "" "*platinclude*: directory for platform-specific header files for the Python C-" "API." msgstr "" -#: library/sysconfig.rst:109 +#: library/sysconfig.rst:108 msgid "*scripts*: directory for script files." msgstr "" -#: library/sysconfig.rst:110 +#: library/sysconfig.rst:109 msgid "*data*: directory for data files." msgstr "" -#: library/sysconfig.rst:112 -msgid ":mod:`sysconfig` provides some functions to determine these paths." +#: library/sysconfig.rst:115 +msgid "User scheme" +msgstr "" + +#: library/sysconfig.rst:117 +msgid "" +"This scheme is designed to be the most convenient solution for users that " +"don't have write permission to the global site-packages directory or don't " +"want to install into it." msgstr "" -#: library/sysconfig.rst:116 +#: library/sysconfig.rst:121 +msgid "" +"Files will be installed into subdirectories of :const:`site.USER_BASE` " +"(written as :file:`{userbase}` hereafter). This scheme installs pure Python " +"modules and extension modules in the same location (also known as :const:" +"`site.USER_SITE`)." +msgstr "" + +#: library/sysconfig.rst:126 +msgid "``posix_user``" +msgstr "" + +#: library/sysconfig.rst:144 library/sysconfig.rst:187 +#: library/sysconfig.rst:245 +msgid "Path" +msgstr "" + +#: library/sysconfig.rst:144 library/sysconfig.rst:187 +#: library/sysconfig.rst:245 +msgid "Installation directory" +msgstr "" + +#: library/sysconfig.rst:146 library/sysconfig.rst:189 +#: library/sysconfig.rst:247 +msgid "*stdlib*" +msgstr "" + +#: library/sysconfig.rst:132 +msgid ":file:`{userbase}/lib/python{X.Y}`" +msgstr "" + +#: library/sysconfig.rst:147 library/sysconfig.rst:190 +#: library/sysconfig.rst:248 +msgid "*platstdlib*" +msgstr "" + +#: library/sysconfig.rst:148 library/sysconfig.rst:191 +#: library/sysconfig.rst:249 +msgid "*platlib*" +msgstr "" + +#: library/sysconfig.rst:134 +msgid ":file:`{userbase}/lib/python{X.Y}/site-packages`" +msgstr "" + +#: library/sysconfig.rst:149 library/sysconfig.rst:192 +#: library/sysconfig.rst:250 +msgid "*purelib*" +msgstr "" + +#: library/sysconfig.rst:150 library/sysconfig.rst:193 +#: library/sysconfig.rst:251 +msgid "*include*" +msgstr "" + +#: library/sysconfig.rst:165 +msgid ":file:`{userbase}/include/python{X.Y}`" +msgstr "" + +#: library/sysconfig.rst:151 library/sysconfig.rst:195 +#: library/sysconfig.rst:253 +msgid "*scripts*" +msgstr "" + +#: library/sysconfig.rst:166 +msgid ":file:`{userbase}/bin`" +msgstr "" + +#: library/sysconfig.rst:152 library/sysconfig.rst:196 +#: library/sysconfig.rst:254 +msgid "*data*" +msgstr "" + +#: library/sysconfig.rst:152 library/sysconfig.rst:167 +msgid ":file:`{userbase}`" +msgstr "" + +#: library/sysconfig.rst:141 +msgid "``nt_user``" +msgstr "" + +#: library/sysconfig.rst:147 +msgid ":file:`{userbase}\\\\Python{XY}`" +msgstr "" + +#: library/sysconfig.rst:149 +msgid ":file:`{userbase}\\\\Python{XY}\\\\site-packages`" +msgstr "" + +#: library/sysconfig.rst:150 +msgid ":file:`{userbase}\\\\Python{XY}\\\\Include`" +msgstr "" + +#: library/sysconfig.rst:151 +msgid ":file:`{userbase}\\\\Python{XY}\\\\Scripts`" +msgstr "" + +#: library/sysconfig.rst:156 +msgid "``osx_framework_user``" +msgstr "" + +#: library/sysconfig.rst:162 +msgid ":file:`{userbase}/lib/python`" +msgstr "" + +#: library/sysconfig.rst:164 +msgid ":file:`{userbase}/lib/python/site-packages`" +msgstr "" + +#: library/sysconfig.rst:174 +msgid "Home scheme" +msgstr "" + +#: library/sysconfig.rst:176 +msgid "" +"The idea behind the \"home scheme\" is that you build and maintain a " +"personal stash of Python modules. This scheme's name is derived from the " +"idea of a \"home\" directory on Unix, since it's not unusual for a Unix user " +"to make their home directory have a layout similar to :file:`/usr/` or :file:" +"`/usr/local/`. This scheme can be used by anyone, regardless of the " +"operating system they are installing for." +msgstr "" + +#: library/sysconfig.rst:184 +msgid "``posix_home``" +msgstr "" + +#: library/sysconfig.rst:190 library/sysconfig.rst:192 +msgid ":file:`{home}/lib/python`" +msgstr "" + +#: library/sysconfig.rst:194 +msgid ":file:`{home}/include/python`" +msgstr "" + +#: library/sysconfig.rst:236 library/sysconfig.rst:252 +msgid "*platinclude*" +msgstr "" + +#: library/sysconfig.rst:195 +msgid ":file:`{home}/bin`" +msgstr "" + +#: library/sysconfig.rst:196 +msgid ":file:`{home}`" +msgstr "" + +#: library/sysconfig.rst:203 +msgid "Prefix scheme" +msgstr "" + +#: library/sysconfig.rst:205 +msgid "" +"The \"prefix scheme\" is useful when you wish to use one Python installation " +"to perform the build/install (i.e., to run the setup script), but install " +"modules into the third-party module directory of a different Python " +"installation (or something that looks like a different Python " +"installation). If this sounds a trifle unusual, it is---that's why the user " +"and home schemes come before. However, there are at least two known cases " +"where the prefix scheme will be useful." +msgstr "" + +#: library/sysconfig.rst:212 +msgid "" +"First, consider that many Linux distributions put Python in :file:`/usr`, " +"rather than the more traditional :file:`/usr/local`. This is entirely " +"appropriate, since in those cases Python is part of \"the system\" rather " +"than a local add-on. However, if you are installing Python modules from " +"source, you probably want them to go in :file:`/usr/local/lib/python2.{X}` " +"rather than :file:`/usr/lib/python2.{X}`." +msgstr "" + +#: library/sysconfig.rst:219 +msgid "" +"Another possibility is a network filesystem where the name used to write to " +"a remote directory is different from the name used to read it: for example, " +"the Python interpreter accessed as :file:`/usr/local/bin/python` might " +"search for modules in :file:`/usr/local/lib/python2.{X}`, but those modules " +"would have to be installed to, say, :file:`/mnt/{@server}/export/lib/python2." +"{X}`." +msgstr "" + +#: library/sysconfig.rst:226 +msgid "``posix_prefix``" +msgstr "" + +#: library/sysconfig.rst:232 +msgid ":file:`{prefix}/lib/python{X.Y}`" +msgstr "" + +#: library/sysconfig.rst:234 +msgid ":file:`{prefix}/lib/python{X.Y}/site-packages`" +msgstr "" + +#: library/sysconfig.rst:236 +msgid ":file:`{prefix}/include/python{X.Y}`" +msgstr "" + +#: library/sysconfig.rst:237 +msgid ":file:`{prefix}/bin`" +msgstr "" + +#: library/sysconfig.rst:254 +msgid ":file:`{prefix}`" +msgstr "" + +#: library/sysconfig.rst:242 +msgid "``nt``" +msgstr "" + +#: library/sysconfig.rst:248 +msgid ":file:`{prefix}\\\\Lib`" +msgstr "" + +#: library/sysconfig.rst:250 +msgid ":file:`{prefix}\\\\Lib\\\\site-packages`" +msgstr "" + +#: library/sysconfig.rst:252 +msgid ":file:`{prefix}\\\\Include`" +msgstr "" + +#: library/sysconfig.rst:253 +msgid ":file:`{prefix}\\\\Scripts`" +msgstr "" + +#: library/sysconfig.rst:259 +msgid "Installation path functions" +msgstr "" + +#: library/sysconfig.rst:261 +msgid "" +":mod:`sysconfig` provides some functions to determine these installation " +"paths." +msgstr "" + +#: library/sysconfig.rst:265 msgid "" "Return a tuple containing all schemes currently supported in :mod:" "`sysconfig`." msgstr "" -#: library/sysconfig.rst:122 +#: library/sysconfig.rst:271 msgid "Return the default scheme name for the current platform." msgstr "" -#: library/sysconfig.rst:124 +#: library/sysconfig.rst:273 msgid "" "This function was previously named ``_get_default_scheme()`` and considered " "an implementation detail." msgstr "" -#: library/sysconfig.rst:128 +#: library/sysconfig.rst:277 msgid "" "When Python runs from a virtual environment, the *venv* scheme is returned." msgstr "" -#: library/sysconfig.rst:134 +#: library/sysconfig.rst:283 msgid "" "Return a preferred scheme name for an installation layout specified by *key*." msgstr "" -#: library/sysconfig.rst:136 +#: library/sysconfig.rst:285 msgid "*key* must be either ``\"prefix\"``, ``\"home\"``, or ``\"user\"``." msgstr "" -#: library/sysconfig.rst:138 +#: library/sysconfig.rst:287 msgid "" "The return value is a scheme name listed in :func:`get_scheme_names`. It can " "be passed to :mod:`sysconfig` functions that take a *scheme* argument, such " "as :func:`get_paths`." msgstr "" -#: library/sysconfig.rst:144 +#: library/sysconfig.rst:293 msgid "" "When Python runs from a virtual environment and ``key=\"prefix\"``, the " "*venv* scheme is returned." msgstr "" -#: library/sysconfig.rst:151 +#: library/sysconfig.rst:300 msgid "" "Return a dict containing preferred scheme names on the current platform. " "Python implementers and redistributors may add their preferred schemes to " @@ -259,109 +499,109 @@ msgid "" "mix with those by the other." msgstr "" -#: library/sysconfig.rst:158 +#: library/sysconfig.rst:307 msgid "" "End users should not use this function, but :func:`get_default_scheme` and :" "func:`get_preferred_scheme()` instead." msgstr "" -#: library/sysconfig.rst:166 +#: library/sysconfig.rst:315 msgid "" "Return a tuple containing all path names currently supported in :mod:" "`sysconfig`." msgstr "" -#: library/sysconfig.rst:172 +#: library/sysconfig.rst:321 msgid "" "Return an installation path corresponding to the path *name*, from the " "install scheme named *scheme*." msgstr "" -#: library/sysconfig.rst:175 +#: library/sysconfig.rst:324 msgid "" "*name* has to be a value from the list returned by :func:`get_path_names`." msgstr "" -#: library/sysconfig.rst:177 +#: library/sysconfig.rst:326 msgid "" ":mod:`sysconfig` stores installation paths corresponding to each path name, " "for each platform, with variables to be expanded. For instance the *stdlib* " "path for the *nt* scheme is: ``{base}/Lib``." msgstr "" -#: library/sysconfig.rst:181 +#: library/sysconfig.rst:330 msgid "" ":func:`get_path` will use the variables returned by :func:`get_config_vars` " "to expand the path. All variables have default values for each platform so " "one may call this function and get the default value." msgstr "" -#: library/sysconfig.rst:185 +#: library/sysconfig.rst:334 msgid "" "If *scheme* is provided, it must be a value from the list returned by :func:" "`get_scheme_names`. Otherwise, the default scheme for the current platform " "is used." msgstr "" -#: library/sysconfig.rst:189 +#: library/sysconfig.rst:338 msgid "" "If *vars* is provided, it must be a dictionary of variables that will update " "the dictionary returned by :func:`get_config_vars`." msgstr "" -#: library/sysconfig.rst:192 +#: library/sysconfig.rst:341 msgid "" "If *expand* is set to ``False``, the path will not be expanded using the " "variables." msgstr "" -#: library/sysconfig.rst:195 +#: library/sysconfig.rst:344 msgid "If *name* is not found, raise a :exc:`KeyError`." msgstr "" -#: library/sysconfig.rst:200 +#: library/sysconfig.rst:349 msgid "" "Return a dictionary containing all installation paths corresponding to an " "installation scheme. See :func:`get_path` for more information." msgstr "" -#: library/sysconfig.rst:203 +#: library/sysconfig.rst:352 msgid "" "If *scheme* is not provided, will use the default scheme for the current " "platform." msgstr "" -#: library/sysconfig.rst:206 +#: library/sysconfig.rst:355 msgid "" "If *vars* is provided, it must be a dictionary of variables that will update " "the dictionary used to expand the paths." msgstr "" -#: library/sysconfig.rst:209 +#: library/sysconfig.rst:358 msgid "If *expand* is set to false, the paths will not be expanded." msgstr "" -#: library/sysconfig.rst:211 +#: library/sysconfig.rst:360 msgid "" "If *scheme* is not an existing scheme, :func:`get_paths` will raise a :exc:" "`KeyError`." msgstr "" -#: library/sysconfig.rst:216 +#: library/sysconfig.rst:365 msgid "Other functions" msgstr "" -#: library/sysconfig.rst:220 +#: library/sysconfig.rst:369 msgid "" "Return the ``MAJOR.MINOR`` Python version number as a string. Similar to " "``'%d.%d' % sys.version_info[:2]``." msgstr "" -#: library/sysconfig.rst:226 +#: library/sysconfig.rst:375 msgid "Return a string that identifies the current platform." msgstr "" -#: library/sysconfig.rst:228 +#: library/sysconfig.rst:377 msgid "" "This is used mainly to distinguish platform-specific build directories and " "platform-specific built distributions. Typically includes the OS name and " @@ -370,99 +610,99 @@ msgid "" "version isn't particularly important." msgstr "" -#: library/sysconfig.rst:234 +#: library/sysconfig.rst:383 msgid "Examples of returned values:" msgstr "" -#: library/sysconfig.rst:236 +#: library/sysconfig.rst:385 msgid "linux-i586" msgstr "" -#: library/sysconfig.rst:237 +#: library/sysconfig.rst:386 msgid "linux-alpha (?)" msgstr "" -#: library/sysconfig.rst:238 +#: library/sysconfig.rst:387 msgid "solaris-2.6-sun4u" msgstr "" -#: library/sysconfig.rst:240 +#: library/sysconfig.rst:389 msgid "Windows will return one of:" msgstr "" -#: library/sysconfig.rst:242 +#: library/sysconfig.rst:391 msgid "win-amd64 (64bit Windows on AMD64, aka x86_64, Intel64, and EM64T)" msgstr "" -#: library/sysconfig.rst:243 +#: library/sysconfig.rst:392 msgid "win32 (all others - specifically, sys.platform is returned)" msgstr "" -#: library/sysconfig.rst:245 +#: library/sysconfig.rst:394 msgid "macOS can return:" msgstr "" -#: library/sysconfig.rst:247 +#: library/sysconfig.rst:396 msgid "macosx-10.6-ppc" msgstr "" -#: library/sysconfig.rst:248 +#: library/sysconfig.rst:397 msgid "macosx-10.4-ppc64" msgstr "" -#: library/sysconfig.rst:249 +#: library/sysconfig.rst:398 msgid "macosx-10.3-i386" msgstr "" -#: library/sysconfig.rst:250 +#: library/sysconfig.rst:399 msgid "macosx-10.4-fat" msgstr "" -#: library/sysconfig.rst:252 +#: library/sysconfig.rst:401 msgid "" "For other non-POSIX platforms, currently just returns :data:`sys.platform`." msgstr "" -#: library/sysconfig.rst:257 +#: library/sysconfig.rst:406 msgid "" "Return ``True`` if the running Python interpreter was built from source and " "is being run from its built location, and not from a location resulting from " "e.g. running ``make install`` or installing via a binary installer." msgstr "" -#: library/sysconfig.rst:264 +#: library/sysconfig.rst:413 msgid "Parse a :file:`config.h`\\-style file." msgstr "" -#: library/sysconfig.rst:266 +#: library/sysconfig.rst:415 msgid "" "*fp* is a file-like object pointing to the :file:`config.h`\\-like file." msgstr "" -#: library/sysconfig.rst:268 +#: library/sysconfig.rst:417 msgid "" "A dictionary containing name/value pairs is returned. If an optional " "dictionary is passed in as the second argument, it is used instead of a new " "dictionary, and updated with the values read in the file." msgstr "" -#: library/sysconfig.rst:275 +#: library/sysconfig.rst:424 msgid "Return the path of :file:`pyconfig.h`." msgstr "" -#: library/sysconfig.rst:279 +#: library/sysconfig.rst:428 msgid "Return the path of :file:`Makefile`." msgstr "" -#: library/sysconfig.rst:283 +#: library/sysconfig.rst:432 msgid "Using :mod:`sysconfig` as a script" msgstr "" -#: library/sysconfig.rst:285 +#: library/sysconfig.rst:434 msgid "You can use :mod:`sysconfig` as a script with Python's *-m* option:" msgstr "" -#: library/sysconfig.rst:311 +#: library/sysconfig.rst:460 msgid "" "This call will print in the standard output the information returned by :" "func:`get_platform`, :func:`get_python_version`, :func:`get_path` and :func:" diff --git a/library/timeit.po b/library/timeit.po index 7909bd00e..a62512e33 100644 --- a/library/timeit.po +++ b/library/timeit.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -166,7 +166,7 @@ msgid "" "the total time >= 0.2 second, returning the eventual (number of loops, time " "taken for that number of loops). It calls :meth:`.timeit` with increasing " "numbers from the sequence 1, 2, 5, 10, 20, 50, ... until the time taken is " -"at least 0.2 second." +"at least 0.2 seconds." msgstr "" #: library/timeit.rst:156 diff --git a/library/tty.po b/library/tty.po index d4e6498b4..1aaf7eda9 100644 --- a/library/tty.po +++ b/library/tty.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -59,7 +59,11 @@ msgid "" "setting *fd* to raw mode; this value is returned." msgstr "" -#: library/tty.rst:49 +#: library/tty.rst:57 +msgid "The return value is now the original tty attributes, instead of None." +msgstr "" + +#: library/tty.rst:52 msgid "" "Change the mode of file descriptor *fd* to cbreak. If *when* is omitted, it " "defaults to :const:`termios.TCSAFLUSH`, and is passed to :func:`termios." @@ -67,10 +71,10 @@ msgid "" "setting *fd* to cbreak mode; this value is returned." msgstr "" -#: library/tty.rst:57 +#: library/tty.rst:63 msgid "Module :mod:`termios`" msgstr "" -#: library/tty.rst:58 +#: library/tty.rst:64 msgid "Low-level terminal control interface." msgstr "" diff --git a/library/typing.po b/library/typing.po index d85b8f7d7..1f5ed07ca 100644 --- a/library/typing.po +++ b/library/typing.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -403,7 +403,7 @@ msgid "" "of type :class:`int` and returns a :class:`str`." msgstr "" -#: library/typing.rst:2873 library/typing.rst:3015 +#: library/typing.rst:2888 library/typing.rst:3030 msgid "For example:" msgstr "" @@ -441,7 +441,7 @@ msgid "" "ReturnType]`` respectively." msgstr "" -#: library/typing.rst:3544 +#: library/typing.rst:3559 msgid "" "``Callable`` now supports :class:`ParamSpec` and :data:`Concatenate`. See :" "pep:`612` for more details." @@ -821,7 +821,7 @@ msgid "" msgstr "" #: library/typing.rst:934 library/typing.rst:1011 library/typing.rst:1237 -#: library/typing.rst:2813 +#: library/typing.rst:2828 msgid "For example::" msgstr "" @@ -1144,7 +1144,7 @@ msgid "" "scopes cannot be overridden in subclasses." msgstr "" -#: library/typing.rst:2829 +#: library/typing.rst:2844 msgid "" "There is no runtime checking of these properties. See :pep:`591` for more " "details." @@ -1203,8 +1203,8 @@ msgstr "" #: library/typing.rst:1293 msgid "" -"The responsibility of how to interpret the metadata lies with the the tool " -"or library encountering an ``Annotated`` annotation. A tool or library " +"The responsibility of how to interpret the metadata lies with the tool or " +"library encountering an ``Annotated`` annotation. A tool or library " "encountering an ``Annotated`` type can scan through the metadata elements to " "determine if they are of interest (e.g., using :func:`isinstance`)." msgstr "" @@ -1803,7 +1803,7 @@ msgstr "" msgid "Typed version of :func:`collections.namedtuple`." msgstr "" -#: library/typing.rst:2106 library/typing.rst:3055 +#: library/typing.rst:2106 library/typing.rst:3070 msgid "Usage::" msgstr "" @@ -2089,21 +2089,32 @@ msgid "" "``Point2D.__total__`` gives the value of the ``total`` argument. Example:" msgstr "" -#: library/typing.rst:2401 +#: library/typing.rst:2395 +msgid "" +"This attribute reflects *only* the value of the ``total`` argument to the " +"current ``TypedDict`` class, not whether the class is semantically total. " +"For example, a ``TypedDict`` with ``__total__`` set to True may have keys " +"marked with :data:`NotRequired`, or it may inherit from another " +"``TypedDict`` with ``total=False``. Therefore, it is generally better to " +"use :attr:`__required_keys__` and :attr:`__optional_keys__` for " +"introspection." +msgstr "" + +#: library/typing.rst:2408 msgid "" "``Point2D.__required_keys__`` and ``Point2D.__optional_keys__`` return :" "class:`frozenset` objects containing required and non-required keys, " "respectively." msgstr "" -#: library/typing.rst:2404 +#: library/typing.rst:2411 msgid "" "Keys marked with :data:`Required` will always appear in " "``__required_keys__`` and keys marked with :data:`NotRequired` will always " "appear in ``__optional_keys__``." msgstr "" -#: library/typing.rst:2407 +#: library/typing.rst:2414 msgid "" "For backwards compatibility with Python 3.10 and below, it is also possible " "to use inheritance to declare both required and non-required keys in the " @@ -2112,130 +2123,139 @@ msgid "" "``TypedDict`` with a different value for ``total``:" msgstr "" -#: library/typing.rst:2430 +#: library/typing.rst:2439 +msgid "" +"If ``from __future__ import annotations`` is used or if annotations are " +"given as strings, annotations are not evaluated when the ``TypedDict`` is " +"defined. Therefore, the runtime introspection that ``__required_keys__`` and " +"``__optional_keys__`` rely on may not work properly, and the values of the " +"attributes may be incorrect." +msgstr "" + +#: library/typing.rst:2445 msgid "" "See :pep:`589` for more examples and detailed rules of using ``TypedDict``." msgstr "" -#: library/typing.rst:2434 +#: library/typing.rst:2449 msgid "" "Added support for marking individual keys as :data:`Required` or :data:" "`NotRequired`. See :pep:`655`." msgstr "" -#: library/typing.rst:2438 +#: library/typing.rst:2453 msgid "Added support for generic ``TypedDict``\\ s." msgstr "" -#: library/typing.rst:2442 +#: library/typing.rst:2457 msgid "Protocols" msgstr "" -#: library/typing.rst:2444 +#: library/typing.rst:2459 msgid "" "The following protocols are provided by the typing module. All are decorated " "with :func:`@runtime_checkable <runtime_checkable>`." msgstr "" -#: library/typing.rst:2449 +#: library/typing.rst:2464 msgid "" "An ABC with one abstract method ``__abs__`` that is covariant in its return " "type." msgstr "" -#: library/typing.rst:2454 +#: library/typing.rst:2469 msgid "An ABC with one abstract method ``__bytes__``." msgstr "" -#: library/typing.rst:2458 +#: library/typing.rst:2473 msgid "An ABC with one abstract method ``__complex__``." msgstr "" -#: library/typing.rst:2462 +#: library/typing.rst:2477 msgid "An ABC with one abstract method ``__float__``." msgstr "" -#: library/typing.rst:2466 +#: library/typing.rst:2481 msgid "An ABC with one abstract method ``__index__``." msgstr "" -#: library/typing.rst:2472 +#: library/typing.rst:2487 msgid "An ABC with one abstract method ``__int__``." msgstr "" -#: library/typing.rst:2476 +#: library/typing.rst:2491 msgid "" "An ABC with one abstract method ``__round__`` that is covariant in its " "return type." msgstr "" -#: library/typing.rst:2480 +#: library/typing.rst:2495 msgid "ABCs for working with IO" msgstr "" -#: library/typing.rst:2486 +#: library/typing.rst:2501 msgid "" "Generic type ``IO[AnyStr]`` and its subclasses ``TextIO(IO[str])`` and " "``BinaryIO(IO[bytes])`` represent the types of I/O streams such as returned " "by :func:`open`." msgstr "" -#: library/typing.rst:2492 +#: library/typing.rst:2507 msgid "Functions and decorators" msgstr "" -#: library/typing.rst:2496 +#: library/typing.rst:2511 msgid "Cast a value to a type." msgstr "" -#: library/typing.rst:2498 +#: library/typing.rst:2513 msgid "" "This returns the value unchanged. To the type checker this signals that the " "return value has the designated type, but at runtime we intentionally don't " "check anything (we want this to be as fast as possible)." msgstr "" -#: library/typing.rst:2505 +#: library/typing.rst:2520 msgid "" "Ask a static type checker to confirm that *val* has an inferred type of " "*typ*." msgstr "" -#: library/typing.rst:2507 +#: library/typing.rst:2522 msgid "" "At runtime this does nothing: it returns the first argument unchanged with " "no checks or side effects, no matter the actual type of the argument." msgstr "" -#: library/typing.rst:2510 +#: library/typing.rst:2525 msgid "" "When a static type checker encounters a call to ``assert_type()``, it emits " "an error if the value is not of the specified type::" msgstr "" -#: library/typing.rst:2517 +#: library/typing.rst:2532 msgid "" "This function is useful for ensuring the type checker's understanding of a " "script is in line with the developer's intentions::" msgstr "" -#: library/typing.rst:2531 +#: library/typing.rst:2546 msgid "" "Ask a static type checker to confirm that a line of code is unreachable." msgstr "" -#: library/typing.rst:2533 +#: library/typing.rst:2548 msgid "Example::" msgstr "" -#: library/typing.rst:2544 +#: library/typing.rst:2559 msgid "" "Here, the annotations allow the type checker to infer that the last case can " "never execute, because ``arg`` is either an :class:`int` or a :class:`str`, " "and both options are covered by earlier cases." msgstr "" -#: library/typing.rst:2549 +#: library/typing.rst:2564 msgid "" "If a type checker finds that a call to ``assert_never()`` is reachable, it " "will emit an error. For example, if the type annotation for ``arg`` was " @@ -2245,59 +2265,59 @@ msgid "" "passed in must be the bottom type, :data:`Never`, and nothing else." msgstr "" -#: library/typing.rst:2557 +#: library/typing.rst:2572 msgid "At runtime, this throws an exception when called." msgstr "" -#: library/typing.rst:2560 +#: library/typing.rst:2575 msgid "" "`Unreachable Code and Exhaustiveness Checking <https://typing.readthedocs.io/" "en/latest/source/unreachable.html>`__ has more information about " "exhaustiveness checking with static typing." msgstr "" -#: library/typing.rst:2568 +#: library/typing.rst:2583 msgid "Reveal the inferred static type of an expression." msgstr "" -#: library/typing.rst:2570 +#: library/typing.rst:2585 msgid "" "When a static type checker encounters a call to this function, it emits a " "diagnostic with the type of the argument. For example::" msgstr "" -#: library/typing.rst:2576 +#: library/typing.rst:2591 msgid "" "This can be useful when you want to debug how your type checker handles a " "particular piece of code." msgstr "" -#: library/typing.rst:2579 +#: library/typing.rst:2594 msgid "" "The function returns its argument unchanged, which allows using it within an " "expression::" msgstr "" -#: library/typing.rst:2584 +#: library/typing.rst:2599 msgid "" "Most type checkers support ``reveal_type()`` anywhere, even if the name is " "not imported from ``typing``. Importing the name from ``typing`` allows your " "code to run without runtime errors and communicates intent more clearly." msgstr "" -#: library/typing.rst:2589 +#: library/typing.rst:2604 msgid "" "At runtime, this function prints the runtime type of its argument to stderr " "and returns it unchanged::" msgstr "" -#: library/typing.rst:2601 +#: library/typing.rst:2616 msgid "" "Decorator to mark an object as providing :func:`dataclass <dataclasses." "dataclass>`-like behavior." msgstr "" -#: library/typing.rst:2604 +#: library/typing.rst:2619 msgid "" "``dataclass_transform`` may be used to decorate a class, metaclass, or a " "function that is itself a decorator. The presence of " @@ -2306,19 +2326,19 @@ msgid "" "to :func:`@dataclasses.dataclass <dataclasses.dataclass>`." msgstr "" -#: library/typing.rst:2611 +#: library/typing.rst:2626 msgid "Example usage with a decorator function:" msgstr "" -#: library/typing.rst:2625 +#: library/typing.rst:2640 msgid "On a base class::" msgstr "" -#: library/typing.rst:2634 +#: library/typing.rst:2649 msgid "On a metaclass::" msgstr "" -#: library/typing.rst:2645 +#: library/typing.rst:2660 msgid "" "The ``CustomerModel`` classes defined above will be treated by type checkers " "similarly to classes created with :func:`@dataclasses.dataclass <dataclasses." @@ -2326,7 +2346,7 @@ msgid "" "``__init__`` methods that accept ``id`` and ``name``." msgstr "" -#: library/typing.rst:2651 +#: library/typing.rst:2666 msgid "" "The decorated class, metaclass, or function may accept the following bool " "arguments which type checkers will assume have the same effect as they would " @@ -2336,7 +2356,7 @@ msgid "" "arguments (``True`` or ``False``) to be statically evaluated." msgstr "" -#: library/typing.rst:2659 +#: library/typing.rst:2674 msgid "" "The arguments to the ``dataclass_transform`` decorator can be used to " "customize the default behaviors of the decorated class, metaclass, or " @@ -2347,90 +2367,90 @@ msgstr "" msgid "Parameters" msgstr "" -#: library/typing.rst:2663 +#: library/typing.rst:2678 msgid "" "Indicates whether the ``eq`` parameter is assumed to be ``True`` or " "``False`` if it is omitted by the caller. Defaults to ``True``." msgstr "" -#: library/typing.rst:2668 +#: library/typing.rst:2683 msgid "" "Indicates whether the ``order`` parameter is assumed to be ``True`` or " "``False`` if it is omitted by the caller. Defaults to ``False``." msgstr "" -#: library/typing.rst:2673 +#: library/typing.rst:2688 msgid "" "Indicates whether the ``kw_only`` parameter is assumed to be ``True`` or " "``False`` if it is omitted by the caller. Defaults to ``False``." msgstr "" -#: library/typing.rst:2678 +#: library/typing.rst:2693 msgid "" "Indicates whether the ``frozen`` parameter is assumed to be ``True`` or " "``False`` if it is omitted by the caller. Defaults to ``False``. .. " "versionadded:: 3.12" msgstr "" -#: library/typing.rst:2679 +#: library/typing.rst:2694 msgid "" "Indicates whether the ``frozen`` parameter is assumed to be ``True`` or " "``False`` if it is omitted by the caller. Defaults to ``False``." msgstr "" -#: library/typing.rst:2685 +#: library/typing.rst:2700 msgid "" "Specifies a static list of supported classes or functions that describe " "fields, similar to :func:`dataclasses.field`. Defaults to ``()``." msgstr "" -#: library/typing.rst:2691 +#: library/typing.rst:2706 msgid "" "Arbitrary other keyword arguments are accepted in order to allow for " "possible future extensions." msgstr "" -#: library/typing.rst:2695 +#: library/typing.rst:2710 msgid "" "Type checkers recognize the following optional parameters on field " "specifiers:" msgstr "" -#: library/typing.rst:2698 +#: library/typing.rst:2713 msgid "**Recognised parameters for field specifiers**" msgstr "" -#: library/typing.rst:2702 +#: library/typing.rst:2717 msgid "Parameter name" msgstr "" -#: library/typing.rst:2703 +#: library/typing.rst:2718 msgid "Description" msgstr "" -#: library/typing.rst:2704 +#: library/typing.rst:2719 msgid "``init``" msgstr "" -#: library/typing.rst:2705 +#: library/typing.rst:2720 msgid "" "Indicates whether the field should be included in the synthesized " "``__init__`` method. If unspecified, ``init`` defaults to ``True``." msgstr "" -#: library/typing.rst:2708 +#: library/typing.rst:2723 msgid "``default``" msgstr "" -#: library/typing.rst:2709 +#: library/typing.rst:2724 msgid "Provides the default value for the field." msgstr "" -#: library/typing.rst:2710 +#: library/typing.rst:2725 msgid "``default_factory``" msgstr "" -#: library/typing.rst:2711 +#: library/typing.rst:2726 msgid "" "Provides a runtime callback that returns the default value for the field. If " "neither ``default`` nor ``default_factory`` are specified, the field is " @@ -2438,19 +2458,19 @@ msgid "" "is instantiated." msgstr "" -#: library/typing.rst:2716 +#: library/typing.rst:2731 msgid "``factory``" msgstr "" -#: library/typing.rst:2717 +#: library/typing.rst:2732 msgid "An alias for the ``default_factory`` parameter on field specifiers." msgstr "" -#: library/typing.rst:2718 +#: library/typing.rst:2733 msgid "``kw_only``" msgstr "" -#: library/typing.rst:2719 +#: library/typing.rst:2734 msgid "" "Indicates whether the field should be marked as keyword-only. If ``True``, " "the field will be keyword-only. If ``False``, it will not be keyword-only. " @@ -2460,32 +2480,32 @@ msgid "" "will be used." msgstr "" -#: library/typing.rst:2725 +#: library/typing.rst:2740 msgid "``alias``" msgstr "" -#: library/typing.rst:2726 +#: library/typing.rst:2741 msgid "" "Provides an alternative name for the field. This alternative name is used in " "the synthesized ``__init__`` method." msgstr "" -#: library/typing.rst:2729 +#: library/typing.rst:2744 msgid "" "At runtime, this decorator records its arguments in the " "``__dataclass_transform__`` attribute on the decorated object. It has no " "other runtime effect." msgstr "" -#: library/typing.rst:2733 +#: library/typing.rst:2748 msgid "See :pep:`681` for more details." msgstr "" -#: library/typing.rst:2739 +#: library/typing.rst:2754 msgid "Decorator for creating overloaded functions and methods." msgstr "" -#: library/typing.rst:2741 +#: library/typing.rst:2756 msgid "" "The ``@overload`` decorator allows describing functions and methods that " "support multiple different combinations of argument types. A series of " @@ -2493,7 +2513,7 @@ msgid "" "``@overload``-decorated definition (for the same function/method)." msgstr "" -#: library/typing.rst:2746 +#: library/typing.rst:2761 msgid "" "``@overload``-decorated definitions are for the benefit of the type checker " "only, since they will be overwritten by the non-``@overload``-decorated " @@ -2503,30 +2523,30 @@ msgid "" "`NotImplementedError`." msgstr "" -#: library/typing.rst:2754 +#: library/typing.rst:2769 msgid "" "An example of overload that gives a more precise type than can be expressed " "using a union or a type variable:" msgstr "" -#: library/typing.rst:2771 +#: library/typing.rst:2786 msgid "" "See :pep:`484` for more details and comparison with other typing semantics." msgstr "" -#: library/typing.rst:2773 +#: library/typing.rst:2788 msgid "" "Overloaded functions can now be introspected at runtime using :func:" "`get_overloads`." msgstr "" -#: library/typing.rst:2780 +#: library/typing.rst:2795 msgid "" "Return a sequence of :func:`@overload <overload>`-decorated definitions for " "*func*." msgstr "" -#: library/typing.rst:2783 +#: library/typing.rst:2798 msgid "" "*func* is the function object for the implementation of the overloaded " "function. For example, given the definition of ``process`` in the " @@ -2536,32 +2556,32 @@ msgid "" "returns an empty sequence." msgstr "" -#: library/typing.rst:2790 +#: library/typing.rst:2805 msgid "" "``get_overloads()`` can be used for introspecting an overloaded function at " "runtime." msgstr "" -#: library/typing.rst:2798 +#: library/typing.rst:2813 msgid "Clear all registered overloads in the internal registry." msgstr "" -#: library/typing.rst:2800 +#: library/typing.rst:2815 msgid "This can be used to reclaim the memory used by the registry." msgstr "" -#: library/typing.rst:2807 +#: library/typing.rst:2822 msgid "Decorator to indicate final methods and final classes." msgstr "" -#: library/typing.rst:2809 +#: library/typing.rst:2824 msgid "" "Decorating a method with ``@final`` indicates to a type checker that the " "method cannot be overridden in a subclass. Decorating a class with " "``@final`` indicates that it cannot be subclassed." msgstr "" -#: library/typing.rst:2834 +#: library/typing.rst:2849 msgid "" "The decorator will now attempt to set a ``__final__`` attribute to ``True`` " "on the decorated object. Thus, a check like ``if getattr(obj, \"__final__\", " @@ -2571,11 +2591,11 @@ msgid "" "exception." msgstr "" -#: library/typing.rst:2845 +#: library/typing.rst:2860 msgid "Decorator to indicate that annotations are not type hints." msgstr "" -#: library/typing.rst:2847 +#: library/typing.rst:2862 msgid "" "This works as a class or function :term:`decorator`. With a class, it " "applies recursively to all methods and classes defined in that class (but " @@ -2583,38 +2603,38 @@ msgid "" "will ignore all annotations in a function or class with this decorator." msgstr "" -#: library/typing.rst:2853 +#: library/typing.rst:2868 msgid "``@no_type_check`` mutates the decorated object in place." msgstr "" -#: library/typing.rst:2857 +#: library/typing.rst:2872 msgid "Decorator to give another decorator the :func:`no_type_check` effect." msgstr "" -#: library/typing.rst:2859 +#: library/typing.rst:2874 msgid "" "This wraps the decorator with something that wraps the decorated function " "in :func:`no_type_check`." msgstr "" -#: library/typing.rst:2865 +#: library/typing.rst:2880 msgid "" "Decorator to indicate that a method in a subclass is intended to override a " "method or attribute in a superclass." msgstr "" -#: library/typing.rst:2868 +#: library/typing.rst:2883 msgid "" "Type checkers should emit an error if a method decorated with ``@override`` " "does not, in fact, override anything. This helps prevent bugs that may occur " "when a base class is changed without an equivalent change to a child class." msgstr "" -#: library/typing.rst:2890 +#: library/typing.rst:2905 msgid "There is no runtime checking of this property." msgstr "" -#: library/typing.rst:2892 +#: library/typing.rst:2907 msgid "" "The decorator will attempt to set an ``__override__`` attribute to ``True`` " "on the decorated object. Thus, a check like ``if getattr(obj, " @@ -2624,38 +2644,38 @@ msgid "" "without raising an exception." msgstr "" -#: library/typing.rst:2899 +#: library/typing.rst:2914 msgid "See :pep:`698` for more details." msgstr "" -#: library/typing.rst:2906 +#: library/typing.rst:2921 msgid "Decorator to mark a class or function as unavailable at runtime." msgstr "" -#: library/typing.rst:2908 +#: library/typing.rst:2923 msgid "" "This decorator is itself not available at runtime. It is mainly intended to " "mark classes that are defined in type stub files if an implementation " "returns an instance of a private class::" msgstr "" -#: library/typing.rst:2919 +#: library/typing.rst:2934 msgid "" "Note that returning instances of private classes is not recommended. It is " "usually preferable to make such classes public." msgstr "" -#: library/typing.rst:2923 +#: library/typing.rst:2938 msgid "Introspection helpers" msgstr "" -#: library/typing.rst:2927 +#: library/typing.rst:2942 msgid "" "Return a dictionary containing type hints for a function, method, module or " "class object." msgstr "" -#: library/typing.rst:2930 +#: library/typing.rst:2945 msgid "" "This is often the same as ``obj.__annotations__``. In addition, forward " "references encoded as string literals are handled by evaluating them in " @@ -2664,40 +2684,40 @@ msgid "" "__mro__`` in reverse order." msgstr "" -#: library/typing.rst:2936 +#: library/typing.rst:2951 msgid "" "The function recursively replaces all ``Annotated[T, ...]`` with ``T``, " "unless ``include_extras`` is set to ``True`` (see :class:`Annotated` for " "more information). For example:" msgstr "" -#: library/typing.rst:2953 +#: library/typing.rst:2968 msgid "" ":func:`get_type_hints` does not work with imported :ref:`type aliases <type-" "aliases>` that include forward references. Enabling postponed evaluation of " "annotations (:pep:`563`) may remove the need for most forward references." msgstr "" -#: library/typing.rst:2958 +#: library/typing.rst:2973 msgid "" "Added ``include_extras`` parameter as part of :pep:`593`. See the " "documentation on :data:`Annotated` for more information." msgstr "" -#: library/typing.rst:2962 +#: library/typing.rst:2977 msgid "" "Previously, ``Optional[t]`` was added for function and method annotations if " "a default value equal to ``None`` was set. Now the annotation is returned " "unchanged." msgstr "" -#: library/typing.rst:2969 +#: library/typing.rst:2984 msgid "" "Get the unsubscripted version of a type: for a typing object of the form " "``X[Y, Z, ...]`` return ``X``." msgstr "" -#: library/typing.rst:2972 +#: library/typing.rst:2987 msgid "" "If ``X`` is a typing-module alias for a builtin or :mod:`collections` class, " "it will be normalized to the original class. If ``X`` is an instance of :" @@ -2705,17 +2725,17 @@ msgid "" "class:`ParamSpec`. Return ``None`` for unsupported objects." msgstr "" -#: library/typing.rst:3001 +#: library/typing.rst:3016 msgid "Examples:" msgstr "" -#: library/typing.rst:2993 +#: library/typing.rst:3008 msgid "" "Get type arguments with all substitutions performed: for a typing object of " "the form ``X[Y, Z, ...]`` return ``(Y, Z, ...)``." msgstr "" -#: library/typing.rst:2996 +#: library/typing.rst:3011 msgid "" "If ``X`` is a union or :class:`Literal` contained in another generic type, " "the order of ``(Y, Z, ...)`` may be different from the order of the original " @@ -2723,40 +2743,40 @@ msgid "" "objects." msgstr "" -#: library/typing.rst:3013 +#: library/typing.rst:3028 msgid "Check if a type is a :class:`TypedDict`." msgstr "" -#: library/typing.rst:3034 +#: library/typing.rst:3049 msgid "" "Class used for internal typing representation of string forward references." msgstr "" -#: library/typing.rst:3036 +#: library/typing.rst:3051 msgid "" "For example, ``List[\"SomeClass\"]`` is implicitly transformed into " "``List[ForwardRef(\"SomeClass\")]``. ``ForwardRef`` should not be " "instantiated by a user, but may be used by introspection tools." msgstr "" -#: library/typing.rst:3041 +#: library/typing.rst:3056 msgid "" ":pep:`585` generic types such as ``list[\"SomeClass\"]`` will not be " "implicitly transformed into ``list[ForwardRef(\"SomeClass\")]`` and thus " "will not automatically resolve to ``list[SomeClass]``." msgstr "" -#: library/typing.rst:3048 +#: library/typing.rst:3063 msgid "Constant" msgstr "" -#: library/typing.rst:3052 +#: library/typing.rst:3067 msgid "" "A special constant that is assumed to be ``True`` by 3rd party static type " "checkers. It is ``False`` at runtime." msgstr "" -#: library/typing.rst:3063 +#: library/typing.rst:3078 msgid "" "The first type annotation must be enclosed in quotes, making it a \"forward " "reference\", to hide the ``expensive_mod`` reference from the interpreter " @@ -2764,7 +2784,7 @@ msgid "" "second annotation does not need to be enclosed in quotes." msgstr "" -#: library/typing.rst:3070 +#: library/typing.rst:3085 msgid "" "If ``from __future__ import annotations`` is used, annotations are not " "evaluated at function definition time. Instead, they are stored as strings " @@ -2772,11 +2792,11 @@ msgid "" "annotation (see :pep:`563`)." msgstr "" -#: library/typing.rst:3082 +#: library/typing.rst:3097 msgid "Deprecated aliases" msgstr "" -#: library/typing.rst:3084 +#: library/typing.rst:3099 msgid "" "This module defines several deprecated aliases to pre-existing standard " "library classes. These were originally included in the typing module in " @@ -2785,7 +2805,7 @@ msgid "" "existing classes were enhanced to support ``[]`` (see :pep:`585`)." msgstr "" -#: library/typing.rst:3091 +#: library/typing.rst:3106 msgid "" "The redundant types are deprecated as of Python 3.9. However, while the " "aliases may be removed at some point, removal of these aliases is not " @@ -2793,7 +2813,7 @@ msgid "" "the interpreter for these aliases." msgstr "" -#: library/typing.rst:3096 +#: library/typing.rst:3111 msgid "" "If at some point it is decided to remove these deprecated aliases, a " "deprecation warning will be issued by the interpreter for at least two " @@ -2801,188 +2821,188 @@ msgid "" "typing module without deprecation warnings until at least Python 3.14." msgstr "" -#: library/typing.rst:3101 +#: library/typing.rst:3116 msgid "" "Type checkers are encouraged to flag uses of the deprecated types if the " "program they are checking targets a minimum Python version of 3.9 or newer." msgstr "" -#: library/typing.rst:3107 +#: library/typing.rst:3122 msgid "Aliases to built-in types" msgstr "" -#: library/typing.rst:3111 +#: library/typing.rst:3126 msgid "Deprecated alias to :class:`dict`." msgstr "" -#: library/typing.rst:3113 +#: library/typing.rst:3128 msgid "" "Note that to annotate arguments, it is preferred to use an abstract " "collection type such as :class:`Mapping` rather than to use :class:`dict` " "or :class:`!typing.Dict`." msgstr "" -#: library/typing.rst:3359 +#: library/typing.rst:3374 msgid "This type can be used as follows::" msgstr "" -#: library/typing.rst:3122 +#: library/typing.rst:3137 msgid "" ":class:`builtins.dict <dict>` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3128 +#: library/typing.rst:3143 msgid "Deprecated alias to :class:`list`." msgstr "" -#: library/typing.rst:3130 +#: library/typing.rst:3145 msgid "" "Note that to annotate arguments, it is preferred to use an abstract " "collection type such as :class:`Sequence` or :class:`Iterable` rather than " "to use :class:`list` or :class:`!typing.List`." msgstr "" -#: library/typing.rst:3134 +#: library/typing.rst:3149 msgid "This type may be used as follows::" msgstr "" -#: library/typing.rst:3142 +#: library/typing.rst:3157 msgid "" ":class:`builtins.list <list>` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3148 +#: library/typing.rst:3163 msgid "Deprecated alias to :class:`builtins.set <set>`." msgstr "" -#: library/typing.rst:3150 +#: library/typing.rst:3165 msgid "" "Note that to annotate arguments, it is preferred to use an abstract " "collection type such as :class:`AbstractSet` rather than to use :class:`set` " "or :class:`!typing.Set`." msgstr "" -#: library/typing.rst:3154 +#: library/typing.rst:3169 msgid "" ":class:`builtins.set <set>` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3160 +#: library/typing.rst:3175 msgid "Deprecated alias to :class:`builtins.frozenset <frozenset>`." msgstr "" -#: library/typing.rst:3162 +#: library/typing.rst:3177 msgid "" ":class:`builtins.frozenset <frozenset>` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3169 +#: library/typing.rst:3184 msgid "Deprecated alias for :class:`tuple`." msgstr "" -#: library/typing.rst:3171 +#: library/typing.rst:3186 msgid "" ":class:`tuple` and ``Tuple`` are special-cased in the type system; see :ref:" "`annotating-tuples` for more details." msgstr "" -#: library/typing.rst:3174 +#: library/typing.rst:3189 msgid "" ":class:`builtins.tuple <tuple>` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3180 +#: library/typing.rst:3195 msgid "Deprecated alias to :class:`type`." msgstr "" -#: library/typing.rst:3182 +#: library/typing.rst:3197 msgid "" "See :ref:`type-of-class-objects` for details on using :class:`type` or " "``typing.Type`` in type annotations." msgstr "" -#: library/typing.rst:3187 +#: library/typing.rst:3202 msgid "" ":class:`builtins.type <type>` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3194 +#: library/typing.rst:3209 msgid "Aliases to types in :mod:`collections`" msgstr "" -#: library/typing.rst:3198 +#: library/typing.rst:3213 msgid "Deprecated alias to :class:`collections.defaultdict`." msgstr "" -#: library/typing.rst:3202 +#: library/typing.rst:3217 msgid "" ":class:`collections.defaultdict` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3208 +#: library/typing.rst:3223 msgid "Deprecated alias to :class:`collections.OrderedDict`." msgstr "" -#: library/typing.rst:3212 +#: library/typing.rst:3227 msgid "" ":class:`collections.OrderedDict` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3218 +#: library/typing.rst:3233 msgid "Deprecated alias to :class:`collections.ChainMap`." msgstr "" -#: library/typing.rst:3223 +#: library/typing.rst:3238 msgid "" ":class:`collections.ChainMap` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3229 +#: library/typing.rst:3244 msgid "Deprecated alias to :class:`collections.Counter`." msgstr "" -#: library/typing.rst:3234 +#: library/typing.rst:3249 msgid "" ":class:`collections.Counter` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3240 +#: library/typing.rst:3255 msgid "Deprecated alias to :class:`collections.deque`." msgstr "" -#: library/typing.rst:3245 +#: library/typing.rst:3260 msgid "" ":class:`collections.deque` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3252 +#: library/typing.rst:3267 msgid "Aliases to other concrete types" msgstr "" -#: library/typing.rst:3257 +#: library/typing.rst:3272 msgid "" "The ``typing.io`` namespace is deprecated and will be removed. These types " "should be directly imported from ``typing`` instead." msgstr "" -#: library/typing.rst:3261 +#: library/typing.rst:3276 msgid "" "Deprecated aliases corresponding to the return types from :func:`re.compile` " "and :func:`re.match`." msgstr "" -#: library/typing.rst:3264 +#: library/typing.rst:3279 msgid "" "These types (and the corresponding functions) are generic over :data:" "`AnyStr`. ``Pattern`` can be specialised as ``Pattern[str]`` or " @@ -2990,391 +3010,391 @@ msgid "" "``Match[bytes]``." msgstr "" -#: library/typing.rst:3272 +#: library/typing.rst:3287 msgid "" "The ``typing.re`` namespace is deprecated and will be removed. These types " "should be directly imported from ``typing`` instead." msgstr "" -#: library/typing.rst:3273 +#: library/typing.rst:3288 msgid "" "Classes ``Pattern`` and ``Match`` from :mod:`re` now support ``[]``. See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3279 +#: library/typing.rst:3294 msgid "Deprecated alias for :class:`str`." msgstr "" -#: library/typing.rst:3281 +#: library/typing.rst:3296 msgid "" "``Text`` is provided to supply a forward compatible path for Python 2 code: " "in Python 2, ``Text`` is an alias for ``unicode``." msgstr "" -#: library/typing.rst:3285 +#: library/typing.rst:3300 msgid "" "Use ``Text`` to indicate that a value must contain a unicode string in a " "manner that is compatible with both Python 2 and Python 3::" msgstr "" -#: library/typing.rst:3293 +#: library/typing.rst:3308 msgid "" "Python 2 is no longer supported, and most type checkers also no longer " "support type checking Python 2 code. Removal of the alias is not currently " "planned, but users are encouraged to use :class:`str` instead of ``Text``." msgstr "" -#: library/typing.rst:3303 +#: library/typing.rst:3318 msgid "Aliases to container ABCs in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:3307 +#: library/typing.rst:3322 msgid "Deprecated alias to :class:`collections.abc.Set`." msgstr "" -#: library/typing.rst:3309 +#: library/typing.rst:3324 msgid "" ":class:`collections.abc.Set` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3315 +#: library/typing.rst:3330 msgid "" "This type represents the types :class:`bytes`, :class:`bytearray`, and :" "class:`memoryview` of byte sequences." msgstr "" -#: library/typing.rst:3319 +#: library/typing.rst:3334 msgid "" "Prefer :class:`collections.abc.Buffer`, or a union like ``bytes | bytearray " "| memoryview``." msgstr "" -#: library/typing.rst:3323 +#: library/typing.rst:3338 msgid "Deprecated alias to :class:`collections.abc.Collection`." msgstr "" -#: library/typing.rst:3327 +#: library/typing.rst:3342 msgid "" ":class:`collections.abc.Collection` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3333 +#: library/typing.rst:3348 msgid "Deprecated alias to :class:`collections.abc.Container`." msgstr "" -#: library/typing.rst:3335 +#: library/typing.rst:3350 msgid "" ":class:`collections.abc.Container` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3341 +#: library/typing.rst:3356 msgid "Deprecated alias to :class:`collections.abc.ItemsView`." msgstr "" -#: library/typing.rst:3343 +#: library/typing.rst:3358 msgid "" ":class:`collections.abc.ItemsView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3349 +#: library/typing.rst:3364 msgid "Deprecated alias to :class:`collections.abc.KeysView`." msgstr "" -#: library/typing.rst:3351 +#: library/typing.rst:3366 msgid "" ":class:`collections.abc.KeysView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3357 +#: library/typing.rst:3372 msgid "Deprecated alias to :class:`collections.abc.Mapping`." msgstr "" -#: library/typing.rst:3364 +#: library/typing.rst:3379 msgid "" ":class:`collections.abc.Mapping` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3370 +#: library/typing.rst:3385 msgid "Deprecated alias to :class:`collections.abc.MappingView`." msgstr "" -#: library/typing.rst:3372 +#: library/typing.rst:3387 msgid "" ":class:`collections.abc.MappingView` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3378 +#: library/typing.rst:3393 msgid "Deprecated alias to :class:`collections.abc.MutableMapping`." msgstr "" -#: library/typing.rst:3380 +#: library/typing.rst:3395 msgid "" ":class:`collections.abc.MutableMapping` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3387 +#: library/typing.rst:3402 msgid "Deprecated alias to :class:`collections.abc.MutableSequence`." msgstr "" -#: library/typing.rst:3389 +#: library/typing.rst:3404 msgid "" ":class:`collections.abc.MutableSequence` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3396 +#: library/typing.rst:3411 msgid "Deprecated alias to :class:`collections.abc.MutableSet`." msgstr "" -#: library/typing.rst:3398 +#: library/typing.rst:3413 msgid "" ":class:`collections.abc.MutableSet` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3404 +#: library/typing.rst:3419 msgid "Deprecated alias to :class:`collections.abc.Sequence`." msgstr "" -#: library/typing.rst:3406 +#: library/typing.rst:3421 msgid "" ":class:`collections.abc.Sequence` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3412 +#: library/typing.rst:3427 msgid "Deprecated alias to :class:`collections.abc.ValuesView`." msgstr "" -#: library/typing.rst:3414 +#: library/typing.rst:3429 msgid "" ":class:`collections.abc.ValuesView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3421 +#: library/typing.rst:3436 msgid "Aliases to asynchronous ABCs in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:3425 +#: library/typing.rst:3440 msgid "Deprecated alias to :class:`collections.abc.Coroutine`." msgstr "" -#: library/typing.rst:3427 +#: library/typing.rst:3442 msgid "" "The variance and order of type variables correspond to those of :class:" "`Generator`, for example::" msgstr "" -#: library/typing.rst:3438 +#: library/typing.rst:3453 msgid "" ":class:`collections.abc.Coroutine` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3444 +#: library/typing.rst:3459 msgid "Deprecated alias to :class:`collections.abc.AsyncGenerator`." msgstr "" -#: library/typing.rst:3446 +#: library/typing.rst:3461 msgid "" "An async generator can be annotated by the generic type " "``AsyncGenerator[YieldType, SendType]``. For example::" msgstr "" -#: library/typing.rst:3455 +#: library/typing.rst:3470 msgid "" "Unlike normal generators, async generators cannot return a value, so there " "is no ``ReturnType`` type parameter. As with :class:`Generator`, the " "``SendType`` behaves contravariantly." msgstr "" -#: library/typing.rst:3459 +#: library/typing.rst:3474 msgid "" "If your generator will only yield values, set the ``SendType`` to ``None``::" msgstr "" -#: library/typing.rst:3467 +#: library/typing.rst:3482 msgid "" "Alternatively, annotate your generator as having a return type of either " "``AsyncIterable[YieldType]`` or ``AsyncIterator[YieldType]``::" msgstr "" -#: library/typing.rst:3477 +#: library/typing.rst:3492 msgid "" ":class:`collections.abc.AsyncGenerator` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3484 +#: library/typing.rst:3499 msgid "Deprecated alias to :class:`collections.abc.AsyncIterable`." msgstr "" -#: library/typing.rst:3488 +#: library/typing.rst:3503 msgid "" ":class:`collections.abc.AsyncIterable` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3494 +#: library/typing.rst:3509 msgid "Deprecated alias to :class:`collections.abc.AsyncIterator`." msgstr "" -#: library/typing.rst:3498 +#: library/typing.rst:3513 msgid "" ":class:`collections.abc.AsyncIterator` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3504 +#: library/typing.rst:3519 msgid "Deprecated alias to :class:`collections.abc.Awaitable`." msgstr "" -#: library/typing.rst:3508 +#: library/typing.rst:3523 msgid "" ":class:`collections.abc.Awaitable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3515 +#: library/typing.rst:3530 msgid "Aliases to other ABCs in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:3519 +#: library/typing.rst:3534 msgid "Deprecated alias to :class:`collections.abc.Iterable`." msgstr "" -#: library/typing.rst:3521 +#: library/typing.rst:3536 msgid "" ":class:`collections.abc.Iterable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3527 +#: library/typing.rst:3542 msgid "Deprecated alias to :class:`collections.abc.Iterator`." msgstr "" -#: library/typing.rst:3529 +#: library/typing.rst:3544 msgid "" ":class:`collections.abc.Iterator` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3535 +#: library/typing.rst:3550 msgid "Deprecated alias to :class:`collections.abc.Callable`." msgstr "" -#: library/typing.rst:3537 +#: library/typing.rst:3552 msgid "" "See :ref:`annotating-callables` for details on how to use :class:" "`collections.abc.Callable` and ``typing.Callable`` in type annotations." msgstr "" -#: library/typing.rst:3540 +#: library/typing.rst:3555 msgid "" ":class:`collections.abc.Callable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3550 +#: library/typing.rst:3565 msgid "Deprecated alias to :class:`collections.abc.Generator`." msgstr "" -#: library/typing.rst:3552 +#: library/typing.rst:3567 msgid "" "A generator can be annotated by the generic type ``Generator[YieldType, " "SendType, ReturnType]``. For example::" msgstr "" -#: library/typing.rst:3561 +#: library/typing.rst:3576 msgid "" "Note that unlike many other generics in the typing module, the ``SendType`` " "of :class:`Generator` behaves contravariantly, not covariantly or " "invariantly." msgstr "" -#: library/typing.rst:3565 +#: library/typing.rst:3580 msgid "" "If your generator will only yield values, set the ``SendType`` and " "``ReturnType`` to ``None``::" msgstr "" -#: library/typing.rst:3573 +#: library/typing.rst:3588 msgid "" "Alternatively, annotate your generator as having a return type of either " "``Iterable[YieldType]`` or ``Iterator[YieldType]``::" msgstr "" -#: library/typing.rst:3581 +#: library/typing.rst:3596 msgid "" ":class:`collections.abc.Generator` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3587 +#: library/typing.rst:3602 msgid "Deprecated alias to :class:`collections.abc.Hashable`." msgstr "" -#: library/typing.rst:3589 +#: library/typing.rst:3604 msgid "Use :class:`collections.abc.Hashable` directly instead." msgstr "" -#: library/typing.rst:3594 +#: library/typing.rst:3609 msgid "Deprecated alias to :class:`collections.abc.Reversible`." msgstr "" -#: library/typing.rst:3596 +#: library/typing.rst:3611 msgid "" ":class:`collections.abc.Reversible` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3602 +#: library/typing.rst:3617 msgid "Deprecated alias to :class:`collections.abc.Sized`." msgstr "" -#: library/typing.rst:3604 +#: library/typing.rst:3619 msgid "Use :class:`collections.abc.Sized` directly instead." msgstr "" -#: library/typing.rst:3610 +#: library/typing.rst:3625 msgid "Aliases to :mod:`contextlib` ABCs" msgstr "" -#: library/typing.rst:3614 +#: library/typing.rst:3629 msgid "Deprecated alias to :class:`contextlib.AbstractContextManager`." msgstr "" -#: library/typing.rst:3619 +#: library/typing.rst:3634 msgid "" ":class:`contextlib.AbstractContextManager` now supports subscripting " "(``[]``). See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3626 +#: library/typing.rst:3641 msgid "Deprecated alias to :class:`contextlib.AbstractAsyncContextManager`." msgstr "" -#: library/typing.rst:3631 +#: library/typing.rst:3646 msgid "" ":class:`contextlib.AbstractAsyncContextManager` now supports subscripting " "(``[]``). See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3637 +#: library/typing.rst:3652 msgid "Deprecation Timeline of Major Features" msgstr "" -#: library/typing.rst:3639 +#: library/typing.rst:3654 msgid "" "Certain features in ``typing`` are deprecated and may be removed in a future " "version of Python. The following table summarizes major deprecations for " @@ -3382,98 +3402,98 @@ msgid "" "listed." msgstr "" -#: library/typing.rst:3646 +#: library/typing.rst:3661 msgid "Feature" msgstr "" -#: library/typing.rst:3647 +#: library/typing.rst:3662 msgid "Deprecated in" msgstr "" -#: library/typing.rst:3648 +#: library/typing.rst:3663 msgid "Projected removal" msgstr "" -#: library/typing.rst:3649 +#: library/typing.rst:3664 msgid "PEP/issue" msgstr "" -#: library/typing.rst:3650 +#: library/typing.rst:3665 msgid "``typing.io`` and ``typing.re`` submodules" msgstr "" -#: library/typing.rst:3651 +#: library/typing.rst:3666 msgid "3.8" msgstr "" -#: library/typing.rst:3652 +#: library/typing.rst:3667 msgid "3.13" msgstr "" -#: library/typing.rst:3653 +#: library/typing.rst:3668 msgid ":issue:`38291`" msgstr "" -#: library/typing.rst:3654 +#: library/typing.rst:3669 msgid "``typing`` versions of standard collections" msgstr "" -#: library/typing.rst:3659 +#: library/typing.rst:3674 msgid "3.9" msgstr "" -#: library/typing.rst:3656 +#: library/typing.rst:3671 msgid "Undecided (see :ref:`deprecated-aliases` for more information)" msgstr "" -#: library/typing.rst:3657 +#: library/typing.rst:3672 msgid ":pep:`585`" msgstr "" -#: library/typing.rst:3658 +#: library/typing.rst:3673 msgid ":class:`typing.ByteString`" msgstr "" -#: library/typing.rst:3660 +#: library/typing.rst:3675 msgid "3.14" msgstr "" -#: library/typing.rst:3661 +#: library/typing.rst:3676 msgid ":gh:`91896`" msgstr "" -#: library/typing.rst:3662 +#: library/typing.rst:3677 msgid ":data:`typing.Text`" msgstr "" -#: library/typing.rst:3663 +#: library/typing.rst:3678 msgid "3.11" msgstr "" -#: library/typing.rst:3668 library/typing.rst:3672 +#: library/typing.rst:3683 library/typing.rst:3687 msgid "Undecided" msgstr "" -#: library/typing.rst:3665 +#: library/typing.rst:3680 msgid ":gh:`92332`" msgstr "" -#: library/typing.rst:3666 +#: library/typing.rst:3681 msgid ":class:`typing.Hashable` and :class:`typing.Sized`" msgstr "" -#: library/typing.rst:3671 +#: library/typing.rst:3686 msgid "3.12" msgstr "" -#: library/typing.rst:3669 +#: library/typing.rst:3684 msgid ":gh:`94309`" msgstr "" -#: library/typing.rst:3670 +#: library/typing.rst:3685 msgid ":data:`typing.TypeAlias`" msgstr "" -#: library/typing.rst:3673 +#: library/typing.rst:3688 msgid ":pep:`695`" msgstr "" diff --git a/using/cmdline.po b/using/cmdline.po index 030a8061d..1d8e21922 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -1049,7 +1049,8 @@ msgstr "" msgid "" "Defines the :data:`user base directory <site.USER_BASE>`, which is used to " "compute the path of the :data:`user site-packages directory <site." -"USER_SITE>` and installation paths for ``python -m pip install --user``." +"USER_SITE>` and :ref:`installation paths <sysconfig-user-scheme>` for " +"``python -m pip install --user``." msgstr "" #: using/cmdline.rst:824 diff --git a/whatsnew/2.6.po b/whatsnew/2.6.po index 106cfa9a7..d2f10508f 100644 --- a/whatsnew/2.6.po +++ b/whatsnew/2.6.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-10-01 00:18+0000\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -2051,16 +2051,15 @@ msgstr "" #: whatsnew/2.6.rst:1853 msgid "" -"A new data type in the :mod:`collections` module: :class:" -"`namedtuple(typename, fieldnames)` is a factory function that creates " -"subclasses of the standard tuple whose fields are accessible by name as well " -"as index. For example::" +"A new data type in the :mod:`collections` module: ``namedtuple(typename, " +"fieldnames)`` is a factory function that creates subclasses of the standard " +"tuple whose fields are accessible by name as well as index. For example::" msgstr "" #: whatsnew/2.6.rst:1875 msgid "" "Several places in the standard library that returned tuples have been " -"modified to return :class:`namedtuple` instances. For example, the :meth:" +"modified to return :func:`namedtuple` instances. For example, the :meth:" "`Decimal.as_tuple` method now returns a named tuple with :attr:`sign`, :attr:" "`digits`, and :attr:`exponent` fields." msgstr "" diff --git a/whatsnew/3.12.po b/whatsnew/3.12.po index ed084a710..777810d5a 100644 --- a/whatsnew/3.12.po +++ b/whatsnew/3.12.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-10-01 00:18+0000\n" +"POT-Creation-Date: 2023-10-05 21:24+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" @@ -31,8 +31,8 @@ msgstr "" #: whatsnew/3.12.rst:48 msgid "" "This article explains the new features in Python 3.12, compared to 3.11. " -"Python 3.12 will be released on October 2, 2023. For full details, see the :" -"ref:`changelog <changelog>`." +"Python 3.12 was released on October 2, 2023. For full details, see the :ref:" +"`changelog <changelog>`." msgstr "" #: whatsnew/3.12.rst:54 @@ -163,7 +163,7 @@ msgstr "" #: whatsnew/3.12.rst:123 msgid "" "Due to the changes in :ref:`PEP 701 <whatsnew312-pep701>`, producing tokens " -"via the :mod:`tokenize` module is up to up to 64% faster." +"via the :mod:`tokenize` module is up to 64% faster." msgstr "" #: whatsnew/3.12.rst:126 @@ -392,8 +392,8 @@ msgstr "" #: whatsnew/3.12.rst:305 msgid "" "As a positive side-effect of how this feature has been implemented (by " -"parsing f-strings with :pep:`the PEG parser <617>`, now error messages for f-" -"strings are more precise and include the exact location of the error. For " +"parsing f-strings with :pep:`the PEG parser <617>`), now error messages for " +"f-strings are more precise and include the exact location of the error. For " "example, in Python 3.11, the following f-string raises a :exc:`SyntaxError`:" msgstr ""