Formatting of docstrings
This commit is contained in:
1 parent
1ec0ba986d
commit
8ff9b0be19
1 file changed
+3
-2
@@ -45,7 +45,9 @@ def gen_file(region_name: str, ip_address: str = "127.0.0.1", port: int = 22023)
|
|||||||
|
|
||||||
def write_file(region_name: str, ip_address: str = "127.0.0.1", file_name: str = "regionInfo.dat", port: int = 22023):
|
def write_file(region_name: str, ip_address: str = "127.0.0.1", file_name: str = "regionInfo.dat", port: int = 22023):
|
||||||
"""
|
"""
|
||||||
Creates and writes the among us regionInfo.dat file
|
Creates and writes the among us regionInfo.dat file.
|
||||||
|
Port should currently always be 22023 for it to work
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
```py
|
```py
|
||||||
try:
|
try:
|
||||||
@@ -54,7 +56,6 @@ def write_file(region_name: str, ip_address: str = "127.0.0.1", file_name: str =
|
|||||||
except Exception as error:
|
except Exception as error:
|
||||||
print(error)
|
print(error)
|
||||||
```
|
```
|
||||||
Port should currently always be 22023 for it to work
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Generate the file and save to the specified file name
|
# Generate the file and save to the specified file name
|
||||||
|
|||||||
Reference in new issue
Block a user