bpo-39136: Fixed typos (GH-17720)

funtion -> function; configuraton -> configuration; defintitions -> definitions;
focusses -> focuses; necesarily -> necessarily; follwing -> following;
Excape -> Escape,
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index baf563f..190d928 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -168,7 +168,7 @@
    back with :func:`ast.parse`.
 
    .. warning::
-      The produced code string will not necesarily be equal to the original
+      The produced code string will not necessarily be equal to the original
       code that generated the :class:`ast.AST` object.
 
    .. versionadded:: 3.9