Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0608512

Browse filesBrowse files
committed
Revise 'consenting adult' verbiage
1 parent 874b47d commit 0608512
Copy full SHA for 0608512

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎docs/writing/style.rst

Copy file name to clipboardExpand all lines: docs/writing/style.rst
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.