Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
09ef03b5
Commit
09ef03b5
authored
Mar 24, 2014
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few scoping issues with versionadded/versionchanged directives.
parent
4438a231
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
38 additions
and
32 deletions
+38
-32
Doc/c-api/exceptions.rst
Doc/c-api/exceptions.rst
+4
-4
Doc/c-api/object.rst
Doc/c-api/object.rst
+1
-0
Doc/library/doctest.rst
Doc/library/doctest.rst
+2
-1
Doc/library/faulthandler.rst
Doc/library/faulthandler.rst
+2
-2
Doc/library/functions.rst
Doc/library/functions.rst
+1
-0
Doc/library/imaplib.rst
Doc/library/imaplib.rst
+1
-0
Doc/library/imp.rst
Doc/library/imp.rst
+15
-15
Doc/library/importlib.rst
Doc/library/importlib.rst
+2
-2
Doc/library/multiprocessing.rst
Doc/library/multiprocessing.rst
+2
-2
Doc/library/optparse.rst
Doc/library/optparse.rst
+2
-2
Doc/library/sys.rst
Doc/library/sys.rst
+2
-1
Doc/library/urllib.request.rst
Doc/library/urllib.request.rst
+4
-3
No files found.
Doc/c-api/exceptions.rst
View file @
09ef03b5
...
...
@@ -247,7 +247,7 @@ in various ways. There is a separate error indicator for each thread.
filename object, for raising errors when a function that takes two filenames
fails.
.. versionadded:: 3.4
.. versionadded:: 3.4
.. c:function:: PyObject* PyErr_SetFromErrnoWithFilename(PyObject *type, const char *filename)
...
...
@@ -295,7 +295,7 @@ in various ways. There is a separate error indicator for each thread.
but accepts a second filename object.
Availability: Windows.
.. versionadded:: 3.4
.. versionadded:: 3.4
.. c:function:: PyObject* PyErr_SetExcFromWindowsErrWithFilename(PyObject *type, int ierr, const char *filename)
...
...
@@ -321,7 +321,7 @@ in various ways. There is a separate error indicator for each thread.
attributes, which make the exception printing subsystem think the exception
is a :exc:`SyntaxError`.
.. versionadded:: 3.4
.. versionadded:: 3.4
.. c:function:: void PyErr_SyntaxLocationEx(char *filename, int lineno, int col_offset)
...
...
@@ -329,7 +329,7 @@ in various ways. There is a separate error indicator for each thread.
Like :c:func:`PyErr_SyntaxLocationObject`, but *filename* is a byte string
decoded from the filesystem encoding (:func:`os.fsdecode`).
.. versionadded:: 3.2
.. versionadded:: 3.2
.. c:function:: void PyErr_SyntaxLocation(char *filename, int lineno)
...
...
Doc/c-api/object.rst
View file @
09ef03b5
...
...
@@ -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.
...
...
Doc/library/doctest.rst
View file @
09ef03b5
...
...
@@ -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:
...
...
Doc/library/faulthandler.rst
View file @
09ef03b5
...
...
@@ -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
------------------
...
...
Doc/library/functions.rst
View file @
09ef03b5
...
...
@@ -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
...
...
Doc/library/imaplib.rst
View file @
09ef03b5
...
...
@@ -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*.
...
...
Doc/library/imp.rst
View file @
09ef03b5
...
...
@@ -262,12 +262,12 @@ that circular imports work without any deadlocks.
exception is made for circular imports, which by construction have to
expose an incomplete module object at some point.
.. versionchanged:: 3.3
.. versionchanged:: 3.3
The locking scheme has changed to per-module locks for
the most part. A global import lock is kept for some critical tasks,
such as initializing the per-module locks.
.. deprecated:: 3.4
.. deprecated:: 3.4
.. function:: acquire_lock()
...
...
@@ -282,12 +282,12 @@ that circular imports work without any deadlocks.
On platforms without threads, this function does nothing.
.. versionchanged:: 3.3
.. versionchanged:: 3.3
The locking scheme has changed to per-module locks for
the most part. A global import lock is kept for some critical tasks,
such as initializing the per-module locks.
.. deprecated:: 3.4
.. deprecated:: 3.4
.. function:: release_lock()
...
...
@@ -295,12 +295,12 @@ that circular imports work without any deadlocks.
Release the interpreter's global import lock. On platforms without
threads, this function does nothing.
.. versionchanged:: 3.3
.. versionchanged:: 3.3
The locking scheme has changed to per-module locks for
the most part. A global import lock is kept for some critical tasks,
such as initializing the per-module locks.
.. deprecated:: 3.4
.. deprecated:: 3.4
The following constants with integer values, defined in this module, are used
...
...
Doc/library/importlib.rst
View file @
09ef03b5
Doc/library/multiprocessing.rst
View file @
09ef03b5
Doc/library/optparse.rst
View file @
09ef03b5
Doc/library/sys.rst
View file @
09ef03b5
...
...
@@ -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
...
...
Doc/library/urllib.request.rst
View file @
09ef03b5
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment