method

ungetc

v1_8_6_287 - Show latest stable - Class: StringIO
ungetc(p1)
public

Pushes back one character (passed as a parameter) onto strio such that a subsequent buffered read will return it. Pushing back behind the beginning of the buffer string is not possible. Nothing will be done if such an attempt is made. In other case, there is no limitation for multiple pushbacks.