Re: [Tutor] what does the forward slash mean in this function signature?

2018-10-16 Thread Albert-Jan Roskam
From: eryk sun Sent: Monday, October 15, 2018 12:10 PM To: tutor@python.org Cc: sjeik_ap...@hotmail.com Subject: Re: [Tutor] what does the forward slash mean in this function signature?   On Mon, Oct 15, 2018 at 6:00 AM Albert-Jan Roskam wrote: > > In Python 3.6 (Windows) I oft

Re: [Tutor] what does the forward slash mean in this function signature?

2018-10-15 Thread eryk sun
On Mon, Oct 15, 2018 at 6:00 AM Albert-Jan Roskam wrote: > > In Python 3.6 (Windows) I often see a forward slash in a function signature, > see below. > What does it mean? I vaguely remember reading something about new > possbilities in > python 3, something like "def foo(x, *, y)". Perhaps

[Tutor] what does the forward slash mean in this function signature?

2018-10-15 Thread Albert-Jan Roskam
Hello, In Python 3.6 (Windows) I often see a forward slash in a function signature, see below. What does it mean? I vaguely remember reading something about new possbilities in python 3, something like "def foo(x, *, y)". Perhaps it's related to that? >>> help({}.fromkeys) Help on built-in