cpython
cpython copied to clipboard
gh-99183: Documentation for str.count() updated
gh-99183: Updated the documentation for str.count() and added a example to explain the documentation better.
Most changes to Python require a NEWS entry.
Please add it using the blurb_it web app or the blurb command-line tool.
Sorry, I don't think is a worthwhile edit. It emphasizes the unusual case, creates the confusing word "anti-character", uses a confusing example, and doesn't have clear text.
I will create a different PR to address the original