Skip to content

Apply demorgan's laws to simplify load code#371

Open
sixolet wants to merge 1 commit intopython-babel:masterfrom
sixolet:demorgans
Open

Apply demorgan's laws to simplify load code#371
sixolet wants to merge 1 commit intopython-babel:masterfrom
sixolet:demorgans

Conversation

@sixolet
Copy link
Copy Markdown

@sixolet sixolet commented Apr 2, 2016

Previously, the load code contained two branches on either side of an
unconditional file load. Their predicates were the exact opposite of each
other, according to Demorgan's laws.

Clarify the code by replacing the two confusing branches with one clearer
branch.

This does not change functionality; there's no relevant bug in the system.

Previously, the load code contained two branches on either side of an
unconditional file load.  Their predicates were the exact opposite of each
other, according to Demorgan's laws.

Clarify the code by replacing the two confusing branches with one clearer
branch.

This does not change functionality; there's no relevant bug in the system.
@codecov-io
Copy link
Copy Markdown

Current coverage is 89.74%

Merging #371 into master will decrease coverage by -0.01% as of eb182fc

@@            master    #371   diff @@
======================================
  Files           23      23       
  Stmts         3854    3852     -2
  Branches         0       0       
  Methods          0       0       
======================================
- Hit           3459    3457     -2
  Partial          0       0       
  Missed         395     395       

Review entire Coverage Diff as of eb182fc

Powered by Codecov. Updated on successful CI builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants