]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_doctest.txt
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / test_doctest.txt
CommitLineData
4710c53d 1This is a sample doctest in a text file.\r
2\r
3In this example, we'll rely on a global variable being set for us\r
4already:\r
5\r
6 >>> favorite_color\r
7 'blue'\r
8\r
9We can make this fail by disabling the blank-line feature.\r
10\r
11 >>> if 1:\r
12 ... print 'a'\r
13 ... print\r
14 ... print 'b'\r
15 a\r
16 <BLANKLINE>\r
17 b\r