code: def classify(self, c):
      if c in self.alphanumeric:
          return "alphanumeric"
      if c == "\n":
          return "newline"
      return "punctuation"
  
imports: import string
  from idlelib.delegator import Delegator
label_desc: Use image node_id 6 for calling the InsertCommand obj's underlying member method code with example usage: obj.classify(c) and returns: str, str, str