Skip to content
Snippets Groups Projects
Select Git revision
  • 5ab5ac5448573fa34cc2316d895706c24a412f36
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

unix

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Paul Sokolovsky authored
    From https://docs.python.org/3/library/constants.html#NotImplemented :
    "Special value which should be returned by the binary special methods
    (e.g. __eq__(), __lt__(), __add__(), __rsub__(), etc.) to indicate
    that the operation is not implemented with respect to the other type;
    may be returned by the in-place binary special methods (e.g. __imul__(),
    __iand__(), etc.) for the same purpose. Its truth value is true."
    
    Some people however appear to abuse it to mean "no value" when None is
    a legitimate value (don't do that).
    5ab5ac54
    History
    Name Last commit Last update
    ..