Skip to content

Commit 6b31ef6

Browse files
committed
gh-140505: correct "parameter" to "argument" in ServerProxy methods
1 parent 726c716 commit 6b31ef6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/xmlrpc.client.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ grouped under the reserved :attr:`~ServerProxy.system` attribute:
195195

196196
.. method:: ServerProxy.system.methodSignature(name)
197197

198-
This method takes one parameter, the name of a method implemented by the XML-RPC
198+
This method takes one argument, the name of a method implemented by the XML-RPC
199199
server. It returns an array of possible signatures for this method. A signature
200200
is an array of types. The first of these types is the return type of the method,
201201
the rest are parameters.
@@ -204,7 +204,7 @@ grouped under the reserved :attr:`~ServerProxy.system` attribute:
204204
a list of signatures rather than a singleton.
205205

206206
Signatures themselves are restricted to the top level parameters expected by a
207-
method. For instance if a method expects one array of structs as a parameter,
207+
method. For instance if a method expects one array of structs as a argument,
208208
and it returns a string, its signature is simply "string, array". If it expects
209209
three integers and returns a string, its signature is "string, int, int, int".
210210

@@ -215,7 +215,7 @@ grouped under the reserved :attr:`~ServerProxy.system` attribute:
215215

216216
.. method:: ServerProxy.system.methodHelp(name)
217217

218-
This method takes one parameter, the name of a method implemented by the XML-RPC
218+
This method takes one argument, the name of a method implemented by the XML-RPC
219219
server. It returns a documentation string describing the use of that method. If
220220
no such string is available, an empty string is returned. The documentation
221221
string may contain HTML markup.

0 commit comments

Comments
 (0)