From 50b8388f03a5791b00ce5b630dd9fb001a9aac8d Mon Sep 17 00:00:00 2001 From: David Waterworth Date: Mon, 14 Sep 2020 21:17:36 +1000 Subject: [PATCH] reverted achange from testcode:: to code-block:: python (#3453) Co-authored-by: David Waterworth --- docs/source/introduction_guide.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/introduction_guide.rst b/docs/source/introduction_guide.rst index 56dc6b7efe..6d1f969b7f 100644 --- a/docs/source/introduction_guide.rst +++ b/docs/source/introduction_guide.rst @@ -297,7 +297,7 @@ When your models need to know about the data, it's best to process the data befo An alternative to using a DataModule is to defer initialization of the models modules to the `setup` method of your LightningModule as follows: -.. code-block:: python +.. testcode:: class LitMNIST(LightningModule):