Nearing the End
Python assert bug?Why didn't the assert statement print the value of row? $ python Python 2.4.1 (#1, Aug 14 2005, 18:43:28) [GCC 3.3.2] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> row = None >>> assert len(row) > 0, 'row=%s' % `row` Traceback (most recent call last): File " last updated 2 years ago # |
HomeBlog |