/usr/lib/python3/dist-packages/IPython/terminal/ is in python3-ipython 5.5.0-1.
This file is owned by root:root, with mode 0o755.
..
/usr/lib/python3/dist-packages/IPython/terminal/__init__.py
/usr/lib/python3/dist-packages/IPython/terminal/console.py
/usr/lib/python3/dist-packages/IPython/terminal/debugger.py
/usr/lib/python3/dist-packages/IPython/terminal/embed.py
/usr/lib/python3/dist-packages/IPython/terminal/interactiveshell.py
/usr/lib/python3/dist-packages/IPython/terminal/ipapp.py
/usr/lib/python3/dist-packages/IPython/terminal/magics.py
/usr/lib/python3/dist-packages/IPython/terminal/prompts.py
/usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/
/usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/__init__.py
/usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/glut.py
/usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/gtk.py
/usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/gtk3.py
/usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/osx.py
/usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/pyglet.py
/usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/qt.py
/usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/tk.py
/usr/lib/python3/dist-packages/IPython/terminal/pt_inputhooks/wx.py
/usr/lib/python3/dist-packages/IPython/terminal/ptshell.py
/usr/lib/python3/dist-packages/IPython/terminal/ptutils.py
/usr/lib/python3/dist-packages/IPython/terminal/shortcuts.py