diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2018-09-30 22:43:22 +0200 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2018-09-30 22:43:22 +0200 |
commit | f60fc2ff0846ee23a82623d72967fb97a244d833 (patch) | |
tree | dad244c4e43011b1cc4b038f3709cdece901acd7 | |
parent | 79ba8a1a027a183b31ae4472726baf0b2872d76a (diff) | |
download | cherrypy-git-f60fc2ff0846ee23a82623d72967fb97a244d833.tar.gz |
Adjust reprconf to match Python 3.8 changes
-rw-r--r-- | cherrypy/lib/reprconf.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cherrypy/lib/reprconf.py b/cherrypy/lib/reprconf.py index 497bd826..3976652e 100644 --- a/cherrypy/lib/reprconf.py +++ b/cherrypy/lib/reprconf.py @@ -335,6 +335,8 @@ class _Builder: def build_NameConstant(self, o): return o.value + build_Constant = build_NameConstant # Python 3.8 change + def build_UnaryOp(self, o): op, operand = map(self.build, [o.op, o.operand]) return op(operand) |