Fix typo in docs (GH-98863)

(cherry picked from commit bfecff5f73741f095bb9ec2329467bf16cbbdf5a)

Co-authored-by: Yuvi Panda <yuvipanda@gmail.com>
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 542b08b..0417d27 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -1178,7 +1178,7 @@
      string, which means the current working directory.
 
    To not prepend this potentially unsafe path, use the :option:`-P` command
-   line option or the :envvar:`PYTHONSAFEPATH` environment variable?
+   line option or the :envvar:`PYTHONSAFEPATH` environment variable.
 
    A program is free to modify this list for its own purposes.  Only strings
    should be added to :data:`sys.path`; all other data types are