ENH: warn user that quad() ignores `points=...` when `weight=...` is specified (#10912)
ENH: warn user that quad() ignores `points=...` when `weight=...` is specified (#10912)

integrate.quad() allows user to specify points of local difficulty (`points=...`)
and a weighting function (`weight=...`). These are handled by different quadpack
routines and are mutually exclusive. However this was not explicit in the docstrings.
Providing both resulted in points of local difficulty being silently ignored.

Updated docstrings to reflect this; added code to display warning message if
both options are provided. Otherwise behaviour remains unchanged: we attempt
to evaluate weighted integrand without reference to breakpoints.
jamestwebber/scipy,endolith/scipy,vigna/scipy,person142/scipy,zerothi/scipy,andyfaff/scipy,person142/scipy,jamestwebber/scipy,scipy/scipy,anntzer/scipy,matthew-brett/scipy,Eric89GXL/scipy,jor-/scipy,jor-/scipy,aeklant/scipy,Stefan-Endres/scipy,scipy/scipy,nmayorov/scipy,WarrenWeckesser/scipy,arokem/scipy,arokem/scipy,ilayn/scipy,zerothi/scipy,endolith/scipy,nmayorov/scipy,e-q/scipy,andyfaff/scipy,person142/scipy,ilayn/scipy,andyfaff/scipy,grlee77/scipy,pizzathief/scipy,aeklant/scipy,Stefan-Endres/scipy,mdhaber/scipy,ilayn/scipy,Stefan-Endres/scipy,WarrenWeckesser/scipy,anntzer/scipy,arokem/scipy,vigna/scipy,matthew-brett/scipy,vigna/scipy,Eric89GXL/scipy,perimosocordiae/scipy,WarrenWeckesser/scipy,endolith/scipy,jamestwebber/scipy,perimosocordiae/scipy,WarrenWeckesser/scipy,pizzathief/scipy,e-q/scipy,scipy/scipy,nmayorov/scipy,grlee77/scipy,matthew-brett/scipy,jamestwebber/scipy,tylerjereddy/scipy,mdhaber/scipy,Stefan-Endres/scipy,rgommers/scipy,matthew-brett/scipy,nmayorov/scipy,ilayn/scipy,e-q/scipy,arokem/scipy,grlee77/scipy,Stefan-Endres/scipy,zerothi/scipy,matthew-brett/scipy,Eric89GXL/scipy,grlee77/scipy,andyfaff/scipy,Eric89GXL/scipy,Eric89GXL/scipy,anntzer/scipy,tylerjereddy/scipy,perimosocordiae/scipy,perimosocordiae/scipy,aeklant/scipy,anntzer/scipy,ilayn/scipy,scipy/scipy,mdhaber/scipy,pizzathief/scipy,mdhaber/scipy,jor-/scipy,pizzathief/scipy,vigna/scipy,person142/scipy,Eric89GXL/scipy,e-q/scipy,zerothi/scipy,jor-/scipy,scipy/scipy,Stefan-Endres/scipy,jamestwebber/scipy,arokem/scipy,zerothi/scipy,zerothi/scipy,rgommers/scipy,mdhaber/scipy,endolith/scipy,pizzathief/scipy,jor-/scipy,aeklant/scipy,tylerjereddy/scipy,anntzer/scipy,andyfaff/scipy,aeklant/scipy,ilayn/scipy,rgommers/scipy,andyfaff/scipy,perimosocordiae/scipy,rgommers/scipy,nmayorov/scipy,WarrenWeckesser/scipy,grlee77/scipy,person142/scipy,tylerjereddy/scipy,scipy/scipy,tylerjereddy/scipy,anntzer/scipy,endolith/scipy,WarrenWeckesser/scipy,rgommers/scipy,endolith/scipy,mdhaber/scipy,vigna/scipy,e-q/scipy,perimosocordiae/scipy