human
I wrote the below code

    p = asarray(p, dtype=complex)
    def G(w):
        '\n                                Gain    of    filter\n                                '
        return abs((k / prod(((1j * w) - p))))
    def cutoff(w):
        '\n                                When    gain    =    -3    dB,    return    0\n                                '
        return (G(w) - (1 / np.sqrt(2)))
    return optimize.newton(cutoff, 1.5)

What's a good function header?
assistant
#Here's a good function header.

def _norm_factor(p, k):