title: TypeError: function() argument 1 must be code, not str
body: <p>I am remaking the turtle module (fishcode is the name of my remake) to my taste, but I came across a error I couldn't fix.</p>
  
  <blockquote>
    <p>TypeError: function() argument 1 must be code, not str</p>
  </blockquote>
  
  <p>I've searched the error up and found the error here on stackoverflow, but those didn't help.</p>
  
  <p>Code of fishcode module:</p>
  
  <pre class="lang-py prettyprint-override"><code>import turtle
  
  class Window(turtle.Screen):
      def __init__(self):
          turtle.Screen.__init__(self)
  </code></pre>
  
  <p>Code of .py file that tests the module:</p>
  
  <pre class="lang-py prettyprint-override"><code>import fishcode
  
  bob = fishcode.Window()
  </code></pre>
  
  <p>So I get the error at importing fishcode 
  I expect it to make a turtle screen.</p>