| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,19 +2,19 @@ | |||
| 2 | 2 | # Copyright (C) 2001 Python Software Foundation | |
| 3 | 3 | # This file is distributed under the same license as the Python package. | |
| 4 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | - # | ||
| 5 | + # | ||
| 6 | 6 | #, fuzzy | |
| 7 | 7 | msgid "" | |
| 8 | 8 | msgstr "" | |
| 9 | 9 | "Project-Id-Version: Python 3.14\n" | |
| 10 | 10 | "Report-Msgid-Bugs-To: \n" | |
| 11 | - "POT-Creation-Date: 2026-09-05 16:53+0200\n" | ||
| 12 | - "PO-Revision-Date: 2025-09-16 00:00+0000\n" | ||
| 11 | + "POT-Creation-Date: 2026-09-23 19:04+0000\n" | ||
| 12 | + "PO-Revision-Date: 2026-05-08 17:17+0000\n" | ||
| 13 | 13 | "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" | |
| 14 | - "Language: de\n" | ||
| 15 | 14 | "MIME-Version: 1.0\n" | |
| 16 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | |
| 17 | 16 | "Content-Transfer-Encoding: 8bit\n" | |
| 17 | + "Language: de\n" | ||
| 18 | 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" | |
| 19 | 19 | ||
| 20 | 20 | #: ../../library/__future__.rst:2 | |
@@ -27,17 +27,17 @@ msgstr "" | |||
| 27 | 27 | ||
| 28 | 28 | #: ../../library/__future__.rst:11 | |
| 29 | 29 | msgid "" | |
| 30 | - "Imports of the form ``from __future__ import feature`` are called :ref:" | ||
| 31 | - "`future statements <future>`. These are special-cased by the Python compiler " | ||
| 32 | - "to allow the use of new Python features in modules containing the future " | ||
| 33 | - "statement before the release in which the feature becomes standard." | ||
| 30 | + "Imports of the form ``from __future__ import feature`` are called " | ||
| 31 | + ":ref:`future statements <future>`. These are special-cased by the Python " | ||
| 32 | + "compiler to allow the use of new Python features in modules containing the " | ||
| 33 | + "future statement before the release in which the feature becomes standard." | ||
| 34 | 34 | msgstr "" | |
| 35 | 35 | ||
| 36 | 36 | #: ../../library/__future__.rst:16 | |
| 37 | 37 | msgid "" | |
| 38 | 38 | "While these future statements are given additional special meaning by the " | |
| 39 | - "Python compiler, they are still executed like any other import statement and " | ||
| 40 | - "the :mod:`!__future__` exists and is handled by the import system the same " | ||
| 39 | + "Python compiler, they are still executed like any other import statement and" | ||
| 40 | + " the :mod:`!__future__` exists and is handled by the import system the same " | ||
| 41 | 41 | "way any other Python module would be. This design serves three purposes:" | |
| 42 | 42 | msgstr "" | |
| 43 | 43 | ||
@@ -49,18 +49,18 @@ msgstr "" | |||
| 49 | 49 | ||
| 50 | 50 | #: ../../library/__future__.rst:24 | |
| 51 | 51 | msgid "" | |
| 52 | - "To document when incompatible changes were introduced, and when they will be " | ||
| 53 | - "--- or were --- made mandatory. This is a form of executable documentation, " | ||
| 54 | - "and can be inspected programmatically via importing :mod:`!__future__` and " | ||
| 55 | - "examining its contents." | ||
| 52 | + "To document when incompatible changes were introduced, and when they will be" | ||
| 53 | + " --- or were --- made mandatory. This is a form of executable " | ||
| 54 | + "documentation, and can be inspected programmatically via importing " | ||
| 55 | + ":mod:`!__future__` and examining its contents." | ||
| 56 | 56 | msgstr "" | |
| 57 | 57 | ||
| 58 | 58 | #: ../../library/__future__.rst:29 | |
| 59 | 59 | msgid "" | |
| 60 | - "To ensure that :ref:`future statements <future>` run under releases prior to " | ||
| 61 | - "Python 2.1 at least yield runtime exceptions (the import of :mod:`!" | ||
| 62 | - "__future__` will fail, because there was no module of that name prior to " | ||
| 63 | - "2.1)." | ||
| 60 | + "To ensure that :ref:`future statements <future>` run under releases prior to" | ||
| 61 | + " Python 2.1 at least yield runtime exceptions (the import of " | ||
| 62 | + ":mod:`!__future__` will fail, because there was no module of that name prior" | ||
| 63 | + " to 2.1)." | ||
| 64 | 64 | msgstr "" | |
| 65 | 65 | ||
| 66 | 66 | #: ../../library/__future__.rst:34 | |
@@ -193,17 +193,16 @@ msgstr "" | |||
| 193 | 193 | ||
| 194 | 194 | #: ../../library/__future__.rst:98 | |
| 195 | 195 | msgid "" | |
| 196 | - "where, normally, *OptionalRelease* is less than *MandatoryRelease*, and both " | ||
| 197 | - "are 5-tuples of the same form as :data:`sys.version_info`::" | ||
| 196 | + "where, normally, *OptionalRelease* is less than *MandatoryRelease*, and both" | ||
| 197 | + " are 5-tuples of the same form as :data:`sys.version_info`::" | ||
| 198 | 198 | msgstr "" | |
| 199 | 199 | ||
| 200 | 200 | #: ../../library/__future__.rst:101 | |
| 201 | 201 | msgid "" | |
| 202 | 202 | "(PY_MAJOR_VERSION, # the 2 in 2.1.0a3; an int\n" | |
| 203 | 203 | " PY_MINOR_VERSION, # the 1; an int\n" | |
| 204 | 204 | " PY_MICRO_VERSION, # the 0; an int\n" | |
| 205 | - " PY_RELEASE_LEVEL, # \"alpha\", \"beta\", \"candidate\" or \"final\"; " | ||
| 206 | - "string\n" | ||
| 205 | + " PY_RELEASE_LEVEL, # \"alpha\", \"beta\", \"candidate\" or \"final\"; string\n" | ||
| 207 | 206 | " PY_RELEASE_SERIAL # the 3; an int\n" | |
| 208 | 207 | ")" | |
| 209 | 208 | msgstr "" | |
@@ -239,16 +238,16 @@ msgstr "" | |||
| 239 | 238 | msgid "" | |
| 240 | 239 | "*CompilerFlag* is the (bitfield) flag that should be passed in the fourth " | |
| 241 | 240 | "argument to the built-in function :func:`compile` to enable the feature in " | |
| 242 | - "dynamically compiled code. This flag is stored in the :attr:`_Feature." | ||
| 243 | - "compiler_flag` attribute on :class:`_Feature` instances." | ||
| 241 | + "dynamically compiled code. This flag is stored in the " | ||
| 242 | + ":attr:`_Feature.compiler_flag` attribute on :class:`_Feature` instances." | ||
| 244 | 243 | msgstr "" | |
| 245 | 244 | ||
| 246 | 245 | #: ../../library/__future__.rst:133 | |
| 247 | 246 | msgid "" | |
| 248 | 247 | "``from __future__ import annotations`` was previously scheduled to become " | |
| 249 | 248 | "mandatory in Python 3.10, but the change was delayed and ultimately " | |
| 250 | - "canceled. This feature will eventually be deprecated and removed. See :pep:" | ||
| 251 | - "`649` and :pep:`749`." | ||
| 249 | + "canceled. This feature will eventually be deprecated and removed. See " | ||
| 250 | + ":pep:`649` and :pep:`749`." | ||
| 252 | 251 | msgstr "" | |
| 253 | 252 | ||
| 254 | 253 | #: ../../library/__future__.rst:141 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,19 +2,19 @@ | |||
| 2 | 2 | # Copyright (C) 2001 Python Software Foundation | |
| 3 | 3 | # This file is distributed under the same license as the Python package. | |
| 4 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
| 5 | - # | ||
| 5 | + # | ||
| 6 | 6 | #, fuzzy | |
| 7 | 7 | msgid "" | |
| 8 | 8 | msgstr "" | |
| 9 | 9 | "Project-Id-Version: Python 3.14\n" | |
| 10 | 10 | "Report-Msgid-Bugs-To: \n" | |
| 11 | - "POT-Creation-Date: 2026-09-05 16:53+0200\n" | ||
| 12 | - "PO-Revision-Date: 2025-09-16 00:00+0000\n" | ||
| 11 | + "POT-Creation-Date: 2026-09-23 19:04+0000\n" | ||
| 12 | + "PO-Revision-Date: 2026-05-08 17:17+0000\n" | ||
| 13 | 13 | "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" | |
| 14 | - "Language: de\n" | ||
| 15 | 14 | "MIME-Version: 1.0\n" | |
| 16 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | |
| 17 | 16 | "Content-Transfer-Encoding: 8bit\n" | |
| 17 | + "Language: de\n" | ||
| 18 | 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" | |
| 19 | 19 | ||
| 20 | 20 | #: ../../library/__main__.rst:2 | |
@@ -41,8 +41,8 @@ msgstr "" | |||
| 41 | 41 | msgid "" | |
| 42 | 42 | "Both of these mechanisms are related to Python modules; how users interact " | |
| 43 | 43 | "with them and how they interact with each other. They are explained in " | |
| 44 | - "detail below. If you're new to Python modules, see the tutorial section :" | ||
| 45 | - "ref:`tut-modules` for an introduction." | ||
| 44 | + "detail below. If you're new to Python modules, see the tutorial section " | ||
| 45 | + ":ref:`tut-modules` for an introduction." | ||
| 46 | 46 | msgstr "" | |
| 47 | 47 | ||
| 48 | 48 | #: ../../library/__main__.rst:25 | |
@@ -121,8 +121,8 @@ msgstr "" | |||
| 121 | 121 | ||
| 122 | 122 | #: ../../library/__main__.rst:67 | |
| 123 | 123 | msgid "" | |
| 124 | - "the Python module or package passed to the Python interpreter with the :" | ||
| 125 | - "option:`-m` argument:" | ||
| 124 | + "the Python module or package passed to the Python interpreter with the " | ||
| 125 | + ":option:`-m` argument:" | ||
| 126 | 126 | msgstr "" | |
| 127 | 127 | ||
| 128 | 128 | #: ../../library/__main__.rst:70 | |
@@ -193,17 +193,17 @@ msgstr "" | |||
| 193 | 193 | ||
| 194 | 194 | #: ../../library/__main__.rst:118 | |
| 195 | 195 | msgid "" | |
| 196 | - "Some modules contain code that is intended for script use only, like parsing " | ||
| 197 | - "command-line arguments or fetching data from standard input. If a module " | ||
| 198 | - "like this was imported from a different module, for example to unit test it, " | ||
| 199 | - "the script code would unintentionally execute as well." | ||
| 196 | + "Some modules contain code that is intended for script use only, like parsing" | ||
| 197 | + " command-line arguments or fetching data from standard input. If a module " | ||
| 198 | + "like this was imported from a different module, for example to unit test it," | ||
| 199 | + " the script code would unintentionally execute as well." | ||
| 200 | 200 | msgstr "" | |
| 201 | 201 | ||
| 202 | 202 | #: ../../library/__main__.rst:123 | |
| 203 | 203 | msgid "" | |
| 204 | 204 | "This is where using the ``if __name__ == '__main__'`` code block comes in " | |
| 205 | - "handy. Code within this block won't run unless the module is executed in the " | ||
| 206 | - "top-level environment." | ||
| 205 | + "handy. Code within this block won't run unless the module is executed in the" | ||
| 206 | + " top-level environment." | ||
| 207 | 207 | msgstr "" | |
| 208 | 208 | ||
| 209 | 209 | #: ../../library/__main__.rst:127 | |
@@ -238,12 +238,12 @@ msgstr "" | |||
| 238 | 238 | ||
| 239 | 239 | #: ../../library/__main__.rst:151 | |
| 240 | 240 | msgid "" | |
| 241 | - "Note that if the module didn't encapsulate code inside the ``main`` function " | ||
| 242 | - "but instead put it directly within the ``if __name__ == '__main__'`` block, " | ||
| 243 | - "the ``phrase`` variable would be global to the entire module. This is error-" | ||
| 244 | - "prone as other functions within the module could be unintentionally using " | ||
| 245 | - "the global variable instead of a local name. A ``main`` function solves " | ||
| 246 | - "this problem." | ||
| 241 | + "Note that if the module didn't encapsulate code inside the ``main`` function" | ||
| 242 | + " but instead put it directly within the ``if __name__ == '__main__'`` block," | ||
| 243 | + " the ``phrase`` variable would be global to the entire module. This is " | ||
| 244 | + "error-prone as other functions within the module could be unintentionally " | ||
| 245 | + "using the global variable instead of a local name. A ``main`` function " | ||
| 246 | + "solves this problem." | ||
| 247 | 247 | msgstr "" | |
| 248 | 248 | ||
| 249 | 249 | #: ../../library/__main__.rst:158 | |
@@ -260,10 +260,11 @@ msgstr "" | |||
| 260 | 260 | ||
| 261 | 261 | #: ../../library/__main__.rst:167 | |
| 262 | 262 | msgid "" | |
| 263 | - "``main`` functions are often used to create command-line tools by specifying " | ||
| 264 | - "them as entry points for console scripts. When this is done, `pip <https://" | ||
| 265 | - "pip.pypa.io/>`_ inserts the function call into a template script, where the " | ||
| 266 | - "return value of ``main`` is passed into :func:`sys.exit`. For example::" | ||
| 263 | + "``main`` functions are often used to create command-line tools by specifying" | ||
| 264 | + " them as entry points for console scripts. When this is done, `pip " | ||
| 265 | + "<https://pip.pypa.io/>`_ inserts the function call into a template script, " | ||
| 266 | + "where the return value of ``main`` is passed into :func:`sys.exit`. For " | ||
| 267 | + "example::" | ||
| 267 | 268 | msgstr "" | |
| 268 | 269 | ||
| 269 | 270 | #: ../../library/__main__.rst:173 | |
@@ -273,16 +274,16 @@ msgstr "" | |||
| 273 | 274 | #: ../../library/__main__.rst:175 | |
| 274 | 275 | msgid "" | |
| 275 | 276 | "Since the call to ``main`` is wrapped in :func:`sys.exit`, the expectation " | |
| 276 | - "is that your function will return some value acceptable as an input to :func:" | ||
| 277 | - "`sys.exit`; typically, an integer or ``None`` (which is implicitly returned " | ||
| 278 | - "if your function does not have a return statement)." | ||
| 277 | + "is that your function will return some value acceptable as an input to " | ||
| 278 | + ":func:`sys.exit`; typically, an integer or ``None`` (which is implicitly " | ||
| 279 | + "returned if your function does not have a return statement)." | ||
| 279 | 280 | msgstr "" | |
| 280 | 281 | ||
| 281 | 282 | #: ../../library/__main__.rst:180 | |
| 282 | 283 | msgid "" | |
| 283 | - "By proactively following this convention ourselves, our module will have the " | ||
| 284 | - "same behavior when run directly (i.e. ``python echo.py``) as it will have if " | ||
| 285 | - "we later package it as a console script entry-point in a pip-installable " | ||
| 284 | + "By proactively following this convention ourselves, our module will have the" | ||
| 285 | + " same behavior when run directly (i.e. ``python echo.py``) as it will have " | ||
| 286 | + "if we later package it as a console script entry-point in a pip-installable " | ||
| 286 | 287 | "package." | |
| 287 | 288 | msgstr "" | |
| 288 | 289 | ||
@@ -291,8 +292,8 @@ msgid "" | |||
| 291 | 292 | "In particular, be careful about returning strings from your ``main`` " | |
| 292 | 293 | "function. :func:`sys.exit` will interpret a string argument as a failure " | |
| 293 | 294 | "message, so your program will have an exit code of ``1``, indicating " | |
| 294 | - "failure, and the string will be written to :data:`sys.stderr`. The ``echo." | ||
| 295 | - "py`` example from earlier exemplifies using the ``sys.exit(main())`` " | ||
| 295 | + "failure, and the string will be written to :data:`sys.stderr`. The " | ||
| 296 | + "``echo.py`` example from earlier exemplifies using the ``sys.exit(main())`` " | ||
| 296 | 297 | "convention." | |
| 297 | 298 | msgstr "" | |
| 298 | 299 | ||
@@ -325,8 +326,8 @@ msgstr "" | |||
| 325 | 326 | ||
| 326 | 327 | #: ../../library/__main__.rst:213 | |
| 327 | 328 | msgid "" | |
| 328 | - "``__main__.py`` will be executed when the package itself is invoked directly " | ||
| 329 | - "from the command line using the :option:`-m` flag. For example:" | ||
| 329 | + "``__main__.py`` will be executed when the package itself is invoked directly" | ||
| 330 | + " from the command line using the :option:`-m` flag. For example:" | ||
| 330 | 331 | msgstr "" | |
| 331 | 332 | ||
| 332 | 333 | #: ../../library/__main__.rst:216 | |
@@ -384,8 +385,8 @@ msgstr "" | |||
| 384 | 385 | ||
| 385 | 386 | #: ../../library/__main__.rst:254 | |
| 386 | 387 | msgid "" | |
| 387 | - "This won't work for ``__main__.py`` files in the root directory of a ``." | ||
| 388 | - "zip`` file though. Hence, for consistency, a minimal ``__main__.py`` " | ||
| 388 | + "This won't work for ``__main__.py`` files in the root directory of a " | ||
| 389 | + "``.zip`` file though. Hence, for consistency, a minimal ``__main__.py`` " | ||
| 389 | 390 | "without a ``__name__`` check is preferred." | |
| 390 | 391 | msgstr "" | |
| 391 | 392 | ||
@@ -534,6 +535,6 @@ msgstr "" | |||
| 534 | 535 | ||
| 535 | 536 | #: ../../library/__main__.rst:361 | |
| 536 | 537 | msgid "" | |
| 537 | - "The ``__main__`` scope is used in the implementation of :mod:`pdb` and :mod:" | ||
| 538 | - "`rlcompleter`." | ||
| 538 | + "The ``__main__`` scope is used in the implementation of :mod:`pdb` and " | ||
| 539 | + ":mod:`rlcompleter`." | ||
| 539 | 540 | msgstr "" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments