Skip to content

Commit

Permalink
Update README.rst import hook example to be compatible with 3.0.0 (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
Danie-1 committed Mar 23, 2023
1 parent db77710 commit e831144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Two options are provided for code instrumentation:
#. the ``@typechecked`` function:

* can be applied to functions individually
#. the import hook (``typeguard.importhook.install_import_hook()``):
#. the import hook (``typeguard.install_import_hook()``):

* automatically instruments targeted modules on import
* no manual code changes required in the target modules
Expand Down

0 comments on commit e831144

Please sign in to comment.