summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-09-09 02:40:30 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-09-09 02:40:30 (GMT)
commit100fc3fbc26eb4e36f3c72e34ccc4e1a8f8b1f95 (patch)
tree3e67075bbe0b620a2a98bea63bfeb0897d039cca /Doc/library
parentdfcfe133001d8d6a8af05f1ce45d7c14ffd1a588 (diff)
downloadcpython-100fc3fbc26eb4e36f3c72e34ccc4e1a8f8b1f95.zip
cpython-100fc3fbc26eb4e36f3c72e34ccc4e1a8f8b1f95.tar.gz
cpython-100fc3fbc26eb4e36f3c72e34ccc4e1a8f8b1f95.tar.bz2
whatsnew/3.5: Fix library news till Py3.5a1. Update other docs.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/compileall.rst12
-rw-r--r--Doc/library/imghdr.rst4
-rw-r--r--Doc/library/inspect.rst20
3 files changed, 26 insertions, 10 deletions
diff --git a/Doc/library/compileall.rst b/Doc/library/compileall.rst
index 0325f1a..a4c09cc 100644
--- a/Doc/library/compileall.rst
+++ b/Doc/library/compileall.rst
@@ -88,14 +88,12 @@ compile Python sources.
Added the ``-i``, ``-b`` and ``-h`` options.
.. versionchanged:: 3.5
- Added the ``-j`` and ``-r`` options.
-.. versionchanged:: 3.5
- ``-q`` option was changed to a multilevel value.
-
-.. versionchanged:: 3.5
- ``-b`` will always produce a byte-code file ending in ``.pyc``, never
- ``.pyo``.
+ * Added the ``-j`` and ``-r`` options.
+ * ``-q`` option was changed to a multilevel value.
+ * ``-qq`` option.
+ * ``-b`` will always produce a byte-code file ending in ``.pyc``,
+ never ``.pyo``.
There is no command-line option to control the optimization level used by the
diff --git a/Doc/library/imghdr.rst b/Doc/library/imghdr.rst
index c60df24..f11f6dc 100644
--- a/Doc/library/imghdr.rst
+++ b/Doc/library/imghdr.rst
@@ -54,10 +54,8 @@ from :func:`what`:
+------------+-----------------------------------+
.. versionadded:: 3.5
- The *exr* format was added.
+ The *exr* and *webp* formats were added.
-.. versionchanged:: 3.5
- The *webp* type was added.
You can extend the list of file types :mod:`imghdr` can recognize by appending
to this variable:
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index d2247e8..26a2913 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -1039,6 +1039,11 @@ line.
returned list represents *frame*; the last entry represents the outermost call
on *frame*'s stack.
+ .. versionchanged:: 3.5
+ A list of :term:`named tuples <named tuple>`
+ ``FrameInfo(frame, filename, lineno, function, code_context, index)``
+ is returned.
+
.. function:: getinnerframes(traceback, context=1)
@@ -1047,6 +1052,11 @@ line.
list represents *traceback*; the last entry represents where the exception was
raised.
+ .. versionchanged:: 3.5
+ A list of :term:`named tuples <named tuple>`
+ ``FrameInfo(frame, filename, lineno, function, code_context, index)``
+ is returned.
+
.. function:: currentframe()
@@ -1066,6 +1076,11 @@ line.
returned list represents the caller; the last entry represents the outermost
call on the stack.
+ .. versionchanged:: 3.5
+ A list of :term:`named tuples <named tuple>`
+ ``FrameInfo(frame, filename, lineno, function, code_context, index)``
+ is returned.
+
.. function:: trace(context=1)
@@ -1074,6 +1089,11 @@ line.
entry in the list represents the caller; the last entry represents where the
exception was raised.
+ .. versionchanged:: 3.5
+ A list of :term:`named tuples <named tuple>`
+ ``FrameInfo(frame, filename, lineno, function, code_context, index)``
+ is returned.
+
Fetching attributes statically
------------------------------