<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def match_aspect_to_viewport(self):
 """Updates Camera.aspect to match the viewport's aspect ratio."""

        viewport = self.viewport
        self.aspect = float(viewport.width) / viewport.height