Closed np closed 8 years ago
For instance:
>>> r = ''.join(['r','a','n','d','o','m']) >>> r == 'random' True >>> r is 'random' False >>> intern(r) is 'random' True
Meanwhile, the workaround is to call intern on the given string. For instance:
intern
>>> led.pulse(name=intern(r))
Thanks for the pull request and spotting this issue!
For instance:
Meanwhile, the workaround is to call
intern
on the given string. For instance: