Remove leftover text from end of sentence.
diff --git a/Doc/library/constants.rst b/Doc/library/constants.rst
index 222bc40..b02e04e 100644
--- a/Doc/library/constants.rst
+++ b/Doc/library/constants.rst
@@ -62,7 +62,7 @@
 
    Objects that when printed, print a message like "Use quit() or Ctrl-D
    (i.e. EOF) to exit", and when called, raise :exc:`SystemExit` with the
-   specified exit code, and when .
+   specified exit code.
 
 .. data:: copyright
           license