Note: Since different operating systems have different path name conventions, there are several versions of this module in the standard library. The os.path module is always the path module suitable for the operating system Python is running on, and therefore usable for local paths. However, you can also import and use the individual modules if you want to manipulate a path that is always in one of the different formats. They all have the same interface:
See gh-84232, which is about a different module but is the same generic issue. The MODULE REFERENCE link is just a template that takes the module name, it currently makes no attempt to ensure that it’s actually available.