1. cherrypy
  2. CherryPy

Pull requests

#51 Merged
Repository
cherrypy
Branch
default

Use ast.literal_eval instead of ast.parse("__temp__ = " + s)

Author
  1. Tim Chase
Reviewers
Description

Use ast.literal_eval instead of ast.parse("temp = " + s)

No need for extra variables when the ast module makes this so easy.

  • Learn about pull requests

Comments (1)