pub fn dict(&self) -> &PyDict {
        unsafe {
            // PyModule_GetDict returns borrowed ptr; must make owned for safety (see #890).
            let ptr = ffi::PyModule_GetDict(self.as_ptr());
            ffi::Py_INCREF(ptr);
            self.py().from_owned_ptr(ptr)
        }
    }
/// Return the dictionary object that implements module's namespace;
/// this object is the same as the `__dict__` attribute of the module object.
Return the dictionary object that implements module's namespace;
this object is the same as the `__dict__` attribute of the module object.
Return the dictionary object that implements module ' s namespace ; this object is the same as the ` __dict__ ` attribute of the module object .
pub fn dict(&self) -> &PyDict {
        unsafe {
            // PyModule_GetDict returns borrowed ptr; must make owned for safety (see #890).
            let ptr = ffi::PyModule_GetDict(self.as_ptr());
            ffi::Py_INCREF(ptr);
            self.py().from_owned_ptr(ptr)
        }
    }
pub fn dict ( & self ) -> & PyDict { unsafe { // PyModule_GetDict returns borrowed ptr; must make owned for safety (see #890). let ptr = ffi :: PyModule_GetDict ( self . as_ptr ( ) ) ; ffi :: Py_INCREF ( ptr ) ; self . py ( ) . from_owned_ptr ( ptr ) } }
Return the dictionary object that implements module's namespace;
this object is the same as the `__dict__` attribute of the module object.
Return the dictionary object that implements module ' s namespace ; this object is the same as the ` __dict__ ` attribute of the module object .
&self
&self