old_contents: import turtle
  from lsystem import LSystem
  
  plant = dict(
          axiom = 'X',
          rules = {'X': 'F-[[X]+X]+F[+FX]-X', 'F':'FF'})
  plantL = LSystem(**plant)
  
  
  q = []
  def restore():
      pos, angl = q.pop()
      turtle.up()
      turtle.setposition(pos)
      turtle.seth(angl)
      turtle.down()
  
  methods = {
          'F': lambda: turtle.fd(3),
          '-': lambda: turtle.left(25),
          '+': lambda: turtle.right(25),
  
          '[': lambda: q.append((turtle.pos(), turtle.heading())),
          ']': restore,
  }
  
  turtle.screensize(800,1200)
  turtle.ht()
  turtle.pencolor('green')
  turtle.delay(0)
  turtle.seth(75)
  for c in plantL[6]:
      try:
          methods[c]()
      except KeyError:
          pass
  
  ts = turtle.getscreen()
  ts.getcanvas().postscript(file='plant6.eps')
  #turtle.exitonclick()
  
  
new_contents: import turtle
  from lsystem import LSystem
  
  plant = dict(
          axiom = 'X',
          productions = {'X': 'F-[[X]+X]+F[+FX]-X', 'F':'FF'})
  plantL = LSystem(**plant)
  
  
  q = []
  def restore():
      pos, angl = q.pop()
      turtle.up()
      turtle.setposition(pos)
      turtle.seth(angl)
      turtle.down()
  
  methods = {
          'F': lambda: turtle.fd(3),
          '-': lambda: turtle.left(25),
          '+': lambda: turtle.right(25),
  
          '[': lambda: q.append((turtle.pos(), turtle.heading())),
          ']': restore,
  }
  
  turtle.screensize(800,1200)
  turtle.ht()
  turtle.pencolor('green')
  turtle.delay(0)
  turtle.seth(75)
  for c in plantL[6]:
      try:
          methods[c]()
      except KeyError:
          pass
  
  ts = turtle.getscreen()
  ts.getcanvas().postscript(file='plant6.eps')
  #turtle.exitonclick()
  
  
subject: fix keyword name