Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: third_party/six/documentation/index.rst

Issue 1587593003: Replace six with the current version which passes checklicenses.py. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Update URL field in README.chromium. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/six/README.chromium ('k') | third_party/six/setup.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/six/documentation/index.rst
diff --git a/third_party/six/documentation/index.rst b/third_party/six/documentation/index.rst
index 1f274005441d4bb025b14c31867bec5926d4762b..1391bacde94eb381cf4f98f5a4ea06c9e8fc3335 100644
--- a/third_party/six/documentation/index.rst
+++ b/third_party/six/documentation/index.rst
@@ -232,6 +232,13 @@ functions and methods is the stdlib :mod:`py3:inspect` module.
requires the *obj*'s class to be passed.
+.. function:: create_unbound_method(func, cls)
+
+ Return an unbound method object wrapping *func*. In Python 2, this will
+ return a :func:`py2:types.MethodType` object. In Python 3, unbound methods
+ do not exist and this wrapper will simply return *func*.
+
+
.. class:: Iterator
A class for making portable iterators. The intention is that it be subclassed
@@ -383,7 +390,7 @@ string data in all Python versions.
.. note::
In Python 3.3, the ``u`` prefix has been reintroduced. Code that only
- supports Python 3 versions greater than 3.3 thus does not need
+ supports Python 3 versions of 3.3 and higher thus does not need
:func:`u`.
.. note::
@@ -570,6 +577,10 @@ Supported renames:
+------------------------------+-------------------------------------+-------------------------------------+
| ``filterfalse`` | :func:`py2:itertools.ifilterfalse` | :func:`py3:itertools.filterfalse` |
+------------------------------+-------------------------------------+-------------------------------------+
+| ``getcwd`` | :func:`py2:os.getcwdu` | :func:`py3:os.getcwd` |
++------------------------------+-------------------------------------+-------------------------------------+
+| ``getcwdb`` | :func:`py2:os.getcwd` | :func:`py3:os.getcwdb` |
++------------------------------+-------------------------------------+-------------------------------------+
| ``http_cookiejar`` | :mod:`py2:cookielib` | :mod:`py3:http.cookiejar` |
+------------------------------+-------------------------------------+-------------------------------------+
| ``http_cookies`` | :mod:`py2:Cookie` | :mod:`py3:http.cookies` |
@@ -598,7 +609,9 @@ Supported renames:
+------------------------------+-------------------------------------+-------------------------------------+
| ``reduce`` | :func:`py2:reduce` | :func:`py3:functools.reduce` |
+------------------------------+-------------------------------------+-------------------------------------+
-| ``reload_module`` | :func:`py2:reload` | :func:`py3:imp.reload` |
+| ``reload_module`` | :func:`py2:reload` | :func:`py3:imp.reload`, |
+| | | :func:`py3:importlib.reload` |
+| | | on Python 3.4+ |
+------------------------------+-------------------------------------+-------------------------------------+
| ``reprlib`` | :mod:`py2:repr` | :mod:`py3:reprlib` |
+------------------------------+-------------------------------------+-------------------------------------+
« no previous file with comments | « third_party/six/README.chromium ('k') | third_party/six/setup.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698