11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2023 , Python Software Foundation
2+ # Copyright (C) 2001-2024 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # Transifex Bot <>, 2023
7+ # Stan U, 2024
88#
99#, fuzzy
1010msgid ""
1111msgstr ""
12- "Project-Id-Version : Python 3.11 \n "
12+ "Project-Id-Version : Python 3.13 \n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2023-05-19 14:13 +0000\n "
14+ "POT-Creation-Date : 2024-11-22 14:17 +0000\n "
1515"PO-Revision-Date : 2021-06-28 01:11+0000\n "
16- "Last-Translator : Transifex Bot <>, 2023 \n "
16+ "Last-Translator : Stan U, 2024 \n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
1818"MIME-Version : 1.0\n "
1919"Content-Type : text/plain; charset=UTF-8\n "
@@ -23,7 +23,7 @@ msgstr ""
2323"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && "
2424"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n "
2525
26- msgid ":mod:`pkgutil` --- Package extension utility"
26+ msgid ":mod:`! pkgutil` --- Package extension utility"
2727msgstr ""
2828
2929msgid "**Source code:** :source:`Lib/pkgutil.py`"
@@ -42,21 +42,26 @@ msgid ""
4242"use is to place the following code in a package's :file:`__init__.py`::"
4343msgstr ""
4444
45+ msgid ""
46+ "from pkgutil import extend_path\n"
47+ "__path__ = extend_path(__path__, __name__)"
48+ msgstr ""
49+
4550msgid ""
4651"For each directory on :data:`sys.path` that has a subdirectory that matches "
47- "the package name, add the subdirectory to the package's :attr:`__path__`. "
48- "This is useful if one wants to distribute different parts of a single "
49- "logical package as multiple directories."
52+ "the package name, add the subdirectory to the package's :attr:`~module. "
53+ "__path__`. This is useful if one wants to distribute different parts of a "
54+ "single logical package as multiple directories."
5055msgstr ""
5156
5257msgid ""
5358"It also looks for :file:`\\ *.pkg` files beginning where ``*`` matches the "
5459"*name* argument. This feature is similar to :file:`\\ *.pth` files (see the :"
5560"mod:`site` module for more information), except that it doesn't special-case "
5661"lines starting with ``import``. A :file:`\\ *.pkg` file is trusted at face "
57- "value: apart from checking for duplicates , all entries found in a :file:` \\ *. "
58- "pkg` file are added to the path, regardless of whether they exist on the "
59- "filesystem. (This is a feature.) "
62+ "value: apart from skipping blank lines and ignoring comments , all entries "
63+ "found in a :file:` \\ *. pkg` file are added to the path, regardless of whether "
64+ "they exist on the filesystem (this is a feature). "
6065msgstr ""
6166
6267msgid ""
@@ -73,30 +78,6 @@ msgid ""
7378"isdir` behavior)."
7479msgstr ""
7580
76- msgid ":pep:`302` Finder that wraps Python's \" classic\" import algorithm."
77- msgstr ""
78-
79- msgid ""
80- "If *dirname* is a string, a :pep:`302` finder is created that searches that "
81- "directory. If *dirname* is ``None``, a :pep:`302` finder is created that "
82- "searches the current :data:`sys.path`, plus any modules that are frozen or "
83- "built-in."
84- msgstr ""
85-
86- msgid ""
87- "Note that :class:`ImpImporter` does not currently support being used by "
88- "placement on :data:`sys.meta_path`."
89- msgstr ""
90-
91- msgid ""
92- "This emulation is no longer needed, as the standard import mechanism is now "
93- "fully :pep:`302` compliant and available in :mod:`importlib`."
94- msgstr ""
95-
96- msgid ""
97- ":term:`Loader <loader>` that wraps Python's \" classic\" import algorithm."
98- msgstr ""
99-
10081msgid "Retrieve a module :term:`loader` for the given *fullname*."
10182msgstr ""
10283
@@ -115,6 +96,9 @@ msgstr ""
11596msgid "Updated to be based on :pep:`451`"
11697msgstr ""
11798
99+ msgid "Use :func:`importlib.util.find_spec` instead."
100+ msgstr ""
101+
118102msgid "Retrieve a :term:`finder` for the given *path_item*."
119103msgstr ""
120104
@@ -196,6 +180,14 @@ msgid ""
196180msgstr ""
197181
198182msgid "Examples::"
183+ msgstr "Przykłady::"
184+
185+ msgid ""
186+ "# list all modules python can access\n"
187+ "walk_packages()\n"
188+ "\n"
189+ "# list all submodules of ctypes\n"
190+ "walk_packages(ctypes.__path__, ctypes.__name__ + '.')"
199191msgstr ""
200192
201193msgid "Get a resource from a package."
@@ -220,6 +212,11 @@ msgid ""
220212"this is the rough equivalent of::"
221213msgstr ""
222214
215+ msgid ""
216+ "d = os.path.dirname(sys.modules[package].__file__)\n"
217+ "data = open(os.path.join(d, resource), 'rb').read()"
218+ msgstr ""
219+
223220msgid ""
224221"If the package cannot be located or loaded, or it uses a :term:`loader` "
225222"which does not support :meth:`get_data <importlib.abc.ResourceLoader."
0 commit comments