Michael Lee writes: > None is primarily useful for representing the absence of some > value, and I'm not sure if that's something beginners actually need > to write interesting and useful code.
In Python, we generally think of writing code as a subordinate skill. :-) In reading code, beginners will need to know about None: it's going to show up over and over as a default value in function signatures and in print(foo()) output for functions without return values. You may not need to teach them about singletons, though. Steve _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/5WGK7QR2QY5NESOU2FC7O44SKYARLS4B/ Code of Conduct: http://python.org/psf/codeofconduct/
