diff --git a/gin/config.py b/gin/config.py index 5e060aa..76da703 100644 --- a/gin/config.py +++ b/gin/config.py @@ -1123,7 +1123,7 @@ def _might_have_parameter(fn_or_cls, arg_name): Args: fn_or_cls: The function or class to check. - arg_name: The name fo the parameter. + arg_name: The name of the parameter. Returns: Whether `arg_name` might be a valid argument of `fn`. diff --git a/gin/resource_reader.py b/gin/resource_reader.py index 7aeaf4c..da6353b 100644 --- a/gin/resource_reader.py +++ b/gin/resource_reader.py @@ -63,7 +63,7 @@ def _parse_config_path(config_path: str) -> str: Path is split into head and filename using `os.path.split`. The head is treated as a Python package and the filename as a gin file. Path to where the - package is located on the fileystem is determined and then joined with the + package is located on the filesystem is determined and then joined with the filename. `importlib.resources` was not used because it is new in python 3.7.