Skip to content

Commit 0608512

Browse files
committed
Revise 'consenting adult' verbiage
1 parent 874b47d commit 0608512

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/writing/style.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Arguments can be passed to functions in four different ways.
8989
1. **Positional arguments** are mandatory and have no default values. They are
9090
the simplest form of arguments and they can be used for the few function
9191
arguments that are fully part of the function's meaning and their order is
92-
natural. For instance, in ``send(message, recipient)`` or ``point(x, y)``
92+
natural. For instance, in ``send(message, recipient)`` or ``point(x, y)``
9393
the user of the function has no difficulty remembering that those two
9494
functions require two arguments, and in which order.
9595

@@ -190,15 +190,15 @@ them is very important.
190190
Like a kung fu master, a Pythonista knows how to kill with a single finger, and
191191
never to actually do it.
192192

193-
We are all consenting adults
193+
We are all responsible users
194194
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
195195

196196
As seen above, Python allows many tricks, and some of them are potentially
197197
dangerous. A good example is that any client code can override an object's
198198
properties and methods: there is no "private" keyword in Python. This
199199
philosophy, very different from highly defensive languages like Java, which
200200
give a lot of mechanisms to prevent any misuse, is expressed by the saying: "We
201-
are all consenting adults".
201+
are all responsible users".
202202

203203
This doesn't mean that, for example, no properties are considered private, and
204204
that no proper encapsulation is possible in Python. Rather, instead of relying

0 commit comments

Comments
 (0)