Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

fix doc #13

Closed
wants to merge 1 commit into from
Closed

fix doc #13

wants to merge 1 commit into from

Conversation

3nids
Copy link
Member

@3nids 3nids commented Feb 16, 2023

No description provided.

Copy link
Contributor

@why-not-try-calmer why-not-try-calmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My IDE + static type checker (Pyright) do not support this. That's why I followed https://peps.python.org/pep-0484/#forward-references (using a string literal). If there's a better way to express the return type, glad to add it. But removing the ' ' I think will make most type checkers panic.

@3nids
Copy link
Member Author

3nids commented Feb 16, 2023

PyCharm is happy with this though

@3nids 3nids closed this Feb 16, 2023
@3nids 3nids deleted the 3nids-patch-2 branch February 16, 2023 15:16
@why-not-try-calmer
Copy link
Contributor

PyCharm is happy with this though

I know, it's a mess.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants