|
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: Python 3.14\n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | | -"POT-Creation-Date: 2026-02-27 14:36+0000\n" |
| 11 | +"POT-Creation-Date: 2026-03-03 14:40+0000\n" |
12 | 12 | "PO-Revision-Date: 2025-09-16 00:01+0000\n" |
13 | 13 | "Language-Team: Hungarian (https://app.transifex.com/python-doc/teams/5390/" |
14 | 14 | "hu/)\n" |
@@ -38,19 +38,19 @@ msgid "Functions and classes provided:" |
38 | 38 | msgstr "" |
39 | 39 |
|
40 | 40 | msgid "" |
41 | | -"An :term:`abstract base class` for classes that implement :meth:`object." |
42 | | -"__enter__` and :meth:`object.__exit__`. A default implementation for :meth:" |
43 | | -"`object.__enter__` is provided which returns ``self`` while :meth:`object." |
| 41 | +"An :term:`abstract base class` for classes that implement :meth:`~object." |
| 42 | +"__enter__` and :meth:`~object.__exit__`. A default implementation for :meth:" |
| 43 | +"`~object.__enter__` is provided which returns ``self`` while :meth:`~object." |
44 | 44 | "__exit__` is an abstract method which by default returns ``None``. See also " |
45 | 45 | "the definition of :ref:`typecontextmanager`." |
46 | 46 | msgstr "" |
47 | 47 |
|
48 | 48 | msgid "" |
49 | | -"An :term:`abstract base class` for classes that implement :meth:`object." |
50 | | -"__aenter__` and :meth:`object.__aexit__`. A default implementation for :meth:" |
51 | | -"`object.__aenter__` is provided which returns ``self`` while :meth:`object." |
52 | | -"__aexit__` is an abstract method which by default returns ``None``. See also " |
53 | | -"the definition of :ref:`async-context-managers`." |
| 49 | +"An :term:`abstract base class` for classes that implement :meth:`~object." |
| 50 | +"__aenter__` and :meth:`~object.__aexit__`. A default implementation for :" |
| 51 | +"meth:`~object.__aenter__` is provided which returns ``self`` while :meth:" |
| 52 | +"`~object.__aexit__` is an abstract method which by default returns ``None``. " |
| 53 | +"See also the definition of :ref:`async-context-managers`." |
54 | 54 | msgstr "" |
55 | 55 |
|
56 | 56 | msgid "" |
@@ -275,9 +275,9 @@ msgid "" |
275 | 275 | msgstr "" |
276 | 276 |
|
277 | 277 | msgid "" |
278 | | -"Return a context manager that returns *enter_result* from ``__enter__``, but " |
279 | | -"otherwise does nothing. It is intended to be used as a stand-in for an " |
280 | | -"optional context manager, for example::" |
| 278 | +"Return a context manager that returns *enter_result* from :meth:`~object." |
| 279 | +"__enter__`, but otherwise does nothing. It is intended to be used as a stand-" |
| 280 | +"in for an optional context manager, for example::" |
281 | 281 | msgstr "" |
282 | 282 |
|
283 | 283 | msgid "" |
@@ -400,9 +400,9 @@ msgstr "" |
400 | 400 | msgid "" |
401 | 401 | "For example, the output of :func:`help` normally is sent to *sys.stdout*. " |
402 | 402 | "You can capture that output in a string by redirecting the output to an :" |
403 | | -"class:`io.StringIO` object. The replacement stream is returned from the " |
404 | | -"``__enter__`` method and so is available as the target of the :keyword:" |
405 | | -"`with` statement::" |
| 403 | +"class:`io.StringIO` object. The replacement stream is returned from the :" |
| 404 | +"meth:`~object.__enter__` method and so is available as the target of the :" |
| 405 | +"keyword:`with` statement::" |
406 | 406 | msgstr "" |
407 | 407 |
|
408 | 408 | msgid "" |
@@ -461,9 +461,10 @@ msgid "" |
461 | 461 | msgstr "" |
462 | 462 |
|
463 | 463 | msgid "" |
464 | | -"Context managers inheriting from ``ContextDecorator`` have to implement " |
465 | | -"``__enter__`` and ``__exit__`` as normal. ``__exit__`` retains its optional " |
466 | | -"exception handling even when used as a decorator." |
| 464 | +"Context managers inheriting from ``ContextDecorator`` have to implement :" |
| 465 | +"meth:`~object.__enter__` and :meth:`~object.__exit__` as normal. " |
| 466 | +"``__exit__`` retains its optional exception handling even when used as a " |
| 467 | +"decorator." |
467 | 468 | msgstr "" |
468 | 469 |
|
469 | 470 | msgid "" |
@@ -820,11 +821,12 @@ msgid "Catching exceptions from ``__enter__`` methods" |
820 | 821 | msgstr "" |
821 | 822 |
|
822 | 823 | msgid "" |
823 | | -"It is occasionally desirable to catch exceptions from an ``__enter__`` " |
824 | | -"method implementation, *without* inadvertently catching exceptions from the :" |
825 | | -"keyword:`with` statement body or the context manager's ``__exit__`` method. " |
826 | | -"By using :class:`ExitStack` the steps in the context management protocol can " |
827 | | -"be separated slightly in order to allow this::" |
| 824 | +"It is occasionally desirable to catch exceptions from an :meth:`~object." |
| 825 | +"__enter__` method implementation, *without* inadvertently catching " |
| 826 | +"exceptions from the :keyword:`with` statement body or the context manager's :" |
| 827 | +"meth:`~object.__exit__` method. By using :class:`ExitStack` the steps in the " |
| 828 | +"context management protocol can be separated slightly in order to allow " |
| 829 | +"this::" |
828 | 830 | msgstr "" |
829 | 831 |
|
830 | 832 | msgid "" |
|
0 commit comments