Issue #28727: Fix typo in pattern_richcompare()

Typo catched by Serhiy Storchaka, thanks!
1 file changed