1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
% skip: next
This would be wrong:
```python
>>> 1 == 2
True
```
This is pseudo-code:
% skip: start
```python
def foo(...) -> bool:
...
```
When you want to foo, you could do it like this:
```python
foo('baz', 'bob', ...)
```
% skip: end
% invisible-code-block: python
%
% import sys
This will only work on Python 3:
% skip: next if(sys.version_info < (3, 0), reason="python 3 only")
```python
>>> repr(b'foo')
"b'foo'"
```
This example is not yet working, but I wanted to be reminded:
% skip: next "not yet working"
```python
>>> 1.1 == 1.11
True
```
And here we can see some pseudo-code that will work in a future release:
% skip: start "Fix in v5"
```python
>>> helper = Framework().make_helper()
>>> helper.describe(...)
```
% skip: end
<!-- skip: next -->
This would still be wrong:
```python
>>> 1 == 1
True
```
|