On Mon, May 2, 2016 at 8:58 PM Jason N. via Tutor <tutor@python.org> wrote:

> What is the best way to make dictionary requests case in-sensitive? For
> example, "Apple and "apple" should bring back the same dictionary
> response. Thank you.
>

Take a look at how the requests library solves the problem with a
"CaseInsensitiveDict" (
https://github.com/kennethreitz/requests/blob/master/requests/structures.py)
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to