Issue #22695: Fix syntax of open() doc
Merge 3.4 (open doc)