The URL fragments, as used in HTML anchors. As a string, without the leading '#'.
(self)
| 298 | |
| 299 | @property |
| 300 | def fragment(self) -> str: |
| 301 | """ |
| 302 | The URL fragments, as used in HTML anchors. |
| 303 | As a string, without the leading '#'. |
| 304 | """ |
| 305 | return unquote(self._uri_reference.fragment or "") |
| 306 | |
| 307 | @property |
| 308 | def is_absolute_url(self) -> bool: |