summaryrefslogtreecommitdiff
path: root/Lib/configparser.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-01-20 21:35:06 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2014-01-20 21:35:06 +0200
commit6d242b52c9e09deb024b2d822aa0e34044b71f8c (patch)
tree61acffd5442e6e837e3a23be1ca086802d67738d /Lib/configparser.py
parentfdd552596d019b51bf0077cf1eefae6d6e776828 (diff)
parentee56cf6250eb8a384eee408224abc9ababad1282 (diff)
downloadcpython-6d242b52c9e09deb024b2d822aa0e34044b71f8c.tar.gz
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 794f857c3f..c0752cee86 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)