Sign in
fuchsia
/
third_party
/
github.com
/
pycqa
/
pylint
/
refs/heads/master
/
.
/
tests
/
functional
/
s
/
suspicious_str_strip_call_py3.py
blob: e859f25f8e6050c556d778ad691cd072f7bdde01 [
file
] [
log
] [
blame
]
"""Suspicious str.strip calls."""
__revision__
=
1
''
.
strip
(
'yo'
)
''
.
strip
()
u
''
.
strip
(
'http://'
)
# [bad-str-strip-call]
u
''
.
lstrip
(
'http://'
)
# [bad-str-strip-call]
b
''
.
rstrip
(
'http://'
)
# [bad-str-strip-call]