I ended up with: b = n is not None and not not n which seems to work but is that normally how you would do it? It can be assumed that n is always None or a list that might be empty
- Fencer -- http://mail.python.org/mailman/listinfo/python-list
I ended up with: b = n is not None and not not n which seems to work but is that normally how you would do it? It can be assumed that n is always None or a list that might be empty
- Fencer -- http://mail.python.org/mailman/listinfo/python-list