#30817: Document that Sitemap.items() can return an iterable.
--------------------------------------+------------------------------------
Reporter: Chris Jerdonek | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: sitemap | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by felixxm):
`QuerySet` don't need to support these operation to be considered as a
`sequence`, please take a look at [https://docs.python.org/3/glossary.html
#term-sequence term-sequence]. Moreover changed paragraph is about "an
example" with `QuerySet`. That's why using sequence sounds sufficient to
me.
--
Ticket URL: <https://code.djangoproject.com/ticket/30817#comment:4>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.f223e3fc67bfaa17bfcd55de6fd677f5%40djangoproject.com.