GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up| @@ -262,6 +262,11 @@ Basic Usage | |||
| .. versionchanged:: 3.6 | |||
| All optional parameters are now :ref:`keyword-only <keyword-only_parameter>`. | |||
|
|
|||
| .. versionchanged:: 3.6 | |||
| *fp* can now be a :term:`file-like object` whose ``.read()`` method | |||
I can go with that, was mostly matching the verbiage above (load after all only cares that the object has a .read() method)
ac1c262
to
dd11bbf
| @@ -262,6 +262,10 @@ Basic Usage | |||
| .. versionchanged:: 3.6 | |||
| All optional parameters are now :ref:`keyword-only <keyword-only_parameter>`. | |||
|
|
|||
| .. versionchanged:: 3.6 | |||
| *fp* can now be a :term:`binary file`. The input encoding should be | |||
| UTF-8, UTF-16 or UTF-32. | |||
IMHO the feature should also be documented in the body of the function documentation, not also in this versionchanged note.
dd11bbf
to
e976fea
|
@vstinner @serhiy-storchaka look good now? |
|
LGTM. |
bb6366b
into
python:master
|
GH-7474 is a backport of this pull request to the 3.7 branch. |
|
GH-7475 is a backport of this pull request to the 3.6 branch. |
asottile commentedJun 3, 2018
•
edited by bedevere-bot
https://bugs.python.org/issue17909