merge pot files.
This commit is contained in:
parent 50c8a573f7
commit 4ef9eaac76
51 changed files with 18031 additions and 17099 deletions
| | @ -8,7 +8,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3.6\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2017-05-27 19:40+0200\n" | ||||
"POT-Creation-Date: 2017-08-01 13:21+0200\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||||
| | @ -379,9 +379,9 @@ msgstr "Bytes" | |||
msgid "" | ||||
"A bytes object is an immutable array. The items are 8-bit bytes, " | ||||
"represented by integers in the range 0 <= x < 256. Bytes literals (like " | ||||
"``b'abc'``) and the built-in function :func:`bytes` can be used to construct " | ||||
"bytes objects. Also, bytes objects can be decoded to strings via the :meth:" | ||||
"`~bytes.decode` method." | ||||
"``b'abc'``) and the built-in :func:`bytes()` constructor can be used to " | ||||
"create bytes objects. Also, bytes objects can be decoded to strings via " | ||||
"the :meth:`~bytes.decode` method." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/datamodel.rst:359 | ||||
| | @ -419,7 +419,7 @@ msgid "" | |||
"A bytearray object is a mutable array. They are created by the built-in :" | ||||
"func:`bytearray` constructor. Aside from being mutable (and hence " | ||||
"unhashable), byte arrays otherwise provide the same interface and " | ||||
"functionality as immutable bytes objects." | ||||
"functionality as immutable :class:`bytes` objects." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/datamodel.rst:358 | ||||
| | @ -1316,9 +1316,9 @@ msgstr "" | |||
#: ../Doc/reference/datamodel.rst:1121 | ||||
msgid "" | ||||
"Typical implementations create a new instance of the class by invoking the " | ||||
"superclass's :meth:`__new__` method using ``super(currentclass, cls)." | ||||
"__new__(cls[, ...])`` with appropriate arguments and then modifying the " | ||||
"newly-created instance as necessary before returning it." | ||||
"superclass's :meth:`__new__` method using ``super().__new__(cls[, ...])`` " | ||||
"with appropriate arguments and then modifying the newly-created instance as " | ||||
"necessary before returning it." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/datamodel.rst:1126 | ||||
| | @ -1350,7 +1350,7 @@ msgid "" | |||
"constructor expression. If a base class has an :meth:`__init__` method, the " | ||||
"derived class's :meth:`__init__` method, if any, must explicitly call it to " | ||||
"ensure proper initialization of the base class part of the instance; for " | ||||
"example: ``BaseClass.__init__(self, [args...])``." | ||||
"example: ``super().__init__([args...])``." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/datamodel.rst:1150 | ||||
| | @ -1453,8 +1453,8 @@ msgstr "" | |||
| ||||
#: ../Doc/reference/datamodel.rst:1256 | ||||
msgid "" | ||||
"Called by :func:`bytes` to compute a byte-string representation of an " | ||||
"object. This should return a ``bytes`` object." | ||||
"Called by :ref:`bytes <func-bytes>` to compute a byte-string representation " | ||||
"of an object. This should return a :class:`bytes` object." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/datamodel.rst:1267 | ||||
| | | |||
| | @ -8,7 +8,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3.6\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2017-05-27 19:40+0200\n" | ||||
"POT-Creation-Date: 2017-08-01 13:21+0200\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||||
| | @ -63,7 +63,7 @@ msgstr "" | |||
msgid "" | ||||
"When a module is first imported, Python searches for the module and if " | ||||
"found, it creates a module object [#fnmo]_, initializing it. If the named " | ||||
"module cannot be found, an :exc:`ModuleNotFoundError` is raised. Python " | ||||
"module cannot be found, a :exc:`ModuleNotFoundError` is raised. Python " | ||||
"implements various strategies to search for the named module when the import " | ||||
"machinery is invoked. These strategies can be modified and extended by " | ||||
"using various hooks described in the sections below." | ||||
| | @ -218,8 +218,8 @@ msgid "" | |||
"This name will be used in various phases of the import search, and it may be " | ||||
"the dotted path to a submodule, e.g. ``foo.bar.baz``. In this case, Python " | ||||
"first tries to import ``foo``, then ``foo.bar``, and finally ``foo.bar." | ||||
"baz``. If any of the intermediate imports fail, an :exc:" | ||||
"`ModuleNotFoundError` is raised." | ||||
"baz``. If any of the intermediate imports fail, a :exc:`ModuleNotFoundError` " | ||||
"is raised." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/import.rst:174 | ||||
| | @ -240,7 +240,7 @@ msgstr "" | |||
msgid "" | ||||
"During import, the module name is looked up in :data:`sys.modules` and if " | ||||
"present, the associated value is the module satisfying the import, and the " | ||||
"process completes. However, if the value is ``None``, then an :exc:" | ||||
"process completes. However, if the value is ``None``, then a :exc:" | ||||
"`ModuleNotFoundError` is raised. If the module name is missing, Python will " | ||||
"continue searching for the module." | ||||
msgstr "" | ||||
| | @ -251,7 +251,7 @@ msgid "" | |||
"associated module (as other modules may hold references to it), but it will " | ||||
"invalidate the cache entry for the named module, causing Python to search " | ||||
"anew for the named module upon its next import. The key can also be assigned " | ||||
"to ``None``, forcing the next import of the module to result in an :exc:" | ||||
"to ``None``, forcing the next import of the module to result in a :exc:" | ||||
"`ModuleNotFoundError`." | ||||
msgstr "" | ||||
| ||||
| | @ -380,7 +380,7 @@ msgid "" | |||
"top-level modules, the second argument is ``None``, but for submodules or " | ||||
"subpackages, the second argument is the value of the parent package's " | ||||
"``__path__`` attribute. If the appropriate ``__path__`` attribute cannot be " | ||||
"accessed, an :exc:`ModuleNotFoundError` is raised. The third argument is an " | ||||
"accessed, a :exc:`ModuleNotFoundError` is raised. The third argument is an " | ||||
"existing module object that will be the target of loading later. The import " | ||||
"system passes in a target module only during reload." | ||||
msgstr "" | ||||
| | @ -768,7 +768,7 @@ msgstr "" | |||
| ||||
#: ../Doc/reference/import.rst:619 | ||||
msgid "" | ||||
"By definition, if a module has an ``__path__`` attribute, it is a package, " | ||||
"By definition, if a module has a ``__path__`` attribute, it is a package, " | ||||
"regardless of its value." | ||||
msgstr "" | ||||
| ||||
| | | |||
| | @ -8,7 +8,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3.6\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2017-04-02 22:11+0200\n" | ||||
"POT-Creation-Date: 2017-08-01 13:21+0200\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||||
| | @ -379,7 +379,7 @@ msgstr "" | |||
#: ../Doc/reference/lexical_analysis.rst:315 | ||||
msgid "" | ||||
"*Other_ID_Start* - explicit list of characters in `PropList.txt <http://www." | ||||
"unicode.org/Public/8.0.0/ucd/PropList.txt>`_ to support backwards " | ||||
"unicode.org/Public/9.0.0/ucd/PropList.txt>`_ to support backwards " | ||||
"compatibility" | ||||
msgstr "" | ||||
| ||||
| | @ -1064,5 +1064,5 @@ msgid "Footnotes" | |||
msgstr "Notes" | ||||
| ||||
#: ../Doc/reference/lexical_analysis.rst:878 | ||||
msgid "http://www.unicode.org/Public/8.0.0/ucd/NameAliases.txt" | ||||
msgid "http://www.unicode.org/Public/9.0.0/ucd/NameAliases.txt" | ||||
msgstr "" | ||||
| | | |||
| | @ -8,7 +8,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3.6\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2017-04-02 22:11+0200\n" | ||||
"POT-Creation-Date: 2017-08-01 13:21+0200\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||||
| | @ -587,46 +587,62 @@ msgstr "" | |||
| ||||
#: ../Doc/reference/simple_stmts.rst:617 | ||||
msgid "" | ||||
"Exception chaining can be explicitly suppressed by specifying :const:`None` " | ||||
"in the ``from`` clause::" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:629 | ||||
msgid "" | ||||
"Additional information on exceptions can be found in section :ref:" | ||||
"`exceptions`, and information about handling exceptions is in section :ref:" | ||||
"`try`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:624 | ||||
msgid "The :keyword:`break` statement" | ||||
#: ../Doc/reference/simple_stmts.rst:632 | ||||
msgid ":const:`None` is now permitted as ``Y`` in ``raise X from Y``." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:635 | ||||
msgid "" | ||||
"The ``__suppress_context__`` attribute to suppress automatic display of the " | ||||
"exception context." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:642 | ||||
msgid "The :keyword:`break` statement" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:653 | ||||
msgid "" | ||||
":keyword:`break` may only occur syntactically nested in a :keyword:`for` or :" | ||||
"keyword:`while` loop, but not nested in a function or class definition " | ||||
"within that loop." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:642 | ||||
#: ../Doc/reference/simple_stmts.rst:660 | ||||
msgid "" | ||||
"It terminates the nearest enclosing loop, skipping the optional :keyword:" | ||||
"`else` clause if the loop has one." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:645 | ||||
#: ../Doc/reference/simple_stmts.rst:663 | ||||
msgid "" | ||||
"If a :keyword:`for` loop is terminated by :keyword:`break`, the loop control " | ||||
"target keeps its current value." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:650 | ||||
#: ../Doc/reference/simple_stmts.rst:668 | ||||
msgid "" | ||||
"When :keyword:`break` passes control out of a :keyword:`try` statement with " | ||||
"a :keyword:`finally` clause, that :keyword:`finally` clause is executed " | ||||
"before really leaving the loop." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:658 | ||||
#: ../Doc/reference/simple_stmts.rst:676 | ||||
msgid "The :keyword:`continue` statement" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:670 | ||||
#: ../Doc/reference/simple_stmts.rst:688 | ||||
msgid "" | ||||
":keyword:`continue` may only occur syntactically nested in a :keyword:`for` " | ||||
"or :keyword:`while` loop, but not nested in a function or class definition " | ||||
| | @ -634,41 +650,41 @@ msgid "" | |||
"cycle of the nearest enclosing loop." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:675 | ||||
#: ../Doc/reference/simple_stmts.rst:693 | ||||
msgid "" | ||||
"When :keyword:`continue` passes control out of a :keyword:`try` statement " | ||||
"with a :keyword:`finally` clause, that :keyword:`finally` clause is executed " | ||||
"before really starting the next loop cycle." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:684 | ||||
#: ../Doc/reference/simple_stmts.rst:702 | ||||
msgid "The :keyword:`import` statement" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:703 | ||||
#: ../Doc/reference/simple_stmts.rst:721 | ||||
msgid "" | ||||
"The basic import statement (no :keyword:`from` clause) is executed in two " | ||||
"steps:" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:706 | ||||
#: ../Doc/reference/simple_stmts.rst:724 | ||||
msgid "find a module, loading and initializing it if necessary" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:707 | ||||
#: ../Doc/reference/simple_stmts.rst:725 | ||||
msgid "" | ||||
"define a name or names in the local namespace for the scope where the :" | ||||
"keyword:`import` statement occurs." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:710 | ||||
#: ../Doc/reference/simple_stmts.rst:728 | ||||
msgid "" | ||||
"When the statement contains multiple clauses (separated by commas) the two " | ||||
"steps are carried out separately for each clause, just as though the clauses " | ||||
"had been separated out into individual import statements." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:715 | ||||
#: ../Doc/reference/simple_stmts.rst:733 | ||||
msgid "" | ||||
"The details of the first step, finding and loading modules are described in " | ||||
"greater detail in the section on the :ref:`import system <importsystem>`, " | ||||
| | @ -679,26 +695,26 @@ msgid "" | |||
"module, which includes execution of the module's code." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:723 | ||||
#: ../Doc/reference/simple_stmts.rst:741 | ||||
msgid "" | ||||
"If the requested module is retrieved successfully, it will be made available " | ||||
"in the local namespace in one of three ways:" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:728 | ||||
#: ../Doc/reference/simple_stmts.rst:746 | ||||
msgid "" | ||||
"If the module name is followed by :keyword:`as`, then the name following :" | ||||
"keyword:`as` is bound directly to the imported module." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:730 | ||||
#: ../Doc/reference/simple_stmts.rst:748 | ||||
msgid "" | ||||
"If no other name is specified, and the module being imported is a top level " | ||||
"module, the module's name is bound in the local namespace as a reference to " | ||||
"the imported module" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:733 | ||||
#: ../Doc/reference/simple_stmts.rst:751 | ||||
msgid "" | ||||
"If the module being imported is *not* a top level module, then the name of " | ||||
"the top level package that contains the module is bound in the local " | ||||
| | @ -706,53 +722,53 @@ msgid "" | |||
"be accessed using its full qualified name rather than directly" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:744 | ||||
#: ../Doc/reference/simple_stmts.rst:762 | ||||
msgid "The :keyword:`from` form uses a slightly more complex process:" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:746 | ||||
#: ../Doc/reference/simple_stmts.rst:764 | ||||
msgid "" | ||||
"find the module specified in the :keyword:`from` clause, loading and " | ||||
"initializing it if necessary;" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:748 | ||||
#: ../Doc/reference/simple_stmts.rst:766 | ||||
msgid "for each of the identifiers specified in the :keyword:`import` clauses:" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:750 | ||||
#: ../Doc/reference/simple_stmts.rst:768 | ||||
msgid "check if the imported module has an attribute by that name" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:751 | ||||
#: ../Doc/reference/simple_stmts.rst:769 | ||||
msgid "" | ||||
"if not, attempt to import a submodule with that name and then check the " | ||||
"imported module again for that attribute" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:753 | ||||
#: ../Doc/reference/simple_stmts.rst:771 | ||||
msgid "if the attribute is not found, :exc:`ImportError` is raised." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:754 | ||||
#: ../Doc/reference/simple_stmts.rst:772 | ||||
msgid "" | ||||
"otherwise, a reference to that value is stored in the local namespace, using " | ||||
"the name in the :keyword:`as` clause if it is present, otherwise using the " | ||||
"attribute name" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:758 | ||||
#: ../Doc/reference/simple_stmts.rst:776 | ||||
msgid "Examples::" | ||||
msgstr "Exemples : ::" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:766 | ||||
#: ../Doc/reference/simple_stmts.rst:784 | ||||
msgid "" | ||||
"If the list of identifiers is replaced by a star (``'*'``), all public names " | ||||
"defined in the module are bound in the local namespace for the scope where " | ||||
"the :keyword:`import` statement occurs." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:772 | ||||
#: ../Doc/reference/simple_stmts.rst:790 | ||||
msgid "" | ||||
"The *public names* defined by a module are determined by checking the " | ||||
"module's namespace for a variable named ``__all__``; if defined, it must be " | ||||
| | @ -765,14 +781,14 @@ msgid "" | |||
"API (such as library modules which were imported and used within the module)." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:782 | ||||
#: ../Doc/reference/simple_stmts.rst:800 | ||||
msgid "" | ||||
"The wild card form of import --- ``from module import *`` --- is only " | ||||
"allowed at the module level. Attempting to use it in class or function " | ||||
"definitions will raise a :exc:`SyntaxError`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:789 | ||||
#: ../Doc/reference/simple_stmts.rst:807 | ||||
msgid "" | ||||
"When specifying what module to import you do not have to specify the " | ||||
"absolute name of the module. When a module or package is contained within " | ||||
| | @ -789,24 +805,24 @@ msgid "" | |||
"within :pep:`328`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:802 | ||||
#: ../Doc/reference/simple_stmts.rst:820 | ||||
msgid "" | ||||
":func:`importlib.import_module` is provided to support applications that " | ||||
"determine dynamically the modules to be loaded." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:809 | ||||
#: ../Doc/reference/simple_stmts.rst:827 | ||||
msgid "Future statements" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:813 | ||||
#: ../Doc/reference/simple_stmts.rst:831 | ||||
msgid "" | ||||
"A :dfn:`future statement` is a directive to the compiler that a particular " | ||||
"module should be compiled using syntax or semantics that will be available " | ||||
"in a specified future release of Python where the feature becomes standard." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:817 | ||||
#: ../Doc/reference/simple_stmts.rst:835 | ||||
msgid "" | ||||
"The future statement is intended to ease migration to future versions of " | ||||
"Python that introduce incompatible changes to the language. It allows use " | ||||
| | @ -814,29 +830,29 @@ msgid "" | |||
"feature becomes standard." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:830 | ||||
#: ../Doc/reference/simple_stmts.rst:848 | ||||
msgid "" | ||||
"A future statement must appear near the top of the module. The only lines " | ||||
"that can appear before a future statement are:" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:833 | ||||
#: ../Doc/reference/simple_stmts.rst:851 | ||||
msgid "the module docstring (if any)," | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:834 | ||||
#: ../Doc/reference/simple_stmts.rst:852 | ||||
msgid "comments," | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:835 | ||||
#: ../Doc/reference/simple_stmts.rst:853 | ||||
msgid "blank lines, and" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:836 | ||||
#: ../Doc/reference/simple_stmts.rst:854 | ||||
msgid "other future statements." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:840 | ||||
#: ../Doc/reference/simple_stmts.rst:858 | ||||
msgid "" | ||||
"The features recognized by Python 3.0 are ``absolute_import``, ``division``, " | ||||
"``generators``, ``unicode_literals``, ``print_function``, ``nested_scopes`` " | ||||
| | @ -844,7 +860,7 @@ msgid "" | |||
"enabled, and only kept for backwards compatibility." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:845 | ||||
#: ../Doc/reference/simple_stmts.rst:863 | ||||
msgid "" | ||||
"A future statement is recognized and treated specially at compile time: " | ||||
"Changes to the semantics of core constructs are often implemented by " | ||||
| | @ -854,37 +870,37 @@ msgid "" | |||
"cannot be pushed off until runtime." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:852 | ||||
#: ../Doc/reference/simple_stmts.rst:870 | ||||
msgid "" | ||||
"For any given release, the compiler knows which feature names have been " | ||||
"defined, and raises a compile-time error if a future statement contains a " | ||||
"feature not known to it." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:856 | ||||
#: ../Doc/reference/simple_stmts.rst:874 | ||||
msgid "" | ||||
"The direct runtime semantics are the same as for any import statement: there " | ||||
"is a standard module :mod:`__future__`, described later, and it will be " | ||||
"imported in the usual way at the time the future statement is executed." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:860 | ||||
#: ../Doc/reference/simple_stmts.rst:878 | ||||
msgid "" | ||||
"The interesting runtime semantics depend on the specific feature enabled by " | ||||
"the future statement." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:863 | ||||
#: ../Doc/reference/simple_stmts.rst:881 | ||||
msgid "Note that there is nothing special about the statement::" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:867 | ||||
#: ../Doc/reference/simple_stmts.rst:885 | ||||
msgid "" | ||||
"That is not a future statement; it's an ordinary import statement with no " | ||||
"special semantics or syntax restrictions." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:870 | ||||
#: ../Doc/reference/simple_stmts.rst:888 | ||||
msgid "" | ||||
"Code compiled by calls to the built-in functions :func:`exec` and :func:" | ||||
"`compile` that occur in a module :mod:`M` containing a future statement " | ||||
| | @ -893,7 +909,7 @@ msgid "" | |||
"--- see the documentation of that function for details." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:876 | ||||
#: ../Doc/reference/simple_stmts.rst:894 | ||||
msgid "" | ||||
"A future statement typed at an interactive interpreter prompt will take " | ||||
"effect for the rest of the interpreter session. If an interpreter is " | ||||
| | @ -902,19 +918,19 @@ msgid "" | |||
"interactive session started after the script is executed." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:884 | ||||
#: ../Doc/reference/simple_stmts.rst:902 | ||||
msgid ":pep:`236` - Back to the __future__" | ||||
msgstr ":pep:`236` - Back to the __future__" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:885 | ||||
#: ../Doc/reference/simple_stmts.rst:903 | ||||
msgid "The original proposal for the __future__ mechanism." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:891 | ||||
#: ../Doc/reference/simple_stmts.rst:909 | ||||
msgid "The :keyword:`global` statement" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:900 | ||||
#: ../Doc/reference/simple_stmts.rst:918 | ||||
msgid "" | ||||
"The :keyword:`global` statement is a declaration which holds for the entire " | ||||
"current code block. It means that the listed identifiers are to be " | ||||
| | @ -923,13 +939,13 @@ msgid "" | |||
"globals without being declared global." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:906 | ||||
#: ../Doc/reference/simple_stmts.rst:924 | ||||
msgid "" | ||||
"Names listed in a :keyword:`global` statement must not be used in the same " | ||||
"code block textually preceding that :keyword:`global` statement." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:909 | ||||
#: ../Doc/reference/simple_stmts.rst:927 | ||||
msgid "" | ||||
"Names listed in a :keyword:`global` statement must not be defined as formal " | ||||
"parameters or in a :keyword:`for` loop control target, :keyword:`class` " | ||||
| | @ -937,17 +953,17 @@ msgid "" | |||
"annotation." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:916 | ||||
#: ../Doc/reference/simple_stmts.rst:934 | ||||
msgid "" | ||||
"The current implementation does not enforce some of these restriction, but " | ||||
"programs should not abuse this freedom, as future implementations may " | ||||
"enforce them or silently change the meaning of the program." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:925 | ||||
#: ../Doc/reference/simple_stmts.rst:943 | ||||
msgid "" | ||||
"**Programmer's note:** the :keyword:`global` is a directive to the parser. " | ||||
"It applies only to code parsed at the same time as the :keyword:`global` " | ||||
"**Programmer's note:** :keyword:`global` is a directive to the parser. It " | ||||
"applies only to code parsed at the same time as the :keyword:`global` " | ||||
"statement. In particular, a :keyword:`global` statement contained in a " | ||||
"string or code object supplied to the built-in :func:`exec` function does " | ||||
"not affect the code block *containing* the function call, and code contained " | ||||
| | @ -956,11 +972,11 @@ msgid "" | |||
"func:`compile` functions." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:937 | ||||
#: ../Doc/reference/simple_stmts.rst:955 | ||||
msgid "The :keyword:`nonlocal` statement" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:948 | ||||
#: ../Doc/reference/simple_stmts.rst:966 | ||||
msgid "" | ||||
"The :keyword:`nonlocal` statement causes the listed identifiers to refer to " | ||||
"previously bound variables in the nearest enclosing scope excluding globals. " | ||||
| | @ -969,7 +985,7 @@ msgid "" | |||
"variables outside of the local scope besides the global (module) scope." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:958 | ||||
#: ../Doc/reference/simple_stmts.rst:976 | ||||
msgid "" | ||||
"Names listed in a :keyword:`nonlocal` statement, unlike those listed in a :" | ||||
"keyword:`global` statement, must refer to pre-existing bindings in an " | ||||
| | @ -977,16 +993,16 @@ msgid "" | |||
"be determined unambiguously)." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:963 | ||||
#: ../Doc/reference/simple_stmts.rst:981 | ||||
msgid "" | ||||
"Names listed in a :keyword:`nonlocal` statement must not collide with pre-" | ||||
"existing bindings in the local scope." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:968 | ||||
#: ../Doc/reference/simple_stmts.rst:986 | ||||
msgid ":pep:`3104` - Access to Names in Outer Scopes" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/reference/simple_stmts.rst:969 | ||||
#: ../Doc/reference/simple_stmts.rst:987 | ||||
msgid "The specification for the :keyword:`nonlocal` statement." | ||||
msgstr "" | ||||
| | | |||
Loading…
Add table
Add a link
Reference in a new issue