We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not every widget has the bind() function defined correctly.
bind()
Some Widgets have: def bind(self, sequence: str = None, command: Callable = None, add: Union[str, bool] = True):
def bind(self, sequence: str = None, command: Callable = None, add: Union[str, bool] = True):
While some other Widgets have: def bind(self, sequence=None, command=None, add=True):
def bind(self, sequence=None, command=None, add=True):
This definition may lead to a TypeError: TypeError: Expected unicode, got bool
TypeError: Expected unicode, got bool
The recommended defintion would be: def bind(self, sequence=None, command=None, add: Union[str, bool] = True):
def bind(self, sequence=None, command=None, add: Union[str, bool] = True):
The impacted widgets are:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Not every widget has the
bind()
function defined correctly.Some Widgets have:
def bind(self, sequence: str = None, command: Callable = None, add: Union[str, bool] = True):
While some other Widgets have:
def bind(self, sequence=None, command=None, add=True):
This definition may lead to a TypeError:
TypeError: Expected unicode, got bool
The recommended defintion would be:
def bind(self, sequence=None, command=None, add: Union[str, bool] = True):
The impacted widgets are:
The text was updated successfully, but these errors were encountered: