Cycles Operators

bpy.ops.cycles.use_shading_nodes()

Enable nodes on a material, world or lamp

File:addons/cycles/ui.py:775