Skip to content

Commit 07210a9

Browse files
author
Brennon York
committed
minor doc string change for java version with namedtuple update
1 parent ec03bf3 commit 07210a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/run-tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ def determine_java_executable():
142142

143143

144144
def determine_java_version(java_exe):
145-
"""Given a valid java executable will return its version in tuple format as:
146-
[<major-version>, <minor-version>, <patch-version>, <update-version>]"""
145+
"""Given a valid java executable will return its version in named tuple format
146+
with accessors '.major', '.minor', '.patch', '.update'"""
147147

148148
raw_output = subprocess.check_output([java_exe, "-version"],
149149
stderr=subprocess.STDOUT)

0 commit comments

Comments
 (0)