~ubuntu-branches/ubuntu/jaunty/python-docutils/jaunty

« back to all changes in this revision

Viewing changes to docutils/transforms/peps.py

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2008-07-24 10:39:53 UTC
  • mfrom: (1.1.4 upstream) (3.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080724103953-8gh4uezg17g9ysgy
Tags: 0.5-2
* Upload docutils 0.5 to unstable
* Update rst.el to upstream Subversion r5596, which apparently fixes
  all its performance problems (17_speed_up_rst_el.dpatch, closes: #474941)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Author: David Goodger
2
 
# Contact: goodger@users.sourceforge.net
3
 
# Revision: $Revision: 3909 $
4
 
# Date: $Date: 2005-09-26 20:17:31 +0200 (Mon, 26 Sep 2005) $
 
1
# $Id: peps.py 4564 2006-05-21 20:44:42Z wiemann $
 
2
# Author: David Goodger <goodger@python.org>
5
3
# Copyright: This module has been placed in the public domain.
6
4
 
7
5
"""
33
31
 
34
32
    default_priority = 360
35
33
 
36
 
    pep_url = 'pep-%04d.html'
37
 
    pep_cvs_url = ('http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/python/'
38
 
                   'python/nondist/peps/pep-%04d.txt')
 
34
    pep_url = 'pep-%04d'
 
35
    pep_cvs_url = ('http://svn.python.org/view/*checkout*'
 
36
                   '/peps/trunk/pep-%04d.txt')
39
37
    rcs_keyword_substitutions = (
40
38
          (re.compile(r'\$' r'RCSfile: (.+),v \$$', re.IGNORECASE), r'\1'),
41
39
          (re.compile(r'\$[a-zA-Z]+: (.+) \$$'), r'\1'),)