testextractmethod11.py

来自「Python Development Environment (Python I」· Python 代码 · 共 31 行

PY
31
字号
def method1():
    if idx > 2:
        print ''
    else:
        print ''
    
    if idx == 5:
        print "nothing!"

##c
'''
<config>
  <offset>16</offset>
  <selectionLength>999</selectionLength>
  <offsetStrategy>0</offsetStrategy>
</config>
'''

##r
def pepticMethod():
    if idx > 2:
        print ''
    else:
        print ''
    
    if idx == 5:
        print "nothing!"

def method1():
    pepticMethod()

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?