MCPcopy Index your code
hub / github.com/python/cpython / __new__

Method __new__

Lib/pathlib/__init__.py:1491–1493  ·  view source on GitHub ↗
(cls, *args, **kwargs)

Source from the content-addressed store, hash-verified

1489
1490 if os.name == 'nt':
1491 def __new__(cls, *args, **kwargs):
1492 raise UnsupportedOperation(
1493 f"cannot instantiate {cls.__name__!r} on your system")
1494
1495class WindowsPath(Path, PureWindowsPath):
1496 """Path subclass for Windows systems.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected