Trouble setting QBrush

The documentation specifies an overloaded QBush(color: QColor) states:

_init_(color[, bs=Qt.SolidPattern]) Parameters: color – QColor bs – BrushStyle Constructs a brush with the given color and style.

code in paintEvent():
	bgc=QColor("#5577aa")
	brush=QBrush(bgc)  ### crashes TypeError: QBrush(): FAIL
	brush=QBrush("#5577aa") ### crashes TypeError: QBrush(): FAIL
	""" File "/PycharmProjects/PySide/clocks/artist.py", line 37, in paint_1
brush=QBrush(bgc) 
    TypeError: QBrush(): 

(the followig is prbably a result of the improper crashing)
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
"""
brush=QBrush()  # OK- doesn't crash, but default color& style. how to set color? 
brush.setColor(QColor("#ffffff")) # since this fails! 
and 
painter.setBrush(QColor | str) does work


I infer fron the frequently reccuring warning 
"This section contains snippets that were automatically translated from C++ to Python and may contain errors." that the python left out the C++ implementation.

It also occurred to me that I may find use in modifying that warning. ;)

“All my thoughts were automatically translated from my brain and are subject to errors.“

Good regards.

My IDE imported PyQt Brush instead of PySide6’s QBrush.
A case where automated help is not so helpful.