testfunctiondef.py
来自「Python Development Environment (Python I」· Python 代码 · 共 66 行
PY
66 行
# foo before comment
def simpleFunc(foo, bar=5.0, mar=ble, *arg, **args): # on-line
# this is a comment
print "myfunc" # foo
def simpleFunc(foo, bar=5.0, mar=ble, *arg):
# this is a comment
print "myfunc" # foo
def simpleFunc(foo, bar=5.0, mar=ble):
# this is a comment
print "myfunc" # foo
def simpleFunc(foo, bar=5.0):
# this is a comment
print "myfunc" # foo
def simpleFunc(foo, bar):
# this is a comment
print "myfunc"
# a simple func
def simpleFunc(foo):
# this is a comment
print "myfunc" # foo
# a simple func
def simpleFunc(): # and a comment
# this is a comment
print "myfunc" # foo
# last comment in simpleFunc
##r
# foo before comment
def simpleFunc(foo, bar=5.0, mar=ble, *arg, **args): # on-line
# this is a comment
print "myfunc" # foo
def simpleFunc(foo, bar=5.0, mar=ble, *arg):
# this is a comment
print "myfunc" # foo
def simpleFunc(foo, bar=5.0, mar=ble):
# this is a comment
print "myfunc" # foo
def simpleFunc(foo, bar=5.0):
# this is a comment
print "myfunc" # foo
def simpleFunc(foo, bar):
# this is a comment
print "myfunc"
# a simple func
def simpleFunc(foo):
# this is a comment
print "myfunc" # foo
# a simple func
def simpleFunc(): # and a comment
# this is a comment
print "myfunc" # foo
# last comment in simpleFunc
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?