Update docstring to match spaCy format.

This commit is contained in:
Raphael Mitsch 2023-01-09 11:20:52 +01:00 committed by GitHub
parent 4049c57521
commit 6a1da21e26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -1763,11 +1763,9 @@ def find_available_port(start: int, host: str, auto_select: bool = False) -> int
If `auto_select` is True, the next free higher port will be used.
Keyword arguments:
start -- the port to start looking from
host -- the host to find a port on
auto_select -- whether to automatically select a new port if the given port is busy (default False)
start (int): the port to start looking from
host (str): the host to find a port on
auto_select (bool): whether to automatically select a new port if the given port is busy (default False)
RETURNS (int): The port to use.
"""
if not _is_port_in_use(start, host):