Hi Massimo,

Can we please add support for bound (instance) methods for represent?.

I propose to add the following line (immediately after assigning "n" in 
"represent" function at sqlhtml.py):

   if getattr(f, 'im_self', None): n -= 1

At aprox. line # 41.

Alternatively you can check n==1 (for one arg calls) with an else clause 
for two arg calls ... and removing the current else (RuntimeError).

Thanks!,

   Carlos

Reply via email to