`py-up' fixed

New command `py-backward-same-level'

While `py-up' will go upward from beginning of block, this travels
same level, but goes up if no element left in level.
If callled from inside a string or list, go to its beginning.
`py-up' fixed

New command `py-backward-same-level'

While `py-up' will go upward from beginning of block, this travels
same level, but goes up if no element left in level.
If callled from inside a string or list, go to its beginning.
New hs-minor-mode based commands allowing a finer grip

py-hide-region
py-show-region
py-hide-statement
py-show-statement
py-hide-block
py-show-block
py-hide-clause
py-show-clause
py-hide-block-or-clause
py-show-block-or-clause
py-hide-def
py-show-def
py-hide-class
py-show-class
py-hide-expression
py-show-expression
py-hide-partial-expression
py-show-partial-expression
py-hide-line
py-show-line
py-hide-top-level
py-show-top-level