diff options
author | Gunung P. Wibisono <55311527+gunungpw@users.noreply.github.com> | 2022-04-06 16:04:43 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 11:04:43 +0200 |
commit | 3a315d2044086da6e8045db63404362dcd82833a (patch) | |
tree | 4615fc88c00983bc1568f121d488f4e8567f35d3 /doc/data/messages/f | |
parent | 67af2c0f58406a69d1b254a5deb61d0661296a9f (diff) | |
download | pylint-git-3a315d2044086da6e8045db63404362dcd82833a.tar.gz |
Add example for `function-redefined` message documentation (#6200)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'doc/data/messages/f')
-rw-r--r-- | doc/data/messages/f/function-redefined/bad.py | 6 | ||||
-rw-r--r-- | doc/data/messages/f/function-redefined/good.py | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/data/messages/f/function-redefined/bad.py b/doc/data/messages/f/function-redefined/bad.py new file mode 100644 index 000000000..0e3c3085f --- /dev/null +++ b/doc/data/messages/f/function-redefined/bad.py @@ -0,0 +1,6 @@ +def get_email(): + pass + + +def get_email(): # [function-redefined] + pass diff --git a/doc/data/messages/f/function-redefined/good.py b/doc/data/messages/f/function-redefined/good.py new file mode 100644 index 000000000..96efb4b79 --- /dev/null +++ b/doc/data/messages/f/function-redefined/good.py @@ -0,0 +1,2 @@ +def get_email(): + pass |