Add versionadded (3.4.5) to docs for issue #22570.
diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst
index 05c5d72..cb066bd 100644
--- a/Doc/library/pathlib.rst
+++ b/Doc/library/pathlib.rst
@@ -381,6 +381,7 @@
    ``arg = str(arg)``, this will still raise an exception if an object
    of some other type is given by accident.
 
+   .. versionadded:: 3.4.5
 
 .. data:: PurePath.suffix