#NEWLINE# def pyobject( self ) : #NEWLINE# #INDENT# "Lazily return an internal registry key handle according to the instance's\n        access requirements.\n\n        :raises: :exc:`x_not_found` if the registry path the key refers to does not exist\n        " #NEWLINE# if ( self . hKey is None ) : #NEWLINE# #INDENT# ( hKey , moniker , _ ) = self . _from_string ( self . moniker , access = self . access , accept_value = False ) #NEWLINE# utils . _set ( self , 'hKey' , hKey ) #NEWLINE# if ( self . hKey is None ) : #NEWLINE# #INDENT# raise exc . x_not_found ( errctx = 'Registry.pyobject' , errmsg = ( 'Registry path %s not found' % moniker ) ) #NEWLINE# #UNINDENT# #UNINDENT# return moniker . hKey