From 456656aee7649ce8220dc387616b37448fdd8fc3 Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Wed, 6 May 2015 18:21:50 +0300 Subject: Remove entries regarding interfaces from the documentation. --- doc/faq.rst | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'doc') diff --git a/doc/faq.rst b/doc/faq.rst index 1ce9a3e..2f7dfbb 100644 --- a/doc/faq.rst +++ b/doc/faq.rst @@ -208,27 +208,14 @@ tricks like: :: 5. Classes and Inheritance ========================== -5.1 When is Pylint considering a class as an interface? -------------------------------------------------------- - -A class is considered as an interface if there is a class named "Interface" -somewhere in its inheritance tree. - -5.2 When is Pylint considering that a class is implementing a given interface? --------------------------------------------------------------------------------- - -Pylint is using the Zope 2 interfaces conventions, and so is -considering that a class is implementing interfaces listed in its -__implements__ attribute. - -5.3 When is Pylint considering a class as an abstract class? +5.1 When is Pylint considering a class as an abstract class? ------------------------------------------------------------- A class is considered as an abstract class if at least one of its methods is doing nothing but raising NotImplementedError. -5.4 How do I avoid "access to undefined member" messages in my mixin classes? +5.2 How do I avoid "access to undefined member" messages in my mixin classes? ------------------------------------------------------------------------------- To do so you have to set the ignore-mixin-members option to -- cgit v1.2.1