Skip to content

Commit f5e90a7

Browse files
committed
Remove python 27 unicode mention
1 parent af4b255 commit f5e90a7

File tree

5 files changed

+7
-14
lines changed

5 files changed

+7
-14
lines changed

docs/conf.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# flask-script documentation build configuration file, created by
42
# sphinx-quickstart on Wed Jun 23 08:26:41 2010.
53
#
@@ -40,8 +38,8 @@
4038
master_doc = 'index'
4139

4240
# General information about the project.
43-
project = u'Flask-MongoEngine'
44-
copyright = u'2010-2020, Streetlife and others'
41+
project = 'Flask-MongoEngine'
42+
copyright = '2010-2020, Streetlife and others'
4543

4644
# The version info for the project you're documenting, acts as replacement for
4745
# |version| and |release|, also used in various other places throughout the
@@ -183,8 +181,8 @@
183181
# Grouping the document tree into LaTeX files. List of tuples
184182
# (source start file, target name, title, author, documentclass [howto/manual]).
185183
latex_documents = [
186-
('index', 'flask-mongoengine.tex', u'Flask-MongoEngine Documentation',
187-
u'Ross Lawley', 'manual'),
184+
('index', 'flask-mongoengine.tex', 'Flask-MongoEngine Documentation',
185+
'Ross Lawley', 'manual'),
188186
]
189187

190188
# The name of an image file (relative to this directory) to place at the top of
@@ -216,6 +214,6 @@
216214
# One entry per manual page. List of tuples
217215
# (source start file, name, description, authors, manual section).
218216
man_pages = [
219-
('index', 'flask-mongoengine', u'Flask-MongoEngine Documentation',
220-
[u'Ross Lawley', u'Dan Jacob', u'Marat Khabibullin'], 1)
217+
('index', 'flask-mongoengine', 'Flask-MongoEngine Documentation',
218+
['Ross Lawley', 'Dan Jacob', 'Marat Khabibullin'], 1)
221219
]

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ flask-mongoengine automatically generates WTForms from MongoEngine models::
170170
lang = db.StringField(max_length=3)
171171

172172
class Post(db.Document):
173-
title = db.StringField(max_length=120, required=True, validators=[validators.InputRequired(message=u'Missing title.'),])
173+
title = db.StringField(max_length=120, required=True, validators=[validators.InputRequired(message='Missing title.'),])
174174
author = db.ReferenceField(User)
175175
tags = db.ListField(db.StringField(max_length=30))
176176
content = db.EmbeddedDocumentField(Content)

examples/simpleapp/app.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
import datetime
32
import os
43
import sys

flask_mongoengine/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
from __future__ import absolute_import
3-
41
import inspect
52

63
import mongoengine

flask_mongoengine/pagination.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
import math
32

43
from flask import abort

0 commit comments

Comments
 (0)