Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Clean up header
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Dec 9, 2015
1 parent 0f4148d commit 1e75fbd
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions src/sage/interfaces/expect.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
"""
Common Interface Functionality through Pexpect
Expand All @@ -24,20 +25,17 @@
after a crash, when a command is executed in _eval_line. Allow
synchronisation of the GAP interface.
- François Bissey, Bill Page, Jeroen Demeyer (2015-12-09): Upgrade to
pexpect 4.0.1 + patches, see :trac:`10295`.
"""

#*****************************************************************************
# Copyright (C) 2005 William Stein <[email protected]>
#
# Distributed under the terms of the GNU General Public License (GPL)
#
# This code is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# The full text of the GPL is available at:
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
# http://www.gnu.org/licenses/
#*****************************************************************************

Expand All @@ -51,15 +49,11 @@
import six
from random import randrange

########################################################
# Important note: We use Pexpect 2.0 *not* Pexpect 2.1.
# For reasons I don't understand, pexpect2.1 is much
# worse than pexpect 2.0 for everything Sage does.
########################################################
import pexpect
from pexpect import ExceptionPexpect
from sage.interfaces.sagespawn import SageSpawn
from sage.interfaces.interface import Interface, InterfaceElement, InterfaceFunction, InterfaceFunctionElement, AsciiArtString
from sage.interfaces.interface import (Interface, InterfaceElement,
InterfaceFunction, InterfaceFunctionElement, AsciiArtString)

from sage.structure.element import RingElement

Expand Down

0 comments on commit 1e75fbd

Please sign in to comment.