mirror of
https://github.com/kennethreitz/requests-html.git
synced 2026-06-05 14:50:20 +00:00
+1
-1
@@ -220,7 +220,7 @@ class Element(BaseParser):
|
||||
|
||||
@property
|
||||
def attrs(self) -> dict:
|
||||
"""Returns a dictionary of the attributes of the class:`Element <Element>`."""
|
||||
"""Returns a dictionary of the attributes of the :class:`Element <Element>`."""
|
||||
attrs = {k: self.pq.attr[k].strip() for k in self.element.keys()}
|
||||
|
||||
# Split class up, as there are ussually many of them:
|
||||
|
||||
Reference in New Issue
Block a user