Kaydet (Commit) a5d58c83 authored tarafından Matthias Klose's avatar Matthias Klose

- Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for

  new arguments introduced in 2.5.
üst 29c6a281
......@@ -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
......
......@@ -689,6 +689,9 @@ Library
- Issue #999042: The Python compiler now handles explict global statements
correctly (should be assigned using STORE_GLOBAL opcode).
- Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for
new arguments introduced in 2.5.
Tools/Demos
-----------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment