ResultTuple: not enough arguments for format string on __str__
from gi.repository import GLib
channel = GLib.IOChannel.new_file("/dev/null", "r")
channel.set_flags(GLib.IOFlags.NONBLOCK)
str(channel.read_chars())
Traceback (most recent call last):
File "a.py", line 5, in <module>
str(channel.read_chars())
TypeError: not enough arguments for format string
Edited by Christoph Reiter