Jump to content

Visitor pattern: Difference between revisions

m
Line 187:
=={{header|Python}}==
 
This is based inon the [[wp:Visitor_pattern|Wikipedia]] Python example, but uses structural pattern matching instead of multiple visit methods.
 
<syntaxhighlight lang="python">
140

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.