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') or \ |
1244 functionName == 'event': |
1244 functionName in ['event', 'eventFilter']: |
1245 if firstWord != 'protected': |
1245 if firstWord != 'protected': |
1246 self.__error(docstringContext.start() + lineNumber, 0, |
1246 self.__error(docstringContext.start() + lineNumber, 0, |
1247 "D232", 'protected') |
1247 "D232", 'protected') |
1248 else: |
1248 else: |
1249 if firstWord != 'public': |
1249 if firstWord != 'public': |