Skip to content

Commit 2c64c21

Browse files
committed
use better preposition
1 parent 5fb819c commit 2c64c21

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/Language/objects.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Private methods are invoked with an exclamation mark instead of a dot:
285285
}
286286
}
287287
288-
Private methods are not inherited to subclasses.
288+
Private methods are not inherited by subclasses.
289289
290290
=head2 Submethods
291291

doc/Type/Metamodel/PrivateMethodContainer.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
role Metamodel::PrivateMethodContainer { ... }
88
99
In Perl 6, classes, roles and grammars can have private methods, that is,
10-
methods that are only callable from within the class, and are not inherited to
10+
methods that are only callable from within the class, and are not inherited by
1111
types derived by inheritance.
1212
1313
class A {

doc/Type/Submethod.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
class Submethod is Routine {}
88
9-
A Submethod is a method that is not inherited to child classes. They are
9+
A Submethod is a method that is not inherited by child classes. They are
1010
typically used for per-class initialization and tear-down tasks which are
1111
called explicitly per class in an inheritance tree, usually for enforcing a
1212
particular order. For example object construction with the C<BUILD> submethod

0 commit comments

Comments
 (0)