Skip to content

Commit 4cb01bf

Browse files
committed
Add note about requiring ports to be valid python identifiers
1 parent 3653bb5 commit 4cb01bf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/tutorials/intro.ipynb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@
9595
"}\n",
9696
"```\n",
9797
"\n",
98+
"```{warning}\n",
99+
"All port names must be valid Python identifiers. This means they must be valid\n",
100+
"variable names (no spaces, no special characters, no starting with a number, etc.).\n",
101+
"```\n",
102+
"\n",
98103
"You can see that selecting the port relationship you're interested in is as simple as indexing use the desired pair:\n",
99104
"\n",
100105
"```python\n",

0 commit comments

Comments
 (0)