Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
732911fd
Commit
732911fd
authored
Jun 29, 2003
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix problems found by pychecker
parent
643bceca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Lib/SimpleXMLRPCServer.py
Lib/SimpleXMLRPCServer.py
+3
-2
No files found.
Lib/SimpleXMLRPCServer.py
View file @
732911fd
...
...
@@ -305,7 +305,8 @@ class SimpleXMLRPCDispatcher:
if
method
is
None
:
return
""
else
:
return
pydoc
.
getdoc
(
method
)
import
pydoc
return
pydoc
.
getdoc
(
method
)
def
system_multicall
(
self
,
call_list
):
"""system.multicall([{'methodName': 'add', 'params': [2, 2]}, ...]) =>
\
...
...
@@ -485,7 +486,7 @@ class CGIXMLRPCRequestHandler(SimpleXMLRPCDispatcher):
print
'Content-Type: text/html'
print
'Content-Length: %d'
%
len
(
response
)
print
sys
.
stdout
.
write
(
reponse
)
sys
.
stdout
.
write
(
re
s
ponse
)
def
handle_request
(
self
,
request_text
=
None
):
"""Handle a single XML-RPC request passed through a CGI post method.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment