Back to index

moin  1.9.0~rc2
Classes | Functions
MoinMoin.support.werkzeug.contrib.lint Namespace Reference

Classes

class  WSGIWarning
class  HTTPWarning
class  InputStream
class  ErrorStream
class  GuardedWrite
class  GuardedIterator
class  LintMiddleware

Functions

def check_string

Class Documentation

class MoinMoin::support::werkzeug::contrib::lint::WSGIWarning
Warning class for WSGI warnings.

Definition at line 29 of file lint.py.

class MoinMoin::support::werkzeug::contrib::lint::HTTPWarning
Warning class for HTTP warnings.

Definition at line 33 of file lint.py.


Function Documentation

def MoinMoin.support.werkzeug.contrib.lint.check_string (   context,
  obj,
  stacklevel = 3 
)

Definition at line 37 of file lint.py.

00037 
00038 def check_string(context, obj, stacklevel=3):
00039     if type(obj) is not str:
00040         warn(WSGIWarning('%s requires bytestrings, got %s' %
00041             (context, obj.__class__.__name__)))
00042 

Here is the caller graph for this function: