summaryrefslogtreecommitdiff
path: root/Lib/SimpleXMLRPCServer.py
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2009-04-05 21:00:48 +0000
committerMatthias Klose <doko@ubuntu.com>2009-04-05 21:00:48 +0000
commita5d58c831fa3b23960c9dfa78f7b9c62a31ce3e0 (patch)
tree1a44529939f757867b29388e2c80ad53ed270151 /Lib/SimpleXMLRPCServer.py
parent29c6a281b1d4001e2bbe58780846bd228279f8a9 (diff)
downloadcpython-git-a5d58c831fa3b23960c9dfa78f7b9c62a31ce3e0.tar.gz
- 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 e9bda9a1c9..967ac7e2bb 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