Commit c93d8550 authored by Jeremy Hylton's avatar Jeremy Hylton

Get type variables from types module.

parent 789e84a0
...@@ -12,10 +12,11 @@ ...@@ -12,10 +12,11 @@
############################################################################## ##############################################################################
"""Python implementations of document template some features """Python implementations of document template some features
$Id: pDocumentTemplate.py,v 1.39 2002/09/24 22:10:32 jeremy Exp $""" $Id: pDocumentTemplate.py,v 1.40 2002/09/24 22:11:17 jeremy Exp $"""
__version__='$Revision: 1.39 $'[11:-2] __version__='$Revision: 1.40 $'[11:-2]
import sys, types import sys, types
from types import StringType, UnicodeType, TupleType
from DocumentTemplate.ustr import ustr from DocumentTemplate.ustr import ustr
ClassTypes = [types.ClassType] ClassTypes = [types.ClassType]
...@@ -39,11 +40,6 @@ def safe_callable(ob): ...@@ -39,11 +40,6 @@ def safe_callable(ob):
else: else:
return callable(ob) return callable(ob)
StringType=type('')
UnicodeType=type(u'')
TupleType=type(())
class InstanceDict: class InstanceDict:
guarded_getattr=None guarded_getattr=None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment