def get_pair(self):
colours = (<EOL>self.cube[self.pair[<NUM_LIT:0>]].colour, <EOL>self.cube[self.pair[<NUM_LIT:1>]].colour, <EOL>self.cube["<STR_LIT:D>"].colour<EOL>)<EOL>result_corner = self.cube.children.copy()<EOL>for c in colours[:<NUM_LIT:2>]:<EOL><INDENT>result_corner &= self.cube.has_colour(c)<EOL><DEDENT>result_edge = result_corner & self.cube.select_type("<STR_LIT>")<EOL>result_corner &= self.cube.has_colour(colours[<NUM_LIT:2>])<EOL>return (list(result_corner)[<NUM_LIT:0>], list(result_edge)[<NUM_LIT:0>])<EOL>
Get the F2L pair (corner, edge).