??
Derived from mel command maya.cmds.artBuildPaintMenu
Example:
import pymel.core as pm # build a list of paintable attributes for the selected item(s) # pm.artBuildPaintMenu();