Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Statically-typed error handling in Python using Mypy. Parent comment
Sure, no one should need to do that anymore, it's just an example. There are many other cases that are similar, however.
`using` is a language construct, not something that is part of an interface. It also does not prevent close from being called twice.
There are no comments on this comment yet.
Sure, no one should need to do that anymore, it's just an example. There are many other cases that are similar, however.
`using` is a language construct, not something that is part of an interface. It also does not prevent close from being called twice.