enthought / enthought/distarray
Contexts should have __enter__ and __exit__ methods
Abierto
easy
enhancement
- Lenguaje dominante
- Python
- Estrellas
- 5
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
... 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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.