merge with 3.4
This commit is contained in:
commit
77605cb937
|
@ -364,6 +364,7 @@ attribute is considered sufficient for this determination.
|
|||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
|
||||
.. c:function:: PyObject* PyObject_GetItem(PyObject *o, PyObject *key)
|
||||
|
||||
Return element of *o* corresponding to the object *key* or *NULL* on failure.
|
||||
|
|
|
@ -502,7 +502,8 @@ or'ed together and passed to various functions. The names can also be used in
|
|||
:ref:`doctest directives <doctest-directives>`, and may be passed to the
|
||||
doctest command line interface via the ``-o`` option.
|
||||
|
||||
.. versionadded:: 3.4 the ``-o`` command line option
|
||||
.. versionadded:: 3.4
|
||||
The ``-o`` command line option.
|
||||
|
||||
The first group of options define test semantics, controlling aspects of how
|
||||
doctest decides whether actual output matches an example's expected output:
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
.. module:: faulthandler
|
||||
:synopsis: Dump the Python traceback.
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
This module contains functions to dump Python tracebacks explicitly, on a fault,
|
||||
after a timeout, or on a user signal. Call :func:`faulthandler.enable` to
|
||||
install fault handlers for the :const:`SIGSEGV`, :const:`SIGFPE`,
|
||||
|
@ -36,8 +38,6 @@ alternatively be passed to :func:`faulthandler.enable`.
|
|||
The module is implemented in C, so tracebacks can be dumped on a crash or when
|
||||
Python is deadlocked.
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
|
||||
Dump the traceback
|
||||
------------------
|
||||
|
|
|
@ -832,6 +832,7 @@ are always available. They are listed here in alphabetical order.
|
|||
.. versionadded:: 3.4
|
||||
The *default* keyword-only argument.
|
||||
|
||||
|
||||
.. function:: next(iterator[, default])
|
||||
|
||||
Retrieve the next item from the *iterator* by calling its
|
||||
|
|
|
@ -451,6 +451,7 @@ An :class:`IMAP4` instance has the following methods:
|
|||
:attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
|
||||
:data:`ssl.HAS_SNI`).
|
||||
|
||||
|
||||
.. method:: IMAP4.status(mailbox, names)
|
||||
|
||||
Request named status conditions for *mailbox*.
|
||||
|
|
|
@ -12,11 +12,12 @@ always available.
|
|||
|
||||
.. data:: abiflags
|
||||
|
||||
On POSIX systems where Python is build with the standard ``configure``
|
||||
On POSIX systems where Python was built with the standard ``configure``
|
||||
script, this contains the ABI flags as specified by :pep:`3149`.
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. data:: argv
|
||||
|
||||
The list of command line arguments passed to a Python script. ``argv[0]`` is the
|
||||
|
|
|
@ -523,9 +523,10 @@ request.
|
|||
Return a list of tuples (header_name, header_value) of the Request headers.
|
||||
|
||||
.. versionchanged:: 3.4
|
||||
Request methods add_data, has_data, get_data, get_type, get_host,
|
||||
get_selector, get_origin_req_host and is_unverifiable deprecated since 3.3
|
||||
have been removed.
|
||||
The request methods add_data, has_data, get_data, get_type, get_host,
|
||||
get_selector, get_origin_req_host and is_unverifiable that were deprecated
|
||||
since 3.3 have been removed.
|
||||
|
||||
|
||||
.. _opener-director-objects:
|
||||
|
||||
|
|
Loading…
Reference in New Issue