Fix typo: 'intialized' → 'initialized' in test_modules.py (#157226)

This PR fixes a minor typo in `test/jit/test_modules.py`:

- Before: `intialized`
- After:  `initialized`

There are no functional code changes — this is a comment-only fix to improve clarity and consistency.

Thank you to the PyTorch team for maintaining this outstanding project.
Please let me know if anything else is needed.

With appreciation,
Abhishek Nandy
[@abhitorch81](https://github.com/abhitorch81)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/157226
Approved by: https://github.com/Skylion007
This commit is contained in:
Abhishek Nandy
2025-07-03 14:56:02 +00:00
committed by PyTorch MergeBot
parent b221be9140
commit a0e0abd037

View File

@ -21,7 +21,7 @@ class TestModules(JitTestCase):
"""
# torch.nn.Linear has a __constants__ attribute defined
# and intialized to a list.
# and initialized to a list.
class Net(torch.nn.Linear):
x: torch.jit.Final[int]