summaryrefslogtreecommitdiff
path: root/examples/nested_sets
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-11-30 17:31:00 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2013-11-30 17:31:00 -0500
commitd80ee72aaa4b7f8a23e1bd55515b8446a951a5f0 (patch)
tree3ec274acb8bc8826864da2c5cd3d381bdb7ce2e0 /examples/nested_sets
parent31886aff29b1da8639bcf4ae8b9edc81c4713654 (diff)
downloadsqlalchemy-d80ee72aaa4b7f8a23e1bd55515b8446a951a5f0.tar.gz
- the pronoun removal commit. there was only one instance of a
standalone gendered pronoun with a gender-neutral subject, but also have replaced all occurences of "his/her", "his or her", etc. The docs have always strived to account for both genders in any non-specific singular pronoun, however recent controversy in the community suggests that a zero-gendered-pronoun policy is probably best going forward.
Diffstat (limited to 'examples/nested_sets')
-rw-r--r--examples/nested_sets/nested_sets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nested_sets/nested_sets.py b/examples/nested_sets/nested_sets.py
index 8225a09f2..c64b15b61 100644
--- a/examples/nested_sets/nested_sets.py
+++ b/examples/nested_sets/nested_sets.py
@@ -88,13 +88,13 @@ session.commit()
print(session.query(Employee).all())
-# 1. Find an employee and all his/her supervisors, no matter how deep the tree.
+# 1. Find an employee and all their supervisors, no matter how deep the tree.
ealias = aliased(Employee)
print(session.query(Employee).\
filter(ealias.left.between(Employee.left, Employee.right)).\
filter(ealias.emp == 'Eddie').all())
-#2. Find the employee and all his/her subordinates.
+#2. Find the employee and all their subordinates.
# (This query has a nice symmetry with the first query.)
print(session.query(Employee).\
filter(Employee.left.between(ealias.left, ealias.right)).\