def METHOD_NAME(p):
    """Draws a point at position p (either a 2d or 3d list/tuple)"""
    GL.glBegin(GL.GL_POINTS)
    if len(p)==2:
        GL.glVertex2f(*p)
    elif len(p)==3:
        GL.glVertex3f(*p)
    else:
        GL.glVertex3f(p[0],p[1],p[2])
    GL.glEnd()