Fix rich comparison doctest prompts and add comparisons to None.
authorW. Trevor King <wking@drexel.edu>
Thu, 15 Mar 2012 01:46:00 +0000 (21:46 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 15 Mar 2012 01:46:05 +0000 (21:46 -0400)
commit561a4adef722f63321606385996516fa74cc1c07
treec10468721afa56c27e74b88074399170a1343288
parent7108f4deaf1320527b6dcdf45814d12a9f95eaf9
Fix rich comparison doctest prompts and add comparisons to None.

The None comparison logic avoids:

  TypeError: long() argument must be a string or a number, not 'NoneType'
pycomedi/constant.pyx