Skip to content

Commit de0b35d

Browse files
committed
Address review
1 parent 6632a25 commit de0b35d

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

Modules/_randommodule.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -551,18 +551,18 @@ _random_Random_getrandbits_impl(RandomObject *self, uint64_t k)
551551

552552
/*[clinic input]
553553
@critical_section
554-
@text_signature "($self, /, *args, **kwargs)"
554+
@text_signature "($self, [seed])"
555555
_random.Random.__init__ as random_init
556556
557-
arg: object = NULL
557+
seed: object = NULL
558558
/
559559
[clinic start generated code]*/
560560

561561
static int
562-
random_init_impl(RandomObject *self, PyObject *arg)
563-
/*[clinic end generated code: output=823329df8669c8a7 input=3772473c67871d42]*/
562+
random_init_impl(RandomObject *self, PyObject *seed)
563+
/*[clinic end generated code: output=260734a3739c394f input=e516bf32e8a05e28]*/
564564
{
565-
return random_seed(RandomObject_CAST(self), arg);
565+
return random_seed(self, seed);
566566
}
567567

568568

Modules/clinic/_randommodule.c.h

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)