[gedit-latex] Remove typecheck.
- From: Jose Aliste <jaliste src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] Remove typecheck.
- Date: Fri, 24 Jun 2011 18:36:45 +0000 (UTC)
commit 8a7b3be4bbf752ba4f59842983e653d73ddcffba
Author: Josà Aliste <jaliste src gnome org>
Date: Fri Jun 24 14:32:00 2011 -0400
Remove typecheck.
This should not be needed anymore. Moreover
typecheck seems to be a dead project.
latex/base/__init__.py | 3 -
latex/latex/editor.py | 2 -
latex/typecheck/__init__.py | 1561 ------------------------------------
latex/typecheck/doctest_support.py | 53 --
latex/typecheck/mixins.py | 101 ---
latex/typecheck/sets.py | 79 --
latex/typecheck/typeclasses.py | 52 --
7 files changed, 0 insertions(+), 1851 deletions(-)
---
diff --git a/latex/base/__init__.py b/latex/base/__init__.py
index b3b05d6..8c24460 100644
--- a/latex/base/__init__.py
+++ b/latex/base/__init__.py
@@ -1019,15 +1019,12 @@ import os.path
from glob import glob
from ..relpath import relpath
-from ..typecheck import accepts
-from ..typecheck.typeclasses import String
import re
import urllib
import urlparse
- accepts(String)
def fixurl(url):
r"""From http://stackoverflow.com/questions/804336/best-way-to-convert-a-unicode-url-to-ascii-utf-8-percent-escaped-in-python/805166#805166 .
Was named canonurl(). Comments added to the original are prefixed with ##.
diff --git a/latex/latex/editor.py b/latex/latex/editor.py
index 0a88d8d..eaf6d2d 100644
--- a/latex/latex/editor.py
+++ b/latex/latex/editor.py
@@ -24,8 +24,6 @@ latex.editor
BENCHMARK = True
-#from ..typecheck import accepts, returns
-
from gi.repository import Gtk
from gi.repository import Gdk
from logging import getLogger
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]