Skip to content

Commit

Permalink
Fix up some header comments for attributes() method.
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <amulhern@redhat.com>
  • Loading branch information
mulkieran committed Aug 5, 2016
1 parent 5eb02b8 commit 7250fb5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pyudev/device/_device.py
Expand Up @@ -843,7 +843,7 @@ def attributes(self):
The system attributes of this device as read-only
:class:`Attributes` mapping.
System attributes are basically normal files inside the the device
System attributes are basically normal files inside the device
directory. These files contain all sorts of information about the
device, which may not be reflected by properties. These attributes
are commonly used for matching in udev rules, and can be printed
Expand All @@ -852,6 +852,9 @@ def attributes(self):
The values of these attributes are not always proper strings, and
can contain arbitrary bytes.
:returns: an Attributes object, useful for reading attributes
:rtype: Attributes
.. versionadded:: 0.5
"""
# do *not* cache the created object in an attribute of this class.
Expand Down

0 comments on commit 7250fb5

Please sign in to comment.