Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
  • Loading branch information
timgates42 committed Jul 16, 2022
commit 2201999e45c8054bfad2eabd71256d7ecf9959a8
2 changes: 1 addition & 1 deletion pythonnet/__init__.py
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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