Gateway Tag Change getParentPath

This is mostly a documentation request.

I was setting up a Gateway Tag Change Script and defined this variable:
"sPath = event.tagPath.getParentPath()"

I assumed this function output a string after reading this section in the manual (from the link below):

This was causing errors because I found that this actually outputs a "BasicTagPath".
Would it be possible to make this more clear in the link below?

Thanks for reporting; I brought this up with the documentation team and they'll get it updated soon.

Probably worth removing the duplication between .getTagPath() and .tagPath and similar throughout that page. They are the same thing, just the latter is a jython optimization.