pyclass: add sequence
option to implement sq_length
#2567
Merged
sequence
option to implement sq_length
#2567