Show More
@@ -884,9 +884,9 b' def xattrs(item, mode="default"):' | |||||
884 | exist either, ``dir(item)`` is used for ``"detail"`` mode and ``(None,)`` |
|
884 | exist either, ``dir(item)`` is used for ``"detail"`` mode and ``(None,)`` | |
885 | for ``"default"`` mode. |
|
885 | for ``"default"`` mode. | |
886 |
|
886 | |||
887 | The implementation must yield attribute descriptor (see the class |
|
887 | The implementation must yield attribute descriptors (see the class | |
888 | ``Descriptor`` for more info). The ``__xattrs__`` method may also return |
|
888 | ``Descriptor`` for more info). The ``__xattrs__`` method may also return | |
889 | attribute descriptor string (and ``None``) which will be converted to real |
|
889 | attribute descriptor strings (and ``None``) which will be converted to real | |
890 | descriptors by ``upgradexattr()``. |
|
890 | descriptors by ``upgradexattr()``. | |
891 | """ |
|
891 | """ | |
892 | try: |
|
892 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now