summaryrefslogtreecommitdiff
path: root/Lib/SimpleXMLRPCServer.py
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2009-04-05 21:34:15 +0000
committerMatthias Klose <doko@ubuntu.com>2009-04-05 21:34:15 +0000
commit65396b4dcdb09c6ace6b23ab2bd2def6020ad255 (patch)
treed9c7f73a8855182c6257f6154c04230912905109 /Lib/SimpleXMLRPCServer.py
parent0ca864543076026cc75a2c875e68d946a747a928 (diff)
downloadcpython-git-65396b4dcdb09c6ace6b23ab2bd2def6020ad255.tar.gz
Merged revisions 71268 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71268 | matthias.klose | 2009-04-05 23:00:48 +0200 (So, 05 Apr 2009) | 3 lines - Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for new arguments introduced in 2.5. ........
Diffstat (limited to 'Lib/SimpleXMLRPCServer.py')
-rw-r--r--Lib/SimpleXMLRPCServer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/SimpleXMLRPCServer.py b/Lib/SimpleXMLRPCServer.py
index b304e45c11..6af2f2f7e0 100644
--- a/Lib/SimpleXMLRPCServer.py
+++ b/Lib/SimpleXMLRPCServer.py
@@ -164,7 +164,7 @@ class SimpleXMLRPCDispatcher:
reason to instantiate this class directly.
"""
- def __init__(self, allow_none, encoding):
+ def __init__(self, allow_none=False, encoding=None):
self.funcs = {}
self.instance = None
self.allow_none = allow_none