tiny polish

This commit is contained in:
John Cupitt 2014-12-15 11:57:35 +00:00
parent b803b8f304
commit c95088c68e
2 changed files with 4 additions and 9 deletions

View File

@ -17,5 +17,5 @@ pygobject area, for example:
or
sudo cp Vips.py /usr/lib/python3.4/dist-packages/gi/overrides
sudo cp Vips.py /usr/lib/python3/dist-packages/gi/overrides

View File

@ -58,7 +58,8 @@ from gi.repository import GObject
Vips = modules['Vips']._introspection_module
__all__ = []
# start up vips!
# start up vips!
# passing argv[0] helps vips find it's data files on some platforms
Vips.init(sys.argv[0])
# need the gtypes for various vips types
@ -199,9 +200,6 @@ Vips.Argument = Argument
class Operation(Vips.Operation):
def __init__(self):
Vips.Operation.__init__(self)
# find all the args for this op, sort into priority order
# remember to ignore deprecated ones
def get_args(self):
@ -535,10 +533,7 @@ def add_doc(value):
return _doc
class Image(Vips.Image):
# constructors, see class methods above
def __init__(self):
Vips.Image.__init__(self)
# for constructors, see class methods above
# output