示例#1
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The '%s' command requires a character count"
                         % self.name,
                         0, None)
     self.proc._repr.maxstring =  self.settings[self.name]
     return None
示例#2
0
 def run(self, args):
     run_set_int(
         self,
         " ".join(args),
         "The 'listsize' command requires a line count.",
         0,
         None,
     )
     return
示例#3
0
 def run(self, args):
     Mcmdfns.run_set_int(
         self,
         " ".join(args),
         "The '%s' command requires a character count" % self.name,
         0,
         None,
     )
     self.proc._repr.maxstring = self.settings[self.name]
     return None
示例#4
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The 'width' command requires a line width", 0,
                         None)
     return
示例#5
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The 'annotation' command requires an "
                         "annotation level.",
                         0, 3)
     return
示例#6
0
 def run(self, args):
     Mcmdfns.run_set_int(self, " ".join(args), "The 'width' command requires a line width", 0, None)
     return
示例#7
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The 'listsize' command requires a line count.",
                         0, None)
     return
示例#8
0
 def run(self, args):
     Mcmdfns.run_set_int(self, ' '.join(args),
                         "The 'listsize' command requires a line count.", 0,
                         None)
     return