Skip to content

Commit

Permalink
Fix Python NT Example with DoubleTopic (#2535)
Browse files Browse the repository at this point in the history
remove new add ntcore.
  • Loading branch information
jasondaming committed Jan 16, 2024
1 parent 64c440c commit 3f473f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/docs/software/networktables/tables-and-topics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ Having a Topic object or handle does not mean the topic exists or is of the corr
# get a type-specific topic from a generic Topic
genericTopic = inst.getTopic("/datatable/X")
dblTopic = new DoubleTopic(genericTopic)
dblTopic = ntcore.DoubleTopic(genericTopic)

0 comments on commit 3f473f3

Please sign in to comment.