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
|
.. skip: next
This would be wrong:
>>> 1 == 2
True
This is pseudo-code:
.. skip: start
>>> foo = ...
>>> foo(..)
.. skip: end
>>> import sys
This will only work on Python 3:
.. skip: next if(sys.version_info < (3, 0), reason="python 3 only")
>>> repr(b'foo')
"b'foo'"
This example is not yet working, but I wanted to be reminded:
.. skip: next "not yet working"
>>> 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"
>>> helper = Framework().make_helper()
>>> helper.describe(...)
.. skip: end
|