fixing typos in optparse doc
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst
index cb78b83..d0783e7 100644
--- a/Doc/library/optparse.rst
+++ b/Doc/library/optparse.rst
@@ -610,8 +610,8 @@
-g Group option.
-A bit more complete example might invole using more than one group: still
-extendind the previous example::
+A bit more complete example might involve using more than one group: still
+extending the previous example::
group = OptionGroup(parser, "Dangerous Options",
"Caution: use these options at your own risk. "