robotpy / pynetworktables

Pure python implementation of the FRC NetworkTables protocol
Other
60 stars 30 forks source link

NetworkTable.getBooleanArray() returns tuple, not list #46

Closed ryannazaretian closed 7 years ago

ryannazaretian commented 7 years ago

Title sums it up.

>>> type(nt.getBooleanArray('LED'))
tuple 

Documentation says it should be this: :rtype: list(bool)

virtuald commented 7 years ago

Docs are wrong, it should be a tuple.

auscompgeek commented 7 years ago

Same with the rest of the get*Array methods.

virtuald commented 7 years ago

I see that, I'm fixing it...