IanHarvey / bluepy

Python interface to Bluetooth LE on Linux
Other
1.6k stars 491 forks source link

Sample code uses python2 print operator #443

Open karlp opened 3 years ago

karlp commented 3 years ago

Eg http://ianharvey.github.io/bluepy-doc/scanner.html#sample-code

This uses print "things" which is only valid on python2. It should really use print as a function, so it at least runs without modifications on both python2 and python3.