File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,13 +207,12 @@ that's ``str``/``bytes`` in Python 2 and ``bytes`` in Python 3). The following
207207table lists the **unique ** methods of each data type across Python 2 & 3
208208(e.g., the ``decode() `` method is usable on the equivalent binary data type in
209209either Python 2 or 3, but it can't be used by the text data type consistently
210- between Python 2 and 3 because ``str `` in Python 3 doesn't have the method).
210+ between Python 2 and 3 because ``str `` in Python 3 doesn't have the method). Due
211+ note that as of Python 3.5 the ``__mod__ `` method was added to the bytes type.
211212
212213======================== =====================
213214**Text data ** **Binary data **
214215------------------------ ---------------------
215- __mod__ (``% `` operator)
216- ------------------------ ---------------------
217216\ decode
218217------------------------ ---------------------
219218encode
You can’t perform that action at this time.
0 commit comments