mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
2.7/uuid: fix types for NAMESPACE_*: use UUID instead of str (#617)
This commit is contained in:
committed by
Guido van Rossum
parent
94d3ddb60a
commit
6e67acd8b1
@@ -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