##// END OF EJS Templates
coding style: fix yield used as a function
Thomas Arendsen Hein -
r13077:6b8d2ee2 default
parent child Browse files
Show More
@@ -40,7 +40,7 b' def get_opts(opts):'
40 40 if longopt:
41 41 allopts.append("--%s" % longopt)
42 42 desc += default and _(" (default: %s)") % default or ""
43 yield(", ".join(allopts), desc)
43 yield (", ".join(allopts), desc)
44 44
45 45 def get_cmd(cmd, cmdtable):
46 46 d = {}
@@ -34,7 +34,7 b''
34 34 gratuitous whitespace in () or []
35 35 ./wrong.py:2:
36 36 > del(arg2)
37 del isn't a function
37 Python keyword is not a function
38 38 ./wrong.py:3:
39 39 > return ( 5+6, 9)
40 40 missing whitespace in expression
General Comments 0
You need to be logged in to leave comments. Login now