Skip to content

Commit 60463a3

Browse files
timgates42lostmsu
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 <tim.gates@iress.com>
1 parent 14aae2e commit 60463a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pythonnet/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def load(
121121

122122

123123
def unload() -> None:
124-
"""Explicitly unload a laoded runtime and shut down Python.NET"""
124+
"""Explicitly unload a loaded runtime and shut down Python.NET"""
125125

126126
global _RUNTIME, _LOADER_ASSEMBLY
127127
if _LOADER_ASSEMBLY is not None:

tests/test_import.py

+1-1
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)