We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 761be89 commit 9b0a57bCopy full SHA for 9b0a57b
unpythonic/seq.py
@@ -141,7 +141,7 @@ class Getvalue: # singleton sentinel with a nice repr
141
"""Sentinel; pipe into this to exit a shell-like pipe and return the current value."""
142
def __new__(cls):
143
global getvalue
144
- if getvalue is None:
+ if getvalue is None: # not created yet
145
getvalue = super().__new__(cls)
146
return getvalue
147
def __repr__(self):
0 commit comments