I come from C background, in C whenever I want to see the documentation for something I just do man 3 thing
e.g.:
$ man 3 open
NAME
open, openat — open file relative to directory file descriptor
SYNOPSIS
#include <sys/stat.h>
#include <fcntl.h>
int open(const char *path, int oflag, ...);
int openat(int fd, const char *path, int oflag, ...);
I was wondering if Python also had something like this.