Skip to content

Commit 23625a7

Browse files
committed
2 parents ea36823 + 931f5a7 commit 23625a7

24 files changed

+259
-57
lines changed

TODO.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,10 @@ This tutorial is not complete. It still needs:
2424
- "What the heck is this?" section for stuff i haven't talked about
2525
- regexes
2626
- yield
27+
28+
***
29+
30+
You may use this tutorial freely at your own risk. See
31+
[LICENSE](LICENSE).
32+
33+
[Back to the list of contents](README.md#list-of-contents)

answers.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ These are answers for exercises in the chapters. In programming, there's always
288288

289289
***
290290

291-
You may use this tutorial freely at your own risk. See [LICENSE](LICENSE).
291+
You may use this tutorial freely at your own risk. See
292+
[LICENSE](LICENSE).
292293

293294
[Back to the list of contents](README.md#list-of-contents)

classes.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ Methods are "links" to the class attribute functions. So
274274
and when `stackoverflow.info()` is called it automatically gets
275275
`stackoverflow` as an argument.
276276

277-
In other words, `Class.method(instance)` does the same thing as
278-
`instance.method()`. This also works with built-in classes, for
277+
In other words, **`Class.method(instance)` does the same thing as
278+
`instance.method()`**. This also works with built-in classes, for
279279
example `'hello'.lower()` is same as `str.lower('hello')`.
280280

281281
## Defining methods when defining the class
@@ -286,7 +286,7 @@ it later?
286286
```py
287287
>>> class Website:
288288
...
289-
... def info(self): # self is a Website instance
289+
... def info(self): # self will be stackoverflow
290290
... print("URL:", self.url)
291291
... print("Founding year:", self.founding_year)
292292
... print("Free to use:", self.free_to_use)
@@ -421,6 +421,8 @@ print("You entered " + word + ".")
421421

422422
***
423423

424-
You may use this tutorial freely at your own risk. See [LICENSE](LICENSE).
424+
You may use this tutorial freely at your own risk. See
425+
[LICENSE](LICENSE).
425426

427+
[Previous](modules.md) | [Next](README.md) |
426428
[Back to the list of contents](README.md#list-of-contents)

contact-me.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ it, there are a few ways to contact me:
1818

1919
***
2020

21-
You may use this tutorial freely at your own risk. See [LICENSE](LICENSE).
21+
You may use this tutorial freely at your own risk. See
22+
[LICENSE](LICENSE).
2223

2324
[Back to the list of contents](README.md#list-of-contents)

defining-functions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,8 @@ Answers for the first and second exercise are [here](answers.md).
544544

545545
***
546546

547-
You may use this tutorial freely at your own risk. See [LICENSE](LICENSE).
547+
You may use this tutorial freely at your own risk. See
548+
[LICENSE](LICENSE).
548549

550+
[Previous](dicts.md) | [Next](what-is-true.md) |
549551
[Back to the list of contents](README.md#list-of-contents)

dicts.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,3 +191,11 @@ me: my password
191191
```
192192

193193
**TODO:** lists as keys vs tuples as keys.
194+
195+
***
196+
197+
You may use this tutorial freely at your own risk. See
198+
[LICENSE](LICENSE).
199+
200+
[Previous](trey-hunner-zip-and-enumerate.md) | [Next](defining-functions.md) |
201+
[Back to the list of contents](README.md#list-of-contents)

editor-setup.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ about it here, [tell me](contact-me.md).
138138

139139
***
140140

141-
You may use this tutorial freely at your own risk. See [LICENSE](LICENSE).
141+
You may use this tutorial freely at your own risk. See
142+
[LICENSE](LICENSE).
142143

143144
[Back to the list of contents](README.md#list-of-contents)

exceptions.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,4 +475,8 @@ except OSError:
475475

476476
***
477477

478-
You may use this tutorial at your own risk. See [LICENSE](LICENSE).
478+
You may use this tutorial freely at your own risk. See
479+
[LICENSE](LICENSE).
480+
481+
[Previous](files.md) | [Next](modules.md) |
482+
[Back to the list of contents](README.md#list-of-contents)

files.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ else:
372372

373373
***
374374

375-
You may use this tutorial freely at your own risk. See [LICENSE](LICENSE).
375+
You may use this tutorial freely at your own risk. See
376+
[LICENSE](LICENSE).
376377

378+
[Previous](what-is-true.md) | [Next](exceptions.md) |
377379
[Back to the list of contents](README.md#list-of-contents)

getting-help.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ help on IRC is much faster.
5353

5454
***
5555

56-
You may use this tutorial freely at your own risk. See [LICENSE](LICENSE).
56+
You may use this tutorial freely at your own risk. See
57+
[LICENSE](LICENSE).
5758

5859
[Back to the list of contents](README.md#list-of-contents)

0 commit comments

Comments
 (0)