New GitHub issue #117335 from nineteendo:<br>

<hr>

<pre>
# Bug report

### Bug description:

```python
>>> import ntpath
>>> ntpath.commonpath(None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<frozen ntpath>", line 826, in commonpath
ValueError: commonpath() arg is an empty sequence
```

Expected: `TypeError: 'NoneType' object is not iterable` like for `posixpath.commonpath`.

### CPython versions tested on:

CPython main branch

### Operating systems tested on:

macOS
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/117335">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>