]> granicus.if.org Git - python/commitdiff
Add a snippet for the deprecation directive for docs.
authorBrett Cannon <bcannon@gmail.com>
Thu, 15 May 2008 04:36:53 +0000 (04:36 +0000)
committerBrett Cannon <bcannon@gmail.com>
Thu, 15 May 2008 04:36:53 +0000 (04:36 +0000)
Misc/TextMate/Python-Dev.tmbundle/Snippets/2 to 3 - Module Deletion (docs).tmSnippet [new file with mode: 0644]
Misc/TextMate/Python-Dev.tmbundle/info.plist

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 (file)
index 0000000..5de8bae
--- /dev/null
@@ -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>
index 644bc7e5ddec0a5215c230b5ec0d4137abac370c..0510d5d4eed6b05aad471225695aa070d24744a6 100644 (file)
@@ -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>