Skip to content

Commit

Permalink
docs: Fix a few typos
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
timgates42 authored and lostmsu committed Jul 17, 2022
1 parent 14aae2e commit 60463a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pythonnet/__init__.py
Expand Up @@ -121,7 +121,7 @@ def load(


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

global _RUNTIME, _LOADER_ASSEMBLY
if _LOADER_ASSEMBLY is not None:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_import.py
Expand Up @@ -15,7 +15,7 @@ def test_relative_missing_import():

def test_import_all_on_second_time():
"""Test import all attributes after a normal import without '*'.
Due to import * only allowed at module level, the test body splited
Due to import * only allowed at module level, the test body splitted
to a module file."""
from . import importtest
del sys.modules[importtest.__name__]
Expand Down

0 comments on commit 60463a3

Please sign in to comment.