Index
A
apply function
B
Backtick repr
Bagcat-master
Base strings
check against str
past.builtins module
Python 2
Python 3
string_types constant
unicode type
Binary data
indexing
looping
Bytearray type
Bytes
BytesIO
future.utils.six
six module through Python-future
string literals
explicit marking
six
C
Catching exceptions
cgi.escape()method
chr() function
cmp() function
codecs.open()
Coexistence Gotchas
Configparser
Custom behavior of classes
custom iterators
Custom __str__ Methods
Python_2_unicode_compatible decorator
future
six
python-future
Custom Boolean methods
Custom iterator methods
@implements_iterator decorator
__iter__() method
iterator class
__next__ special method
next() function
six.advanced_iterator() method
subclass object, future’s builtins module
Custom __str__ Methods
D

Get Python 2 and 3 Compatibility: With Six and Python-Future Libraries now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.