Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • if statement? dictionary? there are lots of ways to conditionally return things based on string arguments :) Commented Aug 22, 2022 at 22:49
  • Maybe I am missing something. I am looking to get typing support in the IDE from PYI files. Commented Aug 22, 2022 at 22:50
  • 1
    Has Python typing suddenly become the fashionable thing to do? It seems like the number of questions has surged recently. Commented Aug 22, 2022 at 22:52
  • @Barmar I can say for myself that I have written typing's for thousands of classes which have benefited many projects. In my experience when dealing with a large API such as LibreOffice API is much, much more difficult without typings. Commented Aug 22, 2022 at 22:59
  • I just think that today I've seen more typing questions than any other day. Commented Aug 22, 2022 at 23:00