Ron Adam wrote: > While playing around with the inspect module I found that the > Blockfinder doesn't recognize single line function definitions. > > Adding the following two lines to it fixes it, but I'm not sure if it > causes any problems anywhere else. > > elif self.indent == 0: > raise EndOfBlock, self.last
Please raise this as a bug report (with the patch) on Sourceforge, or it almost certainly won't be fixed. Tim Delaney -- http://mail.python.org/mailman/listinfo/python-list