summaryrefslogtreecommitdiff
path: root/examples/nested_sets/nested_sets.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nested_sets/nested_sets.py')
-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)).\