Skip to content

Commit

Permalink
Get type variables from types module.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Hylton committed Sep 24, 2002
1 parent be528c8 commit cd70e3f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions pDocumentTemplate.py
Expand Up @@ -12,10 +12,11 @@
##############################################################################
"""Python implementations of document template some features
$Id: pDocumentTemplate.py,v 1.39 2002/09/24 22:10:32 jeremy Exp $"""
__version__='$Revision: 1.39 $'[11:-2]
$Id: pDocumentTemplate.py,v 1.40 2002/09/24 22:11:17 jeremy Exp $"""
__version__='$Revision: 1.40 $'[11:-2]

import sys, types
from types import StringType, UnicodeType, TupleType
from DocumentTemplate.ustr import ustr

ClassTypes = [types.ClassType]
Expand All @@ -39,11 +40,6 @@ def safe_callable(ob):
else:
return callable(ob)

StringType=type('')
UnicodeType=type(u'')
TupleType=type(())


class InstanceDict:

guarded_getattr=None
Expand Down

0 comments on commit cd70e3f

Please sign in to comment.