Skip to content

Commit 0e807d9

Browse files
committed
docs: explain why we are silencing deprecation warnings
1 parent 80a479d commit 0e807d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lab/show_pyc.py

+1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ def show_file(fname):
183183
print("Odd file:", fname)
184184

185185
def main(args):
186+
# "DeprecationWarning: co_lnotab is deprecated, use co_lines instead."
186187
warnings.filterwarnings("ignore", category=DeprecationWarning)
187188
if args[0] == '-c':
188189
show_py_text(" ".join(args[1:]).replace(";", "\n"))

0 commit comments

Comments
 (0)