Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23d9e26 commit b94658fCopy full SHA for b94658f
1 file changed
python/ql/src/Classes/SlotsInOldStyleClass.qhelp
@@ -16,7 +16,7 @@ You can convert an old-style class to a new-style class by inheriting from <code
16
17
</recommendation>
18
<example>
19
-<p>In the following example the <code>Point</code> class is an old-style class (no inheritance). The
+<p>In the following Python 2 example the <code>Point</code> class is an old-style class (no inheritance). The
20
<code>__slots__</code> declaration in this class creates a class attribute called <code>__slots__</code>, the class
21
dictionary is unaffected. The <code>Point2</code> class is a new-style class so the
22
<code>__slots__</code> declaration causes special compact attributes to be created for each name in
0 commit comments