Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit efeea12

Browse files
committed
Update translation from Transifex
1 parent ad0dcbf commit efeea12

File tree

2 files changed

+126
-1
lines changed

2 files changed

+126
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Polskie tłumaczenie dokumentacji Pythona
33
![build](https://github.com/python/python-docs-pl/workflows/.github/workflows/update-and-build.yml/badge.svg)
44
![41.52% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-41.52%25-0.svg)
55
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/dynamic/json.svg?label=całość&query=$.pl&url=http://gce.zhsj.me/python/39)
6-
![13 tłumaczy](https://img.shields.io/badge/tłumaczy-13-0.svg)
6+
![14 tłumaczy](https://img.shields.io/badge/tłumaczy-14-0.svg)
77

88
Praca nad tłumaczeniem dokumentacji odbywa się na platformie [Transifex](https://www.transifex.com/).
99

c-api/file.po

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2001-2021, Python Software Foundation
3+
# This file is distributed under the same license as the Python package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
# Translators:
7+
# Michał Frontczak, 2021
8+
#
9+
#, fuzzy
10+
msgid ""
11+
msgstr ""
12+
"Project-Id-Version: Python 3.9\n"
13+
"Report-Msgid-Bugs-To: \n"
14+
"POT-Creation-Date: 2021-03-02 05:36+0000\n"
15+
"PO-Revision-Date: 2017-02-16 17:35+0000\n"
16+
"Last-Translator: Michał Frontczak, 2021\n"
17+
"Language-Team: Polish (https://www.transifex.com/python-doc/teams/5390/pl/)\n"
18+
"MIME-Version: 1.0\n"
19+
"Content-Type: text/plain; charset=UTF-8\n"
20+
"Content-Transfer-Encoding: 8bit\n"
21+
"Language: pl\n"
22+
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n"
23+
"%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n"
24+
"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
25+
26+
msgid "File Objects"
27+
msgstr ""
28+
29+
msgid ""
30+
"These APIs are a minimal emulation of the Python 2 C API for built-in file "
31+
"objects, which used to rely on the buffered I/O (:c:type:`FILE*`) support "
32+
"from the C standard library. In Python 3, files and streams use the new :"
33+
"mod:`io` module, which defines several layers over the low-level unbuffered "
34+
"I/O of the operating system. The functions described below are convenience "
35+
"C wrappers over these new APIs, and meant mostly for internal error "
36+
"reporting in the interpreter; third-party code is advised to access the :mod:"
37+
"`io` APIs instead."
38+
msgstr ""
39+
40+
msgid ""
41+
"Create a Python file object from the file descriptor of an already opened "
42+
"file *fd*. The arguments *name*, *encoding*, *errors* and *newline* can be "
43+
"``NULL`` to use the defaults; *buffering* can be *-1* to use the default. "
44+
"*name* is ignored and kept for backward compatibility. Return ``NULL`` on "
45+
"failure. For a more comprehensive description of the arguments, please refer "
46+
"to the :func:`io.open` function documentation."
47+
msgstr ""
48+
49+
msgid ""
50+
"Since Python streams have their own buffering layer, mixing them with OS-"
51+
"level file descriptors can produce various issues (such as unexpected "
52+
"ordering of data)."
53+
msgstr ""
54+
55+
msgid "Ignore *name* attribute."
56+
msgstr "Zignoruj atrybut *name*."
57+
58+
msgid ""
59+
"Return the file descriptor associated with *p* as an :c:type:`int`. If the "
60+
"object is an integer, its value is returned. If not, the object's :meth:"
61+
"`~io.IOBase.fileno` method is called if it exists; the method must return an "
62+
"integer, which is returned as the file descriptor value. Sets an exception "
63+
"and returns ``-1`` on failure."
64+
msgstr ""
65+
66+
msgid ""
67+
"Equivalent to ``p.readline([n])``, this function reads one line from the "
68+
"object *p*. *p* may be a file object or any object with a :meth:`~io.IOBase."
69+
"readline` method. If *n* is ``0``, exactly one line is read, regardless of "
70+
"the length of the line. If *n* is greater than ``0``, no more than *n* "
71+
"bytes will be read from the file; a partial line can be returned. In both "
72+
"cases, an empty string is returned if the end of the file is reached "
73+
"immediately. If *n* is less than ``0``, however, one line is read "
74+
"regardless of length, but :exc:`EOFError` is raised if the end of the file "
75+
"is reached immediately."
76+
msgstr ""
77+
78+
msgid ""
79+
"Overrides the normal behavior of :func:`io.open_code` to pass its parameter "
80+
"through the provided handler."
81+
msgstr ""
82+
83+
msgid ""
84+
"The handler is a function of type :c:type:`PyObject *(\\*)(PyObject *path, "
85+
"void *userData)`, where *path* is guaranteed to be :c:type:`PyUnicodeObject`."
86+
msgstr ""
87+
88+
msgid ""
89+
"The *userData* pointer is passed into the hook function. Since hook "
90+
"functions may be called from different runtimes, this pointer should not "
91+
"refer directly to Python state."
92+
msgstr ""
93+
94+
msgid ""
95+
"As this hook is intentionally used during import, avoid importing new "
96+
"modules during its execution unless they are known to be frozen or available "
97+
"in ``sys.modules``."
98+
msgstr ""
99+
100+
msgid ""
101+
"Once a hook has been set, it cannot be removed or replaced, and later calls "
102+
"to :c:func:`PyFile_SetOpenCodeHook` will fail. On failure, the function "
103+
"returns -1 and sets an exception if the interpreter has been initialized."
104+
msgstr ""
105+
106+
msgid "This function is safe to call before :c:func:`Py_Initialize`."
107+
msgstr ""
108+
"Funkcja ta może być bezpiecznie wywołana przed :c:func:`Py_Initialize`."
109+
110+
msgid ""
111+
"Raises an :ref:`auditing event <auditing>` ``setopencodehook`` with no "
112+
"arguments."
113+
msgstr ""
114+
115+
msgid ""
116+
"Write object *obj* to file object *p*. The only supported flag for *flags* "
117+
"is :const:`Py_PRINT_RAW`; if given, the :func:`str` of the object is written "
118+
"instead of the :func:`repr`. Return ``0`` on success or ``-1`` on failure; "
119+
"the appropriate exception will be set."
120+
msgstr ""
121+
122+
msgid ""
123+
"Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on "
124+
"failure; the appropriate exception will be set."
125+
msgstr ""

0 commit comments

Comments
 (0)