Skip to content

Commit f60fc2f

Browse files
committed
Adjust reprconf to match Python 3.8 changes
1 parent 79ba8a1 commit f60fc2f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cherrypy/lib/reprconf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ def build_Name(self, o):
335335
def build_NameConstant(self, o):
336336
return o.value
337337

338+
build_Constant = build_NameConstant # Python 3.8 change
339+
338340
def build_UnaryOp(self, o):
339341
op, operand = map(self.build, [o.op, o.operand])
340342
return op(operand)

0 commit comments

Comments
 (0)