Use more recent option to \pdfdest to not change the zoom factor.
This is in response to a comment from Wes Rishel <wes@rishel.com>.
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index 92adabb..2190f25 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -64,7 +64,7 @@
   }
   \newcommand{\py@target}[1]{%
     \ifpy@doing@page@targets%
-      {\pdfdest name{#1} fit}%
+      {\pdfdest name{#1} xyz}%
     \fi%
   }
   \let\py@OldLabel=\label