pybank r81 - trunk/bank
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: pybank r81 - trunk/bank
- Date: Fri, 24 Oct 2008 12:59:03 +0000 (UTC)
Author: walters
Date: Fri Oct 24 12:59:02 2008
New Revision: 81
URL: http://svn.gnome.org/viewvc/pybank?rev=81&view=rev
Log:
Use repr instead of undefined __name__
Modified:
trunk/bank/btypes.py
Modified: trunk/bank/btypes.py
==============================================================================
--- trunk/bank/btypes.py (original)
+++ trunk/bank/btypes.py Fri Oct 24 12:59:02 2008
@@ -55,8 +55,8 @@
requiredArgs += 1
if totalInArgs != requiredArgs:
- raise TypeError('%s requires %d arguments' % (
- self.__name__, requiredArgs))
+ raise TypeError('%r requires %d arguments' % (
+ self, requiredArgs))
inArgs = []
for i, value in enumerate(args):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]