# Os.path.commonpath doesn't need a Sequence

**URL:** <https://discuss.python.org/t/os-path-commonpath-doesnt-need-a-sequence/21543>\
**Category:** Documentation\
**Created:** [November 30, 2022, 7:55am UTC](https://discuss.python.org/t/os-path-commonpath-doesnt-need-a-sequence/21543 "2022-11-30T07:55:37Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Rosuav](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/rosuav/32/3429_2.png) [@Rosuav](https://discuss.python.org/u/Rosuav)\
**Post date:** [December 1, 2022, 7:56am UTC](https://discuss.python.org/t/os-path-commonpath-doesnt-need-a-sequence/21543/13 "2022-12-01T07:56:05Z")

</div>

The first two need to be proven (which probably means writing the code), but the third is quite orthogonal; the current implementation can accept arbitrary iterables, because it just tuplifies straight away.

---

_[View the full topic](https://discuss.python.org/t/os-path-commonpath-doesnt-need-a-sequence/21543)._
