agrepy.py

来自「These files contain a port, to Python of」· Python 代码 · 共 38 行

PY
38
字号
# This file was created automatically by SWIG.# Don't modify this file, modify the SWIG interface instead.# This file is compatible with both classic and new-style classes.import _agrepydef _swig_setattr(self,class_type,name,value):    if (name == "this"):        if isinstance(value, class_type):            self.__dict__[name] = value.this            if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown            del value.thisown            return    method = class_type.__swig_setmethods__.get(name,None)    if method: return method(self,value)    self.__dict__[name] = valuedef _swig_getattr(self,class_type,name):    method = class_type.__swig_getmethods__.get(name,None)    if method: return method(self)    raise AttributeError,nameimport typestry:    _object = types.ObjectType    _newclass = 1except AttributeError:    class _object : pass    _newclass = 0del typescompile = _agrepy.compileagrepy = _agrepy.agrepy

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?