[1.6.x] Added missing import in docs/ref/signals.txt.

Backport of 4a303341fc from master