#20691: Documentation for "Choosing between __str__() and __unicode__()" is
written
for Python2 specifically
--------------------------------------+------------------------------------
Reporter: garrison | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by claudep):
* needs_better_patch: 0 => 1
Comment:
I think I would have written a note at the start of the subsection: `If
you are on Python 3, you can skip this section because you'll always
create __str__()...`. This can prevent a Python 3 user to read the
paragraph just to finally realize that he's not concerned.
--
Ticket URL: <https://code.djangoproject.com/ticket/20691#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.b7f7d338e49f8cb7a6330b906dff0f6a%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.