Skip to content

Commit 29386b6

Browse files
committed
Cleaned up formatting and re-worked instructions append.
1 parent 223044e commit 29386b6

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# Hints
1+
# Instructions append
2+
3+
## Some hints
24

35
For the `filelike_objects_are_closed_on_exception` function, the `filelike_object`
4-
will be an instance of a custom `FileLike` class defined in the test suite. This
5-
class implements the following methods:
6+
will be an instance of a custom `FileLike` class defined in the test suite.
7+
This class implements the following methods:
8+
69
- `open` and `close`, for explicit opening and closing.
710
- `__enter__` and `__exit__`, for implicit opening and closing.
811
- `do_something`, which may or may not throw an `Exception`.
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Instructions append
22

3-
In this exercise, you're going to use and manipulate lists. Python lists are very versatile, and you'll find yourself using them again and again in problems both simple and complex.
3+
In this exercise, you're going to use and manipulate [`lists`][lists].
4+
Python lists are very versatile, and you'll find yourself using them again and again in problems both simple and complex.
45

56
- [**Data Structures (Python 3 Documentation Tutorial)**](https://docs.python.org/3/tutorial/datastructures.html)
67
- [**Lists and Tuples in Python (Real Python)**](https://realpython.com/python-lists-tuples/)
78
- [**Python Lists (Google for Education)**](https://developers.google.com/edu/python/lists)
9+
10+
[lists]: https://docs.python.org/3/library/stdtypes.html#lists

0 commit comments

Comments
 (0)