From 6e67acd8b1ba180e938124158b494307136d2d49 Mon Sep 17 00:00:00 2001 From: Xavier Mehrenberger Date: Tue, 18 Oct 2016 17:21:02 +0200 Subject: [PATCH] 2.7/uuid: fix types for NAMESPACE_*: use UUID instead of str (#617) --- stdlib/2.7/uuid.pyi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stdlib/2.7/uuid.pyi b/stdlib/2.7/uuid.pyi index 485c720f3..ed3db1ce6 100644 --- a/stdlib/2.7/uuid.pyi +++ b/stdlib/2.7/uuid.pyi @@ -30,7 +30,7 @@ def uuid3(namespace: UUID, name: str) -> UUID: ... def uuid4() -> UUID: ... def uuid5(namespace: UUID, name: str) -> UUID: ... -NAMESPACE_DNS = ... # type: str -NAMESPACE_URL = ... # type: str -NAMESPACE_OID = ... # type: str -NAMESPACE_X500 = ... # type: str +NAMESPACE_DNS = ... # type: UUID +NAMESPACE_URL = ... # type: UUID +NAMESPACE_OID = ... # type: UUID +NAMESPACE_X500 = ... # type: UUID