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.
There was an error while loading. Please reload this page.
1 parent 96ef06f commit ef4231aCopy full SHA for ef4231a
1 file changed
Doc/tutorial/classes.rst
@@ -4,6 +4,12 @@
4
Classes
5
*******
6
7
+Classes provide a means of bundling data and functionality together. Creating
8
+a new class creates a new *type* of object, allowing new *instances* of that
9
+type to be made. Each class instance can have attributes attached to it for
10
+maintaining its state. Class instances can also have methods (defined by its
11
+class) for modifying its state.
12
+
13
Compared with other programming languages, Python's class mechanism adds classes
14
with a minimum of new syntax and semantics. It is a mixture of the class
15
mechanisms found in C++ and Modula-3. Python classes provide all the standard
0 commit comments