diff --git a/docs/writing/structure.rst b/docs/writing/structure.rst index 3d7413e..5d09fe3 100644 --- a/docs/writing/structure.rst +++ b/docs/writing/structure.rst @@ -633,7 +633,7 @@ with the class approach: class CustomOpen(object): def __init__(self, filename): - self.file = open(filename) + self.file = open(filename) def __enter__(self): return self.file