diff --git a/IPython/core/inputsplitter.py b/IPython/core/inputsplitter.py index 337b27d..8df17cd 100644 --- a/IPython/core/inputsplitter.py +++ b/IPython/core/inputsplitter.py @@ -1,4 +1,6 @@ -"""Input handling and transformation machinery. +"""DEPRECATED: Input handling and transformation machinery. + +This module was deprecated in IPython 7.0, in favour of inputtransformer2. The first class in this module, :class:`InputSplitter`, is designed to tell when input from a line-oriented frontend is complete and should be executed, and when diff --git a/IPython/core/inputtransformer.py b/IPython/core/inputtransformer.py index 2b27566..2be8760 100644 --- a/IPython/core/inputtransformer.py +++ b/IPython/core/inputtransformer.py @@ -1,4 +1,6 @@ -"""Input transformer classes to support IPython special syntax. +"""DEPRECATED: Input transformer classes to support IPython special syntax. + +This module was deprecated in IPython 7.0, in favour of inputtransformer2. This includes the machinery to recognise and transform ``%magic`` commands, ``!system`` commands, ``help?`` querying, prompt stripping, and so forth. diff --git a/IPython/core/inputtransformer2.py b/IPython/core/inputtransformer2.py index 9b8ef1a..3470174 100644 --- a/IPython/core/inputtransformer2.py +++ b/IPython/core/inputtransformer2.py @@ -1,3 +1,12 @@ +"""Input transformer machinery to support IPython special syntax. + +This includes the machinery to recognise and transform ``%magic`` commands, +``!system`` commands, ``help?`` querying, prompt stripping, and so forth. +""" + +# Copyright (c) IPython Development Team. +# Distributed under the terms of the Modified BSD License. + from codeop import compile_command import re from typing import List, Tuple