1238 elif functionName.startswith(('__', 'on_')): |
1238 elif functionName.startswith(('__', 'on_')): |
1239 if firstWord != 'private': |
1239 if firstWord != 'private': |
1240 self.__error(docstringContext.start() + lineNumber, 0, |
1240 self.__error(docstringContext.start() + lineNumber, 0, |
1241 "D232", 'private') |
1241 "D232", 'private') |
1242 elif functionName.startswith('_') or \ |
1242 elif functionName.startswith('_') or \ |
1243 functionName.endswith('Event') or \ |
1243 functionName.endswith('Event'): |
1244 functionName in ['event', 'eventFilter']: |
|
1245 if firstWord != 'protected': |
1244 if firstWord != 'protected': |
1246 self.__error(docstringContext.start() + lineNumber, 0, |
1245 self.__error(docstringContext.start() + lineNumber, 0, |
1247 "D232", 'protected') |
1246 "D232", 'protected') |
1248 else: |
1247 else: |
1249 if firstWord != 'public': |
1248 if firstWord != 'public': |