Changes between Initial Version and Version 1 of Ticket #28067, comment 4
- Timestamp:
- Apr 11, 2017, 11:54:14 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28067, comment 4
initial v1 1 Then I think we have a documentation bug, because the docs don't actually say that; they just say: "To support Python 2 and 3 with a single code base, define a __str__method returning text and apply this decorator to the class," and don't discuss six.text_type() at all (at least, not in the linked-to section).1 Then I think we have a documentation bug, because the docs don't actually say that; they just say: "To support Python 2 and 3 with a single code base, define a `__str__` method returning text and apply this decorator to the class," and don't discuss six.text_type() at all (at least, not in the linked-to section).