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.
........
This commit is contained in:
Matthias Klose 2009-04-07 13:13:10 +00:00
parent 638805f860
commit a3d29e8661
2 changed files with 4 additions and 1 deletions

View file

@ -159,7 +159,7 @@ class SimpleXMLRPCDispatcher:
reason to instantiate this class directly. reason to instantiate this class directly.
""" """
def __init__(self, allow_none, encoding): def __init__(self, allow_none=False, encoding=None):
self.funcs = {} self.funcs = {}
self.instance = None self.instance = None
self.allow_none = allow_none self.allow_none = allow_none

View file

@ -15,6 +15,9 @@ Core and Builtins
Library Library
------- -------
- Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for
new arguments introduced in 2.5.
What's New in Python 3.1 alpha 2? What's New in Python 3.1 alpha 2?
================================= =================================