summaryrefslogtreecommitdiff
path: root/tests/admin_views/test_skip_link_to_content.py
diff options
context:
space:
mode:
authorNick Pope <nick@nickpope.me.uk>2021-07-20 16:28:25 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-07-27 10:06:24 +0200
commit845667f2d1eb7063c568764a01fc9ee633ec5817 (patch)
tree0f16bda631f893f9dc9d3df2833e1d21e595f903 /tests/admin_views/test_skip_link_to_content.py
parent19b866c254b54d904a942f34d662dfacd9005a77 (diff)
Refs #32948 -- Simplified and optimized Q._combine() and __invert__().
- Removed use of Q.deconstruct() in Q._combine(). - Simplified and optimized Q.__invert__() by taking a shallow copy and swapping the negated attribute only. - Simplified construction in Q._combine(). - Simplified conditions in Q._combine() as Q.conditional = True the first isinstance() check is unnecessary. - Removed copy.copy() branch in Q._combine(). Co-authored-by: Keryn Knight <keryn@kerynknight.com>
Diffstat (limited to 'tests/admin_views/test_skip_link_to_content.py')
0 files changed, 0 insertions, 0 deletions