From 0c3bd2cd7d4c2c0831856e72793b7a5176bc4640 Mon Sep 17 00:00:00 2001 From: Rebecca Chen Date: Mon, 22 Jul 2024 23:41:31 -0700 Subject: [PATCH] Typo fix in docs/spec/distributing.rst Co-authored-by: Sebastian Rittau --- docs/spec/distributing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/spec/distributing.rst b/docs/spec/distributing.rst index e0cc329a..5bc02e02 100644 --- a/docs/spec/distributing.rst +++ b/docs/spec/distributing.rst @@ -367,7 +367,7 @@ Version and Platform Checks Stub files for libraries that support multiple Python versions can use version checks to supply version-specific type hints. Stubs for different Python versions should still conform to the most recent supported Python version's -syntax, as explain in the :ref:`stub-file-syntax` section above. +syntax, as explained in the :ref:`stub-file-syntax` section above. Version checks are if-statements that use ``sys.version_info`` to determine the current Python version. Version checks should only check against the ``major`` and