Comment

Comment by bialecki

Quick question on the code. I'm looking at this commit:

https://github.com/kennethreitz/requests/commit/773630b0109c...

and wondering what "from .status_codes import codes" does?

Specifically the fact that it's not "status_codes" and has a dot prepended. Is that something special in Python (guessing no) or some convention that is used? Just curious.

parent bialecki 15 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton