mirror of
https://github.com/python/cpython.git
synced 2025-09-10 18:58:35 +00:00
- Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for
new arguments introduced in 2.5.
This commit is contained in:
parent
29c6a281b1
commit
a5d58c831f
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue