From 29e62c7314955e929b15372c2714edd76f7f0eff 2012-04-20 09:32:52 From: Thomas Kluyver Date: 2012-04-20 09:32:52 Subject: [PATCH] Merge pull request #1637 from dzderic/patch-1 Removed a ':' which shouldn't have been there --- diff --git a/docs/source/interactive/htmlnotebook.txt b/docs/source/interactive/htmlnotebook.txt index ef5390a..82a5e93 100644 --- a/docs/source/interactive/htmlnotebook.txt +++ b/docs/source/interactive/htmlnotebook.txt @@ -236,7 +236,7 @@ similarly protect *all* cells that you do not want executed when other scripts try to import your notebook. A convenient shortand for this is to define early on:: - script = __name__ == '__main__': + script = __name__ == '__main__' and then on any cell that you need to protect, use::