make sure function names are readable

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

Metadata

ID: python-best-practices/ambiguous-function-name

Language: Python

Severity: Notice

Category: Best Practices

Description

In some fonts, these characters are indistinguishable from the numerals one and zero. Use characters that are not ambiguous.

Non-Compliant Code Examples

def I():  # use i instead
    pass

Compliant Code Examples

def i():
    pass
https://static.datadoghq.com/static/images/logos/github_avatar.svg https://static.datadoghq.com/static/images/logos/vscode_avatar.svg jetbrains

Seamless integrations. Try Datadog Code Analysis

PREVIEWING: rtrieu/product-analytics-ui-changes