Skip to content

Commit

Permalink
Remove redundant colon in install_import_hook docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jjyyxx authored and patrick-kidger committed Aug 6, 2024
1 parent f9e44cf commit 09235dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jaxtyping/_import_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def install_import_hook(modules: Union[str, Sequence[str]], typechecker: Optiona
If you don't like using the `with` block, the hook can be used without that:
```python
hook = install_import_hook(...):
hook = install_import_hook(...)
import ...
hook.uninstall()
```
Expand All @@ -326,7 +326,7 @@ def install_import_hook(modules: Union[str, Sequence[str]], typechecker: Optiona
install_import_hook(["foo", "bar.baz"], ...)
```
**Arguments:**:
**Arguments:**
- `modules`: the names of the modules in which to automatically apply `@jaxtyped`.
- `typechecker`: the module and function of the typechecker you want to use, as a
Expand Down

0 comments on commit 09235dd

Please sign in to comment.