mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 18:42:41 +08:00
2.7/uuid: fix types for NAMESPACE_*: use UUID instead of str (#617)
This commit is contained in:
1 parent
94d3ddb60a
commit
6e67acd8b1
1 file changed
+4
-4
+4
-4
@@ -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
|
||||
Reference in new issue
Block a user