Part of twisted.names View Source
| Function | searchFileFor | Grep given file, which is in hosts(5) standard format, for an address entry with a given name. | 
| Class | Resolver | A resolver that services hosts(5) format files. | 
| Parameters | file | The name of the hosts(5)-format file to search. | 
| name | The name to search for.
 (type: str
) | |
| Returns | None if the name is not found in the file, otherwise a 
str giving the address in the file associated with the 
name.
 | |