Files
typeshed/stdlib/3/macurl2path.pyi
Rune Tynan 3926e88d13 Add macurl2path stub (#3785)
* Add macurl2path stub, types based on urllib

* Fix types, remove undocumented

The whole module is undocumented, no reason to just mention it on one call

* Module was removed in 3.7, stubtest shouldn't care about it

* Module was removed in 3.7, stubtest shouldn't care about it
2020-02-29 22:03:50 -08:00

10 lines
227 B
Python

import sys
from typing import Union
if sys.version_info < (3, 7):
def url2pathname(pathname: str) -> str: ...
def pathname2url(pathname: str) -> str: ...
def _pncomp2url(component: Union[str, bytes]) -> str: ...