Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Python
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
swc-bb
S
swc-lessons
2020-04-20-Potsdam-Berlin
Python
Commits
92bd6057
Commit
92bd6057
authored
Jul 25, 2019
by
HeatherAn
Committed by
Maxim Belkin
Jul 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
08-defensive.md: improve wording when describing assertions (#684)
Closes swcarpentry/python-novice-inflammation#673
parent
1e922bcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
_episodes/08-defensive.md
_episodes/08-defensive.md
+1
-1
No files found.
_episodes/08-defensive.md
View file @
92bd6057
...
...
@@ -190,7 +190,7 @@ AssertionError: Invalid X coordinates
{: .error}
The post-conditions on lines 17 and 18 help us catch bugs by telling us when our
calculations
cannot have been
correct.
calculations
might have been in
correct.
For example,
if we normalize a rectangle that is taller than it is wide everything seems OK:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment