Skip to content

Commit

Permalink
doc examples: remove a call of non-existent function raw_input() (OSG…
Browse files Browse the repository at this point in the history
…eo#3124)

in Python3, it was replaced by input()
  • Loading branch information
pesekon2 committed Aug 15, 2023
1 parent 9c16c06 commit 05792c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/python/raster_example_ctypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
if len(sys.argv) == 2:
input = sys.argv[1]
else:
input = raw_input("Name of raster map? ")
input = input("Name of raster map? ")

# initialize GRASS library
G_gisinit("")
Expand Down
2 changes: 1 addition & 1 deletion doc/python/vector_example_ctypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
if len(sys.argv) == 2:
input = sys.argv[1]
else:
input = raw_input("Name of vector map? ")
input = input("Name of vector map? ")

# initialize GRASS library
G_gisinit("")
Expand Down

0 comments on commit 05792c6

Please sign in to comment.