This is a test of the new "code" directive:

The example from Docutils TODO list:

print 'This is Python code.'
for i in range(10):
    print i

Numbered lines:

1 # This is Python code,
2 # that prints the integers from 0 to 9
3 for i in range(10):
4     print i

Another example:

 7 def my_function():
 8     """Test the lexer.
 9     """
10 
11     # and now for something completely different
12     print 8/2

The end.