enthought / enthought/distarray
Contexts should have __enter__ and __exit__ methods
Aperta
easy
enhancement
- Lingua principale
- Python
- Stelle
- 5
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
... so we can use them in with statements.
```
with Context() as ctxt:
# do some stuff
```
We can already hack something with `contextlib.closing`, but it would be nicer if we didn't have to.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.