pyrepl/pyrepl reader.py,1.2,1.3
[email protected] Fri, 17 Jan 2003 14:47:50 +0100 (MET)
| Newsgroups | gmane.comp.python.pyrepl.checkins |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/pyrepl/pyrepl/pyrepl
In directory thoth.codespeak.net:/tmp/cvs-serv2487
Modified Files:
reader.py
Log Message:
Rewrap some docstrings.
Have I mentioned lately that emacs 21's diff-mode *really* rules?
Index: reader.py
===================================================================
RCS file: /cvs/pyrepl/pyrepl/pyrepl/reader.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** reader.py 17 Jan 2003 13:25:54 -0000 1.2
--- reader.py 17 Jan 2003 13:47:47 -0000 1.3
***************
*** 55,59 ****
Return the string that should be the printed represenation of
|buffer| and a list detailing where the characters of |buffer|
! get used up. E.g:
>>> disp_str(chr(3))
--- 55,59 ----
Return the string that should be the printed represenation of
|buffer| and a list detailing where the characters of |buffer|
! get used up. E.g.:
>>> disp_str(chr(3))
***************
*** 239,243 ****
self.buffer into changes in self.screen. Currently it rips
everything down and starts from scratch, which whilst not
! especially efficient is certainly simple.
"""
lines = ''.join(self.buffer).split("\n")
--- 239,243 ----
self.buffer into changes in self.screen. Currently it rips
everything down and starts from scratch, which whilst not
! especially efficient is certainly simple(r).
"""
lines = ''.join(self.buffer).split("\n")
***************
*** 449,454 ****
def handle1(self, block=1):
! """Handle a single event. Wait as long as it takes if block is
! true (the default), otherwise return None if no event is
pending."""
--- 449,454 ----
def handle1(self, block=1):
! """Handle a single event. Wait as long as it takes if block
! is true (the default), otherwise return None if no event is
pending."""
***************
*** 498,503 ****
def readline(self):
! """Read a line. The implementation of this method also shows how
! to drive Reader if you want more control over the event loop."""
self.prepare()
try:
--- 498,504 ----
def readline(self):
! """Read a line. The implementation of this method also shows
! how to drive Reader if you want more control over the event
! loop."""
self.prepare()
try: