Close ("sharpen") corner function?

Hello, I am trying to find the method which is called when clicking “Sharpen Corner”. I know I can just copy Rainer’s code from his Make Corner plugin, but that would be rather bulky :wink:
Is there a handy built-in function? I can’t find it anywhere. Thank you!

GSToolSelect *tool;
[tool _makeCorner:path firstNodeIndex:firstSelectedNode endNodeIndex:lastSelectedNode];

Umm. How does this work in Python? :sweat_smile:

Nevermind, I forgot about this thread: Sharpen corner in all masters - #5 by mekkablue