Skip to content

Commit

Permalink
Merge pull request #238 from paulsmith/patch-1
Browse files Browse the repository at this point in the history
docs: minor update for Python3
  • Loading branch information
dabeaz committed Jun 18, 2020
2 parents 83c5b91 + 33f7a57 commit a00c1c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ply.rst
Expand Up @@ -501,7 +501,7 @@ it can continue to parse. Here is an example of how this works::
# EOF handling rule
def t_eof(t):
# Get more input (Example)
more = raw_input('... ')
more = input('... ')
if more:
self.lexer.input(more)
return self.lexer.token()
Expand Down Expand Up @@ -1318,7 +1318,7 @@ as previously described. Here is how you would do it with
while True:
try:
s = raw_input('calc > ')
s = input('calc > ')
except EOFError:
break
if not s: continue
Expand Down

3 comments on commit a00c1c9

@kloczek
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any plans to make new release? :)

@nicocossiom
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like it's no longer mantained but can't find any information on its status

@dabeaz
Copy link
Owner Author

@dabeaz dabeaz commented on a00c1c9 Oct 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PLY is mature software. No new releases are planned. If you want updated code, copy the code from GitHub into your project as described on the project README.

Please sign in to comment.