diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-08-04 00:56:19 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-08-04 00:56:19 +0200 |
commit | b0f1dbb51e0c28a801c8c3e9992453de14c5e436 (patch) | |
tree | dad2470e591823bf79bc9ea8a5a7923b928e9f4a /Python/thread_pth.h | |
parent | 8cc05cc705495cfb6bf6a35600ba9a4a4c9e2b2c (diff) | |
parent | 6a18048c636a6fcc31c56906952f1e470cb5412b (diff) | |
download | cpython-b0f1dbb51e0c28a801c8c3e9992453de14c5e436.tar.gz |
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().
Diffstat (limited to 'Python/thread_pth.h')
-rw-r--r-- | Python/thread_pth.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/thread_pth.h b/Python/thread_pth.h index 82a00e72ba..5704266a03 100644 --- a/Python/thread_pth.h +++ b/Python/thread_pth.h @@ -69,9 +69,8 @@ long PyThread_get_thread_ident(void) volatile pth_t threadid; if (!initialized) PyThread_init_thread(); - /* Jump through some hoops for Alpha OSF/1 */ threadid = pth_self(); - return (long) *(long *) &threadid; + return (long) threadid; } void PyThread_exit_thread(void) |