From 7bdecd4895c62dd84a2383a9cb1512ac3049632a Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 9 Apr 2017 20:12:06 +0300 Subject: [PATCH] init.py: Remove support for Python <= 2.4 --- lib/python/init.py | 4 ---- 1 file changed, 4 deletions(-) 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: -- 2.39.5