Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.9 이상의 타이핑 적용 #33

Open
1 task
FlabKenneth opened this issue Dec 29, 2023 · 0 comments
Open
1 task

Python 3.9 이상의 타이핑 적용 #33

FlabKenneth opened this issue Dec 29, 2023 · 0 comments
Assignees
Labels
type: suggestion This issue/PR is about a suggestion.

Comments

@FlabKenneth
Copy link
Collaborator

목적

  • Python 3.9 이상에서는 Type comprehension으로 하기 스타일을 제공하여 이로 대체한다.
dict[str, int] # Dict[str, int]
tuple[int]     # Tuple[int]
list[float]    # list[float]
  • 따라서 기존 방식의 deprecated 될 Type generic pattern을 모두 대체한다.

할 일

  • Python 3.9 이상의 방식으로 type variant 교체.

함께보기

https://peps.python.org/pep-0585/#implementation

@FlabKenneth FlabKenneth added the type: suggestion This issue/PR is about a suggestion. label Dec 29, 2023
@FlabKenneth FlabKenneth changed the title Python 3.9 이상의 타이핑 적용. Python 3.9 이상의 타이핑 적용 Dec 29, 2023
This was referenced Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: suggestion This issue/PR is about a suggestion.
Projects
None yet
Development

No branches or pull requests

2 participants