summaryrefslogtreecommitdiffstats
path: root/Lib/configparser.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-01-20 19:35:06 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-01-20 19:35:06 (GMT)
commitab0ac27d24076a2a09e3d8de97055a2fc978709f (patch)
treeb0d5a4be76eb6122b30ebbdd801c7f82bddec8b3 /Lib/configparser.py
parent679688e70d29fad62bb7a07e682ef6966c489445 (diff)
parent7e52705ee362001a8761461e9c4d49e3873568e0 (diff)
downloadcpython-ab0ac27d24076a2a09e3d8de97055a2fc978709f.zip
cpython-ab0ac27d24076a2a09e3d8de97055a2fc978709f.tar.gz
cpython-ab0ac27d24076a2a09e3d8de97055a2fc978709f.tar.bz2
Issue #20315: Removed support for backward compatibility with early 2.x versions.
Removed backward compatibility alias curses.window.nooutrefresh which should be removed in 2.3.
Diffstat (limited to 'Lib/configparser.py')
-rw-r--r--Lib/configparser.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/Lib/configparser.py b/Lib/configparser.py
index 794f857..c0752ce 100644
--- a/Lib/configparser.py
+++ b/Lib/configparser.py
@@ -144,23 +144,6 @@ MAX_INTERPOLATION_DEPTH = 10
class Error(Exception):
"""Base class for ConfigParser exceptions."""
- def _get_message(self):
- """Getter for 'message'; needed only to override deprecation in
- BaseException.
- """
- return self.__message
-
- def _set_message(self, value):
- """Setter for 'message'; needed only to override deprecation in
- BaseException.
- """
- self.__message = value
-
- # BaseException.message has been deprecated since Python 2.6. To prevent
- # DeprecationWarning from popping up over this pre-existing attribute, use
- # a new property that takes lookup precedence.
- message = property(_get_message, _set_message)
-
def __init__(self, msg=''):
self.message = msg
Exception.__init__(self, msg)