File: docstring_singles_class.py

package info (click to toggle)
flake8-quotes 3.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 300 kB
  • sloc: python: 938; sh: 28; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
class SingleLineDocstrings():
    ''' Double quotes single line class docstring '''
    ''' Not a docstring '''

    def foo(self, bar='''not a docstring'''):
        ''' Double quotes single line method docstring'''
        pass

    class Nested(foo()[:]): ''' inline docstring '''; pass