Пример #1
0
 def aspect (v):
     if v <= 0:
         cli.wrong_usage (__doc__, 'aspect ratio must be greater than zero')
     return v
Пример #2
0
 def aspect(v):
     if v <= 0:
         cli.wrong_usage(__doc__, 'aspect ratio must be greater than zero')
     return v
Пример #3
0
 def range (v):
     if v[0] >= v[1]:
         cli.wrong_usage (__doc__, 'data range must have min < max')
     return v
Пример #4
0
 def range(v):
     if v[0] >= v[1]:
         cli.wrong_usage(__doc__, 'data range must have min < max')
     return v