Dolda2000 GitWeb
/
automanga.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Documented the behavior of the basic library classes.
[automanga.git]
/
manga
/
mangafox.py
diff --git
a/manga/mangafox.py
b/manga/mangafox.py
index
e06acfa
..
302edc5
100644
(file)
--- a/
manga/mangafox.py
+++ b/
manga/mangafox.py
@@
-11,12
+11,6
@@
class imgstream(object):
def close(self):
self.bk.close()
def close(self):
self.bk.close()
- def __enter__(self):
- return self
-
- def __exit__(self, *exc_info):
- self.close()
-
def read(self, sz = None):
if sz is None:
return self.bk.read()
def read(self, sz = None):
if sz is None:
return self.bk.read()
@@
-198,3
+192,6
@@
class library(lib.library):
pno += 1
ls = self.alphapage(pno)
i = 0
pno += 1
ls = self.alphapage(pno)
i = 0
+
+ def __iter__(self):
+ raise NotImplementedError("mangafox iterator")