Serhiy Storchaka added the comment: Method with name clear() usually removes all content. It would be better to use different name: remove() or invalidate() (is there a precedence in other caches?).
---------- nosy: +ncoghlan, rhettinger, serhiy.storchaka versions: +Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28178> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com