Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
3e1c30b7
Commit
3e1c30b7
authored
Jan 07, 2006
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deprecated StructuredText module
parent
10998639
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
lib/python/StructuredText/__init__.py
lib/python/StructuredText/__init__.py
+7
-0
No files found.
doc/CHANGES.txt
View file @
3e1c30b7
...
@@ -26,6 +26,9 @@ Zope Changes
...
@@ -26,6 +26,9 @@ Zope Changes
Features added
Features added
- the 'StructuredText' module is deprecated. Use zope.structuredtext
instead
- removed ZopeTutorial (Elvis is now really dead)
- removed ZopeTutorial (Elvis is now really dead)
- ZClasses are deprecated and should no longer be used.
- ZClasses are deprecated and should no longer be used.
...
...
lib/python/StructuredText/__init__.py
View file @
3e1c30b7
...
@@ -11,6 +11,13 @@
...
@@ -11,6 +11,13 @@
#
#
##############################################################################
##############################################################################
import
warnings
warnings
.
warn
(
'Using StructuredText is deprecated (will be removed in Zope '
'2.12). Instead use zope.structuredtext.'
,
DeprecationWarning
,
stacklevel
=
2
)
import
HTMLClass
,
DocumentClass
import
HTMLClass
,
DocumentClass
import
ClassicDocumentClass
import
ClassicDocumentClass
from
StructuredText
import
html_with_references
,
HTML
,
html_quote
from
StructuredText
import
html_with_references
,
HTML
,
html_quote
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment