Skip to content

Typo exists in RPi.GPIO stub file for method name ("ChangeFrequence" should be "ChangeFrequency") #13633

@aldonadi

Description

@aldonadi

Note: this is my first issue to a public repo...ever. I read the contributing guidelines, but please correct me if I am doing anything wrong here! Thank you!

In the .pyi file for the RPi.GPIO module, class PWM, the method name "ChangeFrequence" is specified. This is a typo, and should actually be "ChangeFrequency".

This typo is on line 65 of

def ChangeFrequence(self, frequency: float, /) -> None: ...

It should instead be:

    def ChangeFrequency(self, frequency: float, /) -> None: ...

Reference:
https://sourceforge.net/p/raspberry-gpio-python/code/ci/default/tree/source/py_pwm.c, line 115

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions