def bytecode_from_string(self, string): """Load bytecode from a string.""" self.load_bytecode(BytesIO(string))