colour.hints.TextIO#

class colour.hints.TextIO[source]#

Typed version of the return of open() in text mode.

__init__()#

Methods

__init__()

close()

fileno()

flush()

isatty()

read([n])

readable()

readline([limit])

readlines([hint])

seek(offset[, whence])

seekable()

tell()

truncate([size])

writable()

write(s)

writelines(lines)

Attributes

buffer

closed

encoding

errors

line_buffering

mode

name

newlines