Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 32d15eb

Browse files
timgates42rmadsen-ks
authored andcommitted
docs: Fix a few typos
There are small typos in: - pythonnet/__init__.py - tests/test_import.py Fixes: - Should read `splitted` rather than `splited`. - Should read `loaded` rather than `laoded`. Signed-off-by: Tim Gates <[email protected]>
1 parent 172c642 commit 32d15eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pythonnet/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def load(runtime: Union[clr_loader.Runtime, str, None] = None, **params: str) ->
145145

146146

147147
def unload() -> None:
148-
"""Explicitly unload a laoded runtime and shut down Python.NET"""
148+
"""Explicitly unload a loaded runtime and shut down Python.NET"""
149149

150150
global _RUNTIME, _LOADER_ASSEMBLY
151151
if _LOADER_ASSEMBLY is not None:

tests/test_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_relative_missing_import():
1515

1616
def test_import_all_on_second_time():
1717
"""Test import all attributes after a normal import without '*'.
18-
Due to import * only allowed at module level, the test body splited
18+
Due to import * only allowed at module level, the test body splitted
1919
to a module file."""
2020
from . import importtest
2121
del sys.modules[importtest.__name__]

0 commit comments

Comments
 (0)