#13042: QueryDict documentation doesn't include .keys() or .iterkeys() entries ------------------------------------------+--------------------------------- Reporter: schwanksta | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.1 Keywords: querydict keys documentation | Stage: Unreviewed Has_patch: 0 | ------------------------------------------+--------------------------------- I was checking to see if a QueryDict had a .keys() or .iterkeys() method, but the documentation ([http://docs.djangoproject.com/en/dev/ref/request- response/#querydict-objects]) only lists .items() and .iteritems(). Thinking that this would be a weird omission, I decided to check myself:
{{{ >>> qd = QueryDict('a=1&b=2') >>> qd <QueryDict: {u'a': [u'1'], u'b': [u'2']}> >>> qd.keys() [u'a', u'b'] >>> qd.iterkeys() <dictionary-keyiterator object at 0xb467ee0> }}} As you can see, the methods exist, but they're just missing from the docs. -- Ticket URL: <http://code.djangoproject.com/ticket/13042> Django <http://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 post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.