From 07280965417b0a9cbd5bd2d9a8a0c68208ab4210 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Sun, 30 Apr 2017 14:16:30 -0700 Subject: [PATCH] stub for nturl2path (#1208) --- stdlib/2/nturl2path.pyi | 4 ++++ stdlib/3/nturl2path.pyi | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 stdlib/2/nturl2path.pyi create mode 100644 stdlib/3/nturl2path.pyi diff --git a/stdlib/2/nturl2path.pyi b/stdlib/2/nturl2path.pyi new file mode 100644 index 000000000..b87b008e4 --- /dev/null +++ b/stdlib/2/nturl2path.pyi @@ -0,0 +1,4 @@ +from typing import AnyStr + +def url2pathname(url: AnyStr) -> AnyStr: ... +def pathname2url(p: AnyStr) -> AnyStr: ... diff --git a/stdlib/3/nturl2path.pyi b/stdlib/3/nturl2path.pyi new file mode 100644 index 000000000..b8ad8d682 --- /dev/null +++ b/stdlib/3/nturl2path.pyi @@ -0,0 +1,2 @@ +def url2pathname(url: str) -> str: ... +def pathname2url(p: str) -> str: ...