Skip to content

Commit

Permalink
types.NoneType no longer exists in python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarnell committed May 14, 2011
1 parent 70f08bf commit 4eb36de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tornado/stack_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ def die_on_error():

from __future__ import with_statement

from types import NoneType

import contextlib
import functools
import itertools
import logging
import sys
import threading

NoneType = type(None)

class _State(threading.local):
def __init__(self):
self.contexts = ()
Expand Down

0 comments on commit 4eb36de

Please sign in to comment.