diff options
author | Matthias Klose <doko@ubuntu.com> | 2009-04-07 13:13:10 (GMT) |
---|---|---|
committer | Matthias Klose <doko@ubuntu.com> | 2009-04-07 13:13:10 (GMT) |
commit | a3d29e86611cccb67e59a6f75bb2163f40e4e19e (patch) | |
tree | e7cd7c88ec44d9c3131aa0658bb9d8a838bf6770 /Lib/xmlrpc | |
parent | 638805f8603f6ac8fb5cef6fcc2017fa41925416 (diff) | |
download | cpython-a3d29e86611cccb67e59a6f75bb2163f40e4e19e.zip cpython-a3d29e86611cccb67e59a6f75bb2163f40e4e19e.tar.gz cpython-a3d29e86611cccb67e59a6f75bb2163f40e4e19e.tar.bz2 |
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/xmlrpc')
-rw-r--r-- | Lib/xmlrpc/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlrpc/server.py b/Lib/xmlrpc/server.py index f84176f..60f992b 100644 --- a/Lib/xmlrpc/server.py +++ b/Lib/xmlrpc/server.py @@ -159,7 +159,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 |