Allow AnalogChannel.__init__ to take integers for `range`.
authorW. Trevor King <wking@drexel.edu>
Mon, 19 Mar 2012 17:34:25 +0000 (13:34 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 19 Mar 2012 17:34:30 +0000 (13:34 -0400)
commit4bcae04cf127e7a7a51d3e980b0ea271b4a9bb52
tree2d8d7eab8fc0a1c31a4530b1ae2a00650e784f1c
parentc81a4edb26723253ad768bd3d0cf8ff407293fb4
Allow AnalogChannel.__init__ to take integers for `range`.

If you know the index of your desired range, you can now use that
index directly and skip the usual call to `find_range`.
pycomedi/channel.pyx