summaryrefslogtreecommitdiffstats
path: root/Lib/ConfigParser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/ConfigParser.py')
-rw-r--r--Lib/ConfigParser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py
index bdce25e..fe97c9e 100644
--- a/Lib/ConfigParser.py
+++ b/Lib/ConfigParser.py
@@ -374,9 +374,9 @@ class ConfigParser:
"""Remove a file section."""
if self.__sections.has_key(section):
del self.__sections[section]
- return 1
+ return True
else:
- return 0
+ return False
#
# Regular expressions for parsing section headers and options. Note a