Staging
v0.8.1
Revision 64db5aac6be73b14396bcde1648997e208b5a8da authored by Miss Islington (bot) on 15 August 2019, 16:38:22 UTC, committed by GitHub on 15 August 2019, 16:38:22 UTC

Without indendation, seems like strcpy line is parallel to `if` condition.
(cherry picked from commit 69f37bcb28d7cd78255828029f895958b5baf6ff)

Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
1 parent f781283
Raw File
doctest_aliases.py
# Used by test_doctest.py.

class TwoNames:
    '''f() and g() are two names for the same method'''

    def f(self):
        '''
        >>> print(TwoNames().f())
        f
        '''
        return 'f'

    g = f # define an alias for f
back to top