Show More
@@ -374,7 +374,7 b' def _attrname(name):' | |||||
374 | elif isinstance(name, basestring): |
|
374 | elif isinstance(name, basestring): | |
375 | return name |
|
375 | return name | |
376 | elif callable(name): |
|
376 | elif callable(name): | |
377 | return name.__name__ |
|
377 | return getattr(name, "__xname__", name.__name__) | |
378 | else: |
|
378 | else: | |
379 | return str(name) |
|
379 | return str(name) | |
380 |
|
380 |
General Comments 0
You need to be logged in to leave comments.
Login now