Little help with maya commands & python

They are both valid, and accomplish the same thing. It was just something I noticed, and didn’t have an answer for.