with memoryview(<bytes/bytearray/array>) as view: ...
```
#### Reusable context managers:
```python
db = sqlite3.connect('<path>'); with db: db.execute('<insert_query>')
lock = threading.RLock(); with lock: ...
con = sqlite3.connect('<path>'); with con: con.execute('<insert_query>')
```
@ -1232,6 +1228,7 @@ class MySequence:
* **It's a richer interface than the basic sequence.**
* **Extending it generates iter(), contains(), reversed(), index(), and count().**
* **Unlike `'abc.Iterable'` and `'abc.Collection'`, it is not a duck type. That is why `'issubclass(MySequence, collections.abc.Sequence)'` would return 'False' even if it had all the methods defined.**
```python
class MyAbcSequence(collections.abc.Sequence):
def __init__(self, a):
@ -1258,6 +1255,8 @@ class MyAbcSequence(collections.abc.Sequence):