Skip to content
Snippets Groups Projects
Commit 6896f91f authored by jkerdreu's avatar jkerdreu
Browse files

- Fix a wrong type hinting.

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@3039 b32b6428-25c9-4566-ad07-03861ab6144f
parent c019393e
No related branches found
No related tags found
No related merge requests found
from typing import Tuple
def str_to_id(value: str) -> str:
return value.translate ({ord(c): "_" for c in "!@#$%^&*()[]{};:,./<>?\|`~-=_+ "})
def get_dev_identifiers(identifiers: str) -> Tuple(str, str):
def get_dev_identifiers(identifiers: str) -> tuple[str, str]:
ident_data = list(identifiers)
domain = ident_data[0][0]
dev_ident = ident_data[0][1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment