Changeset 1045
- Timestamp:
- 04/19/06 13:31:43
- Files:
-
- trunk/cherrypy/lib/cptools.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/lib/cptools.py
r1008 r1045 270 270 return m(o) 271 271 272 def build_CallFunc(self, o): 273 callee, args, starargs, kwargs = map(self.build, o.getChildren()) 274 return callee(args, *(starargs or ()), **(kwargs or {})) 275 272 276 def build_List(self, o): 273 277 return map(self.build, o.getChildren()) … … 315 319 parent = self.build(o.expr) 316 320 return getattr(parent, o.attrname) 321 322 def build_NoneType(self, o): 323 return None 317 324 318 325

