[docs] [issue11418] Method's global scope is module containing function definition, not class.