remove 3.3 references
This commit is contained in:
parent
cef72002a0
commit
f778c0eeb4
|
@ -351,7 +351,7 @@ a couple of things are happening here:
|
|||
|
||||
.. versionadded:: 15.0
|
||||
|
||||
On Python 3.3 and above, instead of writing ``returnValue(json.loads(responseBody))`` you can instead write ``return json.loads(responseBody)``.
|
||||
On Python 3, instead of writing ``returnValue(json.loads(responseBody))`` you can instead write ``return json.loads(responseBody)``.
|
||||
This can be a significant readability advantage, but unfortunately if you need compatibility with Python 2, this isn't an option.
|
||||
|
||||
Both versions of ``getUsers`` present exactly the same API to their callers: both return a ``Deferred`` that fires with the parsed JSON body of the request.
|
||||
|
|
|
@ -4,7 +4,7 @@ Porting to Python 3
|
|||
Introduction
|
||||
------------
|
||||
|
||||
Twisted is currently being ported to work with Python 3.3+.
|
||||
Twisted is currently being ported to work with Python 3.4+.
|
||||
This document covers Twisted-specific issues in porting your code to Python 3.
|
||||
|
||||
Most, but not all, of Twisted has been ported, and therefore only a subset of modules are installed under Python 3.
|
||||
|
|
Loading…
Reference in New Issue