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