Software pwm on BPI M2Z with python RPi:GPIO

I wonder if more then one soft PWM with RPi.GPIO works like this

gpio.setup(self.pwm[0], gpio.OUT, initial=False)
self.pwmA = gpio.PWM(self.pwm[0], 40000)
self.pwmA.start(0)
gpio.setup(self.pwm[1], gpio.OUT, initial=False)
self.pwmB = gpio.PWM(self.pwm[1], 40000)
self.pwmB.start(0)

gpios works this way https://linux-sunxi.org/GPIO if there is python wrapper, i don’t know.