Show More
@@ -241,7 +241,7 b' class _BrowserLevel(object):' | |||
|
241 | 241 | attrs.add(attr) |
|
242 | 242 | |
|
243 | 243 | def getrow(self, i): |
|
244 | # Return a dictinary with the attributes for the object | |
|
244 | # Return a dictionary with the attributes for the object | |
|
245 | 245 | # ``self.items[i]``. Attribute names are taken from |
|
246 | 246 | # ``self.displayattrs`` so ``calcdisplayattrs()`` must have been |
|
247 | 247 | # called before. |
@@ -264,8 +264,8 b' class _BrowserLevel(object):' | |||
|
264 | 264 | # Recalculate the displayed fields and their widths. |
|
265 | 265 | # ``calcdisplayattrs()'' must have been called and the cache |
|
266 | 266 | # for attributes of the objects on screen (``self.displayrows``) |
|
267 |
# must have been filled. This |
|
|
268 |
# |
|
|
267 | # must have been filled. This sets ``self.colwidths`` which maps | |
|
268 | # attribute descriptors to widths. | |
|
269 | 269 | self.colwidths = {} |
|
270 | 270 | for row in self.displayrows: |
|
271 | 271 | for attr in self.displayattrs: |
General Comments 0
You need to be logged in to leave comments.
Login now