Fix all Python Cookbook links (#22205)
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index d201d70..aa417ed 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -679,7 +679,7 @@
additional garbage collector overhead if the object is managed by the garbage
collector.
- See `recursive sizeof recipe <https://code.activestate.com/recipes/577504>`_
+ See `recursive sizeof recipe <https://github.com/ActiveState/code/tree/master/recipes/Python/577504_Compute_Memory_footprint_object_its/recipe-577504.py>`_
for an example of using :func:`getsizeof` recursively to find the size of
containers and all their contents.