Commit 26efb174 authored by Denis Bilenko's avatar Denis Bilenko

better repr for internal helper _NONE

parent 911e8195
......@@ -170,5 +170,9 @@ def with_timeout(seconds, func, *args, **kwds):
timeout.cancel()
_NONE = object()
class _NONE(object):
__slots__ = []
def __repr__(self):
return '<_NONE>'
_NONE = _NONE()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment