[Python-checkins] CVS: python/nondist/sandbox/doctools onlinehelp.py,1.3,1.4

Paul Prescod python-dev@python.org
Tue, 12 Dec 2000 09:53:13 -0800


Update of /cvsroot/python/python/nondist/sandbox/doctools
In directory slayer.i.sourceforge.net:/tmp/cvs-serv15796

Modified Files:
	onlinehelp.py 
Log Message:
Fixed a case-typo.


Index: onlinehelp.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/doctools/onlinehelp.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** onlinehelp.py	2000/07/22 19:27:43	1.3
--- onlinehelp.py	2000/12/12 17:53:10	1.4
***************
*** 293,297 ****
              docrl=docrl[1:]
          if docrl.endswith( ">" ):
!             docrl=ob[:-1]
  
          path=docrl[4:]
--- 293,297 ----
              docrl=docrl[1:]
          if docrl.endswith( ">" ):
!             docrl=docrl[:-1]
  
          path=docrl[4:]
***************
*** 304,308 ****
  
          self.write( 'Topic: help( "%s" )\n' % docrl )
!         self.writeHTML( ob[:index], data )
  
      def matchDocrlPattern( self, info ):
--- 304,308 ----
  
          self.write( 'Topic: help( "%s" )\n' % docrl )
!         self.writeHTML( docrl[:index], data )
  
      def matchDocrlPattern( self, info ):
***************
*** 320,324 ****
              match=self.matchDocrlPattern( info )
              if match: # a first-line redirect
!                 self.handledocrl( match )
              else:
                  self.write( 'Topic: help( "%s" )\n' % topic )
--- 320,324 ----
              match=self.matchDocrlPattern( info )
              if match: # a first-line redirect
!                 self.handleDocrl( match )
              else:
                  self.write( 'Topic: help( "%s" )\n' % topic )
***************
*** 335,339 ****
          mod=my_import( topic )
          if mod:
-             print mod
              self.handleObject( mod )
              return None
--- 335,338 ----
***************
*** 371,375 ****
  
          if match: # a first-line redirect
!             self.handledocrl( match )
          else:
              text=textdoc.document( ob )
--- 370,374 ----
  
          if match: # a first-line redirect
!             self.handleDocrl( match )
          else:
              text=textdoc.document( ob )