bpo-35563: Add reference links to warnings.rst by csabella · Pull Request #11289 · python/cpython

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm glad you're asking. :-) In English, sentences with 3 or more verbs should use a comma, but when there are only 2 verbs, there shouldn't be a comma. Look at the Comma Between Two Verbs in a Compound Predicate section.

I know there are other instances in the doc where two verbs have a comma before the and. I fixed this one because there wasn't a space and the correct fix wasn't to add a space, but rather to change the comma into a space. If you think it's not much code churn, I can fix the other 3 instances on this page. I don't think it's a big deal to have the comma, but it's technically not correct.