Remove extra backticks (#184)
This commit is contained in:
parent
87dc92a34e
commit
f67dd4a759
|
@ -1415,14 +1415,14 @@ where ``SUBEXPR`` is either a Python string (such as ``'2.4'``, or
|
|||
|
||||
* ``python_version``: ``'{0.major}.{0.minor}'.format(sys.version_info)``
|
||||
* ``python_full_version``: see definition below
|
||||
* ``os_name````: ``os.name``
|
||||
* ``sys_platform````: ``sys.platform``
|
||||
* ``os_name``: ``os.name``
|
||||
* ``sys_platform``: ``sys.platform``
|
||||
* ``platform_release``: ``platform.release()``
|
||||
* ``platform_version``: ``platform.version()``
|
||||
* ``platform_machine``: ``platform.machine()``
|
||||
* ``platform_python_implementation``: ``platform.python_implementation()``
|
||||
* ``implementation_name````: ``sys.implementation.name``
|
||||
* ``implementation_version````: see definition below
|
||||
* ``implementation_name``: ``sys.implementation.name``
|
||||
* ``implementation_version``: see definition below
|
||||
|
||||
If a particular value is not available (such as the ``sys.implementation``
|
||||
subattributes in versions of Python prior to 3.3), the corresponding marker
|
||||
|
|
|
@ -161,7 +161,7 @@ you can iterate over them multiple times, and each time they will iterate
|
|||
over the entire underlying mapping.
|
||||
|
||||
These semantics are also available in Python 2.7 as the ``d.viewkeys()``,
|
||||
``d.viewvalues()`` and ```d.viewitems()`` methods.
|
||||
``d.viewvalues()`` and ``d.viewitems()`` methods.
|
||||
|
||||
The ``future.utils`` compatibility module also provides
|
||||
``viewkeys()``, ``viewvalues()`` and ``viewitems()`` helper functions
|
||||
|
|
|
@ -272,7 +272,7 @@ specific type.
|
|||
|
||||
Because ``typing.Callable`` does double-duty as a replacement for
|
||||
``collections.abc.Callable``, ``isinstance(x, typing.Callable)`` is
|
||||
implemented by deferring to ```isinstance(x, collections.abc.Callable)``.
|
||||
implemented by deferring to ``isinstance(x, collections.abc.Callable)``.
|
||||
However, ``isinstance(x, typing.Callable[...])`` is not supported.
|
||||
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ Version numbers
|
|||
* ``python_version``: ``platform.python_version()[:3]``
|
||||
* ``python_full_version``: see definition below
|
||||
* ``platform_version``: ``platform.version()``
|
||||
* ``implementation_version````: see definition below
|
||||
* ``implementation_version``: see definition below
|
||||
|
||||
The ``python_full_version`` and ``implementation_version`` marker variables
|
||||
are derived from ``sys.version_info`` and ``sys.implementation.version``
|
||||
|
|
|
@ -838,7 +838,7 @@ coalescing operator, because there is no implicit type coersion to ``bool``::
|
|||
0
|
||||
|
||||
The ``None``-coalescing operator also has a corresponding assignment shortcut.
|
||||
The following assignments are semantically similar, except that ```foo`` is only
|
||||
The following assignments are semantically similar, except that ``foo`` is only
|
||||
looked up once when using the assignment shortcut::
|
||||
|
||||
>>> foo ??= []
|
||||
|
|
Loading…
Reference in New Issue