31.08.17 10:10, Steven D'Aprano пише:
(iii) Not every two line function needs to be in the standard library.
Just add this to the top of every module:

def equal(s, t):
     return s.casefold() == t.casefold()

This is my answer.

Unsolved problems:

This proposal doesn't help with sets and dicts, list.index and the `in`
operator either.

This is the end of the discussion.

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to