Doc: Add example snippet for str.isupper() (GH-14681)

1 file changed