美文网首页
无标题文章

无标题文章

作者: lwt_kjs | 来源:发表于2017-02-03 17:53 被阅读0次

    dsadsdsads

    @requires_authorizationdef somefunc(param1='', param2=0):'''A docstring'''if param1 > param2: # interestingprint 'Greater'return (param2 - param1 + 1) or Noneclass SomeClass:pass>>> message = '''interpreter... prompt'''

    @requires_authorizationdef somefunc(param1='', param2=0):'''A docstring'''if param1 > param2: # interestingprint 'Greater'return (param2 - param1 + 1) or Noneclass SomeClass:pass>>> message = '''interpreter... prompt'''

    @requires_authorization

    def somefunc(param1='', param2=0):

    '''A docstring'''

    if param1 > param2: # interesting

    print 'Greater'

    return (param2 - param1 + 1) or None

    class SomeClass:

    pass

    >>> message = '''interpreter

    ... prompt'''

    ```dsddsa

    相关文章

      网友评论

          本文标题:无标题文章

          本文链接:https://www.haomeiwen.com/subject/ldbdittx.html