Skip to content
Browse files

Add read/write to Format

  • Loading branch information...
1 parent 641554c commit b3f474e1e663dcc2ae2b52c4bc724c1eb909af09 @alanbriolat committed May 30, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 pygout/format.py
View
10 pygout/format.py
@@ -14,6 +14,16 @@ def name(cls):
"""
return cls.__name__.lower()
+ def read(self, stream):
+ """Read style from *stream* according to the format.
+ """
+ raise NotImplementedError
+
+ def write(self, stream):
+ """Write style to *stream* according to the format.
+ """
+ raise NotImplementedError
+
class PluginError(Exception):
pass

0 comments on commit b3f474e

Please sign in to comment.
Something went wrong with that request. Please try again.