Skip to content

Commit

Permalink
Expose the underlying file object
Browse files Browse the repository at this point in the history
  • Loading branch information
filipsalo committed Apr 25, 2010
1 parent 3d3b8f7 commit d650599
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions streamxmlwriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ def __init__(self, file, encoding="utf-8",
}
"""
self.file = file
self.write = file.write
self.encoding = encoding
self._pretty_print = pretty_print
Expand Down

0 comments on commit d650599

Please sign in to comment.