fix typo in the documentation

Update signals.txt

Fix missing import in code example