mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-26 17:02:00 +02:00
Merge #17030: test: Fix Python Docstring to include all Args.
8acd58927a614e006641384f61f8e7fca1cc68fc Fix Python Docstring to include all Args. (John Bampton) Pull request description: Found a Python function that had incorrect and missing arguments in its Docstring. ACKs for top commit: laanwj: ACK 8acd58927a614e006641384f61f8e7fca1cc68fc Tree-SHA512: 936f275f29a700d630bb479b5283e47b66f2df76d8b8c053f594e6aedf783cc98a29c924c3a46613f112dfc884acb50f21a0b18f96d939e887b12b921ef2e10f
This commit is contained in:
commit
866fd2888f
@ -244,7 +244,7 @@ class PortSeed:
|
|||||||
# Must be initialized with a unique integer for each process
|
# Must be initialized with a unique integer for each process
|
||||||
n = None
|
n = None
|
||||||
|
|
||||||
def get_rpc_proxy(url, node_number, timeout=None, coveragedir=None):
|
def get_rpc_proxy(url, node_number, *, timeout=None, coveragedir=None):
|
||||||
"""
|
"""
|
||||||
Args:
|
Args:
|
||||||
url (str): URL of the RPC server to call
|
url (str): URL of the RPC server to call
|
||||||
@ -252,6 +252,7 @@ def get_rpc_proxy(url, node_number, timeout=None, coveragedir=None):
|
|||||||
|
|
||||||
Kwargs:
|
Kwargs:
|
||||||
timeout (int): HTTP timeout in seconds
|
timeout (int): HTTP timeout in seconds
|
||||||
|
coveragedir (str): Directory
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
AuthServiceProxy. convenience object for making RPC calls.
|
AuthServiceProxy. convenience object for making RPC calls.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user