# Bug report ### Bug description: ```python >>> import posixpath >>> posixpath.relpath(None) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<frozen posixpath>", line 509, in relpath ValueError: no path specified ``` Expected: TypeError like `npath.relpath()`. ### CPython versions tested on: CPython main branch ### Operating systems tested on: Windows <!-- gh-linked-prs --> ### Linked PRs * gh-117585 * gh-119388 <!-- /gh-linked-prs -->
Bug report
Bug description:
Expected: TypeError like
npath.relpath().CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Linked PRs
posixpath.relpath()#117585