python-by-example-150-chall.../venv/lib/python3.6/site-packages/pylint/test/input/func_w0611.py

26 lines
473 B
Python
Raw Permalink Normal View History

2019-08-04 20:26:35 +08:00
"""check unused import
"""
# pylint: disable=no-absolute-import, useless-object-inheritance
from __future__ import print_function
import os
import sys
class NonRegr(object):
"""???"""
def __init__(self):
print('initialized')
def sys(self):
"""should not get sys from there..."""
print(self, sys)
def dummy(self, truc):
"""yo"""
return self, truc
def blop(self):
"""yo"""
print(self, 'blip')