summaryrefslogtreecommitdiffstats
path: root/Demo/metaclasses
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-10 13:18:11 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-10 13:18:11 (GMT)
commit482e82a0f6decfb60feb5e6ee04ed07637adbfe4 (patch)
tree235125fa9f33c8675e16b004c8f16a82ce058731 /Demo/metaclasses
parente7f3953142e6b565fd48208db61092604e650b31 (diff)
downloadcpython-482e82a0f6decfb60feb5e6ee04ed07637adbfe4.zip
cpython-482e82a0f6decfb60feb5e6ee04ed07637adbfe4.tar.gz
cpython-482e82a0f6decfb60feb5e6ee04ed07637adbfe4.tar.bz2
Corrected some spelling and one technical error.
Diffstat (limited to 'Demo/metaclasses')
-rw-r--r--Demo/metaclasses/meta-vladimir.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Demo/metaclasses/meta-vladimir.txt b/Demo/metaclasses/meta-vladimir.txt
index 070f457..36406bb 100644
--- a/Demo/metaclasses/meta-vladimir.txt
+++ b/Demo/metaclasses/meta-vladimir.txt
@@ -42,10 +42,10 @@ programming model, examples and, perhaps, more popular terms.
>>> A # What is A?
<class __main__.A at 2023e360>
- b) Class instanciation
+ b) Class instantiation
Creating an object with the properties defined in the class A is
- called instanciation of the class A. After an instanciation of A, we
+ called instantiation of the class A. After an instantiation of A, we
obtain a new object, called an instance, which has the properties
packaged in the class A.
@@ -172,10 +172,10 @@ programming model, examples and, perhaps, more popular terms.
>>> M # What is M?
<metaclass __main__.M at 2023e4e0>
- b) Meta-class instanciation
+ b) Meta-class instantiation
Creating an object with the properties defined in the meta-class M is
- called instanciation of the meta-class M. After an instanciation of M,
+ called instantiation of the meta-class M. After an instantiation of M,
we obtain a new object, called an class, but now it is called also
a meta-instance, which has the properties packaged in the meta-class M.
@@ -241,7 +241,7 @@ programming model, examples and, perhaps, more popular terms.
() # No.
>>> N.__metabases__ # Does N have any supermetaclasses?
(<metaclass __main__.M at 2023e360>,) # Yes. It has a supermetaclass.
- >>> N.__bases__[0] == M # Is it really the meta-class M?
+ >>> N.__metabases__[0] == M # Is it really the meta-class M?
1 # Yes, it is.
--------