From: Oleg Broytman Date: Sun, 9 Apr 2017 17:12:06 +0000 (+0300) Subject: init.py: Remove support for Python <= 2.4 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=7bdecd4895c62dd84a2383a9cb1512ac3049632a;p=dotfiles.git init.py: Remove support for Python <= 2.4 --- diff --git a/lib/python/init.py b/lib/python/init.py index 9d20cd6..19f0234 100644 --- a/lib/python/init.py +++ b/lib/python/init.py @@ -263,10 +263,6 @@ def init(): builtins.x = _Exit() - # In Python 2.5+ exit and quit are objects - if isinstance(builtins.exit, str): - builtins.exit = builtins.quit = x # noqa: x is defined as _Exit - # print conten of a file class _Cat: