class_docstr: A basic Point class.
class_docstr_tok: ["A","basic","Point","class","."]
docstr: Return a Point with x, y chosen randomly with 0 <= x < 1, 0 <= y < 1.
docstr_tok: ["Return","a","Point","with","x",",","y","chosen","randomly","with","0","<","=","x","<","1",",","0","<","=","y","<","1","."]
code: def unit_rand(cls):
      """Return a Point with x, y chosen randomly with 0 <= x < 1, 0 <= y < 1."""
      return cls(random.random(), random.random())
  
imports: import collections
  import math
  import random
label_desc: Use image node_id 2 for calling the Point obj's underlying member method code with example usage: obj.unit_rand(cls) and returns: cls