Skip to content

Commit 4285fc0

Browse files
Fix docstring deprecated directive
1 parent 1cf6974 commit 4285fc0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tldextract/tldextract.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,12 @@ def registered_domain(self) -> str:
176176
>>> extract("http://localhost:8080").registered_domain
177177
''
178178
179-
.. deprecated:: 6.0.0
180-
This property is deprecated and will be removed in the next major
181-
version. Use `top_domain_under_public_suffix` instead, which has the
182-
same behavior but a more accurate name.
179+
.. deprecated:: 5.3.1
180+
Use `top_domain_under_public_suffix` instead, which has the same
181+
behavior but a more accurate name.
182+
183+
.. versionremoved:: 6.0.0
184+
This property will be removed in the next major version.
183185
184186
This is an alias for the `top_domain_under_public_suffix` property.
185187
`registered_domain` is so called because is roughly the domain the

0 commit comments

Comments
 (0)