Stack Top Function Python Parameters