Skip to content

Commit 9123d82

Browse files
shinkJiong Gong
andauthored
Update advanced_source/python_extension_autoload.rst
Co-authored-by: Jiong Gong <[email protected]>
1 parent 5d36b03 commit 9123d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced_source/python_extension_autoload.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ the following in its ``__init__.py``:
3232
.. code-block:: python
3333
3434
def _autoload():
35-
print("No need to import torch_foo anymore! You can run torch.foo.is_available() directly.")
35+
print("No need to import torch_foo anymore! Check things are working with `torch.foo.is_available()`.")
3636
3737
Then the only thing you need to do is add an entry point to your Python
3838
package:

0 commit comments

Comments
 (0)