[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/python/python-docs-pl/friendly-traceback/c-api/long.po [Back]  [Original]

# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR , YEAR.
#
# Translators:
# python-doc bot, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-05 15:56+0000\n"
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
"Last-Translator: python-doc bot, 2025\n"
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pl\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10=0 && n%10=5 && "
"n%10=12 && n%100 0``)."
msgstr ""

msgid ""
"If *obj* is an instance of :c:type:`PyLongObject` or its subtype, return "
"``1`` when it's positive and ``0`` otherwise.  Else set an exception and "
"return ``-1``."
msgstr ""

msgid "Check if the integer object *obj* is negative (``obj < 0``)."
msgstr ""

msgid ""
"If *obj* is an instance of :c:type:`PyLongObject` or its subtype, return "
"``1`` when it's negative and ``0`` otherwise.  Else set an exception and "
"return ``-1``."
msgstr ""

msgid "Check if the integer object *obj* is zero."
msgstr ""

msgid ""
"If *obj* is an instance of :c:type:`PyLongObject` or its subtype, return "
"``1`` when it's zero and ``0`` otherwise.  Else set an exception and return "
"``-1``."
msgstr ""

msgid ""
"On success, return a read only :term:`named tuple`, that holds information "
"about Python's internal representation of integers. See :data:`sys.int_info` "
"for description of individual fields."
msgstr ""

msgid "On failure, return ``NULL`` with an exception set."
msgstr ""

msgid "Return 1 if *op* is compact, 0 otherwise."
msgstr ""

msgid ""
"This function makes it possible for performance-critical code to implement a "
"fast path for small integers. For compact values use :c:func:"
"`PyUnstable_Long_CompactValue`; for others fall back to a :c:func:"
"`PyLong_As* ` function or :c:func:`PyLong_AsNativeBytes`."
msgstr ""

msgid "The speedup is expected to be negligible for most users."
msgstr ""

msgid ""
"Exactly what values are considered compact is an implementation detail and "
"is subject to change."
msgstr ""

msgid ""
"If *op* is compact, as determined by :c:func:`PyUnstable_Long_IsCompact`, "
"return its value."
msgstr ""

msgid "Otherwise, the return value is undefined."
msgstr ""

msgid "Export API"
msgstr ""

msgid ""
"Layout of an array of \"digits\" (\"limbs\" in the GMP terminology), used to "
"represent absolute value for arbitrary precision integers."
msgstr ""

msgid ""
"Use :c:func:`PyLong_GetNativeLayout` to get the native layout of Python :"
"class:`int` objects, used internally for integers with \"big enough\" "
"absolute value."
msgstr ""

msgid ""
"See also :data:`sys.int_info` which exposes similar information in Python."
msgstr ""

msgid ""
"Bits per digit. For example, a 15 bit digit means that bits 0-14 contain "
"meaningful information."
msgstr ""

msgid ""
"Digit size in bytes. For example, a 15 bit digit will require at least 2 "
"bytes."
msgstr ""

msgid "Digits order:"
msgstr ""

msgid "``1`` for most significant digit first"
msgstr ""

msgid "``-1`` for least significant digit first"
msgstr ""

msgid "Digit endianness:"
msgstr ""

msgid "``1`` for most significant byte first (big endian)"
msgstr ""

msgid "``-1`` for least significant byte first (little endian)"
msgstr ""

msgid "Get the native layout of Python :class:`int` objects."
msgstr ""

msgid "See the :c:type:`PyLongLayout` structure."
msgstr ""

msgid ""
"The function must not be called before Python initialization nor after "
"Python finalization. The returned layout is valid until Python is finalized. "
"The layout is the same for all Python sub-interpreters in a process, and so "
"it can be cached."
msgstr ""

msgid "Export of a Python :class:`int` object."
msgstr ""

msgid "There are two cases:"
msgstr ""

msgid ""
"If :c:member:`digits` is ``NULL``, only use the :c:member:`value` member."
msgstr ""

msgid ""
"If :c:member:`digits` is not ``NULL``, use :c:member:`negative`, :c:member:"
"`ndigits` and :c:member:`digits` members."
msgstr ""

msgid ""
"The native integer value of the exported :class:`int` object. Only valid if :"
"c:member:`digits` is ``NULL``."
msgstr ""

msgid ""
"``1`` if the number is negative, ``0`` otherwise. Only valid if :c:member:"
"`digits` is not ``NULL``."
msgstr ""

msgid ""
"Number of digits in :c:member:`digits` array. Only valid if :c:member:"
"`digits` is not ``NULL``."
msgstr ""

msgid "Read-only array of unsigned digits. Can be ``NULL``."
msgstr ""

msgid "Export a Python :class:`int` object."
msgstr ""

msgid ""
"*export_long* must point to a :c:type:`PyLongExport` structure allocated by "
"the caller. It must not be ``NULL``."
msgstr ""

msgid ""
"On success, fill in *\\*export_long* and return ``0``. On error, set an "
"exception and return ``-1``."
msgstr ""

msgid ""
":c:func:`PyLong_FreeExport` must be called when the export is no longer "
"needed."
msgstr ""

msgid ""
"This function always succeeds if *obj* is a Python :class:`int` object or a "
"subclass."
msgstr ""

msgid "Release the export *export_long* created by :c:func:`PyLong_Export`."
msgstr ""

msgid ""
"Calling :c:func:`PyLong_FreeExport` is optional if *export_long->digits* is "
"``NULL``."
msgstr ""

msgid "PyLongWriter API"
msgstr ""

msgid "The :c:type:`PyLongWriter` API can be used to import an integer."
msgstr ""

msgid "A Python :class:`int` writer instance."
msgstr ""

msgid ""
"The instance must be destroyed by :c:func:`PyLongWriter_Finish` or :c:func:"
"`PyLongWriter_Discard`."
msgstr ""

msgid "Create a :c:type:`PyLongWriter`."
msgstr ""

msgid ""
"On success, allocate *\\*digits* and return a writer. On error, set an "
"exception and return ``NULL``."
msgstr ""

msgid "*negative* is ``1`` if the number is negative, or ``0`` otherwise."
msgstr ""

msgid ""
"*ndigits* is the number of digits in the *digits* array. It must be greater "
"than 0."
msgstr ""

msgid "*digits* must not be NULL."
msgstr ""

msgid ""
"After a successful call to this function, the caller should fill in the "
"array of digits *digits* and then call :c:func:`PyLongWriter_Finish` to get "
"a Python :class:`int`. The layout of *digits* is described by :c:func:"
"`PyLong_GetNativeLayout`."
msgstr ""

msgid ""
"Digits must be in the range [``0``; ``(1 

Web Proxy Viewer  |  New URL  |  Original Page