Skip to content
Open
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
2 changes: 1 addition & 1 deletion gin/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion gin/resource_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down