diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-11-30 17:31:00 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-11-30 17:31:00 -0500 |
| commit | d80ee72aaa4b7f8a23e1bd55515b8446a951a5f0 (patch) | |
| tree | 3ec274acb8bc8826864da2c5cd3d381bdb7ce2e0 /examples | |
| parent | 31886aff29b1da8639bcf4ae8b9edc81c4713654 (diff) | |
| download | sqlalchemy-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')
| -rw-r--r-- | examples/dogpile_caching/advanced.py | 2 | ||||
| -rw-r--r-- | examples/nested_sets/nested_sets.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/dogpile_caching/advanced.py b/examples/dogpile_caching/advanced.py index f1a18a4d7..896e395bf 100644 --- a/examples/dogpile_caching/advanced.py +++ b/examples/dogpile_caching/advanced.py @@ -23,7 +23,7 @@ def load_name_range(start, end, invalidate=False): The `Person.addresses` collections are also cached. Its basically another level of tuning here, as that particular cache option can be transparently replaced with joinedload(Person.addresses). - The effect is that each Person and his/her Address collection + The effect is that each Person and their Address collection is cached either together or separately, affecting the kind of SQL that emits for unloaded Person objects as well as the distribution of data within the cache. 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)).\ |
