示例#1
0
文件: m8r.py 项目: AtilaSaraiva/src
 def string(self, key):
     if _swig_:
         if python2:
             # c function only knows utf-8 (ascii).  translate the unicode
             key = key.encode('utf-8')
         return c_rsf.sf_histstring(self.file, key)
     else:
         return self.file.string(key)
示例#2
0
文件: m8r.py 项目: aashish24/src
 def string(self,key):
     return c_rsf.sf_histstring(self.f,key)
示例#3
0
文件: m8r.py 项目: 1014511134/src
 def string(self,key):
     return c_rsf.sf_histstring(self.file,key)