Skip to content
  • Francis Herne's avatar
    Create NoneType type. · e2f5706a
    Francis Herne authored
    All this boilerplate just to override toString()...
    
    Display 'None' rather than 'void'. Strictly it would be 'NoneType',
     but in real life everyone says 'int or None'.
     (PEP-484 agrees: "When used in a type hint, the expression None is
      considered equivalent to type(None).")
    e2f5706a