We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06a7f83 commit 3003f6bCopy full SHA for 3003f6b
builder.py
@@ -2,8 +2,8 @@
2
# -*- coding : utf-8 -*-
3
4
"""
5
- @author: Diogenes Augusto Fernandes Herminio <diofeher@gmail.com>
6
- https://gist.github.com/420905#file_builder_python.py
+@author: Diogenes Augusto Fernandes Herminio <diofeher@gmail.com>
+https://gist.github.com/420905#file_builder_python.py
7
8
9
@@ -54,7 +54,7 @@ def __init__(self):
54
self.size = None
55
56
def __repr__(self):
57
- return 'Floor: %s | Size: %s' % (self.floor, self.size)
+ return 'Floor: {0.floor} | Size: {0.size}'.format(self)
58
59
60
# Client
0 commit comments