Fixed docstring typo for nn.Module.get_submodule (#73018)

Summary:
Description:
- Fixed docstring typo for nn.Module.get_submodule

otherwise output is invisible: https://pytorch.org/docs/stable/generated/torch.nn.Module.html#torch.nn.Module.get_submodule

Pull Request resolved: https://github.com/pytorch/pytorch/pull/73018

Reviewed By: davidberard98

Differential Revision: D34310091

Pulled By: jbschlosser

fbshipit-source-id: e35aef2b7479bdd81fb6b7ddd203bd71798769e1
(cherry picked from commit e4944e1f8e)
This commit is contained in:
vfdev 2022-02-17 14:35:42 -08:00 committed by PyTorch MergeBot
parent 1522912602
commit af3ca50291

View File

@ -404,7 +404,7 @@ class Module:
For example, let's say you have an ``nn.Module`` ``A`` that
looks like this:
.. code-block::text
.. code-block:: text
A(
(net_b): Module(