title: How to force whitespace in code block in reStructuredText
body: <p>In RST, we use some whitespaces in front of a block to say this is a code block. Because Python also uses whitespace to indent a code block, I would like my RST code block to preserve those whitespaces if I were writing Python code. How can I do that?</p>
  
  <p>Let's say we have a class:</p>
  
  <pre><code>class Test(object):
  </code></pre>
  
  <p>And we want to write a method called <code>__init__</code> that is a member of this class. This method belongs to another code block but we want to have some visual clue so that readers know that this second block is a continuation of the previous one. At the moment, I use <code>#</code> to mark the vertical guide line of a code block like this:</p>
  
  <pre><code>    def __init__(self):
          pass
  #
  </code></pre>
  
  <p>Without the <code>#</code>, <code>def __init__(self)</code> would be printed at the same indentation level as <code>class Test(object)</code>. There's gotta be more elegant way.</p>