diff options
author | Matthias Klose <doko@ubuntu.com> | 2009-04-05 21:00:48 +0000 |
---|---|---|
committer | Matthias Klose <doko@ubuntu.com> | 2009-04-05 21:00:48 +0000 |
commit | a5d58c831fa3b23960c9dfa78f7b9c62a31ce3e0 (patch) | |
tree | 1a44529939f757867b29388e2c80ad53ed270151 /Lib/SimpleXMLRPCServer.py | |
parent | 29c6a281b1d4001e2bbe58780846bd228279f8a9 (diff) | |
download | cpython-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.py | 2 |
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 |