Re: [tuxdroid-user] Daemon to USB connection
Status: Beta
Brought to you by:
ks156
From: David B. <da...@ja...> - 2007-06-14 22:05:38
|
On Sat, 09 Jun 2007 07:56:27 +0200, neimad <ror...@gm...> wrote: > Yet more coding style, this time in the Python API... > > _Continued lines_ Corrected now. > _Private methods and variables_ > > In tuxapi_class.py again, class TUXcmd has a big doc string listing all > functions available to the users of the class. This is not necessary > as the list can be found out using dir(). > > Some methods have a doc string saying "Not a user function". Their > name should start with "__" (double underscore) to make them really > private, which also makes such doc strings useless. I didn't change these as there are many things I'd like to review in the api before taking action. I'll start a new thread on tomorrow about this. Thanks as usual ;-) David |