[1.6.x] Fixed #22619 -- Corrected description of os.path.

Thanks Collin Anderson for the report.

Backport of a1be7237ca from master