Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 542 Bytes

File metadata and controls

35 lines (19 loc) · 542 Bytes

caseinsensitivedict

Question

Example of a case insensitive dictionary in Python.

Solution

.. literalinclude:: ../../languages/python/design_caseinsensitivedict.py
   :language: python
   :tab-width: 4

.. runcode:: ../../languages/python/design_caseinsensitivedict.py
   :language: python
   :codesite: ideone

Explanation

.. seealso::

   * :python-suggest-improve:`design_caseinsensitivedict.py`
   * :python-better-explain:`design_caseinsensitivedict.rst`