Skip to content

Commit c2097d5

Browse files
committed
docs(api-and-naming): double underscore wording tweaks
1 parent d92af15 commit c2097d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api-and-naming.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ the box. But there are some, see [configuration](configuration.md).
3131
Variables and functions whose name contains a double underscore (`__`) anywhere
3232
in their name are private implementation details, not part of the stable API,
3333
and not intended to be used outside of their defining context. Internally, the
34-
double underscores serve as privacy scope markers; there can be more than one
34+
double underscores serve as privacy scope delimiters; there can be more than one
3535
pair of them in a name, and functions and variables are intended to reference
3636
and call other functions and variables within that scope, one level deep,
37-
sharing a common prefix. For example, a function named `_comp_foo` is allowed
37+
sharing a common prefix. For example, a function named `_comp_foo` is "allowed"
3838
to access `_comp_foo__*` where `*` does not contain any double underscores,
3939
i.e. it should not access `_comp_foo__something__*` despite the common prefix.
4040

0 commit comments

Comments
 (0)