Opened 20 years ago

Closed 20 years ago

#825 closed enhancement (fixed)

add an optional default value argument to hashTableObj.get method

Reported by: sgillies@… Owned by: sgillies@…
Priority: high Milestone:
Component: MapScript-SWIG Version: 4.3
Severity: minor Keywords:
Cc:

Description

Add an optional default value to hashTableObj.get.  Otherwise the method returns
NULL without raising an exception.

Change History (1)

comment:1 by sgillies@…, 20 years ago

Resolution: fixed
Status: newclosed
Done.  New tests pass.  This makes hashTableObj.get function almost exactly
like Python's own dictionary get() method.

Note: See TracTickets for help on using tickets.