new.py: remove unnecessary semicolon

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
new.py: move docstring into the related function

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>