summaryrefslogtreecommitdiffstats
path: root/Misc/TextMate
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-15 04:36:53 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-15 04:36:53 (GMT)
commit9b73f6f0d96817c99a94e5522f9a4faed3d13c25 (patch)
tree8b6d49a1875b2493b7e473153ba969f12d08a571 /Misc/TextMate
parent94f2561ee8a9f4f0144d5ae1d8104214fcc2f853 (diff)
downloadcpython-9b73f6f0d96817c99a94e5522f9a4faed3d13c25.zip
cpython-9b73f6f0d96817c99a94e5522f9a4faed3d13c25.tar.gz
cpython-9b73f6f0d96817c99a94e5522f9a4faed3d13c25.tar.bz2
Add a snippet for the deprecation directive for docs.
Diffstat (limited to 'Misc/TextMate')
-rw-r--r--Misc/TextMate/Python-Dev.tmbundle/Snippets/2 to 3 - Module Deletion (docs).tmSnippet16
-rw-r--r--Misc/TextMate/Python-Dev.tmbundle/info.plist2
2 files changed, 18 insertions, 0 deletions
diff --git a/Misc/TextMate/Python-Dev.tmbundle/Snippets/2 to 3 - Module Deletion (docs).tmSnippet b/Misc/TextMate/Python-Dev.tmbundle/Snippets/2 to 3 - Module Deletion (docs).tmSnippet
new file mode 100644
index 0000000..5de8bae
--- /dev/null
+++ b/Misc/TextMate/Python-Dev.tmbundle/Snippets/2 to 3 - Module Deletion (docs).tmSnippet
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>.. deprecated:: 2.6
+ The :mod:\`${1}\` module has been deprecated for removal in Python 3.0.
+${0}</string>
+ <key>name</key>
+ <string>2 to 3 - Module Deletion (docs)</string>
+ <key>tabTrigger</key>
+ <string>2to3docdel</string>
+ <key>uuid</key>
+ <string>0568410D-EAF1-4AF3-B6DE-8AF133A91821</string>
+</dict>
+</plist>
diff --git a/Misc/TextMate/Python-Dev.tmbundle/info.plist b/Misc/TextMate/Python-Dev.tmbundle/info.plist
index 644bc7e..0510d5d 100644
--- a/Misc/TextMate/Python-Dev.tmbundle/info.plist
+++ b/Misc/TextMate/Python-Dev.tmbundle/info.plist
@@ -7,6 +7,7 @@
<key>items</key>
<array>
<string>9519C22B-6AB8-41A1-94F6-079E0B45C147</string>
+ <string>0568410D-EAF1-4AF3-B6DE-8AF133A91821</string>
<string>------------------------------------</string>
<string>B545BB1B-A8E1-426C-B50A-426E78B96D38</string>
<string>6EF151E5-7149-4F82-8796-0CC40FE589FA</string>
@@ -23,6 +24,7 @@
<key>ordering</key>
<array>
<string>9519C22B-6AB8-41A1-94F6-079E0B45C147</string>
+ <string>0568410D-EAF1-4AF3-B6DE-8AF133A91821</string>
<string>B545BB1B-A8E1-426C-B50A-426E78B96D38</string>
<string>6EF151E5-7149-4F82-8796-0CC40FE589FA</string>
<string>FD25A8DC-22DC-4ED4-B222-B943C8A9117D</string>